:root {
  --cc-ui-ink: #17152e;
  --cc-ui-muted: #74738a;
  --cc-ui-line: rgba(23, 21, 46, 0.11);
  --cc-ui-lilac: #e8e0ff;
  --cc-ui-lilac-soft: #f6f3ff;
  --cc-ui-mint: #c9f3df;
  --cc-ui-mint-soft: #effbf5;
  --cc-ui-butter: #fff0a8;
  --cc-ui-butter-soft: #fff9da;
  --cc-ui-coral: #ffd6cf;
  --cc-ui-sky: #dcecff;
  --cc-ui-blue: #4d5bff;
  --cc-ui-shadow: 0 24px 65px rgba(38, 38, 83, 0.16);
}

.cc-hero-app,
.cc-hero-app *,
.cc-phone-ui,
.cc-phone-ui *,
.cc-product-window,
.cc-product-window * {
  box-sizing: border-box;
}

.cc-hero-app button,
.cc-phone-ui button,
.cc-product-window button {
  border: 0;
  color: inherit;
  font: inherit;
}

.cc-hero-app {
  display: grid;
  min-height: 492px;
  grid-template-columns: 58px minmax(0, 1fr);
  color: var(--cc-ui-ink);
  background: #fff;
  font-family: var(--body);
}

.cc-ui-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  padding: 13px 8px;
  border-right: 1px solid var(--cc-ui-line);
  background: #fff;
}

.cc-ui-rail > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: #8b899a;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cc-ui-rail > span.is-active {
  color: #3e4edf;
  background: #edf0ff;
}

.cc-ui-rail > i {
  flex: 1;
}

.cc-ui-rail .cc-ui-rail__brand {
  margin-bottom: 4px;
  border: 1px solid var(--cc-ui-ink);
  border-radius: 9px 3px 9px 9px;
  color: #fff;
  background: var(--cc-ui-ink);
  font-family: var(--display);
  font-size: 15px;
}

.cc-hero-app__workspace {
  min-width: 0;
  padding: 16px 16px 13px;
}

.cc-hero-app__header,
.cc-hero-app__title,
.cc-product-window__heading,
.cc-product-window__top,
.cc-lms-toolbar,
.cc-exam-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-hero-app__header > div:first-child,
.cc-product-window__heading > div {
  display: grid;
  gap: 2px;
}

.cc-hero-app__header strong {
  font-size: 13px;
}

.cc-hero-app__header span {
  color: var(--cc-ui-muted);
  font-size: 7px;
}

.cc-ui-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-ui-header-actions > span {
  width: 23px;
  height: 23px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 7px;
  background: #fff;
}

.cc-ui-header-actions > b,
.cc-product-window__top > b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #2f3e8d;
  background: #e5e9ff;
  font-size: 7px;
}

.cc-hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-hero-tabs button {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  color: var(--cc-ui-muted);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.cc-hero-tabs button > i {
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.cc-hero-tabs button[aria-pressed="true"] {
  border-color: var(--cc-ui-blue);
  color: var(--cc-ui-blue);
  background: #f5f6ff;
}

.cc-hero-app__title {
  margin-top: 12px;
}

.cc-hero-app__title strong {
  font-size: 10px;
}

.cc-hero-app__title span {
  color: var(--cc-ui-muted);
  font-size: 6px;
}

.cc-hero-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.cc-hero-summary article {
  position: relative;
  min-width: 0;
  min-height: 128px;
  padding: 10px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 11px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cc-hero-summary article.is-active {
  border-color: rgba(77, 91, 255, 0.42);
  box-shadow: 0 10px 24px rgba(77, 91, 255, 0.11);
  transform: translateY(-2px);
}

.cc-hero-summary article > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-hero-summary article > div b {
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-ui-icon {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  font-size: 7px;
  font-weight: 800;
}

.cc-ui-icon--mint { color: #197257; background: var(--cc-ui-mint); }
.cc-ui-icon--lilac { color: #6042c4; background: var(--cc-ui-lilac); }
.cc-ui-icon--sky { color: #315fb3; background: var(--cc-ui-sky); }
.cc-ui-icon--butter { color: #9a6b00; background: var(--cc-ui-butter); }

.cc-hero-summary article > small {
  display: block;
  margin-top: 11px;
  color: var(--cc-ui-muted);
  font-size: 6px;
}

.cc-hero-summary article > strong {
  display: inline-block;
  margin-top: 2px;
  font-size: 15px;
}

.cc-status {
  display: inline-flex;
  width: fit-content;
  padding: 3px 5px;
  border-radius: 99px;
  color: #68677b;
  background: #f0f1f5;
  font-size: 5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.cc-status--good {
  color: #197257;
  background: #e4f7ed;
}

.cc-status--review {
  color: #966715;
  background: #fff3c9;
}

.cc-status--info {
  color: #345eb4;
  background: #e5efff;
}

.cc-status--alert {
  color: #a8463b;
  background: #ffe4df;
}

.cc-hero-summary article > .cc-status {
  position: absolute;
  top: 70px;
  right: 9px;
}

.cc-hero-summary__foot {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid var(--cc-ui-line);
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-hero-summary__foot i {
  color: var(--cc-ui-blue);
  font-size: 8px;
  font-style: normal;
}

.cc-hero-app__lower {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 8px;
  margin-top: 8px;
}

.cc-hero-timeline,
.cc-hero-student {
  min-height: 144px;
  padding: 10px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 11px;
  background: #fff;
}

.cc-hero-timeline > header,
.cc-hero-student > header,
.cc-ui-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-hero-timeline > header strong,
.cc-hero-student > header strong,
.cc-ui-panel > header strong {
  font-size: 7px;
}

.cc-hero-timeline > header span,
.cc-hero-student > header span,
.cc-ui-panel > header span {
  color: var(--cc-ui-blue);
  font-size: 5px;
}

.cc-hero-timeline > article {
  display: grid;
  min-height: 34px;
  grid-template-columns: 7px 31px 1fr auto;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-hero-timeline > article:last-child {
  border-bottom: 0;
}

.cc-hero-timeline > article > i {
  width: 6px;
  height: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8db1ff;
  box-shadow: 0 0 0 1px #8db1ff;
}

.cc-hero-timeline > article.is-active {
  margin: 4px -3px 0;
  padding-inline: 3px;
  border-radius: 7px;
  background: #f4f6ff;
}

.cc-hero-timeline time {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-hero-timeline article > div {
  display: grid;
  gap: 1px;
}

.cc-hero-timeline article > div b,
.cc-hero-timeline article > strong {
  font-size: 6px;
}

.cc-hero-timeline article > div span {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-hero-student .cc-ui-person {
  margin-top: 10px;
}

.cc-ui-person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.cc-ui-person > i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #32596a;
  background: var(--cc-ui-mint);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.cc-ui-person > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.cc-ui-person b {
  overflow: hidden;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-ui-person small {
  overflow: hidden;
  color: var(--cc-ui-muted);
  font-size: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-hero-student > .cc-status {
  margin-top: 7px;
}

.cc-hero-student ul {
  display: grid;
  gap: 3px;
  margin: 7px 0 0;
  padding: 0 0 0 12px;
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-hero-student button,
.cc-phone-ui button,
.cc-sis-drawer button {
  display: flex;
  width: 100%;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 9px;
  border-radius: 7px;
  color: #fff;
  background: var(--cc-ui-blue);
  cursor: pointer;
  font-size: 6px;
  font-weight: 700;
}

/* Code-native student mobile record */
.cc-phone-ui {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 34px;
  color: var(--cc-ui-ink);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 21, 46, 0.1);
  font-family: var(--body);
}

.cc-phone-ui__speaker {
  width: 54px;
  height: 4px;
  margin: 8px auto 3px;
  border-radius: 99px;
  background: rgba(23, 21, 46, 0.18);
}

.cc-phone-ui > header {
  display: grid;
  min-height: 35px;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  padding-inline: 11px;
  font-size: 8px;
  text-align: center;
}

.cc-phone-ui > header > span {
  font-size: 17px;
  text-align: left;
}

.cc-phone-ui > header > i {
  width: 3px;
  height: 3px;
  justify-self: end;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 -5px currentColor, 0 5px currentColor;
}

.cc-phone-ui__identity {
  display: grid;
  min-height: 118px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 11px;
  padding: 20px 14px 14px;
  color: #fff;
  background: #264eb0;
}

.cc-phone-ui__identity > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: #7562dc;
  font-family: var(--display);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.cc-phone-ui__identity > div {
  display: grid;
  gap: 2px;
}

.cc-phone-ui__identity strong {
  font-size: 12px;
}

.cc-phone-ui__identity small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.cc-phone-ui__identity em {
  width: fit-content;
  margin-top: 3px;
  padding: 3px 6px;
  border-radius: 99px;
  color: #176c52;
  background: var(--cc-ui-mint);
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.cc-phone-ui > p {
  margin: -28px 14px 0 73px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 7px;
  line-height: 1.35;
}

.cc-phone-ui > nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-phone-ui > nav span {
  padding: 11px 2px 8px;
  color: var(--cc-ui-muted);
  font-size: 6px;
  text-align: center;
}

.cc-phone-ui > nav .is-active {
  border-bottom: 2px solid var(--cc-ui-blue);
  color: var(--cc-ui-blue);
  font-weight: 700;
}

.cc-phone-ui dl {
  margin: 7px 11px 0;
}

.cc-phone-ui dl > div {
  display: grid;
  min-height: 41px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-phone-ui dt {
  color: var(--cc-ui-muted);
  font-size: 7px;
}

.cc-phone-ui dd {
  margin: 0;
  font-size: 7px;
  font-weight: 700;
}

.cc-phone-ui button {
  width: calc(100% - 22px);
  min-height: 35px;
  margin: 13px 11px 0;
  font-size: 7px;
}

.cc-phone-ui__dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 39px;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  border-top: 1px solid var(--cc-ui-line);
  background: #fff;
}

.cc-phone-ui__dock i {
  width: 11px;
  height: 11px;
  border: 2px solid #a4a2b1;
  border-radius: 4px;
}

.cc-phone-ui__dock i:first-child {
  border-color: var(--cc-ui-blue);
  background: #eef0ff;
}

/* Shared realistic product windows */
.cc-product-window {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -44px;
  width: 820px;
  height: 575px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 27px 9px 27px 27px;
  color: var(--cc-ui-ink);
  background: #fff;
  box-shadow: var(--cc-ui-shadow);
  font-family: var(--body);
  transform: rotate(-1deg);
}

.cc-product-window--sis {
  transform: rotate(0.7deg);
}

.cc-product-window--lms {
  transform: rotate(1deg);
}

.cc-product-window--exam {
  transform: rotate(-0.6deg);
}

.cc-product-window__top {
  height: 42px;
  gap: 7px;
  padding: 0 13px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-product-window__logo {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--cc-ui-ink);
  border-radius: 7px 2px 7px 7px;
  color: #fff;
  background: var(--cc-ui-ink);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.cc-product-window__top > strong {
  font-size: 10px;
}

.cc-product-window__top > i {
  flex: 1;
}

.cc-product-window__body {
  display: grid;
  height: calc(100% - 42px);
  grid-template-columns: 54px minmax(0, 1fr);
}

.cc-product-window__rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  padding: 15px 8px 10px;
  border-right: 1px solid var(--cc-ui-line);
}

.cc-product-window__rail > span {
  display: block;
  width: 24px;
  height: 24px;
  border: 6px solid #e5e8f2;
  border-radius: 8px;
}

.cc-product-window__rail > span.is-active {
  border-color: #7c70ea;
  background: #f1efff;
}

.cc-product-window--erp .cc-product-window__rail > span.is-active {
  border-color: #f1c84c;
  background: var(--cc-ui-butter-soft);
}

.cc-product-window--sis .cc-product-window__rail > span.is-active {
  border-color: #54bf90;
  background: var(--cc-ui-mint-soft);
}

.cc-product-window--exam .cc-product-window__rail > span.is-active {
  border-color: #72a7f5;
  background: #eff6ff;
}

.cc-product-window__rail > i {
  flex: 1;
}

.cc-product-window__rail > b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e7eaff;
  font-size: 7px;
}

.cc-product-window__content {
  min-width: 0;
  padding: 19px 19px 16px;
  background: #fbfcff;
}

.cc-product-window__heading strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.cc-product-window__heading span {
  color: var(--cc-ui-muted);
  font-size: 7px;
}

.cc-product-window__heading > em,
.cc-product-window__heading > div + em {
  padding: 6px 9px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 8px;
  background: #fff;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.cc-ui-panel {
  border: 1px solid var(--cc-ui-line);
  border-radius: 12px;
  background: #fff;
}

/* ERP */
.cc-erp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.cc-erp-metrics article {
  position: relative;
  min-height: 85px;
  padding: 11px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 11px;
  background: #fff;
}

.cc-erp-metrics article > small {
  margin-left: 6px;
  font-size: 7px;
  font-weight: 700;
}

.cc-erp-metrics article > strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.cc-erp-metrics article > .cc-status {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.cc-erp-programmes {
  margin-top: 9px;
  padding: 11px 13px 12px;
}

.cc-erp-programmes > div,
.cc-erp-ageing > div {
  display: grid;
  min-height: 28px;
  grid-template-columns: 112px 1fr 62px;
  align-items: center;
  gap: 10px;
  font-size: 6px;
}

.cc-erp-programmes > div > b {
  font-weight: 600;
}

.cc-erp-programmes > div > i,
.cc-erp-ageing > div > i {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #eef0f5;
}

.cc-erp-programmes > div > i em,
.cc-erp-ageing > div > i em {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: #d1b3ef;
}

.cc-erp-programmes > div:nth-of-type(2) > i em { background: #f5b3ad; }
.cc-erp-programmes > div:nth-of-type(3) > i em { background: #a8dec9; }
.cc-erp-programmes > div:nth-of-type(4) > i em { background: #f7d66d; }

.cc-erp-programmes > div > strong {
  text-align: right;
}

.cc-erp-lower {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 9px;
  margin-top: 9px;
}

.cc-erp-ageing,
.cc-erp-actions {
  min-height: 127px;
  padding: 11px 12px;
}

.cc-erp-ageing > div {
  min-height: 29px;
  grid-template-columns: 57px 1fr 25px;
}

.cc-erp-ageing > div:nth-of-type(1) > i em { background: #55bf90; }
.cc-erp-ageing > div:nth-of-type(2) > i em { background: #f0c94d; }
.cc-erp-ageing > div:nth-of-type(3) > i em { background: #fb8376; }

.cc-erp-actions > .cc-ui-person {
  min-height: 48px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-erp-actions > .cc-ui-person:last-child {
  border-bottom: 0;
}

.cc-erp-actions button {
  margin-left: auto;
  padding: 5px 7px;
  border: 1px solid #9db0ff;
  border-radius: 6px;
  color: #3d58d7;
  background: #fff;
  font-size: 5px;
  font-weight: 700;
}

/* SIS */
.cc-ui-section-tabs {
  display: flex;
  gap: 28px;
  margin-top: 12px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-ui-section-tabs span {
  padding: 0 0 8px;
  color: var(--cc-ui-muted);
  font-size: 7px;
}

.cc-ui-section-tabs span.is-active {
  border-bottom: 2px solid #38aa7d;
  color: #178261;
  font-weight: 700;
}

.cc-sis-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.cc-sis-pipeline span {
  display: grid;
  min-height: 52px;
  align-content: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--cc-ui-mint-soft);
}

.cc-sis-pipeline span:nth-child(2) { background: var(--cc-ui-lilac-soft); }
.cc-sis-pipeline span:nth-child(3) { background: var(--cc-ui-butter-soft); }
.cc-sis-pipeline span:nth-child(4) { background: #eff6ff; }

.cc-sis-pipeline b {
  font-size: 6px;
}

.cc-sis-pipeline em {
  color: var(--cc-ui-muted);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.cc-sis-table {
  position: absolute;
  right: 182px;
  bottom: 16px;
  left: 73px;
  min-height: 270px;
  overflow: hidden;
}

.cc-sis-table > header {
  min-height: 45px;
  padding: 0 12px;
}

.cc-sis-table > header span {
  width: 118px;
  padding: 7px 9px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 7px;
  color: var(--cc-ui-muted);
  background: #fff;
  font-size: 6px;
}

.cc-ui-table-head {
  display: grid;
  min-height: 31px;
  align-items: center;
  padding-inline: 12px;
  color: var(--cc-ui-muted);
  background: #f7f8fb;
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.cc-sis-table .cc-ui-table-head,
.cc-sis-table > article {
  grid-template-columns: 1.35fr 0.75fr 0.65fr 0.9fr;
  gap: 7px;
}

.cc-sis-table > article {
  display: grid;
  min-height: 57px;
  align-items: center;
  padding-inline: 12px;
  border-top: 1px solid var(--cc-ui-line);
  font-size: 6px;
}

.cc-sis-table > article.is-selected {
  background: var(--cc-ui-mint-soft);
}

.cc-sis-table time {
  color: var(--cc-ui-muted);
  font-size: 6px;
}

.cc-sis-drawer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 184px;
  min-height: 325px;
  padding: 15px;
  border-left: 1px solid var(--cc-ui-line);
  background: #fff;
  box-shadow: -18px 0 35px rgba(35, 35, 70, 0.08);
}

.cc-sis-drawer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-sis-drawer dl {
  margin: 15px 0 0;
}

.cc-sis-drawer dl > div {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--cc-ui-line);
}

.cc-sis-drawer dt {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-sis-drawer dd {
  margin: 0;
  font-size: 6px;
  font-weight: 700;
}

.cc-sis-drawer dd > i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #53bf8f;
}

.cc-sis-drawer button {
  position: absolute;
  right: 15px;
  bottom: 14px;
  left: 15px;
  width: auto;
}

/* LMS */
.cc-lms-toolbar,
.cc-exam-toolbar {
  min-height: 44px;
  margin: -19px -19px 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--cc-ui-line);
  background: #fff;
}

.cc-lms-toolbar > strong,
.cc-exam-toolbar > strong {
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--cc-ui-lilac-soft);
  font-size: 7px;
}

.cc-lms-toolbar nav,
.cc-exam-toolbar nav {
  display: flex;
  height: 44px;
  align-items: stretch;
  gap: 19px;
}

.cc-lms-toolbar nav span,
.cc-exam-toolbar nav span {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--cc-ui-muted);
  font-size: 6px;
}

.cc-lms-toolbar nav span.is-active {
  border-color: #775ee2;
  color: #6342d0;
  font-weight: 700;
}

.cc-lms-layout {
  display: grid;
  height: 468px;
  grid-template-columns: 135px minmax(0, 1fr) 130px;
  gap: 9px;
  padding-top: 11px;
}

.cc-lms-outline {
  padding: 12px;
}

.cc-lms-outline ol {
  position: relative;
  display: grid;
  gap: 3px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.cc-lms-outline ol::before {
  position: absolute;
  top: 19px;
  bottom: 20px;
  left: 14px;
  width: 1px;
  background: #d7d2e8;
  content: "";
}

.cc-lms-outline li {
  position: relative;
  display: grid;
  min-height: 62px;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 7px;
  padding: 7px 3px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.cc-lms-outline li.is-active {
  border-color: #c9bcf7;
  background: var(--cc-ui-lilac-soft);
}

.cc-lms-outline li > i {
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #8b75e8;
  border-radius: 50%;
  color: #6342d0;
  background: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.cc-lms-outline li.is-active > i {
  color: #fff;
  background: #765be6;
}

.cc-lms-outline li > span {
  display: grid;
  gap: 2px;
}

.cc-lms-outline li b {
  font-size: 6px;
}

.cc-lms-outline li small {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-lms-plan {
  padding: 15px;
}

.cc-lms-plan > header {
  align-items: flex-start;
  min-height: 88px;
}

.cc-lms-plan > header > div {
  max-width: 290px;
}

.cc-lms-plan > header strong {
  font-size: 15px;
}

.cc-lms-plan > header p {
  margin: 8px 0 0;
  color: var(--cc-ui-muted);
  font-size: 6px;
  line-height: 1.45;
}

.cc-lms-plan > header button,
.cc-exam-table > header button {
  padding: 6px 9px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 7px;
  background: #fff;
  font-size: 6px;
  font-weight: 700;
}

.cc-lms-plan h4 {
  margin: 9px 0 5px;
  font-size: 8px;
}

.cc-lms-plan > article {
  display: grid;
  min-height: 67px;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--cc-ui-line);
}

.cc-lms-plan > article > div {
  display: grid;
  gap: 2px;
}

.cc-lms-plan > article b {
  font-size: 7px;
}

.cc-lms-plan > article small,
.cc-lms-plan > article time {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-lms-generate {
  display: grid;
  width: 100%;
  gap: 3px;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #9d82ef !important;
  border-radius: 9px;
  color: #5e3cc9 !important;
  background: var(--cc-ui-lilac-soft);
  cursor: pointer;
  text-align: left;
}

.cc-lms-generate span {
  font-size: 5px;
  text-transform: uppercase;
}

.cc-lms-generate strong {
  font-size: 7px;
}

.cc-lms-context {
  display: grid;
  align-content: start;
  gap: 9px;
}

.cc-lms-progress,
.cc-lms-resources {
  padding: 12px;
}

.cc-lms-progress {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cc-lms-progress > strong {
  font-family: var(--display);
  font-size: 28px;
}

.cc-lms-progress > strong span {
  color: var(--cc-ui-muted);
  font-size: 13px;
}

.cc-lms-progress > small {
  color: var(--cc-ui-muted);
  font-size: 6px;
}

.cc-lms-progress > i {
  width: 100%;
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #eceaf4;
}

.cc-lms-progress > i em {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: #57c89a;
}

.cc-lms-resources {
  min-height: 180px;
}

.cc-lms-resources > div {
  display: grid;
  min-height: 58px;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--cc-ui-line);
}

.cc-lms-resources > div > i {
  display: grid;
  width: 24px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #ff6b72;
  font-size: 5px;
  font-style: normal;
  font-weight: 800;
}

.cc-lms-resources > div:nth-child(3) > i {
  background: #765be6;
}

.cc-lms-resources > div > span {
  display: grid;
  gap: 2px;
}

.cc-lms-resources b {
  font-size: 5px;
}

.cc-lms-resources small {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

/* Exams */
.cc-exam-toolbar > strong {
  background: #eef6ff;
}

.cc-exam-toolbar nav span.is-active {
  border-color: #4c8ce8;
  color: #2c70cf;
  font-weight: 700;
}

.cc-exam-layout {
  display: grid;
  height: 468px;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 9px;
  padding-top: 11px;
}

.cc-exam-courses {
  padding: 12px 0;
}

.cc-exam-courses > header {
  padding: 0 11px 9px;
}

.cc-exam-courses > header span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #2d69b5;
  background: var(--cc-ui-sky);
}

.cc-exam-courses article {
  display: grid;
  gap: 3px;
  min-height: 65px;
  align-content: center;
  padding: 0 12px;
  border-top: 1px solid var(--cc-ui-line);
}

.cc-exam-courses article.is-active {
  border-left: 3px solid #4b8ee9;
  background: #eff6ff;
}

.cc-exam-courses article b {
  font-size: 7px;
}

.cc-exam-courses article small {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-exam-main {
  display: grid;
  align-content: start;
  gap: 9px;
}

.cc-exam-table {
  min-height: 302px;
  overflow: hidden;
}

.cc-exam-table > header {
  min-height: 48px;
  padding: 0 12px;
}

.cc-exam-table .cc-ui-table-head,
.cc-exam-table > article {
  grid-template-columns: 1.55fr 0.9fr 0.55fr 0.55fr 0.8fr;
  gap: 7px;
}

.cc-exam-table > article {
  display: grid;
  min-height: 64px;
  align-items: center;
  padding: 0 12px;
  border-top: 1px solid var(--cc-ui-line);
  font-size: 6px;
}

.cc-exam-table > article > div {
  display: grid;
  gap: 2px;
}

.cc-exam-table > article small,
.cc-exam-table > article time {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-exam-readiness {
  min-height: 130px;
  padding: 11px;
}

.cc-exam-readiness > div {
  display: grid;
  grid-template-columns: repeat(3, 0.7fr) 1.2fr;
  gap: 7px;
  margin-top: 9px;
}

.cc-exam-readiness > div > span {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--cc-ui-line);
  border-radius: 8px;
}

.cc-exam-readiness small {
  color: var(--cc-ui-muted);
  font-size: 5px;
}

.cc-exam-readiness b {
  color: #3277d8;
  font-size: 10px;
}

.cc-exam-readiness b.is-alert {
  color: #e75f51;
}

.cc-exam-readiness button {
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid #5892e5;
  border-radius: 7px;
  color: #2f70cb;
  background: #fff;
  font-size: 5px;
  font-weight: 700;
}

.cc-exam-readiness button:first-of-type {
  grid-row: span 2;
  color: #fff;
  background: #397fdc;
}

/* Motion belongs to state changes, not decoration. */
.cc-hero-summary article.is-active,
.cc-product-window {
  will-change: transform;
}

@media (max-width: 1280px) {
  .cc-product-window {
    right: -105px;
    transform: scale(0.92) rotate(-1deg);
    transform-origin: center right;
  }

  .cc-product-window--sis { transform: scale(0.92) rotate(0.7deg); }
  .cc-product-window--lms { transform: scale(0.92) rotate(1deg); }
  .cc-product-window--exam { transform: scale(0.92) rotate(-0.6deg); }
}

@media (max-width: 1080px) {
  .cc-product-window {
    top: 24px;
    right: -90px;
    transform: scale(0.82) rotate(-1deg);
    transform-origin: center right;
  }

  .cc-product-window--sis { transform: scale(0.82) rotate(0.7deg); }
  .cc-product-window--lms { transform: scale(0.82) rotate(1deg); }
  .cc-product-window--exam { transform: scale(0.82) rotate(-0.6deg); }
}

@media (max-width: 820px) {
  .cc-product-window {
    top: 12px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) scale(0.78) rotate(-1deg);
    transform-origin: top center;
  }

  .cc-product-window--sis { transform: translateX(-50%) scale(0.78) rotate(0.7deg); }
  .cc-product-window--lms { transform: translateX(-50%) scale(0.78) rotate(1deg); }
  .cc-product-window--exam { transform: translateX(-50%) scale(0.78) rotate(-0.6deg); }
}

@media (max-width: 600px) {
  .cc-product-window {
    top: 10px;
    transform: translateX(-50%) scale(0.48) rotate(-1deg);
  }

  .cc-product-window--sis { transform: translateX(-50%) scale(0.48) rotate(0.7deg); }
  .cc-product-window--lms { transform: translateX(-50%) scale(0.48) rotate(1deg); }
  .cc-product-window--exam { transform: translateX(-50%) scale(0.48) rotate(-0.6deg); }

  .cc-phone-ui {
    min-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-hero-summary article {
    transition: none;
  }
}
