.nova-hook-root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dls-top-header-managed {
  box-sizing: border-box !important;
  max-width: 100vw !important;
  overflow: visible !important;
}

.dls-top-header-managed,
.dls-top-header-managed * {
  min-width: 0;
}

.dls-top-header-managed > div,
.dls-top-header-managed > nav,
.dls-top-header-managed > section {
  max-width: 100% !important;
}

.dls-top-header-managed > * {
  column-gap: max(1rem, 1.8vw) !important;
  row-gap: 0.5rem !important;
}

.dls-top-header-managed a,
.dls-top-header-managed button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.dls-top-header-managed a > *,
.dls-top-header-managed button > * {
  align-self: center !important;
}





.dls-top-header-managed {
  isolation: isolate !important;
}
.dls-top-header-managed > * {
  align-items: center !important;
}
.dls-top-header-managed .dls-account-control {
  flex: 0 0 auto !important;
  max-width: min(220px, 24vw) !important;
  min-width: max-content !important;
  gap: 0.45rem !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  justify-content: center !important;
  line-height: 1.1 !important;
}
.dls-top-header-managed .dls-account-control * {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.dls-top-header-managed .dls-top-nav-strip + .dls-account-control,
.dls-top-header-managed .dls-account-control:last-child {
  margin-left: clamp(0.5rem, 1vw, 1rem) !important;
}
@media (max-width: 900px) {
  .dls-top-header-managed .dls-account-control {
    max-width: 148px !important;
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }
}



.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: max-content minmax(260px, 1fr) max-content max-content !important;
  align-items: center !important;
  gap: clamp(1rem, 1.8vw, 1.65rem) !important;
  width: 100% !important;
  min-width: 0 !important;
}
.dls-top-header-managed .dls-brand-cluster {
  grid-column: 1 !important;
  min-width: max-content !important;
  max-width: 260px !important;
  position: relative !important;
  z-index: 4 !important;
}
.dls-top-header-managed .dls-main-nav-cluster {
  grid-column: 2 !important;
  justify-self: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: clamp(0.65rem, 1vw, 1.35rem) !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-account-cluster {
  grid-column: 3 / 5 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.85rem, 1.2vw, 1.25rem) !important;
  min-width: max-content !important;
  max-width: 42vw !important;
  position: relative !important;
  z-index: 5 !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-account-button-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.85rem, 1.1vw, 1.2rem) !important;
  min-width: max-content !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 190px !important;
  max-width: 190px !important;
  min-width: 126px !important;
  margin-right: 0.75rem !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden {
  display: inline-block !important;
  max-width: 132px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  max-width: 180px !important;
  position: relative !important;
  z-index: 6 !important;
}
@media (max-width: 1180px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: max-content minmax(160px, 1fr) max-content !important;
    gap: 0.85rem !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    grid-column: 3 !important;
    max-width: 34vw !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .dls-top-header-managed .dls-header-row {
    display: flex !important;
  }
}

.dls-top-nav-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.55rem, 1.1vw, 1rem) !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: inherit !important;
  flex-wrap: nowrap !important;
}

.dls-top-nav-strip::-webkit-scrollbar {
  display: none;
}

.dls-top-nav-strip > a,
.dls-top-nav-strip > button,
.dls-top-nav-strip > div,
.dls-top-nav-strip > span {
  flex: 0 0 auto !important;
}

.dls-top-nav-strip a,
.dls-top-nav-strip button {
  max-width: none !important;
  min-height: revert !important;
  padding-left: clamp(0.45rem, 0.8vw, 0.75rem) !important;
  padding-right: clamp(0.45rem, 0.8vw, 0.75rem) !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.dls-top-nav-strip .dls-join-free-cta {
  border: 1px solid #059669 !important;
  border-radius: 999px !important;
  padding: 0.55rem 1rem !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28) !important;
}

.dls-top-nav-strip .dls-join-free-cta:hover {
  border-color: #047857 !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.34) !important;
  transform: translateY(-1px);
}

.dls-header-more {
  position: relative !important;
  flex: 0 0 auto !important;
}

.dls-header-more-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  min-height: revert !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: revert !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.dls-header-more-button:hover,
.dls-header-more[data-open="true"] .dls-header-more-button {
  color: #0891b2 !important;
}

.dls-header-more-menu {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  z-index: 2147482000 !important;
  display: none !important;
  min-width: 220px !important;
  max-width: min(280px, calc(100vw - 24px)) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  padding: 8px !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18) !important;
}

.dls-header-more:hover .dls-header-more-menu,
.dls-header-more:focus-within .dls-header-more-menu,
.dls-header-more[data-open="true"] .dls-header-more-menu {
  display: grid !important;
  gap: 4px !important;
}

.dls-header-more-menu > * {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.dls-header-more-menu a,
.dls-header-more-menu button,
.dls-header-more-menu [role="button"],
.dls-header-more-menu > div,
.dls-header-more-menu > span {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  justify-content: flex-start !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  text-align: left !important;
  font-size: 14px !important;
}

@media (max-width: 760px) {
  .dls-top-header-managed {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
  }

  


.dls-top-nav-strip {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: none;
  }

  .dls-top-nav-strip .dls-join-free-cta {
    padding: 0.5rem 0.8rem !important;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.22) !important;
  }

  .dls-top-nav-strip::-webkit-scrollbar {
    display: none;
  }
}

body.dls-site-theme {
  --dls-ink: #0f172a;
  --dls-muted: #52627a;
  --dls-blue: #2563eb;
  --dls-sky: #0ea5e9;
  --dls-cyan: #06b6d4;
  --dls-teal: #14b8a6;
  --dls-green: #10b981;
  --dls-line: rgba(37, 99, 235, 0.14);
  --dls-card: rgba(255, 255, 255, 0.86);
  background: #f7fbff;
  color: var(--dls-ink);
}

body.dls-site-theme main,
body.dls-site-theme section {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.dls-site-theme .dls-top-header-managed {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055) !important;
  backdrop-filter: blur(18px) saturate(150%);
}

body.dls-site-theme .dls-top-nav-strip a,
body.dls-site-theme .dls-top-nav-strip button {
  border-radius: 999px !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

body.dls-site-theme .dls-top-nav-strip a:hover,
body.dls-site-theme .dls-top-nav-strip button:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
  transform: translateY(-1px);
}


.dls-plan-status-bar {
  position: relative !important;
  z-index: 30 !important;
  margin-bottom: clamp(1rem, 1.8vw, 1.6rem) !important;
  box-shadow: 0 10px 26px rgba(251, 146, 60, 0.12) !important;
}

.dls-plan-status-bar + *,
.dls-plan-status-bar + section,
.dls-plan-status-bar + div {
  margin-top: 0 !important;
}

.dls-plan-status-bar + .grid,
.dls-plan-status-bar + * .grid:first-child,
.dls-plan-status-bar + * [class*="grid"]:first-child {
  margin-top: 0 !important;
  padding-top: clamp(0.75rem, 1.4vw, 1.25rem) !important;
}

.dls-plan-status-bar + * [class*="-mt-"],
.dls-plan-status-bar ~ *:first-of-type [class*="-mt-"] {
  margin-top: 0 !important;
}

body.dls-plan-bar-visible main {
  padding-top: clamp(0.75rem, var(--dls-plan-bar-gap, 24px), 2.125rem) !important;
}

body.dls-plan-bar-visible main > :first-child {
  margin-top: 0 !important;
}

body.dls-plan-bar-visible main > :first-child > [class*="-mt-"],
body.dls-plan-bar-visible main > :first-child [class*=" -mt-"],
body.dls-plan-bar-visible main > :first-child [class^="-mt-"] {
  margin-top: 0 !important;
}

body.dls-plan-bar-visible main .grid:first-child,
body.dls-plan-bar-visible main section:first-child .grid:first-child {
  padding-top: 0.75rem;
}

@media (max-width: 720px) {
  .dls-plan-status-bar {
    align-items: stretch !important;
    margin-bottom: 1rem !important;
  }

  body.dls-plan-bar-visible main {
    padding-top: max(18px, var(--dls-plan-bar-gap, 22px)) !important;
  }
}

body.dls-home-enhanced {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f0fdfa 100%);
}

body.dls-home-enhanced .dls-home-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(4.5rem, 7vw, 7.5rem) !important;
  padding-bottom: clamp(5rem, 8vw, 8rem) !important;
  overflow: hidden !important;
  background:
    linear-gradient(120deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 44%, rgba(236, 253, 245, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.07) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(20, 184, 166, 0.055) 0 1px, transparent 1px 54px) !important;
}

body.dls-home-enhanced .dls-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(14, 165, 233, 0.1) 58% 58.5%, transparent 58.5%),
    linear-gradient(28deg, transparent 0 70%, rgba(20, 184, 166, 0.12) 70% 70.4%, transparent 70.4%);
  pointer-events: none;
}

body.dls-home-enhanced .dls-home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.25), rgba(20, 184, 166, 0.42), transparent);
}

body.dls-home-enhanced .dls-home-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.55rem 0.85rem !important;
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  color: #2563eb !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08) !important;
  backdrop-filter: blur(14px);
}

body.dls-home-enhanced .dls-home-hero h1 {
  max-width: 830px;
  color: #0b1225 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

body.dls-home-enhanced .dls-home-hero h1 span {
  background: linear-gradient(90deg, #2563eb, #06b6d4 45%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.dls-home-enhanced .dls-home-hero p {
  color: #475569 !important;
  line-height: 1.75 !important;
}

body.dls-home-enhanced .dls-home-hero button {
  min-height: 56px !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
}

body.dls-home-enhanced .dls-home-hero button:first-child,
body.dls-home-enhanced .dls-home-hero button:nth-child(2) {
  background: linear-gradient(135deg, #2563eb, #06b6d4 55%, #14b8a6) !important;
}

body.dls-home-enhanced .dls-home-hero button:last-child {
  border-color: rgba(37, 99, 235, 0.18) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: #1e3a8a !important;
  backdrop-filter: blur(12px);
}

body.dls-home-enhanced .dls-home-visual {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(239, 246, 255, 0.7)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(20, 184, 166, 0.08));
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

body.dls-home-enhanced .dls-home-visual::before,
body.dls-home-enhanced .dls-home-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

body.dls-home-enhanced .dls-home-visual::before {
  inset: 28px -18px -18px 34px;
  background: rgba(14, 165, 233, 0.06);
}

body.dls-home-enhanced .dls-home-visual::after {
  inset: -18px 38px 38px -18px;
  background: rgba(20, 184, 166, 0.06);
}

body.dls-home-enhanced .dls-home-hero img {
  width: 100% !important;
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18) !important;
}

.dls-home-studio-panel {
  position: absolute;
  right: clamp(0.6rem, 2vw, 1.4rem);
  bottom: clamp(0.6rem, 2vw, 1.4rem);
  width: min(300px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px) saturate(150%);
}

.dls-home-studio-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  font-size: 0.95rem;
}

.dls-home-pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.13);
}

.dls-home-studio-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.dls-home-studio-metrics span,
.dls-home-proof > div {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.72);
  padding: 0.65rem;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 750;
}

.dls-home-studio-metrics strong {
  display: block;
  color: #2563eb;
  font-size: 1rem;
  line-height: 1;
}

.dls-home-rail {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.09);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.dls-home-rail span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  color: #1e3a8a;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.dls-home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  max-width: 680px;
}

.dls-home-proof > div {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
}

.dls-home-proof strong,
.dls-home-proof span {
  display: block;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}

.dls-home-proof strong {
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.dls-home-proof span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.dls-section-badge {
  display: none !important;
}

body.dls-home-enhanced .dls-home-featured,
body.dls-home-enhanced .dls-home-steps {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

body.dls-home-enhanced .dls-home-featured h2,
body.dls-home-enhanced .dls-home-topics h2,
body.dls-home-enhanced .dls-home-steps h2 {
  color: #0b1225 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

body.dls-home-enhanced .dls-home-featured .group,
body.dls-home-enhanced .dls-home-topics button,
body.dls-home-enhanced .dls-home-steps .grid > div {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07) !important;
}

body.dls-home-enhanced .dls-home-featured .group {
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  overflow: hidden !important;
}

body.dls-home-enhanced .dls-home-featured .group img {
  filter: saturate(1.08) contrast(1.02);
}

body.dls-home-enhanced .dls-home-featured .group:hover,
body.dls-home-enhanced .dls-home-topics button:hover,
body.dls-home-enhanced .dls-home-steps .grid > div:hover {
  border-color: rgba(14, 165, 233, 0.42) !important;
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.14) !important;
  transform: translateY(-4px);
}

body.dls-home-enhanced .dls-home-featured .group button {
  background: linear-gradient(135deg, #eff6ff, #ecfeff) !important;
  color: #1d4ed8 !important;
}

body.dls-home-enhanced .dls-home-featured .group:hover button {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
  color: #ffffff !important;
}

body.dls-home-enhanced .dls-home-topics {
  position: relative;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ecfeff 100%),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0 1px, transparent 1px 48px) !important;
}

body.dls-home-enhanced .dls-home-topics button {
  min-height: 168px;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.88) !important;
}

body.dls-home-enhanced .dls-home-steps .grid > div {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.dls-home-enhanced .dls-home-classroom {
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(236, 253, 245, 0.94)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.055) 0 1px, transparent 1px 54px) !important;
}

body.dls-home-enhanced .dls-home-classroom > div > div {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.dls-home-enhanced .dls-home-classroom > div > div::before {
  display: none !important;
}

body.dls-home-enhanced .dls-home-subscribe > div {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(6, 182, 212, 0.94) 52%, rgba(16, 185, 129, 0.96)) !important;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.24) !important;
}

body.dls-home-enhanced .dls-home-subscribe > div::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent) !important;
}

body.dls-home-enhanced .dls-home-classroom button {
  color: #1d4ed8 !important;
}

body.dls-site-theme:not(.dls-home-enhanced) main,
body.dls-site-theme:not(.dls-home-enhanced) [class*="bg-slate-50"],
body.dls-site-theme:not(.dls-home-enhanced) [class*="from-slate-50"] {
  background-color: #f8fbff !important;
}

body.dls-site-theme .rounded-2xl,
body.dls-site-theme .rounded-3xl {
  border-color: rgba(37, 99, 235, 0.12) !important;
}

body.dls-site-theme main button:not(.dls-header-more-button):not(.nova-hook-close):not(.nova-hook-tab) {
  letter-spacing: 0 !important;
}

@media (max-width: 900px) {
  .dls-home-rail {
    display: none;
  }

  body.dls-home-enhanced .dls-home-visual {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  .dls-home-proof,
  .dls-home-studio-metrics {
    grid-template-columns: 1fr;
  }

  body.dls-home-enhanced .dls-home-hero {
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
  }

  .dls-home-studio-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }
}

.nova-hook-button,
.nova-hook-panel,
.nova-hook-toast {
  box-sizing: border-box;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nova-hook-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.28);
  cursor: pointer;
}

.nova-hook-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(20, 184, 166, 0.34);
}

.nova-hook-button-icon,
.nova-hook-brand-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.nova-hook-button-icon {
  width: 28px;
  height: 28px;
}

.nova-hook-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: none;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(3px);
}

.nova-hook-overlay[data-open="true"] {
  display: block;
}

.nova-hook-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  top: 18px;
  z-index: 2147483002;
  display: none;
  width: min(520px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 8%, rgba(20, 184, 166, 0.12), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(14, 165, 233, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 64%, #f0fdfa 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.nova-hook-panel[data-open="true"] {
  display: flex;
  flex-direction: column;
}

.nova-hook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.94)),
    repeating-linear-gradient(90deg, rgba(20, 184, 166, 0.08) 0 1px, transparent 1px 18px);
}

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

.nova-hook-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.22);
}

.nova-hook-title {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.nova-hook-subtitle {
  margin: 3px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
}

.nova-hook-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.nova-hook-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 18px 0;
}

.nova-hook-tab {
  height: 36px;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.nova-hook-tab[data-active="true"] {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.2);
}

.nova-hook-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.nova-hook-studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.9)),
    radial-gradient(circle at 95% 15%, rgba(20, 184, 166, 0.16), transparent 34%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.nova-hook-studio-hero::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 62%);
}

.nova-hook-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #f0fdfa;
  padding: 5px 9px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nova-hook-studio-hero h3 {
  margin: 10px 0 0;
  max-width: 360px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
}

.nova-hook-studio-hero p {
  margin: 10px 0 0;
  max-width: 390px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.55;
}

.nova-hook-lab-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9 58%, #22c55e);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.26);
}

.nova-hook-lab-mark svg {
  width: 38px;
  height: 38px;
}

.nova-hook-lab-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.nova-hook-lab-bubble.one {
  top: 14px;
  right: 16px;
  width: 10px;
  height: 10px;
}

.nova-hook-lab-bubble.two {
  left: 18px;
  bottom: 18px;
  width: 7px;
  height: 7px;
}

.nova-hook-studio-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.nova-hook-studio-quick button {
  min-height: 42px;
  border: 1px solid #ccfbf1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
  cursor: pointer;
}

.nova-hook-studio-quick button:hover {
  border-color: #5eead4;
  background: #f0fdfa;
  color: #0f766e;
}

.nova-hook-card {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.nova-hook-card + .nova-hook-card {
  margin-top: 12px;
}

.nova-hook-label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.nova-hook-input,
.nova-hook-textarea,
.nova-hook-select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccfbf1;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.nova-hook-input,
.nova-hook-select {
  height: 44px;
  padding: 0 13px;
}

.nova-hook-textarea {
  min-height: 118px;
  resize: vertical;
  padding: 13px;
  line-height: 1.5;
}

.nova-hook-textarea.compact {
  min-height: 82px;
}

.nova-hook-input:focus,
.nova-hook-textarea:focus,
.nova-hook-select:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.nova-hook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nova-hook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.88);
  clear: both;
  position: relative;
  z-index: 2;
}

.nova-hook-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  padding: 0 13px;
  background: #fff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.nova-hook-action.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #fff;
  box-shadow: 0 12px 26px rgba(20, 184, 166, 0.22);
}

.nova-hook-action.success {
  border-color: transparent;
  background: #059669;
  color: #fff;
}

.nova-hook-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.nova-hook-result-title {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
}

.nova-hook-result-text {
  margin: 10px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.nova-clarifying-question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  padding: 12px 14px;
  color: #1f3b63;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.nova-clarifying-question svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #2563eb;
}

.nova-next-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 2px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
  padding: 10px;
}

.nova-next-steps > span {
  margin-right: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nova-next-steps button {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  padding: 7px 10px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.nova-next-steps button:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
  transform: translateY(-1px);
}

.nova-hook-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #f0fdfa;
  padding: 6px 10px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.nova-hook-status.thinking {
  background: #fff7ed;
  color: #c2410c;
}

.nova-hook-thinking {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.nova-hook-thinking-dots {
  display: inline-flex;
  gap: 4px;
}

.nova-hook-thinking-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #14b8a6;
  animation: novaHookBounce 0.9s infinite ease-in-out;
}

.nova-hook-thinking-dots span:nth-child(2) {
  animation-delay: 140ms;
}

.nova-hook-thinking-dots span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes novaHookBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.nova-hook-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.nova-hook-empty {
  border: 1px dashed #99f6e4;
  border-radius: 22px;
  padding: 22px;
  color: #475569;
  background: #f0fdfa;
  font-size: 14px;
  line-height: 1.55;
}

.nova-hook-student-picker {
  margin-top: 12px;
  border: 1px solid #ccfbf1;
  border-radius: 22px;
  background: linear-gradient(135deg, #f0fdfa, #ffffff);
  padding: 14px;
}

.nova-hook-student-picker h4 {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
}

.nova-hook-student-picker p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.nova-hook-section-title {
  margin-top: 14px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.nova-hook-assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nova-hook-field {
  display: grid;
  gap: 6px;
}

.nova-hook-field.wide {
  grid-column: 1 / -1;
}

.nova-hook-field span {
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

.nova-hook-student-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 210px;
  overflow: auto;
}

.nova-hook-student-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 750;
}

.nova-hook-student-row input {
  width: 16px;
  height: 16px;
  accent-color: #14b8a6;
}

.nova-hook-student-meta {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.nova-hook-item-title {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 850;
}

.nova-hook-item-meta {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.nova-hook-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2147483003;
  display: none;
  transform: translateX(-50%);
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.nova-hook-toast[data-open="true"] {
  display: block;
}

.nova-hook-nav-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nova-hook-nav-tab:hover,
.nova-hook-nav-tab[data-active="true"] {
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.14);
}

.nova-hook-nav-tab svg {
  flex: 0 0 auto;
  color: #0f766e;
}

.nova-hook-tab-view {
  display: none;
  margin: 0 auto;
  width: min(100%, 1180px);
}

.nova-hook-tab-view[data-open="true"] {
  display: block;
}

.nova-hook-dashboard-page {
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff, #f8fafc 60%, #f0fdfa);
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.nova-hook-dashboard-page h2 {
  margin: 0;
  color: #0f172a;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.nova-hook-dashboard-page p {
  margin: 8px 0 0;
  max-width: 760px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.55;
}

.nova-hook-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.nova-hook-dashboard-tile {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.nova-hook-dashboard-tile strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 850;
}

.nova-hook-dashboard-tile span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.dls-monitor-nav-active,
.dls-monitor-nav-active:hover {
  background: linear-gradient(135deg, #cffafe, #dbeafe) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.14) !important;
}

.dls-monitor-view {
  display: none;
  margin: 0 auto;
  width: 100%;
}

.dls-monitor-view[data-open="true"] {
  display: block;
}

.dls-monitor-page {
  display: grid;
  gap: 14px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dls-monitor-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 20px 22px;
  background:
    radial-gradient(circle at 94% 8%, rgba(20, 184, 166, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff, #f8fafc 54%, #ecfeff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.dls-monitor-kicker {
  display: inline-flex;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #f0fdfa;
  padding: 6px 10px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.dls-monitor-hero h2 {
  margin: 12px 0 0;
  color: #0f172a;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.dls-monitor-hero p {
  margin: 10px 0 0;
  max-width: 640px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.dls-monitor-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.dls-monitor-hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  background: #ffffff;
  padding: 0 13px;
  color: #0f766e;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.dls-monitor-hero-actions button:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #ffffff;
}

.dls-monitor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dls-monitor-stats > div {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.dls-monitor-stats strong {
  display: block;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.dls-monitor-stats span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.dls-monitor-error,
.dls-monitor-loading,
.dls-monitor-empty {
  border: 1px solid #bfdbfe;
  border-radius: 24px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.dls-monitor-error {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
  font-weight: 800;
}

.dls-monitor-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e40af;
  font-weight: 850;
}

.dls-monitor-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 36px 22px;
}

.dls-monitor-empty-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  color: #0f766e;
}

.dls-monitor-empty-icon svg {
  width: 38px;
  height: 38px;
}

.dls-monitor-empty h3 {
  margin: 18px 0 0;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.dls-monitor-empty p {
  margin: 8px 0 0;
  max-width: 560px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.dls-monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.dls-monitor-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.dls-monitor-card[data-status="Live"] {
  border-color: rgba(20, 184, 166, 0.42);
}

.dls-monitor-card-top,
.dls-monitor-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.dls-monitor-card-top h3 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}

.dls-monitor-card-top p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.dls-monitor-card-top span {
  border-radius: 999px;
  background: #fff7ed;
  padding: 6px 9px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 900;
}

.dls-monitor-card[data-status="Live"] .dls-monitor-card-top span {
  background: #ccfbf1;
  color: #0f766e;
}

.dls-monitor-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc, #f0fdfa);
}

.dls-monitor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dls-monitor-no-preview {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.dls-monitor-no-preview svg {
  width: 34px;
  height: 34px;
  color: #0f766e;
}

.dls-monitor-card-bottom {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

@media (max-width: 640px) {
  .nova-hook-button {
    right: 14px;
    bottom: 14px;
  }

  .nova-hook-panel {
    inset: 8px;
    width: auto;
    border-radius: 22px;
  }

  .nova-hook-grid {
    grid-template-columns: 1fr;
  }

  .nova-hook-studio-hero {
    grid-template-columns: 1fr;
  }

  .nova-hook-lab-mark {
    display: none;
  }

  .nova-hook-studio-quick {
    grid-template-columns: 1fr;
  }

  .nova-hook-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .nova-hook-assignment-grid {
    grid-template-columns: 1fr;
  }

  .dls-monitor-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dls-monitor-hero-actions {
    justify-content: flex-start;
  }

  .dls-monitor-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.dls-what-if-active {
  background: linear-gradient(180deg, #f8fbff 0%, #eef8ff 48%, #f7fffd 100%) !important;
}

.dls-what-if-page-host {
  width: min(1180px, calc(100vw - 2rem)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.dls-what-if-standalone {
  position: fixed;
  left: 0;
  right: 0;
  top: clamp(86px, 8vw, 112px);
  bottom: 0;
  z-index: 900;
  overflow: auto;
  padding: clamp(16px, 2.5vw, 30px);
  background:
    radial-gradient(circle at 14% 4%, rgba(20, 184, 166, 0.16), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.15), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef8ff 46%, #f7fffd 100%);
}

.dls-what-if-standalone-shell {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.dls-what-if-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0 0 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f365c;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.dls-what-if-back:hover {
  color: #075e91;
  border-color: rgba(20, 184, 166, 0.32);
}

.dls-what-if-page,
.dls-what-if-page * {
  box-sizing: border-box;
}

.dls-what-if-page {
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem) 0 3rem;
  color: #0f172a;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dls-what-if-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(34, 211, 238, 0.22), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.86));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.dls-what-if-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.9);
  color: #2563eb;
  font-size: 0.84rem;
  font-weight: 800;
}

.dls-what-if-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.dls-what-if-hero p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #475569;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.65;
}

.dls-what-if-reset,
.dls-what-if-prompt button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
  cursor: pointer;
}

.dls-what-if-reset {
  min-width: 145px;
  padding: 0.85rem 1.15rem;
}

.dls-what-if-workbench {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.dls-what-if-controls,
.dls-what-if-stage,
.dls-what-if-dashboard article {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.dls-what-if-controls {
  padding: 1rem;
}

.dls-what-if-prompt label,
.dls-what-if-slider > span,
.dls-what-if-dashboard span,
.dls-what-if-stage-top span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dls-what-if-prompt textarea {
  width: 100%;
  margin: 0.65rem 0;
  padding: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 20px;
  background: #f8fbff;
  color: #0f172a;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.dls-what-if-prompt textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.dls-what-if-prompt button {
  width: 100%;
  padding: 0.9rem 1rem;
}

.dls-what-if-examples {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.dls-what-if-examples button {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dls-what-if-examples button:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  background: #eff6ff;
}

.dls-what-if-rules {
  display: grid;
  gap: 0.8rem;
}

.dls-what-if-slider {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(240, 253, 250, 0.9));
}

.dls-what-if-slider > span {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.dls-what-if-slider strong {
  color: #2563eb;
}

.dls-what-if-slider input {
  width: 100%;
  accent-color: #2563eb;
}

.dls-what-if-stage {
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
}

.dls-what-if-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.dls-what-if-stage-top h2 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}

.dls-what-if-status {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0e7490 !important;
}

.dls-what-if-city {
  --gravity: 1;
  --friction: 1;
  --oxygen: 21;
  --temperature: 72;
  --water: 1;
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(219, 234, 254, 0.92), rgba(236, 253, 245, 0.95) 58%, #d1fae5 58%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.9), transparent 24%);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.14);
}

.dls-what-if-sun,
.dls-what-if-cloud,
.dls-what-if-water,
.dls-building,
.dls-road,
.dls-car,
.dls-person,
.dls-what-if-label,
.dls-what-if-steam {
  position: absolute;
  display: block;
}

.dls-what-if-sun {
  top: 10%;
  right: 13%;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, #fde68a, #f59e0b);
  box-shadow: 0 0 46px rgba(245, 158, 11, 0.35);
}

.dls-what-if-cloud {
  width: 128px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.dls-what-if-cloud::before,
.dls-what-if-cloud::after {
  content: "";
  position: absolute;
  bottom: 15px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: inherit;
}

.dls-what-if-cloud::before { left: 18px; }
.dls-what-if-cloud::after { right: 22px; }
.dls-what-if-cloud.one { top: 14%; left: 10%; }
.dls-what-if-cloud.two { top: 24%; right: 22%; transform: scale(0.7); opacity: 0.75; }

.dls-building {
  bottom: calc(27% - max(0, var(--water) - 1) * 12px);
  width: 13%;
  border-radius: 14px 14px 0 0;
  transform-origin: bottom;
  transform: scaleY(calc(1.08 - min(var(--gravity), 3) * 0.05));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.38), 0 14px 28px rgba(15, 23, 42, 0.13);
}

.dls-building::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto;
  height: 58%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px);
  background-size: 26px 28px;
  opacity: 0.78;
}

.dls-building.b1 { left: 12%; height: 38%; background: linear-gradient(180deg, #38bdf8, #2563eb); }
.dls-building.b2 { left: 28%; height: 52%; background: linear-gradient(180deg, #5eead4, #0f766e); }
.dls-building.b3 { right: 27%; height: 44%; background: linear-gradient(180deg, #93c5fd, #1d4ed8); }
.dls-building.b4 { right: 11%; height: 34%; background: linear-gradient(180deg, #a7f3d0, #059669); }

.dls-road {
  left: 0;
  right: 0;
  bottom: 10%;
  height: 18%;
  background: linear-gradient(180deg, #334155, #111827);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0% 100%);
}

.dls-road::after {
  content: "";
  position: absolute;
  left: 49%;
  top: 8%;
  width: 2%;
  height: 84%;
  background: repeating-linear-gradient(180deg, #f8fafc 0 20px, transparent 20px 38px);
  opacity: 0.8;
}

.dls-car {
  left: calc(48% + (1 - min(var(--friction), 1)) * 24%);
  bottom: 19%;
  width: 86px;
  height: 34px;
  border-radius: 14px 18px 8px 8px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 12px 18px rgba(15, 23, 42, 0.18);
  transform: rotate(calc((1 - min(var(--friction), 1)) * -10deg));
  transition: left 0.25s ease, transform 0.25s ease;
}

.dls-car::before,
.dls-car::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #e2e8f0;
}

.dls-car::before { left: 12px; }
.dls-car::after { right: 12px; }

.dls-person {
  bottom: calc(28% - max(0, var(--water) - 1) * 10px);
  width: 16px;
  height: calc(42px / max(var(--gravity), 0.6));
  border-radius: 999px 999px 5px 5px;
  background: #0f172a;
}

.dls-person::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbbf24;
}

.dls-person.p1 { left: 44%; }
.dls-person.p2 { right: 41%; transform: scale(0.86); }

.dls-what-if-water {
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--water) * 8%);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.5), rgba(37, 99, 235, 0.72));
  opacity: 0.9;
  transition: height 0.25s ease;
}

.dls-what-if-steam {
  bottom: calc(8% + var(--water) * 7%);
  width: 22px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  opacity: max(0, calc((var(--temperature) - 105) / 90));
  filter: blur(2px);
}

.dls-what-if-steam.one { left: 35%; }
.dls-what-if-steam.two { right: 34%; height: 110px; }

.dls-what-if-label {
  max-width: 190px;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.dls-what-if-label.gravity { left: 8%; top: 38%; }
.dls-what-if-label.friction { right: 10%; bottom: 32%; opacity: calc(1.2 - min(var(--friction), 1)); }
.dls-what-if-label.oxygen { left: 36%; top: 16%; opacity: calc((21 - min(var(--oxygen), 21)) / 16); }

.dls-what-if-explain {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.dls-what-if-explain h3 {
  margin: 0 0 0.45rem;
  color: #0f172a;
  font-size: 1.1rem;
}

.dls-what-if-explain p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.dls-what-if-dashboard {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.dls-what-if-dashboard article {
  min-height: 108px;
  padding: 1rem;
}

.dls-what-if-dashboard strong {
  display: block;
  margin-top: 0.45rem;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .dls-what-if-hero,
  .dls-what-if-stage-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .dls-what-if-workbench {
    grid-template-columns: 1fr;
  }

  .dls-what-if-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dls-what-if-page-host {
    width: calc(100vw - 1rem) !important;
  }

  .dls-what-if-dashboard {
    grid-template-columns: 1fr;
  }

  .dls-what-if-city {
    min-height: 330px;
  }
}


body.dls-home-enhanced [data-dls-section-badge],
body.dls-home-enhanced [data-dls-home-rail],
body.dls-home-enhanced .dls-home-rail,
body.dls-home-enhanced .dls-section-badge {
  display: none !important;
}

body.dls-home-enhanced .dls-home-classroom > div,
body.dls-home-enhanced .dls-home-classroom-flat > div,
body.dls-home-enhanced .dls-home-classroom-panel-flat {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

body.dls-home-enhanced .dls-home-classroom > div::before,
body.dls-home-enhanced .dls-home-classroom > div::after,
body.dls-home-enhanced .dls-home-classroom-panel-flat::before,
body.dls-home-enhanced .dls-home-classroom-panel-flat::after {
  display: none !important;
}

body.dls-home-enhanced .dls-home-classroom h2,
body.dls-home-enhanced .dls-home-classroom p {
  color: #0f172a !important;
}


.dls-monitor-card[data-status="Offline"] {
  border-color: rgba(148, 163, 184, 0.42);
  opacity: 0.82;
}

.dls-monitor-card[data-status="Offline"] .dls-monitor-card-top span {
  background: #f1f5f9;
  color: #475569;
}

.dls-monitor-card[data-status="Stale"] .dls-monitor-card-top span {
  background: #fff7ed;
  color: #c2410c;
}

.dls-monitor-card[data-status="Offline"] .dls-monitor-preview img {
  filter: grayscale(0.35) opacity(0.78);
}

.dls-what-if-city-3d {
  min-height: clamp(500px, 48vw, 700px);
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(20, 184, 166, 0.2), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #edf8ff 46%, #e6fff5 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 28px 70px rgba(15, 23, 42, 0.14);
}

.dls-what-if-city-3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.dls-what-if-city-3d[data-loading="true"] canvas {
  filter: saturate(0.85) blur(0.5px);
}

.dls-what-if-three-fallback {
  position: absolute;
  inset: 1rem;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  border-radius: 22px;
  border: 1px dashed rgba(37, 99, 235, 0.24);
  background: rgba(255, 255, 255, 0.68);
  color: #1e3a8a;
  text-align: center;
  z-index: 2;
}

.dls-what-if-three-fallback span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbeafe, #ccfbf1);
  color: #2563eb;
}

.dls-what-if-three-fallback.is-hidden {
  display: none;
}

.dls-what-if-source {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #1e3a8a;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.dls-what-if-city-3d[data-loading="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 45%, transparent 70%);
  animation: dlsWhatIfScan 1.15s ease-in-out infinite;
}

@keyframes dlsWhatIfScan {
  from { transform: translateX(-80%); }
  to { transform: translateX(80%); }
}

.dls-interactive-lab-overlay-host {
  position: relative !important;
  overflow: hidden;
}

.dls-interactive-lab-scene {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(236, 254, 255, 0.76));
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 28px 80px rgba(15, 23, 42, 0.14);
}

.dls-interactive-lab-scene canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.dls-interactive-lab-loading {
  position: absolute;
  inset: 1.25rem;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  border-radius: 22px;
  border: 1px dashed rgba(20, 184, 166, 0.28);
  background: rgba(255, 255, 255, 0.62);
  color: #0f766e;
  text-align: center;
  z-index: 2;
  backdrop-filter: blur(14px);
}

.dls-interactive-lab-loading span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  color: #0f766e;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.16);
}

.dls-interactive-lab-loading.is-hidden {
  display: none;
}

.dls-interactive-lab-scene-overlay {
  position: absolute;
  left: 2.05%;
  right: 2.05%;
  top: 2.1%;
  height: 94.2%;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 720px) {
  .dls-interactive-lab-scene-overlay {
    left: 1.25%;
    right: 1.25%;
    top: 1.25%;
    height: 96%;
    border-radius: 20px;
  }
}

.dls-interactive-lab-original-frame {
  position: relative;
  z-index: 1;
}


.dls-native-lab-page {
  min-height: 100vh;
  padding: 92px clamp(18px, 4vw, 56px) 48px;
  background:
    radial-gradient(circle at 84% 12%, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at 14% 20%, rgba(20, 184, 166, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eefcff 48%, #f7fdf9 100%);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  color: #0f172a;
}

.dls-lab-hero {
  max-width: 1220px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.dls-lab-hero-copy,
.dls-lab-hero-visual,
.dls-lab-library,
.dls-lab-workspace,
.dls-lab-results article,
.dls-lab-data {
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.dls-lab-hero-copy {
  border-radius: 30px;
  padding: clamp(30px, 5vw, 56px);
}

.dls-lab-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
}

.dls-lab-hero h1 {
  margin: 18px 0 14px;
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: #0b1225;
}

.dls-lab-hero p {
  max-width: 680px;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.7;
}

.dls-lab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dls-lab-hero-actions button,
.dls-lab-run,
.dls-lab-reset {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 850;
  cursor: pointer;
}

.dls-lab-hero-actions button:first-child,
.dls-lab-run {
  color: white;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.dls-lab-hero-actions button:last-child,
.dls-lab-reset {
  color: #1e3a8a;
  background: #eff6ff;
}

.dls-lab-hero-visual {
  position: relative;
  min-height: 370px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(20, 184, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #ecfeff);
  background-size: 46px 46px, 46px 46px, auto;
}

.dls-lab-bench {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 56px;
  height: 86px;
  border-radius: 24px;
  background: linear-gradient(180deg, #12313c, #071f28);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.22);
}

.dls-lab-bench span { position: absolute; display: block; }
.dls-lab-bench .tube { width: 26px; height: 118px; bottom: 58px; border: 4px solid rgba(255,255,255,0.78); border-radius: 0 0 14px 14px; background: linear-gradient(180deg, transparent 35%, rgba(34,197,94,0.75)); }
.dls-lab-bench .t1 { left: 94px; transform: rotate(-12deg); }
.dls-lab-bench .t2 { left: 132px; transform: rotate(11deg); background: linear-gradient(180deg, transparent 42%, rgba(59,130,246,0.75)); }
.dls-lab-bench .flask { width: 104px; height: 126px; right: 118px; bottom: 48px; border: 5px solid rgba(20,184,166,0.45); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(20,184,166,0.35)); }
.dls-lab-bench .scope { width: 92px; height: 58px; left: 230px; bottom: 72px; border-radius: 24px; background: #243b46; transform: rotate(-12deg); }
.dls-lab-bench .plant { width: 36px; height: 120px; right: 260px; bottom: 54px; background: #16a34a; border-radius: 24px 24px 4px 4px; box-shadow: -28px -24px 0 -8px #22c55e, 28px -44px 0 -10px #15803d; }

.dls-lab-data-card {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 180px;
  border-radius: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(37,99,235,0.12);
  box-shadow: 0 18px 38px rgba(15,23,42,0.1);
}

.dls-lab-data-card strong,
.dls-lab-data-card span { display: block; }
.dls-lab-data-card strong { font-size: 0.8rem; color: #64748b; }
.dls-lab-data-card span { margin-top: 6px; font-size: 1.8rem; font-weight: 950; color: #0f172a; }

.dls-lab-shell {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dls-lab-library,
.dls-lab-workspace {
  border-radius: 28px;
}

.dls-lab-library {
  position: sticky;
  top: 88px;
  padding: 16px;
  max-height: calc(100vh - 112px);
  overflow: hidden;
}

.dls-lab-library-head span {
  display: block;
  font-weight: 950;
  margin: 4px 2px 12px;
}

.dls-lab-library input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: 14px;
  padding: 0 12px;
  outline: none;
  background: #f8fbff;
}

.dls-lab-cards {
  margin-top: 14px;
  display: grid;
  gap: 9px;
  overflow: auto;
  max-height: calc(100vh - 220px);
  padding-right: 4px;
}

.dls-lab-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 10px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.dls-lab-card[data-active="true"],
.dls-lab-card:hover {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border-color: rgba(37,99,235,0.16);
}

.dls-lab-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

.dls-lab-card strong,
.dls-lab-card small { display: block; }
.dls-lab-card strong { color: #0f172a; font-size: 0.92rem; }
.dls-lab-card small { color: #64748b; font-size: 0.73rem; margin-top: 2px; }

.dls-lab-workspace { padding: clamp(16px, 2vw, 24px); }
.dls-lab-stage-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 18px; }
.dls-lab-stage-top h2 { margin: 12px 0 6px; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.05; color: #0b1225; }
.dls-lab-stage-top p { color: #475569; line-height: 1.6; margin: 0; }
.dls-lab-score { min-width: 132px; border-radius: 22px; padding: 16px; text-align: center; color: white; background: linear-gradient(135deg, #2563eb, #14b8a6); box-shadow: 0 18px 34px rgba(37,99,235,0.18); }
.dls-lab-score strong { display: block; font-size: 2rem; line-height: 1; }
.dls-lab-score span { font-size: 0.72rem; opacity: 0.86; font-weight: 800; }

.dls-lab-sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.dls-lab-sim-card,
.dls-lab-control-card { border: 1px solid rgba(37,99,235,0.12); border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(15,23,42,0.06); }
.dls-lab-sim-card { overflow: hidden; }
.dls-lab-sim-card canvas { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f8fbff; }
.dls-lab-equation { padding: 12px 16px; border-top: 1px solid #e2e8f0; color: #1e3a8a; font-weight: 850; background: #eff6ff; }
.dls-lab-control-card { padding: 16px; }
.dls-lab-control-card h3 { margin: 0 0 12px; }
.dls-lab-control { display: block; margin-bottom: 16px; }
.dls-lab-control span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #334155; }
.dls-lab-control em { font-style: normal; color: #2563eb; font-weight: 850; }
.dls-lab-control input { width: 100%; accent-color: #2563eb; }
.dls-lab-run,
.dls-lab-reset { width: 100%; margin-top: 8px; }

.dls-lab-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.dls-lab-results article { border-radius: 22px; padding: 18px; }
.dls-lab-results h3,
.dls-lab-data h3 { margin: 0 0 10px; color: #0f172a; }
.dls-lab-results p,
.dls-lab-results li { color: #475569; line-height: 1.62; }
.dls-lab-results ul { margin: 0; padding-left: 18px; }
.dls-lab-data { margin-top: 18px; border-radius: 22px; padding: 18px; overflow: auto; }
.dls-lab-data table { width: 100%; border-collapse: collapse; min-width: 680px; }
.dls-lab-data th { text-align: left; color: #475569; font-size: 0.78rem; border-bottom: 1px solid #e2e8f0; padding: 10px; }
.dls-lab-data td { padding: 12px 10px; border-bottom: 1px solid #eef2f7; color: #334155; vertical-align: top; }

@media (max-width: 1050px) {
  .dls-lab-hero,
  .dls-lab-shell,
  .dls-lab-sim-grid,
  .dls-lab-results { grid-template-columns: 1fr; }
  .dls-lab-library { position: relative; top: auto; max-height: none; }
  .dls-lab-cards { max-height: 360px; }
}

@media (max-width: 700px) {
  .dls-native-lab-page { padding: 78px 12px 34px; }
  .dls-lab-stage-top { flex-direction: column; }
  .dls-lab-score { width: 100%; }
  .dls-lab-hero-copy { padding: 24px; }
}


.dls3d-page{min-height:100vh;padding:92px clamp(18px,4vw,56px) 48px;background:radial-gradient(circle at 84% 12%,rgba(37,99,235,.14),transparent 28%),radial-gradient(circle at 14% 20%,rgba(20,184,166,.16),transparent 26%),linear-gradient(180deg,#f8fbff 0%,#eefcff 48%,#f7fdf9 100%);font-family:Poppins,Inter,ui-sans-serif,system-ui,sans-serif;color:#0f172a}.dls3d-hero,.dls3d-lab{max-width:1240px;margin:0 auto}.dls3d-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);gap:28px;margin-bottom:24px}.dls3d-hero>div,.dls3d-hero>aside,.dls3d-toolbar,.dls3d-card,.dls3d-scene,.dls3d-controls,.dls3d-results article,.dls3d-data{border:1px solid rgba(37,99,235,.12);background:rgba(255,255,255,.9);box-shadow:0 22px 54px rgba(15,23,42,.08);backdrop-filter:blur(18px)}.dls3d-hero>div{border-radius:32px;padding:clamp(30px,5vw,58px)}.dls3d-hero span,.dls3d-lab header span{display:inline-flex;width:fit-content;border:1px solid rgba(37,99,235,.16);border-radius:999px;padding:7px 12px;color:#2563eb;background:#eff6ff;font-size:.78rem;font-weight:850}.dls3d-hero h1,.dls3d-lab h1{margin:18px 0 14px;font-size:clamp(2.25rem,5vw,4.8rem);line-height:.98;letter-spacing:0;color:#0b1225}.dls3d-hero p,.dls3d-lab header p{max-width:760px;color:#475569;font-size:1.06rem;line-height:1.7}.dls3d-hero button,.dls3d-controls button,.dls3d-back{min-height:46px;border:0;border-radius:999px;padding:0 18px;font-weight:850;cursor:pointer}.dls3d-hero button:first-child,.dls3d-controls button:first-of-type{color:white;background:linear-gradient(135deg,#2563eb,#14b8a6);box-shadow:0 16px 34px rgba(37,99,235,.22)}.dls3d-hero button:last-child,.dls3d-controls button:last-of-type,.dls3d-back{color:#1e3a8a;background:#eff6ff}.dls3d-hero>div>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.dls3d-hero>aside{position:relative;min-height:380px;border-radius:32px;overflow:hidden;background:linear-gradient(rgba(20,184,166,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.055) 1px,transparent 1px),linear-gradient(135deg,#fff,#ecfeff);background-size:46px 46px,46px 46px,auto}.dls3d-hero aside i{position:absolute;border:2px solid rgba(37,99,235,.18);border-radius:999px}.dls3d-hero aside i:nth-child(1){inset:62px 74px 110px 72px;transform:rotate(-18deg)}.dls3d-hero aside i:nth-child(2){inset:94px 42px 78px 104px;transform:rotate(24deg)}.dls3d-hero aside i:nth-child(3){inset:126px 112px 52px 54px;transform:rotate(54deg)}.dls3d-hero aside b{position:absolute;left:44px;right:44px;bottom:58px;height:74px;border-radius:22px;background:linear-gradient(180deg,#12313c,#071f28);box-shadow:0 26px 44px rgba(15,23,42,.22)}.dls3d-toolbar{max-width:1240px;margin:0 auto 22px;border-radius:24px;padding:18px;display:flex;justify-content:space-between;gap:18px;align-items:center}.dls3d-toolbar strong{font-size:1.6rem;color:#2563eb}.dls3d-toolbar input{width:min(420px,52vw);height:46px;border:1px solid rgba(37,99,235,.14);border-radius:999px;padding:0 16px;outline:none;background:#f8fbff}.dls3d-featured,.dls3d-grid{max-width:1240px;margin:0 auto;display:grid;gap:14px}.dls3d-featured{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:22px}.dls3d-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dls3d-card{text-align:left;cursor:pointer;border-radius:22px;padding:16px;min-height:118px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dls3d-card.big{min-height:186px;padding:18px}.dls3d-card:hover{transform:translateY(-4px);border-color:rgba(37,99,235,.35);box-shadow:0 28px 60px rgba(37,99,235,.13)}.dls3d-card em{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,#eff6ff,#ecfeff);margin-bottom:14px;font-style:normal}.dls3d-card strong{display:block;color:#0f172a;font-size:1rem;line-height:1.25}.dls3d-card small{display:block;margin-top:8px;color:#64748b;line-height:1.45}.dls3d-back{margin-bottom:18px}.dls3d-lab header{display:flex;justify-content:space-between;gap:22px;align-items:start;margin-bottom:20px}.dls3d-lab header aside{min-width:144px;border-radius:24px;padding:18px;text-align:center;color:white;background:linear-gradient(135deg,#2563eb,#14b8a6);box-shadow:0 18px 34px rgba(37,99,235,.18)}.dls3d-lab header aside strong{display:block;font-size:2rem;line-height:1}.dls3d-lab main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.dls3d-scene,.dls3d-controls{border-radius:26px;overflow:hidden}.dls3d-scene{position:relative;background:#f8fbff}.dls3d-scene canvas{display:block;width:100%;height:clamp(420px,58vh,680px);cursor:grab;touch-action:none}.dls3d-scene canvas:active{cursor:grabbing}.dls3d-scene>p{position:absolute;left:16px;top:16px;z-index:2;max-width:calc(100% - 32px);border:1px solid rgba(37,99,235,.16);border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.82);color:#1e3a8a;font-size:.78rem;font-weight:850;backdrop-filter:blur(12px)}.dls3d-scene footer{padding:12px 16px;border-top:1px solid #e2e8f0;color:#1e3a8a;font-weight:850;background:#eff6ff}.dls3d-controls{padding:18px}.dls3d-controls h3{margin:0 0 12px}.dls3d-controls label{display:block;margin-bottom:16px}.dls3d-controls label span{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#334155}.dls3d-controls label i{font-style:normal;color:#2563eb;font-weight:850}.dls3d-controls input{width:100%;accent-color:#2563eb}.dls3d-controls button{width:100%;margin-top:8px}.dls3d-results{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.dls3d-results article{border-radius:22px;padding:18px}.dls3d-results h3,.dls3d-data h3{margin:0 0 10px;color:#0f172a}.dls3d-results p,.dls3d-results li{color:#475569;line-height:1.62}.dls3d-results ul{margin:0;padding-left:18px}.dls3d-data{margin-top:18px;border-radius:22px;padding:18px;overflow:auto}.dls3d-data table{width:100%;border-collapse:collapse;min-width:680px}.dls3d-data th{text-align:left;color:#475569;font-size:.78rem;border-bottom:1px solid #e2e8f0;padding:10px}.dls3d-data td{padding:12px 10px;border-bottom:1px solid #eef2f7;color:#334155;vertical-align:top}@media(max-width:1120px){.dls3d-featured,.dls3d-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dls3d-hero,.dls3d-lab main,.dls3d-results{grid-template-columns:1fr}}@media(max-width:700px){.dls3d-page{padding:78px 12px 34px}.dls3d-toolbar,.dls3d-lab header{flex-direction:column}.dls3d-toolbar input{width:100%}.dls3d-featured,.dls3d-grid{grid-template-columns:1fr}.dls3d-lab header aside{width:100%}}


/* Guided Interactive Labs */
.dls3d-lab main { grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; }
.dls3d-controls { display: flex; flex-direction: column; gap: 12px; }
.dls3d-teacher {
  margin: -2px 0 4px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(239,246,255,0.96), rgba(236,254,255,0.94));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.1);
  overflow: hidden;
}
.dls3d-teacher > button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 0;
  padding: 12px 14px;
  color: #0f172a;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left;
}
.dls3d-teacher > button span,
.dls3d-teacher > button b,
.dls3d-teacher > button small { display: block; }
.dls3d-teacher > button b { font-size: 0.92rem; color: #0b1225; }
.dls3d-teacher > button small { margin-top: 2px; color: #2563eb; font-weight: 850; }
.dls3d-teacher > button i {
  font-style: normal;
  color: #1e3a8a;
  font-size: 0.76rem;
  font-weight: 900;
}
.dls3d-teacher [data-teacher-body] {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 0 14px 14px;
}
.dls3d-teacher.is-collapsed [data-teacher-body] { display: none; }
.dls3d-teacher-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  font-weight: 950;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 12px 22px rgba(37,99,235,0.18);
}
.dls3d-teacher article strong {
  display: block;
  color: #0f172a;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
.dls3d-teacher article p {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.52;
  font-size: 0.86rem;
}
.dls3d-teacher article ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.5;
}
.dls3d-teacher article div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dls3d-teacher article div button {
  min-height: 38px;
  margin: 0;
  border-radius: 13px;
  border: 1px solid rgba(37,99,235,0.16);
  color: #1e3a8a;
  background: rgba(255,255,255,0.82) !important;
  box-shadow: none !important;
  font-size: 0.78rem;
}
.dls3d-teacher article div button:last-child {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
}
.dls3d-teacher article div button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.dls3d-scene > p[data-scene-help] {
  max-width: min(620px, calc(100% - 32px));
  border-color: rgba(20, 184, 166, 0.24);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.dls3d-controls h3 { margin-top: 0; }
.dls3d-controls label { padding: 10px 0; border-top: 1px solid rgba(226,232,240,0.8); }
.dls3d-controls label:first-of-type { border-top: 0; }
@media(max-width:1120px){.dls3d-lab main{grid-template-columns:1fr}.dls3d-controls{order:-1}.dls3d-teacher [data-teacher-body]{grid-template-columns:42px minmax(0,1fr)}}
@media(max-width:700px){.dls3d-teacher [data-teacher-body]{grid-template-columns:1fr}.dls3d-teacher-avatar{display:none}.dls3d-teacher article div{grid-template-columns:1fr}}

.dls3d-controls button[data-run] {
  color: white !important;
  background: linear-gradient(135deg, #2563eb, #14b8a6) !important;
  box-shadow: 0 16px 34px rgba(37,99,235,.22) !important;
}
.dls3d-controls button[data-reset] {
  color: #1e3a8a !important;
  background: #eff6ff !important;
  box-shadow: none !important;
}

/* Native restored Interactive 3D Lab mount */
.dls-original-labs-native-host {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, rgba(14, 40, 56, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 40, 56, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f8fffd, #eefbff 46%, #fff8ec);
  background-size: 44px 44px, 44px 44px, auto;
  overflow: visible;
}
.dls-original-labs-root {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.dls-original-labs-root .app-shell {
  width: 100%;
}
.dls-original-labs-root .app-shell.home-shell {
  min-height: 100vh;
}
.dls-labs-loading {
  display: grid;
  min-height: 72vh;
  place-items: center;
  color: #087a72;
  font: 900 20px Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f8fffd, #eefbff 52%, #fff8ec);
}


.nova-curriculum-panel {
  margin-top: 18px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fdff 52%, #eefbff);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.nova-curriculum-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.nova-curriculum-top span:first-child {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.9);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nova-curriculum-top h4 {
  margin: 9px 0 4px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}
.nova-curriculum-top p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.nova-curriculum-module-list {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding: 0 4px 16px 0;
}
.nova-curriculum-module {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
}
.nova-curriculum-module-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.nova-curriculum-module-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}
.nova-curriculum-module-head strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}
.nova-curriculum-module p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.62;
}
.nova-curriculum-module .nova-hook-input {
  margin-bottom: 8px;
  font-weight: 800;
}
.nova-curriculum-module .nova-hook-textarea.compact {
  min-height: 210px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.55;
}
.nova-curriculum-error {
  margin-top: 12px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  color: #b91c1c;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 800;
}

.nova-verification-panel {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  background: radial-gradient(circle at 12% 10%, rgba(20, 184, 166, 0.16), transparent 30%), radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.14), transparent 30%), linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240, 253, 250, 0.92));
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
}

.nova-verification-copy h4 {
  margin: 0.2rem 0;
  font-size: 1.25rem;
  color: #071329;
}

.nova-verification-copy p {
  margin: 0;
  color: #52627a;
  font-weight: 750;
  line-height: 1.45;
}

.nova-verification-kicker {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nova-verification-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.8rem;
  color: #475569;
  font-weight: 850;
}

.nova-verification-launch-card {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  background: linear-gradient(135deg, #ffffff, #f0fdfa 52%, #eff6ff);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr) auto;
  gap: 0.9rem;
  align-items: center;
}

.nova-verification-launch-card .nova-verification-flow-map {
  grid-column: 1 / -1;
}

.nova-verification-tab-launcher {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  background:
    radial-gradient(circle at 8% 8%, rgba(20,184,166,.16), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(37,99,235,.14), transparent 30%),
    linear-gradient(135deg, #ffffff, #f0fdfa 48%, #eff6ff);
  box-shadow: 0 20px 50px rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nova-verification-tab-launcher h3 {
  margin: 0.22rem 0 0.25rem;
  color: #071329;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
}

.nova-verification-tab-launcher p {
  margin: 0;
  max-width: 760px;
  color: #52627a;
  font-weight: 800;
  line-height: 1.45;
}

.nova-verification-launch-card h4 {
  margin: 0.2rem 0;
  color: #071329;
  font-size: 1.08rem;
  font-weight: 950;
}

.nova-verification-launch-card p {
  margin: 0;
  color: #52627a;
  font-weight: 800;
}

.nova-verification-launch-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.nova-verification-launch-metrics span {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(219,234,254,.9);
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nova-verification-launch-metrics strong {
  color: #071329;
  font-size: 1rem;
  font-weight: 950;
}

.nova-verification-flow-map {
  display: grid;
  grid-template-columns: repeat(11, minmax(92px, 1fr));
  gap: 0.45rem;
  align-items: stretch;
  overflow-x: auto;
  padding: 0.35rem 0.1rem 0.2rem;
  scrollbar-width: thin;
}

.nova-verification-flow-map.compact {
  grid-template-columns: repeat(11, minmax(84px, 1fr));
}

.nova-verification-flow-step {
  position: relative;
  min-height: 104px;
  padding: 0.72rem 0.62rem;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 10px 24px rgba(15,23,42,.05);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.3rem;
}

.nova-verification-flow-step::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -0.46rem;
  width: 0.46rem;
  height: 2px;
  background: rgba(148, 163, 184, 0.55);
}

.nova-verification-flow-step:last-child::after {
  display: none;
}

.nova-verification-flow-step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid rgba(203, 213, 225, 0.9);
  font-size: 0.78rem;
  font-weight: 950;
}

.nova-verification-flow-step span svg {
  width: 16px;
  height: 16px;
}

.nova-verification-flow-step strong {
  color: #10213f;
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 950;
}

.nova-verification-flow-step em {
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.25;
  font-style: normal;
  font-weight: 800;
}

.nova-verification-flow-step.done {
  border-color: rgba(20, 184, 166, 0.32);
  background: linear-gradient(145deg, rgba(240,253,250,.94), rgba(255,255,255,.88));
}

.nova-verification-flow-step.done span {
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  border-color: transparent;
}

.nova-verification-flow-step.active {
  border-color: rgba(37, 99, 235, 0.48);
  background: linear-gradient(145deg, rgba(239,246,255,.98), rgba(240,253,250,.92));
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.16);
}

.nova-verification-flow-step.active span {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  border-color: transparent;
  animation: novaFlowPulse 1.35s ease-in-out infinite;
}

.nova-verification-flow-step.blocked {
  border-color: rgba(239, 68, 68, 0.34);
  background: #fff1f2;
}

.nova-verification-flow-step.blocked span {
  color: #ffffff;
  background: #dc2626;
  border-color: transparent;
}

@keyframes novaFlowPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(37,99,235,0); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(37,99,235,.12); }
}

.nova-verification-room-open {
  overflow: hidden;
}

.nova-verification-room-page {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: auto;
  padding: clamp(18px, 3vw, 38px);
  background:
    radial-gradient(circle at 12% 10%, rgba(20, 184, 166, 0.18), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(37, 99, 235, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fafc, #eef7f6 52%, #f8fbff);
}

.nova-verification-room-shell {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.nova-verification-room-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(219,234,254,.95);
  box-shadow: 0 20px 46px rgba(15,23,42,.08);
}

.nova-verification-room-header span {
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nova-verification-room-header h2 {
  margin: 0.18rem 0;
  color: #071329;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  font-weight: 950;
}

.nova-verification-room-header p {
  margin: 0;
  color: #52627a;
  font-weight: 850;
}

.nova-verification-room-close {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #071329, #0f766e);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15,23,42,.18);
}

.nova-verification-panel.room-mode {
  min-height: calc(100vh - 170px);
}

.nova-stamp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.nova-stamp-badge.green { background: linear-gradient(135deg, #00a878, #0bb9a9); }
.nova-stamp-badge.yellow { background: linear-gradient(135deg, #f59e0b, #facc15); color: #3b2f00; }
.nova-stamp-badge.red { background: linear-gradient(135deg, #ef4444, #be123c); }
.nova-stamp-badge.pending { background: linear-gradient(135deg, #64748b, #2387ff); }

.nova-mesh2motion-stage {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  perspective: 1250px;
  transform-style: preserve-3d;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0 14%, transparent 14%),
    linear-gradient(90deg, rgba(255,255,255,.94) 0 10%, transparent 10% 100%),
    linear-gradient(180deg, #f8fafc 0 10%, #d3d0ca 10% 47%, #f4f2ed 47% 100%);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08), inset 0 -56px 110px rgba(15,23,42,.08);
}

.nova-verification-room-canvas {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 460ms ease;
  cursor: grab;
  touch-action: none;
}

.nova-verification-room-canvas:active {
  cursor: grabbing;
}

.nova-mesh2motion-stage.is-three-ready .nova-verification-room-canvas {
  opacity: 1;
}

.nova-verification-room-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  min-width: min(320px, calc(100% - 32px));
  padding: 1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(219,234,254,.9);
  background: rgba(255,255,255,.88);
  color: #071329;
  box-shadow: 0 20px 48px rgba(15,23,42,.14);
  backdrop-filter: blur(12px);
}

.nova-verification-room-loading strong {
  font-size: 0.98rem;
  font-weight: 950;
}

.nova-verification-room-loading span {
  color: #52627a;
  font-size: 0.82rem;
  font-weight: 800;
}

.nova-verification-room-loading.is-hidden {
  display: none;
}

.nova-mesh2motion-stage.is-three-ready .nova-mesh2motion-room,
.nova-mesh2motion-stage.is-three-ready .nova-mesh2motion-screen,
.nova-mesh2motion-stage.is-three-ready .nova-mesh2motion-table,
.nova-mesh2motion-stage.is-three-ready .nova-mesh2motion-judge {
  opacity: 0;
  pointer-events: none;
}

.nova-mesh2motion-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 10%, rgba(15,23,42,.11) 10.15% 10.3%, transparent 10.45% 18%, rgba(15,23,42,.1) 18.15% 18.3%, transparent 18.45% 26%, rgba(15,23,42,.1) 26.15% 26.3%, transparent 26.45% 34%, rgba(15,23,42,.1) 34.15% 34.3%, transparent 34.45% 42%, rgba(15,23,42,.1) 42.15% 42.3%, transparent 42.45% 50%, rgba(15,23,42,.1) 50.15% 50.3%, transparent 50.45% 58%, rgba(15,23,42,.1) 58.15% 58.3%, transparent 58.45% 66%, rgba(15,23,42,.1) 66.15% 66.3%, transparent 66.45% 74%, rgba(15,23,42,.1) 74.15% 74.3%, transparent 74.45%),
    linear-gradient(160deg, transparent 0 54%, rgba(255,255,255,.78) 54.2% 72%, transparent 72.2%);
}

.nova-mesh2motion-room {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.82) 0 56px, rgba(218,216,210,.88) 56px 60px),
    linear-gradient(180deg, transparent 0 49%, #f8f6f0 49% 64%, #d6d2c8 64% 100%);
}

.nova-mesh2motion-room::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16%;
  height: 68%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0 18%, rgba(187,221,235,.55) 18% 22%, rgba(255,255,255,.85) 22% 42%, rgba(187,221,235,.45) 42% 46%, rgba(255,255,255,.82) 46% 70%, rgba(187,221,235,.45) 70% 73%, rgba(255,255,255,.8) 73%);
  box-shadow: 12px 0 44px rgba(255,255,255,.7);
}

.nova-mesh2motion-room::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 42%;
  width: 58px;
  height: 100px;
  border-radius: 50% 50% 12px 12px;
  background:
    radial-gradient(ellipse at 52% 18%, #77a66d 0 12%, transparent 13%),
    radial-gradient(ellipse at 34% 28%, #8cbd78 0 14%, transparent 15%),
    radial-gradient(ellipse at 68% 36%, #6ea766 0 12%, transparent 13%),
    linear-gradient(90deg, transparent 46%, #6b5c4f 46% 54%, transparent 54%),
    linear-gradient(180deg, transparent 66%, #5f6669 66% 100%);
}

.nova-mesh2motion-screen {
  position: absolute;
  left: 50%;
  top: 74px;
  z-index: 4;
  width: min(470px, 46%);
  min-height: 116px;
  transform: translateX(-50%) translateZ(-30px);
  border: 8px solid rgba(15,23,42,.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #343837, #222827);
  box-shadow: 0 20px 45px rgba(15,23,42,.24);
  display: grid;
  align-content: center;
  justify-items: center;
}

.nova-mesh2motion-screen span {
  color: rgba(255,255,255,.66);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nova-mesh2motion-screen strong {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 950;
}

.nova-mesh2motion-table {
  position: absolute;
  left: 15%;
  right: 9%;
  bottom: 44px;
  height: 210px;
  z-index: 3;
  border-radius: 12px 12px 42px 42px;
  transform: rotateX(62deg) rotateZ(0.5deg) translateZ(18px);
  transform-origin: center;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.09) 48.4% 49.6%, transparent 50%),
    linear-gradient(135deg, #6f6d67, #494a45 58%, #2f3331);
  box-shadow: 0 58px 80px rgba(15, 23, 42, .28), inset 0 10px 22px rgba(255,255,255,.16);
}

.nova-table-glow {
  position: absolute;
  inset: 24px 34%;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 62%);
  animation: novaTablePulse 2.8s ease-in-out infinite;
}

.nova-table-report {
  position: absolute;
  width: 42px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  box-shadow: 0 8px 16px rgba(15,23,42,.16);
}

.nova-table-report::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 3px;
  border-radius: 999px;
  background: #0bb9a9;
  box-shadow: 0 7px 0 rgba(35,135,255,.75);
}

.nova-table-report.report-a { left: 35%; top: 54px; transform: rotate(-10deg); }
.nova-table-report.report-b { left: 51%; top: 82px; transform: rotate(7deg); }
.nova-table-report.report-c { right: 27%; top: 60px; transform: rotate(13deg); }

.nova-mesh2motion-human {
  --human-x: calc(19% + var(--judge) * 15%);
  --human-y: 148px;
}

.nova-mesh2motion-judge {
  position: absolute;
  left: var(--human-x);
  bottom: var(--human-y);
  z-index: var(--human-z, 5);
  width: 92px;
  height: 156px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 1px;
  padding: 0.48rem;
  border-radius: 999px 999px 22px 22px;
  color: #071329;
  background: transparent;
  transform: translateZ(44px) rotateY(calc((var(--judge) - 2) * -7deg));
  animation: novaJudgeMotion 3.7s ease-in-out infinite;
  animation-delay: calc(var(--judge) * -0.32s);
}

.nova-human-shadow {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -6px;
  height: 16px;
  border-radius: 50%;
  background: rgba(15,23,42,.16);
  filter: blur(2px);
}

.nova-human-shadow::before {
  content: "";
  position: absolute;
  left: -7px;
  right: -7px;
  bottom: -4px;
  height: 28px;
  border-radius: 20px 20px 8px 8px;
  background: linear-gradient(180deg, #b9855e, #8b6249);
  box-shadow: 0 11px 14px rgba(15,23,42,.18);
}

.nova-human-head {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe0bd, #d69b70);
  border: 3px solid rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
}

.nova-human-body {
  width: 54px;
  height: 50px;
  border-radius: 20px 20px 14px 14px;
  margin-top: -3px;
  background: linear-gradient(135deg, #ffffff, #dbeafe 52%, #b9f4ee);
  border: 1px solid rgba(37,99,235,.14);
  box-shadow: 0 18px 26px rgba(15,23,42,.14);
}

.nova-human-arm {
  position: absolute;
  top: 58px;
  width: 12px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dbeafe, #0bb9a9);
  transform-origin: top center;
}

.nova-human-arm.arm-left {
  left: 16px;
  transform: rotate(28deg);
  animation: novaArmReportLeft 2.5s ease-in-out infinite;
}

.nova-human-arm.arm-right {
  right: 16px;
  transform: rotate(-25deg);
  animation: novaArmReportRight 2.5s ease-in-out infinite;
  animation-delay: calc(var(--judge) * .11s);
}

.nova-human-report {
  position: absolute;
  top: 72px;
  right: 5px;
  width: 34px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border: 1px solid rgba(37,99,235,.18);
  box-shadow: 0 10px 22px rgba(15,23,42,.14);
  transform: rotate(-9deg);
}

.nova-human-report::before,
.nova-human-report::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 3px;
  border-radius: 999px;
  background: #2387ff;
}

.nova-human-report::before { top: 12px; }
.nova-human-report::after { top: 22px; background: #0bb9a9; }

.nova-mesh2motion-judge.green .nova-human-body { background: linear-gradient(135deg, #ffffff, #ccfbf1 52%, #7dd3fc); }
.nova-mesh2motion-judge.yellow .nova-human-body { background: linear-gradient(135deg, #ffffff, #fef3c7 52%, #bae6fd); }
.nova-mesh2motion-judge.red .nova-human-body { background: linear-gradient(135deg, #ffffff, #ffe4e6 52%, #bfdbfe); }

.nova-mesh2motion-judge > strong {
  position: relative;
  z-index: 3;
  margin-top: 3px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #071329;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(15,23,42,.08);
}

.nova-mesh2motion-judge > em {
  position: relative;
  z-index: 3;
  color: #64748b;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
}

.nova-mesh2motion-judge > span:first-child {
  display: grid;
  place-items: center;
}

@keyframes novaTablePulse {
  0%, 100% { opacity: .42; transform: scale(.92); }
  50% { opacity: .86; transform: scale(1.08); }
}

@keyframes novaArmReportLeft {
  0%, 100% { transform: rotate(24deg); }
  50% { transform: rotate(42deg); }
}

@keyframes novaArmReportRight {
  0%, 100% { transform: rotate(-22deg); }
  50% { transform: rotate(-42deg); }
}

@keyframes novaJudgeMotion {
  0%, 100% { transform: translateY(0) translateZ(44px) rotateY(calc((var(--judge) - 2) * -7deg)); }
  50% { transform: translateY(-11px) translateZ(66px) rotateY(calc((var(--judge) - 2) * 7deg)); }
}

.nova-verification-scores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.nova-verification-scores div,
.nova-verification-details > div {
  padding: 0.85rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.nova-verification-scores strong {
  display: block;
  color: #071329;
  font-size: 1.2rem;
  font-weight: 950;
}

.nova-verification-scores span,
.nova-verification-details strong {
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nova-verification-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.nova-verification-details p,
.nova-verification-details li {
  margin: 0.45rem 0 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 750;
}

.nova-verification-details ul {
  margin: 0;
  padding-left: 1rem;
}

@media (max-width: 760px) {
  .nova-curriculum-top {
    display: grid;
  }
  .nova-curriculum-panel {
    padding: 14px;
  }
  .nova-verification-scores,
  .nova-verification-details {
    grid-template-columns: 1fr;
  }
  .nova-mesh2motion-judge {
    left: calc(6% + var(--judge) * 18%);
    width: 62px;
  }
}

.nova-curriculum-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.nova-curriculum-section-grid div {
  min-height: 64px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 13px;
  padding: 10px 11px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(240, 253, 250, 0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.nova-curriculum-section-grid strong {
  display: block;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}
.nova-curriculum-section-grid span {
  display: block;
  margin-top: 5px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}
.nova-curriculum-reading-levels {
  display: grid;
  gap: 7px;
  margin: 10px 0 12px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
}
.nova-curriculum-reading-levels strong {
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nova-curriculum-reading-levels span {
  display: -webkit-box;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nova-curriculum-preview {
  margin-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 10px;
}
.nova-curriculum-preview summary {
  cursor: pointer;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}
.nova-curriculum-preview p {
  margin-top: 10px;
}
.nova-curriculum-section-details {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}
.nova-curriculum-section-details details {
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}
.nova-curriculum-section-details summary {
  cursor: pointer;
  list-style: none;
  padding: 11px 13px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.9), rgba(239, 246, 255, 0.9));
}
.nova-curriculum-section-details summary::-webkit-details-marker {
  display: none;
}
.nova-curriculum-section-details summary::after {
  content: "+";
  float: right;
  color: #0f766e;
  font-weight: 950;
}
.nova-curriculum-section-details details[open] summary::after {
  content: "-";
}
.nova-curriculum-section-details details > div {
  padding: 11px 13px 13px;
  color: #334155;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}
.nova-curriculum-section-details p,
.nova-curriculum-section-details ul,
.nova-curriculum-section-details dl {
  margin: 0;
}
.nova-curriculum-section-details ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}
.nova-curriculum-section-details dl {
  display: grid;
  gap: 8px;
}
.nova-curriculum-section-details dt {
  color: #0f766e;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nova-curriculum-section-details dd {
  margin: 3px 0 0;
}
.nova-curriculum-section-details em {
  color: #2563eb;
  font-style: normal;
  font-weight: 900;
}
@media (max-width: 980px) {
  .nova-curriculum-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .nova-curriculum-section-grid {
    grid-template-columns: 1fr;
  }
}

/* Header account overlap fix: keep profile label and Account CTA in separate lanes. */
.dls-top-header-managed .dls-account-cluster {
  display: grid !important;
  grid-template-columns: minmax(0, 176px) max-content !important;
  align-items: center !important;
  justify-content: end !important;
  justify-items: end !important;
  column-gap: clamp(1.25rem, 2vw, 2rem) !important;
  min-width: 0 !important;
  width: min(430px, 36vw) !important;
  max-width: min(430px, 36vw) !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  grid-column: 1 !important;
  justify-self: end !important;
  width: 176px !important;
  max-width: 176px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-align: right !important;
  position: relative !important;
  z-index: 1 !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden,
.dls-top-header-managed .dls-profile-name-cluster * {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: right !important;
}
.dls-top-header-managed .dls-account-button-group {
  grid-column: 2 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
  min-width: max-content !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  min-width: 186px !important;
  max-width: 240px !important;
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: visible !important;
}
@media (max-width: 1320px) {
  .dls-top-header-managed .dls-account-cluster {
    grid-template-columns: max-content !important;
    width: auto !important;
    max-width: max-content !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
  .dls-top-header-managed .dls-account-button-group {
    grid-column: 1 !important;
  }
}

/* Stronger header spacing override for generated Figma header wrappers. */
.dls-top-header-managed .dls-header-row {
  column-gap: clamp(2.5rem, 4vw, 4.5rem) !important;
}
.dls-top-header-managed .dls-brand-cluster {
  margin-right: clamp(2rem, 3vw, 3.75rem) !important;
  padding-right: 0.875rem !important;
  flex-shrink: 0 !important;
}
.dls-top-header-managed .dls-main-nav-cluster,
.dls-top-header-managed .dls-top-nav-strip {
  margin-left: clamp(1.25rem, 2.4vw, 2.75rem) !important;
}
.dls-top-header-managed .dls-account-cluster {
  grid-template-columns: minmax(0, 150px) max-content !important;
  column-gap: clamp(3rem, 4.25vw, 5.5rem) !important;
  gap: clamp(3rem, 4.25vw, 5.5rem) !important;
  width: min(560px, 43vw) !important;
  max-width: min(560px, 43vw) !important;
  padding-left: clamp(1.5rem, 2.5vw, 3rem) !important;
  margin-left: clamp(1.5rem, 2.5vw, 3rem) !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  width: 150px !important;
  max-width: 150px !important;
  margin-right: clamp(2rem, 3vw, 4rem) !important;
  padding-right: 1rem !important;
}
.dls-top-header-managed .dls-account-button-group {
  margin-left: clamp(1.5rem, 2vw, 3rem) !important;
  padding-left: 0.75rem !important;
}
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  min-width: 204px !important;
}
@media (max-width: 1460px) {
  .dls-top-header-managed .dls-account-cluster {
    grid-template-columns: max-content !important;
    width: auto !important;
    max-width: max-content !important;
    padding-left: 1rem !important;
    margin-left: 1rem !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
}
@media (max-width: 980px) {
  .dls-top-header-managed .dls-brand-cluster {
    margin-right: 1.25rem !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster,
  .dls-top-header-managed .dls-top-nav-strip {
    margin-left: 1rem !important;
  }
}

/* Direct button/tab spacing fallback for stubborn generated header nesting. */
.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control {
  margin-left: clamp(2.75rem, 4vw, 5rem) !important;
}
.dls-top-header-managed .dls-profile-name-cluster + a.dls-account-control,
.dls-top-header-managed .dls-profile-name-cluster + button.dls-account-control,
.dls-top-header-managed .dls-profile-name-cluster ~ a.dls-account-control,
.dls-top-header-managed .dls-profile-name-cluster ~ button.dls-account-control {
  margin-left: clamp(3.5rem, 5vw, 6.5rem) !important;
}
.dls-top-header-managed .dls-brand-cluster + .dls-main-nav-cluster,
.dls-top-header-managed .dls-brand-cluster ~ .dls-main-nav-cluster {
  margin-left: clamp(3rem, 4vw, 5.5rem) !important;
}
.dls-top-header-managed .dls-main-nav-cluster .dls-top-nav-strip > :first-child,
.dls-top-header-managed .dls-top-nav-strip > :first-child {
  margin-left: clamp(1rem, 2vw, 2.5rem) !important;
}

/* Balanced header spacing override: equal gaps without collisions. */
.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: max-content minmax(420px, 1fr) max-content !important;
  align-items: center !important;
  column-gap: clamp(1.25rem, 1.8vw, 2rem) !important;
  width: 100% !important;
}
.dls-top-header-managed .dls-brand-cluster {
  margin-right: clamp(0.75rem, 1vw, 1.25rem) !important;
  padding-right: 0.25rem !important;
  min-width: max-content !important;
}
.dls-top-header-managed .dls-main-nav-cluster,
.dls-top-header-managed .dls-top-nav-strip {
  margin-left: clamp(0.5rem, 0.9vw, 1rem) !important;
  padding-left: 0 !important;
  gap: clamp(0.55rem, 0.9vw, 0.9rem) !important;
}
.dls-top-header-managed .dls-top-nav-strip > :first-child {
  margin-left: 0 !important;
}
.dls-top-header-managed .dls-account-cluster {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.75rem, 1vw, 1rem) !important;
  width: auto !important;
  max-width: min(360px, 28vw) !important;
  min-width: 0 !important;
  margin-left: clamp(0.75rem, 1vw, 1.25rem) !important;
  padding-left: 0 !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 128px !important;
  width: auto !important;
  max-width: 128px !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  text-align: right !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden,
.dls-top-header-managed .dls-profile-name-cluster * {
  max-width: 128px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-account-button-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.65rem !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  min-width: max-content !important;
}
.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  margin-left: 0 !important;
  min-width: 172px !important;
  max-width: 220px !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
@media (max-width: 1320px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: max-content minmax(300px, 1fr) max-content !important;
    column-gap: 1rem !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    max-width: max-content !important;
  }
}
@media (max-width: 980px) {
  .dls-top-header-managed .dls-header-row {
    display: flex !important;
    gap: 0.85rem !important;
  }
}

/* Compact header spacing override: prevent overflow while keeping controls separated. */
.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  align-items: center !important;
  column-gap: clamp(0.5rem, 0.8vw, 0.9rem) !important;
  width: 100% !important;
}
.dls-top-header-managed .dls-brand-cluster {
  margin-right: clamp(0.25rem, 0.5vw, 0.5rem) !important;
  padding-right: 0 !important;
  min-width: max-content !important;
  max-width: 230px !important;
}
.dls-top-header-managed .dls-main-nav-cluster,
.dls-top-header-managed .dls-top-nav-strip {
  margin-left: clamp(0.2rem, 0.45vw, 0.45rem) !important;
  padding-left: 0 !important;
  gap: clamp(0.32rem, 0.55vw, 0.55rem) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.dls-top-header-managed .dls-top-nav-strip a,
.dls-top-header-managed .dls-top-nav-strip button {
  padding-left: clamp(0.35rem, 0.55vw, 0.55rem) !important;
  padding-right: clamp(0.35rem, 0.55vw, 0.55rem) !important;
}
.dls-top-header-managed .dls-account-cluster {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.35rem, 0.55vw, 0.55rem) !important;
  width: auto !important;
  max-width: min(250px, 21vw) !important;
  min-width: 0 !important;
  margin-left: clamp(0.3rem, 0.55vw, 0.55rem) !important;
  padding-left: 0 !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 96px !important;
  max-width: 96px !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  text-align: right !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden,
.dls-top-header-managed .dls-profile-name-cluster * {
  max-width: 96px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-account-button-group {
  gap: 0.4rem !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  min-width: max-content !important;
}
.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  margin-left: 0 !important;
  min-width: 148px !important;
  max-width: 176px !important;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}
@media (max-width: 1460px) {
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    max-width: max-content !important;
  }
}
@media (max-width: 1180px) {
  .dls-top-header-managed .dls-brand-cluster {
    max-width: 200px !important;
  }
  .dls-top-header-managed a.dls-account-control,
  .dls-top-header-managed button.dls-account-control,
  .dls-top-header-managed .dls-account-cluster .dls-account-control {
    min-width: 132px !important;
    max-width: 148px !important;
  }
}

/* Equalized header spacing: readable brand gap and even button rhythm. */
.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
  align-items: center !important;
  column-gap: clamp(1rem, 1.35vw, 1.5rem) !important;
  width: 100% !important;
}
.dls-top-header-managed .dls-brand-cluster {
  margin-right: clamp(0.9rem, 1.35vw, 1.5rem) !important;
  padding-right: 0.35rem !important;
  min-width: max-content !important;
  max-width: 230px !important;
  flex-shrink: 0 !important;
}
.dls-top-header-managed .dls-main-nav-cluster {
  margin-left: 0 !important;
  padding-left: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.dls-top-header-managed .dls-top-nav-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.65rem, 0.9vw, 0.9rem) !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.dls-top-header-managed .dls-top-nav-strip > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex: 0 0 auto !important;
}
.dls-top-header-managed .dls-top-nav-strip a,
.dls-top-header-managed .dls-top-nav-strip button {
  padding-left: clamp(0.45rem, 0.65vw, 0.65rem) !important;
  padding-right: clamp(0.45rem, 0.65vw, 0.65rem) !important;
}
.dls-top-header-managed .dls-account-cluster {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.65rem, 0.9vw, 0.9rem) !important;
  width: auto !important;
  max-width: min(270px, 22vw) !important;
  min-width: 0 !important;
  margin-left: clamp(0.65rem, 0.9vw, 0.9rem) !important;
  padding-left: 0 !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 104px !important;
  max-width: 104px !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  text-align: right !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden,
.dls-top-header-managed .dls-profile-name-cluster * {
  max-width: 104px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-account-button-group {
  display: flex !important;
  align-items: center !important;
  gap: clamp(0.65rem, 0.9vw, 0.9rem) !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  min-width: max-content !important;
}
.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  margin-left: 0 !important;
  min-width: 148px !important;
  max-width: 176px !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
@media (max-width: 1460px) {
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    max-width: max-content !important;
  }
}
@media (max-width: 1180px) {
  .dls-top-header-managed .dls-header-row {
    column-gap: 0.75rem !important;
  }
  .dls-top-header-managed .dls-brand-cluster {
    margin-right: 0.75rem !important;
    max-width: 200px !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    gap: 0.45rem !important;
  }
  .dls-top-header-managed a.dls-account-control,
  .dls-top-header-managed button.dls-account-control,
  .dls-top-header-managed .dls-account-cluster .dls-account-control {
    min-width: 132px !important;
    max-width: 148px !important;
  }
}

/* Reduce only the Pricing-to-Dashboard boundary gap. */
.dls-top-header-managed .dls-account-cluster {
  margin-left: clamp(0.2rem, 0.35vw, 0.4rem) !important;
  gap: clamp(0.5rem, 0.7vw, 0.75rem) !important;
}
.dls-top-header-managed .dls-main-nav-cluster {
  margin-right: clamp(0.15rem, 0.3vw, 0.35rem) !important;
}

/* Final logged-in header separation: account/name and Dashboard must never overlap. */
.dls-top-header-managed .dls-account-cluster {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(1rem, 1.35vw, 1.65rem) !important;
  margin-left: clamp(0.9rem, 1.25vw, 1.5rem) !important;
  max-width: min(390px, 30vw) !important;
  min-width: max-content !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 132px !important;
  width: 132px !important;
  max-width: 132px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: right !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-profile-name-cluster span,
.dls-top-header-managed .dls-profile-name-cluster .hidden,
.dls-top-header-managed .dls-profile-name-cluster * {
  max-width: 132px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-dashboard-nav-cta,
.dls-top-header-managed .dls-account-cluster .dls-dashboard-nav-cta {
  margin-left: clamp(0.9rem, 1.25vw, 1.5rem) !important;
  min-width: 148px !important;
  max-width: 176px !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 8 !important;
}
@media (max-width: 1460px) {
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    max-width: max-content !important;
    min-width: max-content !important;
  }
  .dls-top-header-managed .dls-dashboard-nav-cta,
  .dls-top-header-managed .dls-account-cluster .dls-dashboard-nav-cta {
    margin-left: 0 !important;
  }
}

/* Individual student reports in Teacher Dashboard Reports tab */
.dls-individual-reports-panel {
  width: 100%;
  margin: 28px 0 8px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 28px;
  padding: clamp(20px, 2.5vw, 30px);
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.16), transparent 32%),
    radial-gradient(circle at 100% 10%, rgba(37, 99, 235, 0.13), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fdff 54%, #ecfeff 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  box-sizing: border-box;
}
.dls-individual-reports-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.dls-individual-reports-head span {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  padding: 6px 11px;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dls-individual-reports-head h2 {
  margin: 10px 0 7px;
  color: #0f172a;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}
.dls-individual-reports-head p {
  max-width: 780px;
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}
.dls-individual-reports-head > strong {
  flex: 0 0 auto;
  border-radius: 18px;
  padding: 12px 16px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}
.dls-student-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dls-student-report-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.dls-student-report-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.20);
}
.dls-student-report-main {
  min-width: 0;
}
.dls-student-report-main strong {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dls-student-report-main span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dls-student-report-bars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.dls-student-report-bars::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}
.dls-student-report-bars i {
  grid-column: 1;
  grid-row: 1;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #14b8a6, #2563eb);
}
.dls-student-report-bars b {
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
}
.dls-student-report-card button {
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  font: 900 13px Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  cursor: pointer;
  white-space: nowrap;
}
.dls-student-report-card button:disabled {
  cursor: wait;
  opacity: 0.72;
}
@media (max-width: 980px) {
  .dls-student-report-grid {
    grid-template-columns: 1fr;
  }
  .dls-student-report-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .dls-student-report-card button {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .dls-individual-reports-head {
    display: grid;
  }
}

/* Reports-tab placement guard: full-width section with safe spacing from cards. */
.dls-individual-reports-panel {
  grid-column: 1 / -1 !important;
  align-self: stretch !important;
  clear: both !important;
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin: clamp(28px, 3vw, 42px) auto 12px !important;
  overflow: hidden !important;
}
.dls-individual-reports-panel * {
  box-sizing: border-box;
}
.dls-student-report-grid {
  align-items: stretch !important;
}
.dls-student-report-card {
  min-width: 0 !important;
  overflow: hidden !important;
}
.dls-student-report-card button {
  min-width: 176px !important;
  max-width: 220px !important;
  text-align: center !important;
}
@media (max-width: 1120px) {
  .dls-student-report-card {
    grid-template-columns: 54px minmax(0, 1fr) !important;
  }
  .dls-student-report-card button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* Roomier portfolio report layout for Reports tab */
.dls-individual-reports-panel {
  margin-top: clamp(44px, 5vw, 72px) !important;
  margin-bottom: 24px !important;
  padding: clamp(26px, 3vw, 42px) !important;
}
.dls-student-report-grid {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
}
.dls-student-report-card {
  grid-template-columns: 68px minmax(0, 1fr) max-content !important;
  gap: 18px !important;
  min-height: 132px !important;
  padding: 20px !important;
  border-radius: 26px !important;
}
.dls-student-report-avatar {
  width: 68px !important;
  height: 68px !important;
  border-radius: 22px !important;
  font-size: 20px !important;
}
.dls-student-report-main strong {
  font-size: 18px !important;
}
.dls-student-report-main span {
  font-size: 13px !important;
}
.dls-student-report-card button {
  min-width: 198px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
}
@media (max-width: 1280px) {
  .dls-student-report-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .dls-student-report-card {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
  .dls-student-report-avatar {
    width: 58px !important;
    height: 58px !important;
  }
  .dls-student-report-card button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
  }
}

/* Full student portfolio page with Nova chat */
html.dls-portfolio-open,
html.dls-portfolio-open body {
  overflow: hidden !important;
}
[data-dls-student-portfolio-page] {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(14, 165, 157, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.18), transparent 34%),
    linear-gradient(135deg, #f8fdff, #eefbff 52%, #fff);
  background-size: 42px 42px, 42px 42px, auto, auto;
  padding: clamp(18px, 2.2vw, 34px);
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dls-portfolio-page-shell {
  max-width: 1540px;
  margin: 0 auto;
}
.dls-portfolio-page-top {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.dls-portfolio-page-top > div {
  min-width: 0;
}
.dls-portfolio-page-top span {
  display: inline-flex;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 6px 11px;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dls-portfolio-page-top h1 {
  margin: 8px 0 3px;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 950;
}
.dls-portfolio-page-top p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}
.dls-portfolio-page-top button,
.dls-student-nova-composer button,
.dls-student-report-actions button {
  border: 0;
  border-radius: 17px;
  padding: 13px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  font: 900 13px Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  cursor: pointer;
  white-space: nowrap;
}
.dls-portfolio-page-top button:first-child {
  color: #0f766e;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(20,184,166,0.22), 0 12px 24px rgba(15,23,42,0.06);
}
.dls-portfolio-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: start;
  gap: 24px;
}
.dls-portfolio-main {
  display: grid;
  gap: 20px;
}
.dls-portfolio-hero,
.dls-portfolio-panel,
.dls-student-nova {
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}
.dls-portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,0.13), transparent 34%),
    linear-gradient(135deg, #ffffff, #ecfeff);
}
.dls-portfolio-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dls-portfolio-hero h2 {
  margin: 16px 0 6px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
  font-weight: 950;
  color: #0f172a;
}
.dls-portfolio-hero p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  font-weight: 800;
}
.dls-portfolio-ring {
  display: grid;
  place-items: center;
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  background: conic-gradient(#2563eb calc(var(--value) * 1%), #dbeafe 0);
}
.dls-portfolio-ring::before {
  content: "";
  position: absolute;
  width: 102px;
  height: 102px;
  border-radius: inherit;
  background: #ffffff;
}
.dls-portfolio-ring strong {
  position: relative;
  color: #1d4ed8;
  font-size: 30px;
  font-weight: 950;
}
.dls-portfolio-metrics,
.dls-portfolio-two {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dls-portfolio-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dls-portfolio-metrics article {
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15,23,42,0.055);
}
.dls-portfolio-metrics b {
  display: block;
  color: #0f172a;
  font-size: 28px;
  font-weight: 950;
}
.dls-portfolio-metrics span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.dls-portfolio-panel {
  padding: clamp(20px, 2.2vw, 28px);
}
.dls-portfolio-panel.green { background: linear-gradient(135deg, #ffffff, #f0fdfa); }
.dls-portfolio-panel.amber { background: linear-gradient(135deg, #ffffff, #fffbeb); }
.dls-portfolio-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dls-portfolio-section-title h3,
.dls-portfolio-panel h3 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
}
.dls-portfolio-section-title span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.dls-portfolio-trend {
  width: 100%;
  height: 280px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.dls-portfolio-trend circle {
  fill: #14b8a6;
  stroke: #ffffff;
  stroke-width: 1.5;
}
.dls-portfolio-trend text {
  fill: #1d4ed8;
  font-size: 5px;
  font-weight: 900;
  text-anchor: middle;
}
.dls-portfolio-assignment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 28%) 56px;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding: 14px 0;
}
.dls-portfolio-assignment:first-of-type { border-top: 0; }
.dls-portfolio-assignment strong { color:#0f172a; font-weight:950; }
.dls-portfolio-assignment span { display:block; margin-top:3px; color:#64748b; font-size:12px; font-weight:800; }
.dls-portfolio-assignment i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.dls-portfolio-assignment i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #2563eb);
}
.dls-portfolio-assignment em {
  color: #2563eb;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}
.dls-portfolio-panel ul,
.dls-portfolio-panel ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #334155;
  font-weight: 750;
  line-height: 1.7;
}
.dls-student-nova {
  position: sticky;
  top: 22px;
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr) auto;
  min-height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  overflow: hidden;
}
.dls-student-nova-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fdff, #ecfeff);
}
.dls-student-nova-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  font-weight: 950;
}
.dls-student-nova-head strong { display:block; color:#0f172a; font-weight:950; }
.dls-student-nova-head span { display:block; color:#64748b; font-size:12px; font-weight:800; }
.dls-student-nova-context {
  margin: 16px;
  border: 1px solid rgba(20,184,166,0.18);
  border-radius: 18px;
  padding: 12px;
  background: #f0fdfa;
}
.dls-student-nova-context b { display:block; color:#0f766e; font-size:12px; font-weight:950; text-transform:uppercase; }
.dls-student-nova-context span { display:block; margin-top:5px; color:#334155; font-size:12px; font-weight:750; line-height:1.4; }
.dls-student-nova-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 0 16px 16px;
}
.nova-msg {
  max-width: 92%;
  border-radius: 18px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.nova-msg.ai { align-self: flex-start; background:#f1f5f9; color:#334155; }
.nova-msg.user { align-self: flex-end; background:linear-gradient(135deg,#2563eb,#14b8a6); color:#ffffff; }
.nova-msg.loading { opacity:0.72; }
.dls-student-nova-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 10px;
  border-top: 1px solid #e2e8f0;
  padding: 14px;
  background: #ffffff;
}
.dls-student-nova-composer textarea {
  min-height: 46px;
  max-height: 120px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px;
  color: #0f172a;
  font: 700 13px Inter, ui-sans-serif, system-ui, sans-serif;
  outline: none;
}
.dls-student-report-actions {
  display: grid;
  gap: 10px;
  min-width: 198px;
}
.dls-student-report-actions button:first-child {
  background: linear-gradient(135deg, #0f766e, #2563eb);
}
.dls-student-report-actions button:last-child {
  color: #1d4ed8;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,0.16);
}
@media (max-width: 1180px) {
  .dls-portfolio-page-grid { grid-template-columns: 1fr; }
  .dls-student-nova { position: relative; top: 0; min-height: 560px; max-height: none; }
}
@media (max-width: 760px) {
  [data-dls-student-portfolio-page] { padding: 12px; }
  .dls-portfolio-page-top { grid-template-columns: 1fr; }
  .dls-portfolio-hero { grid-template-columns: 1fr; }
  .dls-portfolio-metrics,
  .dls-portfolio-two { grid-template-columns: 1fr; }
  .dls-portfolio-assignment { grid-template-columns: 1fr; }
  .dls-portfolio-assignment em { text-align: left; }
  .dls-student-report-actions { grid-column: 1 / -1; width: 100%; }
}

/* Horizontal Individual Student Reports card below Submission & Performance Trends */
.dls-individual-reports-panel {
  display: grid !important;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: clamp(18px, 2vw, 28px) !important;
  margin-top: clamp(24px, 3vw, 40px) !important;
  margin-bottom: 24px !important;
  padding: clamp(20px, 2.4vw, 30px) !important;
}
.dls-individual-reports-head {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
}
.dls-individual-reports-head h2 {
  font-size: clamp(24px, 2.2vw, 32px) !important;
}
.dls-individual-reports-head p {
  max-width: 310px !important;
}
.dls-individual-reports-head > strong {
  width: fit-content !important;
}
.dls-student-report-grid {
  display: flex !important;
  align-items: stretch !important;
  gap: clamp(16px, 1.7vw, 24px) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 4px 12px !important;
  scroll-snap-type: x proximity !important;
}
.dls-student-report-grid::-webkit-scrollbar {
  height: 10px;
}
.dls-student-report-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
}
.dls-student-report-card {
  flex: 0 0 min(560px, 76vw) !important;
  scroll-snap-align: start !important;
  grid-template-columns: 72px minmax(0, 1fr) max-content !important;
  min-height: 138px !important;
  padding: 22px !important;
}
.dls-student-report-avatar {
  width: 72px !important;
  height: 72px !important;
}
.dls-student-report-actions {
  min-width: 176px !important;
}
.dls-student-report-actions button {
  width: 100% !important;
  min-width: 0 !important;
}
@media (max-width: 1080px) {
  .dls-individual-reports-panel {
    grid-template-columns: 1fr !important;
  }
  .dls-individual-reports-head p {
    max-width: 720px !important;
  }
}
@media (max-width: 720px) {
  .dls-student-report-card {
    flex-basis: min(420px, 88vw) !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
  .dls-student-report-actions {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}


/* Student portfolio accuracy and Nova chat polish */
.dls-portfolio-source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}
.dls-portfolio-source span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 5px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 950;
}
.dls-portfolio-trend .grid {
  stroke: #dbeafe;
  stroke-width: 0.7;
}
.dls-portfolio-trend .axis-line {
  stroke: #94a3b8;
  stroke-width: 1;
}
.dls-portfolio-trend .axis {
  fill: #94a3b8;
  font-size: 4px;
  text-anchor: start;
}
.dls-portfolio-assignment small {
  display: block;
  max-width: 760px;
  margin-top: 7px;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.42;
}
.dls-portfolio-feedback {
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.08), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fdff) !important;
}
.dls-portfolio-feedback ul {
  display: grid;
  gap: 10px;
  margin-top: 14px !important;
  padding-left: 0 !important;
  list-style: none;
}
.dls-portfolio-feedback li {
  border: 1px solid rgba(20,184,166,.16);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(240,253,250,.72);
  color: #334155;
}
.dls-student-nova {
  border-color: rgba(20,184,166,.22) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(20,184,166,.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,253,255,.94)) !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.dls-student-nova-head {
  border-bottom-color: rgba(20,184,166,.18) !important;
  background:
    linear-gradient(135deg, rgba(15,118,110,.95), rgba(37,99,235,.94)) !important;
  color: #ffffff !important;
}
.dls-student-nova-avatar {
  color: #0f766e !important;
  background: #ffffff !important;
  box-shadow: 0 12px 24px rgba(15,23,42,.18);
}
.dls-student-nova-head strong,
.dls-student-nova-head span {
  color: #ffffff !important;
}
.dls-student-nova-head span {
  opacity: .82;
}
.dls-student-nova-context {
  border-color: rgba(20,184,166,.22) !important;
  background:
    linear-gradient(135deg, rgba(240,253,250,.94), rgba(239,246,255,.92)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.dls-student-nova-context b {
  color: #0f766e !important;
}
.dls-student-nova-context span {
  color: #334155 !important;
}
.nova-msg.ai {
  border: 1px solid rgba(226,232,240,.9) !important;
  background: #ffffff !important;
  color: #334155 !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.055);
}
.nova-msg.user {
  background: linear-gradient(135deg, #2563eb, #0f766e) !important;
}
.dls-student-nova-composer {
  border-top-color: rgba(20,184,166,.16) !important;
  background: rgba(255,255,255,.92) !important;
}
.dls-student-nova-composer textarea:focus {
  border-color: rgba(37,99,235,.5) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}


/* Individual Student Reports table layout */
.dls-individual-reports-panel {
  display: block !important;
  max-width: 1280px !important;
  padding: clamp(22px, 2.5vw, 34px) !important;
}
.dls-individual-reports-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}
.dls-individual-reports-head p {
  max-width: 760px !important;
}
.dls-student-report-table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 42px rgba(15,23,42,.06) !important;
}
.dls-student-report-table {
  width: 100% !important;
  min-width: 900px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: #0f172a !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.dls-student-report-table thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  padding: 16px 18px !important;
  color: #475569 !important;
  background: linear-gradient(180deg, #f8fdff, #eff6ff) !important;
  border-bottom: 1px solid #dbeafe !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .07em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.dls-student-report-table tbody td {
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(226,232,240,.92) !important;
  vertical-align: middle !important;
}
.dls-student-report-table tbody tr {
  background: rgba(255,255,255,.78) !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
.dls-student-report-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(240,253,250,.9), rgba(239,246,255,.9)) !important;
}
.dls-student-report-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.dls-student-table-person {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 13px !important;
  min-width: 260px !important;
}
.dls-student-table-person .dls-student-report-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 17px !important;
  font-size: 15px !important;
}
.dls-student-table-person strong {
  display: block !important;
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-student-table-person span {
  display: block !important;
  overflow: hidden !important;
  margin-top: 3px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-report-band {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 104px !important;
  border-radius: 999px !important;
  padding: 8px 11px !important;
  color: #0f766e !important;
  background: #ccfbf1 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}
.dls-report-band.advanced { color:#1d4ed8 !important; background:#dbeafe !important; }
.dls-report-band.proficient { color:#0f766e !important; background:#ccfbf1 !important; }
.dls-report-band.developing { color:#a16207 !important; background:#fef3c7 !important; }
.dls-report-band.needs-support { color:#b91c1c !important; background:#fee2e2 !important; }
.dls-table-score {
  display: grid !important;
  gap: 7px !important;
  min-width: 122px !important;
}
.dls-table-score b {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}
.dls-table-score i {
  display: block !important;
  width: 120px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #e2e8f0 !important;
  overflow: hidden !important;
}
.dls-table-score em {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #14b8a6, #2563eb) !important;
}
.dls-report-missing {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 38px !important;
  height: 34px !important;
  border-radius: 13px !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}
.dls-student-report-table .dls-student-report-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  min-width: 250px !important;
}
.dls-student-report-table .dls-student-report-actions button {
  width: auto !important;
  min-width: 118px !important;
  max-width: none !important;
  border-radius: 14px !important;
  padding: 11px 13px !important;
  font-size: 12px !important;
  text-align: center !important;
}
.dls-student-report-table .dls-student-report-actions button:first-child {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f766e, #2563eb) !important;
}
.dls-student-report-table .dls-student-report-actions button:last-child {
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.16) !important;
}
@media (max-width: 760px) {
  .dls-individual-reports-head {
    display: grid !important;
  }
  .dls-student-report-table {
    min-width: 780px !important;
  }
}


/* Force Individual Student Reports below Submission & Performance Trends */
.dls-individual-reports-slot {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  clear: both !important;
  align-self: stretch !important;
  order: 999 !important;
}
.dls-individual-reports-slot .dls-individual-reports-panel {
  width: min(100%, 1280px) !important;
  margin: clamp(24px, 3vw, 42px) auto 12px !important;
}


/* Interactive Labs hero image replacement */
.dls-lab-hero-image-card {
  display: grid !important;
  place-items: stretch !important;
  padding: 0 !important;
  background: #eefbff !important;
}
.dls-lab-hero-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.dls-lab-hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(15,23,42,0.04));
}
.dls-lab-hero-image-card .dls-lab-data-card {
  z-index: 2 !important;
}


/* Active original Interactive Labs hero image and scroll repair */
.dls-original-labs-root {
  overflow: visible !important;
}
.dls-original-labs-root .app-shell.home-shell,
.dls-original-labs-root .home-page,
.dls-original-labs-root .embedded-lab-home {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}
.dls-original-labs-root .lab-launch-hero .lab-preview-stage.home-3d-preview {
  position: relative !important;
  min-height: clamp(430px, 52vw, 760px) !important;
  border: 1px solid rgba(20,184,166,.22) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #eefbff url('/DLS%20Labs.png') center / cover no-repeat !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.11) !important;
}
.dls-original-labs-root .lab-launch-hero .lab-preview-stage.home-3d-preview > * {
  display: none !important;
}
.dls-original-labs-root .lab-launch-hero .lab-preview-stage.home-3d-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.04));
}

/* Nova teacher dashboard chat surface */
.nova-teacher-chat-shell {
  min-height: min(760px, calc(100vh - 170px));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 22px;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 34px;
  background: #ffffff;
  color: #18191d;
  box-shadow: 0 22px 70px rgba(15, 31, 56, 0.10);
  border: 1px solid rgba(15, 31, 56, 0.07);
  overflow: hidden;
}

.nova-teacher-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nova-teacher-segment {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #eeeeef;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.nova-teacher-segment button {
  min-width: 112px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #595a62;
  font: inherit;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
}

.nova-teacher-segment button.is-active {
  background: #ffffff;
  color: #111216;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.16), inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.nova-teacher-toolbar {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nova-teacher-toolbar button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #17181c;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.nova-teacher-toolbar button:hover {
  background: #f2f5fb;
  color: #1967ff;
  transform: translateY(-1px);
}

.nova-teacher-toolbar svg,
.nova-teacher-avatar svg,
.nova-teacher-steps svg,
.nova-teacher-composer-actions svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.nova-teacher-chat-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 12px clamp(10px, 4vw, 54px) 4px;
  overflow: auto;
}

.nova-teacher-user-bubble {
  align-self: flex-end;
  max-width: min(560px, 78%);
  margin-bottom: 24px;
  padding: 24px 32px;
  border-radius: 38px;
  background: #efeff0;
  color: #202126;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.34;
  letter-spacing: 0;
}

.nova-teacher-response {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 760px;
}

.nova-teacher-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #6d35ff;
}

.nova-teacher-response h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  font-weight: 900;
  color: #18191d;
  letter-spacing: 0;
}

.nova-teacher-steps {
  display: grid;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nova-teacher-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #8a8c95;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.22;
  letter-spacing: 0;
}

.nova-teacher-steps li span {
  color: #575b64;
  display: grid;
  place-items: center;
}

.nova-teacher-steps li.is-generating span {
  color: #6d35ff;
}

.nova-teacher-quick-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nova-teacher-quick-row button {
  border: 1px solid #e1e5ec;
  border-radius: 999px;
  background: #ffffff;
  color: #283349;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(15, 31, 56, 0.07);
  cursor: pointer;
}

.nova-teacher-quick-row button:hover {
  border-color: #1e7bff;
  color: #145ee8;
  background: #f7fbff;
}

.nova-teacher-composer-wrap {
  border: 4px solid #17181c;
  border-radius: 38px;
  min-height: 178px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 22px 24px 20px 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 31, 56, 0.10);
}

.nova-teacher-composer {
  width: 100%;
  min-height: 86px;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: #1f2025;
  font: inherit;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: 0;
}

.nova-teacher-composer::placeholder {
  color: #85878f;
}

.nova-teacher-composer-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.nova-teacher-composer-actions span {
  color: #60636d;
  font-size: clamp(14px, 1.4vw, 20px);
  text-align: center;
  flex: 1;
}

.nova-teacher-composer-actions button {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 64% 40%, #eef0ff 0 34%, #f2f2f3 35% 100%);
  color: #6a54ff;
  box-shadow: inset 0 0 0 8px rgba(107, 84, 255, 0.14);
  cursor: pointer;
}

.nova-teacher-history-list {
  display: grid;
  gap: 14px;
  max-width: 850px;
  margin: auto 0 0;
}

.nova-teacher-history-list article,
.nova-teacher-empty-history {
  border: 1px solid #e7ebf2;
  border-radius: 24px;
  padding: 18px 20px;
  background: #fbfcfe;
  box-shadow: 0 10px 28px rgba(15, 31, 56, 0.06);
}

.nova-teacher-history-list strong {
  display: block;
  color: #151923;
  font-size: 18px;
  margin-bottom: 4px;
}

.nova-teacher-history-list span,
.nova-teacher-history-list p,
.nova-teacher-empty-history {
  color: #687086;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 760px) {
  .nova-teacher-chat-shell {
    border-radius: 22px;
    min-height: calc(100vh - 120px);
    padding: 14px;
  }
  .nova-teacher-chat-topbar {
    align-items: flex-start;
  }
  .nova-teacher-segment button {
    min-width: 86px;
    height: 48px;
    font-size: 18px;
  }
  .nova-teacher-toolbar {
    gap: 6px;
  }
  .nova-teacher-toolbar button {
    width: 38px;
    height: 38px;
  }
  .nova-teacher-chat-stage {
    min-height: 360px;
    padding-inline: 4px;
  }
  .nova-teacher-user-bubble {
    max-width: 92%;
    border-radius: 28px;
    padding: 18px 20px;
  }
  .nova-teacher-response {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }
  .nova-teacher-avatar,
  .nova-teacher-avatar svg {
    width: 34px;
    height: 34px;
  }
  .nova-teacher-composer-wrap {
    border-width: 3px;
    border-radius: 28px;
    min-height: 150px;
    padding: 16px;
  }
}

/* Nova side drawer chat mode */
.nova-hidden-control {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.nova-hook-panel .nova-teacher-side-panel {
  min-height: calc(100vh - 162px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  background: #fff;
}
.nova-hook-panel .nova-teacher-chat-topbar {
  padding: 0 2px;
}
.nova-hook-panel .nova-teacher-chat-stage {
  flex: 1;
  min-height: 360px;
  padding: 18px 4px;
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 0;
  box-shadow: none;
}
.nova-hook-panel .nova-teacher-user-bubble {
  max-width: 82%;
  margin-left: auto;
}
.nova-hook-panel .nova-teacher-response {
  grid-template-columns: 42px minmax(0, 1fr);
}
.nova-hook-panel .nova-teacher-quick-row {
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 2px;
}
.nova-hook-panel .nova-teacher-quick-row button {
  flex: 0 0 auto;
}
.nova-hook-panel .nova-teacher-composer-wrap {
  position: sticky;
  bottom: 0;
  background: #fff;
  border: 2px solid #111827;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
}
.nova-hook-panel .nova-teacher-composer {
  min-height: 96px;
  padding: 8px;
  border: 0;
  box-shadow: none;
  resize: none;
}
.nova-hook-panel .nova-teacher-composer:focus {
  outline: none;
}
.nova-hook-panel .nova-hook-card {
  margin-top: 14px;
}
.nova-hook-tabs {
  display: none !important;
}
.nova-hidden-control {
  display: none !important;
}

/* Nova generated artifact previews */
.nova-artifact-stack {
  display: grid;
  gap: 14px;
  margin: 18px 0 4px;
}

.nova-artifact-card {
  border: 1px solid rgba(15, 31, 56, 0.10);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(15, 31, 56, 0.08);
  padding: 16px;
  overflow: hidden;
}

.nova-artifact-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.nova-artifact-head span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e6f7ff;
  color: #086d7a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nova-artifact-head strong {
  color: #071329;
  font-size: 18px;
  line-height: 1.2;
}

.nova-artifact-detail,
.nova-artifact-empty {
  margin: 0 0 12px;
  color: #53627a;
  font-size: 14px;
  line-height: 1.45;
}

.nova-deck-review,
.nova-video-outline {
  display: grid;
  gap: 10px;
}

.nova-deck-summary,
.nova-video-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(8, 184, 166, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.10), rgba(38, 121, 255, 0.08)), #ffffff;
}

.nova-deck-summary > span,
.nova-video-summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #08b8a6, #2679ff);
  box-shadow: 0 10px 24px rgba(38, 121, 255, 0.18);
}

.nova-deck-summary strong,
.nova-video-summary strong {
  display: block;
  color: #071329;
  font-size: 14px;
  line-height: 1.25;
}

.nova-deck-summary p,
.nova-video-summary p {
  margin: 4px 0 0;
  color: #53627a;
  font-size: 12px;
  line-height: 1.42;
}

.nova-slide-outline,
.nova-scene-outline {
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.nova-slide-outline summary,
.nova-scene-outline summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.nova-slide-outline summary::-webkit-details-marker,
.nova-scene-outline summary::-webkit-details-marker {
  display: none;
}

.nova-slide-outline summary::after,
.nova-scene-outline summary::after {
  content: "+";
  grid-column: 3;
  color: #1769ff;
  font-size: 18px;
  font-weight: 900;
}

.nova-slide-outline[open] summary::after,
.nova-scene-outline[open] summary::after {
  content: "−";
}

.nova-slide-outline summary strong,
.nova-scene-outline summary strong {
  color: #071329;
  font-size: 14px;
  line-height: 1.25;
}

.nova-slide-outline summary em,
.nova-scene-outline summary em {
  grid-column: 2 / 3;
  color: #6b7890;
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
}

.nova-slide-number,
.nova-scene-outline summary > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef6ff;
  color: #1769ff;
  font-size: 12px;
  font-weight: 900;
}

.nova-slide-detail,
.nova-scene-detail {
  border-top: 1px solid rgba(15, 31, 56, 0.08);
  padding: 0 14px 14px 58px;
}

.nova-slide-detail p,
.nova-scene-detail p {
  margin: 8px 0 0;
  color: #465875;
  font-size: 13px;
  line-height: 1.45;
}

.nova-slide-detail ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #26364f;
  font-size: 13px;
  line-height: 1.45;
}

.nova-slide-detail li {
  margin: 4px 0;
}

.nova-mermaid-card {
  margin-top: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(255, 255, 255, 0.96));
  padding: 10px;
  overflow: hidden;
}

.nova-mermaid-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #1769ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.nova-mermaid-label svg {
  width: 14px;
  height: 14px;
}

.nova-mermaid-diagram {
  min-height: 96px;
  max-height: 260px;
  overflow: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  color: #26364f;
  font-size: 11px;
  line-height: 1.35;
}

.nova-mermaid-diagram svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.nova-mermaid-diagram[data-mermaid-rendered="fallback"] {
  white-space: pre-wrap;
  border: 1px dashed rgba(37, 99, 235, 0.22);
}

.nova-speaker-notes {
  margin-top: 10px;
  color: #40516d;
  font-size: 12px;
}

.nova-speaker-notes summary {
  min-height: auto;
  display: block;
  padding: 0;
  color: #1769ff;
  font-weight: 850;
}

.nova-speaker-notes summary::after {
  display: none;
}

.nova-code-review {
  display: grid;
  gap: 12px;
}

.nova-code-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(8, 184, 166, 0.10)), #ffffff;
}

.nova-code-summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #08b8a6);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.18);
}

.nova-code-summary strong,
.nova-code-section h4 {
  display: block;
  color: #071329;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

.nova-code-summary p,
.nova-code-section p {
  margin: 4px 0 0;
  color: #53627a;
  font-size: 12px;
  line-height: 1.42;
}

.nova-code-section {
  padding: 13px;
  border: 1px solid rgba(15, 31, 56, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.nova-code-section ul {
  margin: 9px 0 0;
  padding-left: 18px;
  color: #26364f;
  font-size: 13px;
  line-height: 1.45;
}

.nova-code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.nova-code-chips span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1769ff;
  font-size: 12px;
  font-weight: 850;
}

.nova-code-files {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.nova-code-file {
  border: 1px solid rgba(15, 31, 56, 0.10);
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
}

.nova-code-file summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.nova-code-file summary::-webkit-details-marker {
  display: none;
}

.nova-code-file summary strong {
  color: #071329;
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nova-code-file summary em {
  color: #08796f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.nova-code-file p {
  margin: 0;
  padding: 0 12px 10px;
  color: #53627a;
  font-size: 12px;
  line-height: 1.42;
}

.nova-code-file pre {
  max-height: 240px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  background: #08111f;
  color: #dbeafe;
  font-size: 11px;
  line-height: 1.45;
}

.nova-assessment-versions {
  display: grid;
  gap: 12px;
}

.nova-version-summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(8, 184, 166, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.10), rgba(37, 99, 235, 0.08)), #ffffff;
}

.nova-version-summary > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #08b8a6, #2679ff);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.nova-version-summary strong {
  display: block;
  color: #071329;
  font-size: 14px;
  line-height: 1.25;
}

.nova-version-summary p {
  margin: 4px 0 0;
  color: #53627a;
  font-size: 12px;
  line-height: 1.42;
}

.nova-version-panel {
  border: 1px solid rgba(15, 31, 56, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.nova-version-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.nova-version-panel summary::-webkit-details-marker {
  display: none;
}

.nova-version-panel summary strong {
  color: #071329;
  font-size: 14px;
  line-height: 1.25;
}

.nova-version-panel summary em {
  border-radius: 999px;
  padding: 6px 9px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.nova-version-panel + .nova-version-panel summary em {
  background: #eff6ff;
  color: #1d4ed8;
}

.nova-version-body {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(15, 31, 56, 0.08);
  padding: 12px;
}

.nova-version-directions,
.nova-scoring-guidance {
  margin: 0;
  border-radius: 14px;
  padding: 11px 12px;
  background: #f8fbff;
  color: #465875;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.42;
}

.nova-scoring-guidance b {
  color: #1d4ed8;
}

.nova-question-row,
.nova-section-list article,
.nova-scene-list article {
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
}

.nova-section-list h4,
.nova-scene-list h4 {
  margin: 0 42px 8px 0;
  color: #071329;
  font-size: 16px;
  line-height: 1.25;
}

.nova-question-row p,
.nova-section-list p,
.nova-scene-list p {
  margin: 6px 0;
  color: #465875;
  font-size: 13px;
  line-height: 1.45;
}

.nova-section-list ul,
.nova-question-row ol {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #26364f;
  font-size: 13px;
  line-height: 1.4;
}

.nova-section-list li,
.nova-question-row li {
  margin: 4px 0;
}

.nova-visual-chip {
  display: block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #eefaf8;
  color: #08796f;
  font-size: 12px;
  line-height: 1.35;
}

.nova-question-list,
.nova-section-list,
.nova-scene-list {
  display: grid;
  gap: 10px;
}

.nova-question-row,
.nova-scene-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.nova-question-row > span,
.nova-scene-list article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #08b8a6, #2679ff);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.nova-question-row strong {
  display: block;
  color: #071329;
  font-size: 14px;
  line-height: 1.35;
}

/* Nova drawer compact typography and Google Slides status */
.nova-hook-panel .nova-teacher-chat-shell {
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
}

.nova-hook-panel .nova-teacher-chat-topbar {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(176px, 1fr);
  grid-template-areas:
    "segment toolbar"
    "beta beta";
  align-items: center;
  gap: 10px 12px;
}

.nova-hook-panel .nova-teacher-segment {
  grid-area: segment;
  min-width: 0;
}

.nova-hook-panel .nova-teacher-segment button {
  min-width: 88px;
  height: 46px;
  font-size: 17px;
  font-weight: 820;
}

.nova-hook-panel .nova-teacher-toolbar {
  grid-area: toolbar;
  justify-self: end;
  min-width: 0;
  gap: clamp(8px, 1.6vw, 18px);
}

.nova-hook-panel .nova-teacher-toolbar button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.nova-hook-panel .nova-teacher-toolbar svg,
.nova-hook-panel .nova-teacher-avatar svg,
.nova-hook-panel .nova-teacher-composer-actions svg {
  width: 22px;
  height: 22px;
}

.nova-hook-panel .nova-teacher-chat-stage {
  min-height: 360px;
  justify-content: flex-start;
  padding: 10px clamp(4px, 2.4vw, 28px) 4px;
}

.nova-hook-panel .nova-teacher-response {
  grid-template-columns: 38px minmax(0, 1fr);
  max-width: 100%;
}

.nova-hook-panel .nova-teacher-avatar {
  width: 38px;
  height: 38px;
}

.nova-hook-panel .nova-teacher-response h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.nova-hook-panel .nova-teacher-response p,
.nova-hook-panel .nova-hook-result-text {
  font-size: 14px;
  line-height: 1.48;
}

.nova-hook-panel .nova-hook-result-title {
  font-size: 20px;
  line-height: 1.2;
}

.nova-hook-panel .nova-teacher-quick-row {
  justify-content: flex-start;
  gap: 8px;
}

.nova-hook-panel .nova-teacher-quick-row button,
.nova-hook-panel .nova-hook-action {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.1;
}

.nova-hook-panel .nova-teacher-composer-wrap {
  min-height: 132px;
  border-width: 3px;
  border-radius: 28px;
  padding: 16px 18px 14px;
}

.nova-hook-panel .nova-teacher-composer {
  min-height: 64px;
  font-size: 16px;
}

.nova-hook-panel .nova-teacher-composer-actions span {
  font-size: 12px;
}

.nova-hook-panel .nova-teacher-composer-actions button {
  width: 48px;
  height: 48px;
  box-shadow: inset 0 0 0 6px rgba(107, 84, 255, 0.14);
}

.nova-google-slides-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #f5fbff;
  color: #20314d;
  font-size: 13px;
  line-height: 1.35;
}

.nova-google-slides-status svg {
  width: 18px;
  height: 18px;
  color: #1769ff;
}

.nova-google-slides-status a {
  margin-left: auto;
  color: #0f62fe;
  font-weight: 850;
  text-decoration: none;
}

.nova-google-slides-status a:hover {
  text-decoration: underline;
}

.nova-google-slides-status.is-loading {
  background: #f7fbff;
  color: #52627a;
}

.nova-google-slides-status.is-error {
  background: #fff6f6;
  border-color: #ffd0d0;
  color: #a42323;
}

/* Nova button labels and answer card polish */
.nova-hook-panel [data-tooltip] {
  position: relative;
}

.nova-hook-panel [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .2);
  transition: opacity .16s ease, transform .16s ease;
}

.nova-hook-panel [data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 21;
  border: 6px solid transparent;
  border-top-color: #0f172a;
  transition: opacity .16s ease, transform .16s ease;
}

.nova-hook-panel [data-tooltip]:hover::after,
.nova-hook-panel [data-tooltip]:focus-visible::after,
.nova-hook-panel [data-tooltip]:hover::before,
.nova-hook-panel [data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nova-hook-panel [data-nova-result-card].nova-hook-card,
.nova-hook-panel .nova-teacher-history-list .nova-hook-card {
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 184, 166, .10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 44px rgba(15, 31, 56, .10);
  padding: 18px;
  color: #101828;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-status {
  width: fit-content;
  border: 1px solid rgba(8, 184, 166, .20);
  background: #ecfffb;
  color: #08796f;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-result-title {
  margin: 12px 0 8px;
  color: #071329;
  font-size: 20px;
  font-weight: 900;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-result-text {
  color: #4b5d78;
  font-size: 14px;
  line-height: 1.5;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-actions,
.nova-hook-panel .nova-teacher-history-list .nova-hook-actions {
  gap: 8px;
  margin-top: 14px;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-action,
.nova-hook-panel .nova-teacher-history-list .nova-hook-action {
  border-radius: 999px;
  border: 1px solid #dde7f4;
  background: #ffffff;
  color: #26364f;
  box-shadow: 0 8px 18px rgba(15, 31, 56, .06);
}

.nova-hook-panel [data-nova-result-card] .nova-hook-action:hover,
.nova-hook-panel .nova-teacher-history-list .nova-hook-action:hover {
  border-color: #1e7bff;
  color: #145ee8;
  background: #f7fbff;
  transform: translateY(-1px);
}

.nova-hook-panel [data-nova-result-card] .nova-hook-action.primary,
.nova-hook-panel .nova-teacher-history-list .nova-hook-action.primary {
  background: linear-gradient(135deg, #08b8a6, #2679ff);
  border-color: transparent;
  color: #ffffff;
}

.nova-hook-panel [data-nova-result-card] .nova-hook-action.success {
  background: #ecfff8;
  border-color: #b8f1db;
  color: #047857;
}

/* Nova live generation checklist */
.nova-progress-thread {
  display: grid;
  gap: 22px;
  width: 100%;
  min-height: 100%;
  align-content: end;
  padding: 10px 0 4px;
}

.nova-hook-panel .nova-prompt-bubble {
  align-self: end;
  margin: 0 0 2px auto;
  max-width: min(460px, 86%);
  padding: 16px 20px;
  border-radius: 26px;
  background: #f0f1f3;
  color: #202126;
  font-size: 16px;
  line-height: 1.42;
  box-shadow: none;
}

.nova-progress-response {
  max-width: 100%;
  padding: 0 2px;
}

.nova-live-steps {
  gap: 14px;
}

.nova-live-steps li {
  color: #777d89;
  font-size: 16px;
  line-height: 1.35;
  grid-template-columns: 30px minmax(0, 1fr);
  opacity: 1;
  transform: translateY(0);
}

.nova-live-steps li.is-generating,
.nova-live-steps li.is-drawing {
  opacity: 0;
  transform: translateY(10px);
  animation: novaStepReveal 620ms cubic-bezier(.2, .85, .25, 1) forwards;
}

.nova-live-steps li span {
  color: #555b66;
}

.nova-live-steps .nova-step-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.nova-live-steps .nova-draw-check {
  width: 21px;
  height: 21px;
  color: #515763;
}

.nova-live-steps .nova-draw-check path {
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: novaCheckDraw 860ms cubic-bezier(.38, .02, .12, .98) 240ms forwards;
}

.nova-live-steps li.is-settled .nova-draw-check path {
  stroke-dashoffset: 0;
  animation: none;
}

.nova-live-steps li.is-complete .nova-step-text {
  animation: novaStepTextSettle 760ms ease forwards;
}

.nova-live-steps li.is-settled .nova-step-text {
  color: #606672;
  animation: none;
}

.nova-live-steps li.is-generating {
  color: #5f6470;
}

.nova-live-steps li.is-generating .nova-step-icon {
  color: #6d35ff;
  animation: novaStepPulse 1.45s ease-in-out infinite;
}

@keyframes novaStepReveal {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes novaCheckDraw {
  0% { stroke-dashoffset: 1; opacity: .65; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes novaStepTextSettle {
  0% { color: #8a909b; }
  100% { color: #606672; }
}

@keyframes novaStepPulse {
  0%, 100% { transform: scale(1); opacity: .65; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Daily Life Science Privacy Policy */
body.dls-privacy-route #container {
  display: none !important;
}

.dls-privacy-page {
  min-height: 100vh;
  padding: 96px clamp(18px, 5vw, 72px) 64px;
  background:
    radial-gradient(circle at 14% 18%, rgba(20, 184, 166, 0.16), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eefcff 48%, #ffffff 100%);
  color: #0f172a;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dls-policy-hero,
.dls-policy-card {
  max-width: 1040px;
  margin: 0 auto;
}

.dls-policy-hero {
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.dls-policy-back {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  margin-bottom: 24px;
  color: #0f766e;
  background: #ecfeff;
  font-weight: 850;
  cursor: pointer;
}

.dls-policy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  color: #0f766e;
  background: #f0fdfa;
  font-size: 0.85rem;
  font-weight: 900;
}

.dls-policy-hero h1 {
  max-width: 820px;
  margin: 22px 0 16px;
  font-size: clamp(2.4rem, 6vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: #071226;
}

.dls-policy-hero p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.dls-policy-hero small {
  color: #64748b;
  font-weight: 800;
}

.dls-policy-card {
  margin-top: 26px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.dls-policy-card h2 {
  margin: 30px 0 10px;
  color: #0f172a;
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.dls-policy-card h2:first-child {
  margin-top: 0;
}

.dls-policy-card p,
.dls-policy-card li {
  color: #475569;
  font-size: 1rem;
  line-height: 1.72;
}

.dls-policy-card ul {
  margin: 12px 0 20px;
  padding: 18px 22px 18px 42px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(37, 99, 235, 0.08));
}

.dls-policy-card li + li {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .dls-privacy-page {
    padding: 76px 14px 42px;
  }

  .dls-policy-hero,
  .dls-policy-card {
    border-radius: 24px;
  }
}

/* Nova staged thinking effect */
.nova-live-steps li {
  opacity: 0;
  transform: translateY(10px);
  animation: novaStepReveal 420ms cubic-bezier(.2,.8,.2,1) forwards;
}

.nova-live-steps li.is-generating .nova-step-text::after {
  content: "";
  display: inline-block;
  width: 1.15em;
  text-align: left;
  animation: novaThinkingDots 1.15s steps(4, end) infinite;
}

.nova-live-steps li.is-complete {
  color: #5f6673;
}

.nova-live-steps li.is-generating {
  color: #232733;
}

.nova-progress-response .nova-teacher-avatar {
  animation: novaAvatarThink 1.7s ease-in-out infinite;
}

@keyframes novaStepReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes novaThinkingDots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

@keyframes novaAvatarThink {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.16);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
  }
}

/* Responsive top header overflow control */
.dls-top-header-managed,
.dls-top-header-managed .dls-header-row {
  max-width: 100vw !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-main-nav-cluster {
  min-width: 0 !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-top-nav-strip {
  min-width: 0 !important;
  width: 100% !important;
  overflow: visible !important;
  flex-wrap: nowrap !important;
}

.dls-top-header-managed .dls-top-nav-strip > * {
  min-width: 0 !important;
  flex-shrink: 0 !important;
}

.dls-top-header-managed .dls-header-more {
  display: block;
  margin-left: clamp(0.15rem, 0.5vw, 0.45rem) !important;
}

.dls-top-header-managed .dls-header-more-menu {
  right: 50% !important;
  transform: translateX(50%) translateY(4px) !important;
  max-height: min(72vh, 460px) !important;
  overflow-y: auto !important;
}

.dls-top-header-managed .dls-header-more:hover .dls-header-more-menu,
.dls-top-header-managed .dls-header-more:focus-within .dls-header-more-menu,
.dls-top-header-managed .dls-header-more[data-open="true"] .dls-header-more-menu {
  transform: translateX(50%) translateY(0) !important;
}

@media (max-width: 1180px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(150px, max-content) minmax(0, 1fr) max-content !important;
  }

  .dls-top-header-managed .dls-brand-cluster {
    max-width: 190px !important;
  }
}

@media (max-width: 860px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(130px, max-content) minmax(0, 1fr) max-content !important;
    column-gap: 0.55rem !important;
  }

  .dls-top-header-managed .dls-brand-cluster {
    max-width: 165px !important;
    margin-right: 0.35rem !important;
  }

  .dls-top-header-managed .dls-top-nav-strip a,
  .dls-top-header-managed .dls-top-nav-strip button {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }

  .dls-top-header-managed .dls-header-more-menu {
    right: 0 !important;
    transform: translateX(0) translateY(4px) !important;
  }

  .dls-top-header-managed .dls-header-more:hover .dls-header-more-menu,
  .dls-top-header-managed .dls-header-more:focus-within .dls-header-more-menu,
  .dls-top-header-managed .dls-header-more[data-open="true"] .dls-header-more-menu {
    transform: translateX(0) translateY(0) !important;
  }
}

@media (max-width: 640px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(118px, max-content) minmax(0, 1fr) max-content !important;
  }

  .dls-top-header-managed .dls-brand-cluster {
    max-width: 145px !important;
  }

  .dls-top-header-managed .dls-account-cluster {
    max-width: max-content !important;
  }

  .dls-top-header-managed a.dls-account-control,
  .dls-top-header-managed button.dls-account-control,
  .dls-top-header-managed .dls-account-cluster .dls-account-control {
    min-width: 104px !important;
    max-width: 124px !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }
}

@media (max-width: 500px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(104px, max-content) minmax(0, 1fr) max-content !important;
    column-gap: 0.35rem !important;
  }

  .dls-top-header-managed .dls-brand-cluster {
    max-width: 122px !important;
  }

  .dls-top-header-managed .dls-top-nav-strip {
    gap: 0.28rem !important;
  }

  .dls-top-header-managed .dls-header-more-button {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }
}

@media (max-width: 760px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-areas: "brand account" "nav nav" !important;
    row-gap: 0.35rem !important;
    align-items: center !important;
  }

  .dls-top-header-managed .dls-brand-cluster {
    grid-area: brand !important;
    max-width: min(210px, 56vw) !important;
  }

  .dls-top-header-managed .dls-account-cluster {
    grid-area: account !important;
  }

  .dls-top-header-managed .dls-main-nav-cluster {
    grid-area: nav !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .dls-top-header-managed .dls-top-nav-strip {
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 520px) {
  .dls-top-header-managed .dls-brand-cluster {
    max-width: min(175px, 50vw) !important;
  }

  .dls-top-header-managed .dls-header-more-button {
    font-size: 0 !important;
  }

  .dls-top-header-managed .dls-header-more-button::before {
    content: "More";
    font-size: 0.95rem;
  }

  .dls-top-header-managed .dls-header-more-button span {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 760px) {
  .dls-top-header-managed .dls-main-nav-cluster,
  .dls-top-header-managed .dls-top-nav-strip {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    inline-size: calc(100vw - 24px) !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
  }
}

/* Generated Figma header has an inner flex row; make that wrapper responsive too. */
@media (max-width: 760px) {
  .dls-top-header-managed .dls-header-row > .flex.justify-between {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-areas: "brand account" "nav nav" !important;
    align-items: center !important;
    row-gap: 0.35rem !important;
    column-gap: 0.5rem !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 5.25rem !important;
  }

  .dls-top-header-managed .dls-header-row > .flex.justify-between > .dls-brand-cluster {
    grid-area: brand !important;
  }

  .dls-top-header-managed .dls-header-row > .flex.justify-between > .dls-account-cluster {
    grid-area: account !important;
    justify-self: end !important;
  }

  .dls-top-header-managed .dls-header-row > .flex.justify-between > .dls-main-nav-cluster,
  .dls-top-header-managed .dls-header-row > .flex.justify-between > .dls-top-nav-strip {
    grid-area: nav !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* Final Nova checklist animation override: explicit, slow, and scoped to the side panel. */
.nova-hook-panel .nova-live-steps li {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 11px !important;
  align-items: center !important;
  min-height: 38px !important;
  margin: 7px 0 !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(15, 31, 56, 0.06) !important;
  border-radius: 999px !important;
  background: rgba(248, 251, 255, 0.82) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
}

.nova-hook-panel .nova-live-steps li.is-settled,
.nova-hook-panel .nova-live-steps li.is-complete {
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.08), rgba(255, 255, 255, 0.92)) !important;
  border-color: rgba(8, 184, 166, 0.16) !important;
}

.nova-hook-panel .nova-live-steps li.is-generating,
.nova-hook-panel .nova-live-steps li.is-drawing {
  opacity: 0 !important;
  transform: translateY(14px) !important;
  animation: novaChecklistStepIn 430ms cubic-bezier(.17, .9, .28, 1) forwards !important;
}

.nova-hook-panel .nova-live-steps .nova-step-icon {
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(15, 31, 56, 0.08) !important;
}

.nova-hook-panel .nova-live-steps .nova-step-text {
  color: #2c3547 !important;
  font-size: 14px !important;
  font-weight: 760 !important;
  line-height: 1.25 !important;
}

.nova-hook-panel .nova-live-steps .nova-draw-check {
  width: 24px !important;
  height: 24px !important;
  color: #111827 !important;
  overflow: visible !important;
}

.nova-hook-panel .nova-live-steps .nova-draw-check path {
  stroke: currentColor !important;
  stroke-width: 2.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-dasharray: 30 !important;
  stroke-dashoffset: 30 !important;
  animation: novaChecklistCheckDraw 680ms cubic-bezier(.22, .72, .18, 1) 80ms forwards !important;
}

.nova-hook-panel .nova-live-steps li.is-settled .nova-draw-check path {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.nova-hook-panel .nova-live-steps li.is-drawing .nova-step-text {
  animation: novaChecklistTextFocus 620ms ease forwards !important;
}

.nova-hook-panel .nova-live-steps li.is-generating .nova-step-icon {
  color: #6d35ff !important;
  animation: novaStepPulse 1.45s ease-in-out infinite !important;
}

@keyframes novaChecklistStepIn {
  0% { opacity: 0; transform: translateY(14px); filter: blur(2px); }
  70% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes novaChecklistCheckDraw {
  0% { stroke-dashoffset: 30; opacity: .2; }
  18% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes novaChecklistTextFocus {
  0% { color: #9aa0aa; }
  45% { color: #1f2937; }
  100% { color: #606672; }
}


/* Active generation row uses a separate animated creation symbol. */
.nova-hook-panel .nova-live-steps .nova-generating-symbol {
  width: 24px !important;
  height: 24px !important;
  color: #6d35ff !important;
  overflow: visible !important;
}

.nova-hook-panel .nova-live-steps .nova-generating-orbit {
  stroke: currentColor !important;
  stroke-width: 2.3 !important;
  stroke-dasharray: 18 34 !important;
  stroke-linecap: round !important;
  transform-origin: 12px 12px !important;
  animation: novaGeneratingOrbit 900ms linear infinite !important;
}

.nova-hook-panel .nova-live-steps .nova-generating-spark,
.nova-hook-panel .nova-live-steps .nova-generating-flash {
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  animation: novaGeneratingSpark 950ms ease-in-out infinite !important;
}

.nova-hook-panel .nova-live-steps .nova-generating-flash {
  animation-delay: 160ms !important;
}

@keyframes novaGeneratingOrbit {
  to { transform: rotate(360deg); }
}

@keyframes novaGeneratingSpark {
  0%, 100% { opacity: .45; transform: scale(.92); transform-origin: 12px 12px; }
  50% { opacity: 1; transform: scale(1.08); transform-origin: 12px 12px; }
}


/* Nova conversation polish */
.nova-hook-panel .nova-teacher-chat-stage {
  display: block;
  scroll-behavior: smooth;
}

.nova-hook-panel .nova-teacher-response {
  align-items: start;
  margin: 16px 0;
}

.nova-hook-panel .nova-teacher-avatar {
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6d35ff;
}

.nova-hook-panel .nova-teacher-avatar svg {
  width: 26px !important;
  height: 26px !important;
}

.nova-hook-panel .nova-prompt-bubble + .nova-prompt-bubble {
  margin-top: 12px;
}

.nova-hook-panel .nova-chat-history-card {
  cursor: pointer;
}

.nova-hook-panel .nova-teacher-quick-row button[data-active="true"],
.nova-hook-panel .nova-teacher-quick-row button:focus-visible {
  border-color: #1769ff;
  color: #145ee8;
  background: #eff6ff;
}

.nova-live-steps li {
  opacity: 0;
  transform: translateY(10px);
  animation: novaStepReveal 520ms cubic-bezier(.2, .85, .25, 1) forwards;
}

.nova-live-steps li.is-settled,
.nova-live-steps li.is-complete {
  opacity: 1;
  transform: translateY(0);
}

.nova-live-steps .nova-draw-check path {
  stroke-dasharray: 28 !important;
  stroke-dashoffset: 28 !important;
  animation: novaCheckDrawPath 720ms cubic-bezier(.38, .02, .12, .98) 120ms forwards !important;
}

.nova-live-steps li.is-settled .nova-draw-check path {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.nova-generating-symbol .nova-generating-orbit {
  stroke: #dcd7ff;
  stroke-width: 3;
}

.nova-generating-symbol .nova-generating-spark,
.nova-generating-symbol .nova-generating-flash {
  stroke: #6d35ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: novaStepPulse 1.2s ease-in-out infinite;
}

@keyframes novaCheckDrawPath {
  from { stroke-dashoffset: 28; opacity: .7; }
  to { stroke-dashoffset: 0; opacity: 1; }
}


.nova-video-result-card {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.nova-inline-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #08111f;
  box-shadow: 0 18px 36px rgba(10, 42, 86, 0.14);
  display: block;
  object-fit: contain;
}

.nova-video-result-card .nova-google-slides-status {
  margin-top: 0;
}

.nova-pdf-offer {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.92), rgba(239, 246, 255, 0.92));
  color: #10233f;
}

.nova-pdf-offer > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0bb9a9, #2387ff);
  box-shadow: 0 12px 26px rgba(35, 135, 255, 0.18);
}

.nova-pdf-offer svg {
  width: 19px;
  height: 19px;
}

.nova-pdf-offer strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
}

.nova-pdf-offer p {
  margin: 4px 0 0;
  color: #52627a;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}


/* Final header CTA and dashboard navigation polish */
.dls-top-header-managed .dls-join-free-cta {
  min-width: 142px !important;
  max-width: 164px !important;
  min-height: 54px !important;
  padding: 0.72rem 1.15rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0db9a9 0%, #08b8a6 48%, #12a2ff 100%) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 14px 28px rgba(8, 184, 166, 0.24), inset 0 -2px 0 rgba(0, 75, 85, 0.12) !important;
  transform: translateY(0) !important;
  white-space: normal !important;
}

.dls-top-header-managed .dls-join-free-cta:hover {
  background: linear-gradient(135deg, #08a99b 0%, #079a8e 45%, #0f7ff2 100%) !important;
  box-shadow: 0 16px 32px rgba(8, 184, 166, 0.30), inset 0 -2px 0 rgba(0, 75, 85, 0.16) !important;
  transform: translateY(-1px) !important;
}

.dls-top-header-managed .dls-dashboard-nav-cta {
  cursor: pointer !important;
  pointer-events: auto !important;
}

@media (max-width: 1180px) {
  .dls-top-header-managed .dls-join-free-cta {
    min-width: 122px !important;
    max-width: 138px !important;
    min-height: 46px !important;
    padding: 0.58rem 0.82rem !important;
    font-size: 0.92rem !important;
  }
}

@media (max-width: 640px) {
  .dls-top-header-managed .dls-join-free-cta {
    min-width: 106px !important;
    max-width: 118px !important;
    min-height: 42px !important;
    padding: 0.48rem 0.65rem !important;
    font-size: 0.82rem !important;
  }
}


/* Nova selected tool bubble */
.nova-hook-panel .nova-selected-mode-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 10px;
}

.nova-hook-panel .nova-selected-mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  color: #10213d;
  box-shadow: 0 8px 18px rgba(15, 61, 120, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.nova-hook-panel .nova-selected-mode-chip svg {
  width: 16px;
  height: 16px;
  color: #1769ff;
}

.nova-hook-panel .nova-selected-mode-chip button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.nova-hook-panel .nova-selected-mode-chip button:hover {
  background: rgba(37, 99, 235, 0.16);
  color: #0f62fe;
}

.nova-hook-panel .nova-teacher-quick-row button[data-active="true"] {
  border-color: rgba(37, 99, 235, 0.32) !important;
  background: linear-gradient(135deg, #eff6ff, #ffffff) !important;
  color: #0f62fe !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14) !important;
}


/* Permanent More Features dropdown item and Nova beta badge */
.dls-top-header-managed .dls-header-more {
  display: block !important;
}

.dls-top-header-managed .dls-header-more-feature-item {
  width: 100% !important;
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.12), rgba(35, 135, 255, 0.12)) !important;
  color: #0f365c !important;
  font-weight: 900 !important;
  text-align: left !important;
  cursor: pointer !important;
}

.dls-top-header-managed .dls-header-more-feature-item:hover {
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.20), rgba(35, 135, 255, 0.20)) !important;
  color: #075e91 !important;
}

.nova-beta-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 184, 166, 0.12), rgba(35, 135, 255, 0.14));
  border: 1px solid rgba(35, 135, 255, 0.18);
  color: #0f2a4a;
  white-space: nowrap;
}

.nova-hook-panel .nova-beta-card {
  grid-area: beta;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  margin-top: 0;
  pointer-events: none;
}

.nova-beta-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #0bb9a9;
  color: white;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
}

.nova-beta-card strong {
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.nova-inline-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  border-radius: 22px;
  background: #08142b;
  object-fit: contain;
}

@media (max-width: 720px) {
  .nova-beta-card strong {
    display: none;
  }

  .nova-hook-panel .nova-teacher-chat-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .nova-hook-panel .nova-teacher-segment button {
    min-width: 72px;
    padding: 0 12px;
  }

  .nova-hook-panel .nova-teacher-toolbar {
    gap: 6px;
  }

  .nova-hook-panel .nova-teacher-toolbar button {
    width: 38px;
    height: 38px;
  }
}


/* DLS stable compact header override */
.dls-top-header-managed .dls-header-frame {
  width: 100% !important;
  max-width: min(100%, 1440px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1fr) minmax(360px, 0.85fr) !important;
  align-items: center !important;
  gap: clamp(0.9rem, 1.4vw, 1.35rem) !important;
  width: 100% !important;
  min-width: 0 !important;
}
.dls-top-header-managed .dls-brand-cluster {
  grid-column: 1 !important;
  justify-self: start !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dls-top-header-managed .dls-main-nav-cluster {
  grid-column: 2 !important;
  justify-self: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-top-nav-strip {
  width: 100% !important;
  max-width: 100% !important;
  justify-content: center !important;
  gap: clamp(0.7rem, 1vw, 1.05rem) !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-account-cluster {
  grid-column: 3 !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.75rem, 1vw, 1rem) !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.dls-top-header-managed .dls-profile-name-cluster {
  max-width: 120px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.dls-top-header-managed .dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  min-width: max-content !important;
  max-width: 168px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
@media (max-width: 1180px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(210px, 0.85fr) minmax(220px, 1fr) minmax(270px, 0.85fr) !important;
    gap: 0.75rem !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster { display: none !important; }
}
@media (max-width: 860px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(190px, 1fr) max-content !important;
    grid-template-areas: "brand account" "nav nav" !important;
    row-gap: 0.45rem !important;
  }
  .dls-top-header-managed .dls-brand-cluster { grid-area: brand !important; }
  .dls-top-header-managed .dls-account-cluster { grid-area: account !important; }
  .dls-top-header-managed .dls-main-nav-cluster {
    grid-area: nav !important;
    width: 100% !important;
  }
}

/* Curriculum Submissions redesign: single organized Nova workspace. */
.nova-curriculum-workspace {
  width: 100%;
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.1rem;
  color: #071329;
}

.nova-curriculum-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.88);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nova-curriculum-workspace-hero,
.nova-curriculum-detail-card,
.nova-curriculum-submission-rail,
.nova-curriculum-workspace-empty {
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.15), transparent 32%),
    radial-gradient(circle at 95% 5%, rgba(37, 99, 235, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 253, 255, 0.96));
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.nova-curriculum-workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.nova-curriculum-workspace-hero h2,
.nova-curriculum-workspace-empty h2 {
  margin: 0.55rem 0 0.35rem;
  color: #071329;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.nova-curriculum-workspace-hero p,
.nova-curriculum-workspace-empty p {
  max-width: 760px;
  margin: 0;
  color: #52627a;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 800;
}

.nova-curriculum-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.nova-curriculum-metrics span {
  min-height: 88px;
  display: grid;
  place-items: center;
  gap: 0.16rem;
  border: 1px solid rgba(20, 184, 166, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.nova-curriculum-metrics strong {
  color: #071329;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
}

.nova-curriculum-workspace-grid {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.nova-curriculum-submission-rail {
  position: sticky;
  top: 112px;
  padding: 1rem;
  max-height: calc(100vh - 132px);
  overflow: hidden;
}

.nova-curriculum-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.nova-curriculum-rail-head strong {
  color: #071329;
  font-size: 1.02rem;
  font-weight: 950;
}

.nova-curriculum-rail-head span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
}

.nova-curriculum-submission-list {
  display: grid;
  gap: 0.65rem;
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding-right: 0.2rem;
}

.nova-curriculum-submission-card {
  width: 100%;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  padding: 0.85rem;
  display: grid;
  gap: 0.3rem;
  text-align: left;
  background: rgba(255,255,255,.88);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nova-curriculum-submission-card:hover,
.nova-curriculum-submission-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.42);
  background: linear-gradient(135deg, #ffffff, #f0fdfa 55%, #eff6ff);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.nova-curriculum-submission-card strong {
  color: #071329;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.2;
}

.nova-curriculum-submission-card small,
.nova-curriculum-submission-card em {
  color: #64748b;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.32;
}

.nova-curriculum-card-status {
  width: fit-content;
  border-radius: 999px;
  padding: 0.25rem 0.56rem;
  color: #0f766e;
  background: rgba(204, 251, 241, 0.84);
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nova-curriculum-card-status.verification { color: #1d4ed8; background: #dbeafe; }
.nova-curriculum-card-status.accepted { color: #047857; background: #dcfce7; }
.nova-curriculum-card-status.generating { color: #92400e; background: #fef3c7; }

.nova-curriculum-detail-shell {
  min-width: 0;
}

.nova-curriculum-detail-card {
  padding: clamp(1rem, 2vw, 1.3rem);
  display: grid;
  gap: 1rem;
}

.nova-curriculum-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.nova-curriculum-detail-top h3 {
  margin: 0.45rem 0 0.18rem;
  color: #071329;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.04;
  font-weight: 950;
}

.nova-curriculum-detail-top p {
  margin: 0;
  color: #52627a;
  font-weight: 850;
}

.nova-curriculum-stamp-row {
  display: grid;
  justify-items: end;
  gap: 0.42rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: right;
}

.nova-curriculum-brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 0.8rem;
}

.nova-curriculum-brief-grid article {
  min-width: 0;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255,255,255,.82);
}

.nova-curriculum-brief-grid strong {
  display: block;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.nova-curriculum-brief-grid p {
  max-height: 180px;
  overflow: auto;
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.55;
}

.nova-curriculum-brief-grid ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
  list-style: none;
  counter-reset: dlsWorkflow;
}

.nova-curriculum-brief-grid li {
  counter-increment: dlsWorkflow;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #52627a;
  font-size: 0.88rem;
  font-weight: 900;
}

.nova-curriculum-brief-grid li::before {
  content: counter(dlsWorkflow);
  width: 1.65rem;
  height: 1.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.65rem;
  color: #2563eb;
  background: #dbeafe;
  font-size: 0.74rem;
  font-weight: 950;
  flex: 0 0 auto;
}

.nova-curriculum-brief-grid li.done::before {
  content: "✓";
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
}

.nova-curriculum-workspace .nova-curriculum-panel {
  margin-top: 0;
  border-radius: 24px;
  box-shadow: none;
}

.nova-curriculum-panel-empty {
  padding: 1rem;
}

.nova-curriculum-empty-builder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.1rem 0.85rem;
}

.nova-curriculum-empty-builder h4 {
  margin: 0.45rem 0 0.25rem;
  color: #071329;
  font-size: 1.25rem;
  font-weight: 950;
}

.nova-curriculum-empty-builder p {
  max-width: 780px;
  margin: 0;
  color: #52627a;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.45;
}

.nova-curriculum-workspace .nova-hook-actions {
  position: static !important;
  inset: auto !important;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-start;
  transform: none !important;
}

.nova-curriculum-workspace .nova-hook-action {
  white-space: nowrap;
}

.nova-curriculum-workspace-empty {
  padding: clamp(1.4rem, 3vw, 2rem);
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: start;
}

@media (max-width: 1180px) {
  .nova-curriculum-workspace-hero,
  .nova-curriculum-workspace-grid,
  .nova-curriculum-brief-grid {
    grid-template-columns: 1fr;
  }
  .nova-curriculum-submission-rail {
    position: relative;
    top: auto;
    max-height: none;
  }
  .nova-curriculum-submission-list {
    max-height: 330px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}

@media (max-width: 720px) {
  .nova-curriculum-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nova-curriculum-detail-top,
  .nova-curriculum-empty-builder {
    display: grid;
  }
  .nova-curriculum-stamp-row {
    justify-items: start;
    text-align: left;
  }
  .nova-curriculum-workspace .nova-hook-action {
    width: 100%;
    justify-content: center;
  }
}

/* Final header collision fix: keep nav condensed and separate Dashboard from profile. */
.dls-top-header-managed .dls-header-row {
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.82fr) minmax(560px, 1.15fr) !important;
  column-gap: clamp(1.15rem, 2vw, 2rem) !important;
  align-items: center !important;
}

.dls-top-header-managed .dls-main-nav-cluster {
  justify-self: center !important;
  width: auto !important;
  max-width: 430px !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-top-nav-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(1.1rem, 1.55vw, 1.75rem) !important;
  width: auto !important;
  max-width: 430px !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-header-more {
  flex: 0 0 auto !important;
  display: block !important;
}

.dls-top-header-managed .dls-account-cluster {
  justify-self: end !important;
  min-width: 540px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.15rem !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-dashboard-nav-cta,
.dls-top-header-managed .dls-account-cluster .dls-dashboard-nav-cta {
  margin-right: clamp(1.15rem, 1.65vw, 2rem) !important;
  flex: 0 0 auto !important;
}

.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 138px !important;
  max-width: 138px !important;
  min-width: 88px !important;
  margin-left: 0 !important;
}

.dls-top-header-managed .dls-account-button-group {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

@media (max-width: 1320px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(240px, 0.95fr) minmax(180px, 0.55fr) minmax(470px, 1.1fr) !important;
    column-gap: 1rem !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster,
  .dls-top-header-managed .dls-top-nav-strip {
    max-width: 260px !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    min-width: 450px !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    max-width: 96px !important;
    min-width: 64px !important;
  }
}

@media (max-width: 1080px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(210px, 1fr) minmax(380px, max-content) !important;
    grid-template-areas: "brand account" "nav nav" !important;
    row-gap: 0.6rem !important;
  }
  .dls-top-header-managed .dls-brand-cluster { grid-area: brand !important; }
  .dls-top-header-managed .dls-account-cluster {
    grid-area: account !important;
    min-width: 0 !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster {
    grid-area: nav !important;
    justify-self: center !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster { display: none !important; }
}

/* Compact Curriculum Submissions tab redesign: contained, readable, no overflow. */
.nova-curriculum-workspace {
  max-width: 1180px !important;
  width: min(100%, 1180px) !important;
  margin: 0 auto 1.6rem !important;
  padding: 0 !important;
  gap: 0.85rem !important;
  overflow: visible !important;
}

.nova-curriculum-workspace * {
  box-sizing: border-box !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.nova-curriculum-workspace-hero.compact,
.nova-curriculum-workspace-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
  gap: 0.8rem !important;
  align-items: center !important;
  padding: 1rem 1.1rem !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06) !important;
}

.nova-curriculum-workspace-hero h2 {
  margin: 0.35rem 0 0.2rem !important;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem) !important;
  line-height: 1.04 !important;
}

.nova-curriculum-workspace-hero p {
  max-width: 620px !important;
  font-size: 0.9rem !important;
  line-height: 1.38 !important;
}

.nova-curriculum-metrics,
.nova-curriculum-metrics.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.45rem !important;
}

.nova-curriculum-metrics span {
  min-height: 54px !important;
  border-radius: 16px !important;
  padding: 0.45rem !important;
  font-size: 0.62rem !important;
}

.nova-curriculum-metrics strong {
  font-size: 1.15rem !important;
}

.nova-curriculum-workspace-grid {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) !important;
  gap: 0.85rem !important;
  align-items: start !important;
}

.nova-curriculum-submission-rail {
  position: relative !important;
  top: auto !important;
  max-height: none !important;
  padding: 0.85rem !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06) !important;
}

.nova-curriculum-submission-list {
  max-height: 520px !important;
  overflow: auto !important;
  gap: 0.5rem !important;
}

.nova-curriculum-submission-card {
  border-radius: 16px !important;
  padding: 0.72rem !important;
  gap: 0.24rem !important;
}

.nova-curriculum-submission-card strong,
.nova-curriculum-submission-card small,
.nova-curriculum-submission-card em {
  display: block !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.nova-curriculum-submission-card strong {
  font-size: 0.88rem !important;
  line-height: 1.22 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.nova-curriculum-submission-card small {
  font-size: 0.7rem !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.nova-curriculum-detail-card {
  padding: 0.95rem !important;
  border-radius: 22px !important;
  gap: 0.8rem !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06) !important;
}

.nova-curriculum-detail-top {
  align-items: center !important;
  gap: 0.75rem !important;
}

.nova-curriculum-detail-top h3 {
  margin: 0.28rem 0 0.12rem !important;
  font-size: clamp(1.18rem, 1.8vw, 1.6rem) !important;
  line-height: 1.12 !important;
}

.nova-curriculum-detail-top p,
.nova-curriculum-stamp-row {
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
}

.nova-curriculum-stamp-row .nova-stamp-badge {
  min-width: 84px !important;
  padding: 0.38rem 0.62rem !important;
  font-size: 0.72rem !important;
}

.nova-curriculum-brief-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.72fr) !important;
  gap: 0.65rem !important;
}

.nova-curriculum-brief-grid article {
  border-radius: 18px !important;
  padding: 0.75rem !important;
}

.nova-curriculum-brief-grid strong {
  font-size: 0.68rem !important;
  margin-bottom: 0.38rem !important;
}

.nova-curriculum-brief-grid p {
  max-height: 92px !important;
  overflow: auto !important;
  font-size: 0.78rem !important;
  line-height: 1.42 !important;
}

.nova-curriculum-brief-grid li {
  font-size: 0.76rem !important;
  line-height: 1.25 !important;
}

.nova-curriculum-brief-grid li::before {
  width: 1.35rem !important;
  height: 1.35rem !important;
  border-radius: 0.5rem !important;
}

.nova-curriculum-workspace .nova-curriculum-panel {
  padding: 0.85rem !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #ffffff, #f8fdff) !important;
}

.nova-curriculum-top {
  margin-bottom: 0.7rem !important;
  gap: 0.7rem !important;
}

.nova-curriculum-top h4 {
  margin: 0.35rem 0 0.16rem !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

.nova-curriculum-top p {
  font-size: 0.74rem !important;
}

.nova-curriculum-module-list {
  max-height: 560px !important;
  overflow: auto !important;
  gap: 0.7rem !important;
  padding-right: 0.25rem !important;
}

.nova-curriculum-module {
  border-radius: 18px !important;
  padding: 0.82rem !important;
}

.nova-curriculum-module-head strong {
  font-size: 0.9rem !important;
  line-height: 1.25 !important;
}

.nova-curriculum-section-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.45rem !important;
}

.nova-curriculum-section-grid div {
  min-height: 52px !important;
  border-radius: 12px !important;
  padding: 0.55rem !important;
}

.nova-curriculum-section-grid strong {
  font-size: 0.66rem !important;
}

.nova-curriculum-section-grid span {
  font-size: 0.64rem !important;
  line-height: 1.18 !important;
}

.nova-curriculum-reading-levels,
.nova-curriculum-section-details {
  margin: 0.55rem 0 !important;
}

.nova-curriculum-reading-levels span,
.nova-curriculum-section-details details > div,
.nova-curriculum-preview p {
  font-size: 0.74rem !important;
  line-height: 1.42 !important;
}

.nova-verification-launch-card {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr) auto !important;
  gap: 0.65rem !important;
  padding: 0.85rem !important;
  border-radius: 20px !important;
}

.nova-verification-launch-card h4 {
  font-size: 0.96rem !important;
}

.nova-verification-launch-card p {
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
}

.nova-verification-launch-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.nova-curriculum-workspace .nova-hook-actions {
  gap: 0.5rem !important;
  margin-top: 0.75rem !important;
}

.nova-curriculum-workspace .nova-hook-action {
  min-height: 40px !important;
  padding: 0.55rem 0.78rem !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  line-height: 1.15 !important;
  max-width: 100% !important;
}

.dls-multi-teacher-check-card {
  width: min(100%, 1180px) !important;
  margin: 0 0 1rem !important;
  padding: 1rem !important;
  border: 1px solid rgba(20, 184, 166, 0.22) !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(239, 246, 255, 0.92)) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07) !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
}

.dls-multi-teacher-check-card * {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.dls-multi-teacher-check-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

.dls-multi-teacher-check-head span {
  display: inline-flex !important;
  margin-bottom: 0.35rem !important;
  color: #0f766e !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.dls-multi-teacher-check-head h3 {
  margin: 0 !important;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
}

.dls-multi-teacher-check-head p {
  max-width: 720px !important;
  margin: 0.35rem 0 0 !important;
  color: #475569 !important;
  font-size: 0.85rem !important;
  line-height: 1.42 !important;
}

.dls-multi-teacher-check-head button {
  flex: 0 0 auto !important;
  min-height: 44px !important;
  padding: 0.65rem 1rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #10bda8, #2387ff) !important;
  color: #fff !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18) !important;
}

.dls-multi-teacher-check-head button:disabled {
  cursor: progress !important;
  opacity: 0.7 !important;
}

.dls-multi-teacher-check-result {
  margin-top: 0.85rem !important;
  padding: 0.85rem !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
}

.dls-multi-teacher-check-result.allowed {
  border-color: rgba(16, 185, 129, 0.38) !important;
  background: rgba(236, 253, 245, 0.86) !important;
}

.dls-multi-teacher-check-result.blocked {
  border-color: rgba(251, 146, 60, 0.38) !important;
  background: rgba(255, 247, 237, 0.9) !important;
}

.dls-multi-teacher-check-result strong {
  display: block !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
  font-weight: 950 !important;
}

.dls-multi-teacher-check-result p {
  margin: 0.3rem 0 0 !important;
  color: #475569 !important;
  font-size: 0.82rem !important;
  line-height: 1.42 !important;
}

.dls-multi-teacher-check-result div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
  margin-top: 0.75rem !important;
}

.dls-multi-teacher-check-result div span {
  display: grid !important;
  gap: 0.12rem !important;
  padding: 0.65rem !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.78) !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

.dls-multi-teacher-check-result div b {
  color: #0f172a !important;
  font-size: 1rem !important;
}

.dls-multi-teacher-check-result ul {
  display: grid !important;
  gap: 0.4rem !important;
  margin: 0.75rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.dls-multi-teacher-check-result li {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
  padding: 0.55rem 0.65rem !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,0.76) !important;
  color: #334155 !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
}

.dls-multi-teacher-check-result li em,
.dls-multi-teacher-check-result li small {
  color: #64748b !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  .dls-multi-teacher-check-head {
    flex-direction: column !important;
  }
  .dls-multi-teacher-check-head button {
    width: 100% !important;
  }
  .dls-multi-teacher-check-result div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.nova-curriculum-empty-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
}

.nova-curriculum-manual-card {
  margin: 0.75rem 0 !important;
  padding: 0.85rem !important;
  border: 1px solid rgba(20, 184, 166, 0.28) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.92), rgba(255, 255, 255, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(15,23,42,0.05) !important;
}

.nova-curriculum-manual-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.nova-curriculum-manual-head h4 {
  margin: 0.2rem 0 0.12rem !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

.nova-curriculum-manual-head p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  line-height: 1.38 !important;
}

.nova-curriculum-manual-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  margin-bottom: 0.75rem !important;
}

.nova-curriculum-manual-grid label {
  display: grid !important;
  gap: 0.3rem !important;
  color: #334155 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

.nova-curriculum-manual-grid label.wide {
  grid-column: 1 / -1 !important;
}

.nova-curriculum-manual-grid .nova-hook-textarea {
  min-height: 130px !important;
}

.nova-curriculum-manual-grid .nova-hook-textarea.compact {
  min-height: 74px !important;
}

@media (max-width: 760px) {
  .nova-curriculum-manual-head,
  .nova-curriculum-empty-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  .nova-curriculum-manual-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1120px) {
  .nova-curriculum-workspace-hero.compact,
  .nova-curriculum-workspace-hero,
  .nova-curriculum-workspace-grid,
  .nova-curriculum-brief-grid,
  .nova-verification-launch-card {
    grid-template-columns: 1fr !important;
  }
  .nova-curriculum-submission-list {
    max-height: 260px !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  }
  .nova-curriculum-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .nova-curriculum-metrics,
  .nova-curriculum-metrics.compact,
  .nova-verification-launch-metrics,
  .nova-curriculum-section-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .nova-curriculum-detail-top {
    display: grid !important;
  }
  .nova-curriculum-workspace .nova-hook-action {
    width: 100% !important;
  }
}

/* Header compacting pass: spacing only, keep native Figma buttons/click handlers. */
.dls-top-header-managed .dls-header-row {
  grid-template-columns: minmax(220px, 0.72fr) minmax(560px, 1.38fr) minmax(410px, 0.9fr) !important;
  column-gap: clamp(0.85rem, 1.35vw, 1.45rem) !important;
  align-items: center !important;
}

.dls-top-header-managed .dls-brand-cluster {
  min-width: 0 !important;
  margin-right: 0 !important;
}

.dls-top-header-managed .dls-main-nav-cluster,
.dls-top-header-managed .dls-top-nav-strip {
  justify-self: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-top-nav-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(0.45rem, 0.82vw, 0.95rem) !important;
}

.dls-top-header-managed .dls-top-nav-strip button,
.dls-top-header-managed .dls-top-nav-strip a,
.dls-top-header-managed .dls-top-nav-strip [role="button"] {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  padding-inline: clamp(0.18rem, 0.45vw, 0.45rem) !important;
  font-size: clamp(0.9rem, 1.12vw, 1.12rem) !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
}

.dls-top-header-managed .dls-account-cluster {
  justify-self: end !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: clamp(0.55rem, 0.9vw, 0.95rem) !important;
  margin-left: clamp(0.5rem, 0.95vw, 1rem) !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-dashboard-nav-cta,
.dls-top-header-managed .dls-account-cluster .dls-dashboard-nav-cta {
  margin-right: clamp(0.55rem, 0.95vw, 1rem) !important;
}

.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 112px !important;
  max-width: 112px !important;
  min-width: 72px !important;
}

.dls-top-header-managed .dls-account-button-group {
  gap: clamp(0.55rem, 0.9vw, 0.9rem) !important;
}

.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  padding-inline: clamp(0.85rem, 1.25vw, 1.25rem) !important;
  min-height: 42px !important;
  white-space: nowrap !important;
}

@media (max-width: 1320px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(205px, 0.72fr) minmax(455px, 1.25fr) minmax(350px, 0.82fr) !important;
    column-gap: 0.75rem !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    gap: 0.38rem !important;
  }
  .dls-top-header-managed .dls-top-nav-strip button,
  .dls-top-header-managed .dls-top-nav-strip a,
  .dls-top-header-managed .dls-top-nav-strip [role="button"] {
    font-size: 0.86rem !important;
    padding-inline: 0.16rem !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    max-width: 82px !important;
    min-width: 52px !important;
  }
  .dls-top-header-managed a.dls-account-control,
  .dls-top-header-managed button.dls-account-control,
  .dls-top-header-managed .dls-account-cluster .dls-account-control {
    padding-inline: 0.75rem !important;
  }
}

@media (max-width: 1080px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(180px, 1fr) minmax(300px, max-content) !important;
    grid-template-areas: "brand account" "nav nav" !important;
    row-gap: 0.55rem !important;
  }
  .dls-top-header-managed .dls-brand-cluster { grid-area: brand !important; }
  .dls-top-header-managed .dls-account-cluster {
    grid-area: account !important;
    min-width: 0 !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster {
    grid-area: nav !important;
    justify-self: center !important;
    max-width: 100% !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster { display: none !important; }
  .dls-top-header-managed .dls-top-nav-strip {
    justify-content: center !important;
    gap: clamp(0.5rem, 2vw, 1rem) !important;
  }
}

/* Definitive header layout: stable lanes, real tab gaps, no overlap after login. */
.dls-top-header-managed .dls-header-frame,
.dls-top-header-managed .dls-header-row {
  width: min(100%, 1920px) !important;
  max-width: calc(100vw - 56px) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.dls-top-header-managed .dls-header-row {
  display: grid !important;
  grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1fr) minmax(430px, 0.88fr) !important;
  grid-template-areas: "brand nav account" !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: clamp(1.5rem, 2.2vw, 2.75rem) !important;
  row-gap: 0.75rem !important;
}

.dls-top-header-managed .dls-brand-cluster {
  grid-area: brand !important;
  justify-self: start !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.dls-top-header-managed .dls-main-nav-cluster {
  grid-area: nav !important;
  justify-self: center !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 640px !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-top-nav-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(1.2rem, 1.7vw, 2.2rem) !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-top-nav-strip > * {
  flex: 0 0 auto !important;
}

.dls-top-header-managed .dls-top-nav-strip > .dls-header-hidden-nav-original,
.dls-top-header-managed .dls-header-hidden-nav-original {
  display: none !important;
}

.dls-top-header-managed .dls-top-nav-strip button,
.dls-top-header-managed .dls-top-nav-strip a,
.dls-top-header-managed .dls-top-nav-strip [role="button"],
.dls-top-header-managed .dls-header-more-button {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  min-width: max-content !important;
  max-width: none !important;
  font-size: clamp(1.02rem, 1.18vw, 1.26rem) !important;
  line-height: 1.1 !important;
  padding-inline: 0.2rem !important;
}

.dls-top-header-managed .dls-account-cluster {
  grid-area: account !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(0.9rem, 1.3vw, 1.45rem) !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.dls-top-header-managed .dls-dashboard-nav-cta {
  margin-right: clamp(0.85rem, 1.35vw, 1.65rem) !important;
  flex: 0 0 auto !important;
}

.dls-top-header-managed .dls-profile-name-cluster {
  flex: 0 1 128px !important;
  max-width: 128px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dls-top-header-managed .dls-account-button-group {
  display: flex !important;
  align-items: center !important;
  gap: clamp(0.75rem, 1.1vw, 1.15rem) !important;
  flex: 0 0 auto !important;
}

.dls-top-header-managed a.dls-account-control,
.dls-top-header-managed button.dls-account-control,
.dls-top-header-managed .dls-account-cluster .dls-account-control {
  min-width: max-content !important;
  white-space: nowrap !important;
}

@media (max-width: 1480px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(225px, 0.64fr) minmax(350px, 0.9fr) minmax(385px, 0.9fr) !important;
    column-gap: clamp(1rem, 1.7vw, 1.65rem) !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    gap: clamp(0.85rem, 1.25vw, 1.35rem) !important;
  }
  .dls-top-header-managed .dls-top-nav-strip button,
  .dls-top-header-managed .dls-top-nav-strip a,
  .dls-top-header-managed .dls-top-nav-strip [role="button"],
  .dls-top-header-managed .dls-header-more-button {
    font-size: clamp(0.92rem, 1.05vw, 1.08rem) !important;
  }
}

@media (max-width: 1700px) {
  .dls-top-header-managed:has(.dls-account-button-group) .dls-header-row {
    grid-template-columns: minmax(250px, 1fr) minmax(420px, max-content) !important;
    grid-template-areas: "brand account" "nav nav" !important;
    column-gap: clamp(1.25rem, 2vw, 2rem) !important;
    row-gap: 0.7rem !important;
  }
  .dls-top-header-managed:has(.dls-account-button-group) .dls-main-nav-cluster {
    max-width: 100% !important;
  }
  .dls-top-header-managed:has(.dls-account-button-group) .dls-top-nav-strip {
    justify-content: center !important;
    gap: clamp(1.25rem, 2vw, 2.25rem) !important;
  }
  .dls-top-header-managed:has(.dls-account-button-group) .dls-account-cluster {
    max-width: min(100%, 720px) !important;
  }
}

@media (max-width: 1180px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(220px, 1fr) minmax(380px, max-content) !important;
    grid-template-areas: "brand account" "nav nav" !important;
    column-gap: 1rem !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster {
    max-width: 100% !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    justify-content: center !important;
    gap: clamp(1rem, 2.4vw, 1.8rem) !important;
  }
  .dls-top-header-managed .dls-profile-name-cluster {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .dls-top-header-managed .dls-header-frame,
  .dls-top-header-managed .dls-header-row {
    max-width: calc(100vw - 24px) !important;
  }
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: 1fr !important;
    grid-template-areas: "brand" "nav" "account" !important;
  }
  .dls-top-header-managed .dls-brand-cluster,
  .dls-top-header-managed .dls-account-cluster {
    justify-self: center !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    flex-wrap: wrap !important;
  }
}

/* Full Figma-style nav restore: keep all top tabs visible, with responsive spacing. */
.dls-top-header-managed .dls-header-row {
  grid-template-columns: minmax(260px, 0.58fr) minmax(840px, 1.55fr) minmax(300px, 0.62fr) !important;
  column-gap: clamp(1rem, 1.45vw, 2rem) !important;
}

.dls-top-header-managed .dls-main-nav-cluster {
  max-width: none !important;
}

.dls-top-header-managed .dls-top-nav-strip {
  gap: clamp(0.75rem, 1vw, 1.35rem) !important;
}

.dls-top-header-managed .dls-top-nav-strip button,
.dls-top-header-managed .dls-top-nav-strip a,
.dls-top-header-managed .dls-top-nav-strip [role="button"],
.dls-top-header-managed .dls-header-more-button {
  font-size: clamp(0.88rem, 0.96vw, 1.12rem) !important;
  letter-spacing: 0 !important;
  padding-inline: clamp(0.08rem, 0.22vw, 0.22rem) !important;
}

.dls-top-header-managed .dls-header-more {
  min-width: max-content !important;
}

@media (max-width: 1900px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(240px, 0.55fr) minmax(760px, 1.5fr) minmax(285px, 0.58fr) !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    gap: clamp(0.48rem, 0.78vw, 0.95rem) !important;
  }
  .dls-top-header-managed .dls-top-nav-strip button,
  .dls-top-header-managed .dls-top-nav-strip a,
  .dls-top-header-managed .dls-top-nav-strip [role="button"],
  .dls-top-header-managed .dls-header-more-button {
    font-size: clamp(0.78rem, 0.86vw, 0.98rem) !important;
  }
}

@media (max-width: 1680px) {
  .dls-top-header-managed .dls-header-row {
    grid-template-columns: minmax(230px, 1fr) minmax(360px, max-content) !important;
    grid-template-areas: "brand account" "nav nav" !important;
    row-gap: 0.7rem !important;
  }
  .dls-top-header-managed .dls-brand-cluster {
    grid-area: brand !important;
  }
  .dls-top-header-managed .dls-main-nav-cluster {
    grid-area: nav !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .dls-top-header-managed .dls-account-cluster {
    grid-area: account !important;
  }
  .dls-top-header-managed .dls-top-nav-strip {
    justify-content: center !important;
    gap: clamp(0.72rem, 1.45vw, 1.45rem) !important;
  }
  .dls-top-header-managed .dls-top-nav-strip button,
  .dls-top-header-managed .dls-top-nav-strip a,
  .dls-top-header-managed .dls-top-nav-strip [role="button"],
  .dls-top-header-managed .dls-header-more-button {
    font-size: clamp(0.9rem, 1.22vw, 1.1rem) !important;
  }
}

@media (max-width: 980px) {
  .dls-top-header-managed .dls-top-nav-strip {
    flex-wrap: wrap !important;
    gap: 0.65rem 1rem !important;
  }
}

.dls-top-header-managed:has(.dls-account-button-group) .dls-header-row {
  grid-template-columns: minmax(260px, 1fr) minmax(420px, max-content) !important;
  grid-template-areas: "brand account" "nav nav" !important;
  row-gap: 0.7rem !important;
}

.dls-top-header-managed:has(.dls-account-button-group) .dls-main-nav-cluster {
  grid-area: nav !important;
  width: 100% !important;
  max-width: 100% !important;
}

.dls-top-header-managed:has(.dls-account-button-group) .dls-top-nav-strip {
  justify-content: center !important;
  gap: clamp(0.8rem, 1.35vw, 1.65rem) !important;
}

.dls-header-standalone-page {
  position: relative;
  z-index: 35;
  min-height: calc(100vh - 96px);
  background: linear-gradient(180deg, #f7fffd 0%, #ffffff 82%);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.dls-header-standalone-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.dls-header-feature-page {
  margin-top: 1rem;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 32px;
  background: radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.14), transparent 32%), linear-gradient(135deg, #ffffff, #eefcff);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.dls-header-feature-page h1 {
  margin: 0.85rem 0 0.8rem !important;
  color: #07142b !important;
  font-size: clamp(2.6rem, 6vw, 5.6rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em !important;
}

.dls-header-feature-page p {
  max-width: 760px;
  color: #52617b !important;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem) !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
}

.dls-header-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.dls-header-feature-grid article {
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1.2rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.dls-header-feature-grid strong {
  display: block;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.2;
}

.dls-header-feature-grid span {
  display: block;
  margin-top: 0.55rem;
  color: #64748b;
  font-weight: 650;
  line-height: 1.45;
}

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