[data-cp-hidden="true"],
.cp-legacy-hidden {
  display: none !important;
}

.cp-root,
.cp-root *,
.cp-modal-layer,
.cp-modal-layer *,
.cp-user-mount,
.cp-user-mount *,
.cp-global-toast {
  box-sizing: border-box;
}

.cp-root {
  --cp-ink: #14213d;
  --cp-text: #26354f;
  --cp-muted: #6f7f98;
  --cp-line: #dbe3ef;
  --cp-soft: #f5f7fb;
  --cp-blue: #245eea;
  --cp-blue-dark: #1949bd;
  --cp-green: #159a68;
  --cp-amber: #b76b10;
  width: 100%;
  max-width: 1360px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--cp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.cp-root button,
.cp-root input,
.cp-root select,
.cp-root textarea {
  font: inherit;
  letter-spacing: 0;
}

.cp-root button,
.cp-root a {
  -webkit-tap-highlight-color: transparent;
}

.cp-hero,
.cp-editor-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  min-width: 0;
  margin-bottom: 0;
  padding: 28px 30px;
  border: 1px solid #203157;
  border-radius: 8px 8px 0 0;
  background: #101b35;
  color: #fff;
}

.cp-hero > div:first-child,
.cp-editor-head > div:first-child,
.cp-section-head > div:first-child {
  min-width: 0;
}

.cp-hero h1,
.cp-editor-head h1 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 720;
}

.cp-hero p,
.cp-editor-head p {
  max-width: 720px;
  margin: 0;
  color: #bec9dd;
  font-size: 14px;
  line-height: 1.55;
}

.cp-eyebrow {
  display: block;
  color: #5990ff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
}

.cp-hero .cp-eyebrow,
.cp-editor-head .cp-eyebrow {
  color: #8ab1ff;
}

.cp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  flex: 0 0 auto;
}

.cp-hero-stats > div {
  min-width: 92px;
  padding: 12px 14px;
  border: 1px solid #314365;
  border-radius: 6px;
  background: #162442;
}

.cp-hero-stats b,
.cp-hero-stats span {
  display: block;
}

.cp-hero-stats b {
  margin-bottom: 2px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.cp-hero-stats span {
  color: #aebbd1;
  font-size: 11px;
}

.cp-tabs {
  display: flex;
  gap: 2px;
  min-width: 0;
  margin-bottom: 14px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid var(--cp-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  scrollbar-width: thin;
}

.cp-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5c6c84;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.cp-tab:hover {
  background: #f1f4f9;
  color: var(--cp-ink);
}

.cp-tab.is-active {
  background: #eaf1ff;
  color: var(--cp-blue-dark);
}

.cp-section {
  min-width: 0;
  margin-bottom: 14px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--cp-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 49, 78, .04);
}

.cp-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  margin-bottom: 18px;
}

.cp-section-head h2 {
  margin: 3px 0 4px;
  color: var(--cp-ink);
  font-size: 20px;
  line-height: 1.25;
}

.cp-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.cp-actions,
.cp-editor-actions,
.cp-target-actions,
.cp-card-footer,
.cp-media-footer,
.cp-block-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-button,
.cp-quiet-button,
.cp-icon-button,
.cp-text-button,
.cp-upload-button,
.cp-block-add button,
.cp-outline-add button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.cp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.cp-button-primary {
  border-color: var(--cp-blue);
  background: var(--cp-blue);
  color: #fff;
}

.cp-button-primary:hover {
  border-color: var(--cp-blue-dark);
  background: var(--cp-blue-dark);
}

.cp-button-secondary {
  border-color: #cdd8e8;
  background: #fff;
  color: #31415d;
}

.cp-button-secondary:hover {
  border-color: #9eb3d2;
  background: #f8fafc;
}

.cp-button:disabled,
.cp-quiet-button:disabled,
.cp-icon-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.cp-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.cp-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #ccd7e6;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #1f2c43;
  font-size: 13px;
  line-height: 1.35;
}

.cp-input:focus,
.cp-rich-editor:focus {
  border-color: #6b98f5;
  box-shadow: 0 0 0 3px rgba(36, 94, 234, .11);
}

.cp-input:disabled {
  background: #eef2f7;
  color: #7f8ba0;
}

.cp-textarea {
  min-height: 84px;
  resize: vertical;
}

.cp-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 16px;
  padding: 11px;
  border: 1px solid #e1e7f0;
  border-radius: 7px;
  background: #f8fafc;
}

.cp-toolbar-count {
  color: #708099;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.cp-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  min-width: 0;
}

.cp-item-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  padding: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
}

.cp-item-card:hover {
  border-color: #a9bfdf;
  box-shadow: 0 8px 20px rgba(35, 58, 97, .07);
}

.cp-item-card.is-legacy {
  border-style: dashed;
  background: #fbfcfe;
}

.cp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.cp-card-top > div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cp-badge,
.cp-legacy-mark,
.cp-required,
.cp-target-state {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.cp-kind-course,
.cp-kind-demo {
  background: #e8f0ff;
  color: #1b55d2;
}

.cp-kind-page,
.cp-kind-document {
  background: #edf1f6;
  color: #52637c;
}

.cp-kind-test {
  background: #fff0d9;
  color: #8a510a;
}

.cp-status-published,
.cp-target-state.is-active {
  background: #e3f7ee;
  color: #08764e;
}

.cp-status-draft {
  background: #fff3d9;
  color: #8c5709;
}

.cp-status-archived,
.cp-target-state {
  background: #edf1f5;
  color: #67758a;
}

.cp-legacy-mark {
  background: #f1eafb;
  color: #6b4390;
}

.cp-required {
  background: #fff0e6;
  color: #a04f17;
}

.cp-item-card h3,
.cp-media-card h3,
.cp-user-card h3 {
  overflow-wrap: anywhere;
}

.cp-item-card h3 {
  margin: 15px 0 7px;
  color: var(--cp-ink);
  font-size: 17px;
  line-height: 1.25;
}

.cp-item-card > p {
  display: -webkit-box;
  min-height: 57px;
  margin: 0 0 13px;
  overflow: hidden;
  color: #67778f;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cp-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 14px;
}

.cp-card-meta span {
  min-width: 0;
  padding: 8px;
  border-radius: 5px;
  background: #f4f6f9;
  color: #77859a;
  font-size: 10px;
}

.cp-card-meta b {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #33435b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-card-progress {
  margin-top: auto;
}

.cp-card-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #77869b;
  font-size: 10px;
}

.cp-card-progress i,
.cp-analytics-list i,
.cp-user-progress i {
  display: block;
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eaf2;
}

.cp-card-progress em,
.cp-analytics-list em,
.cp-user-progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cp-green);
}

.cp-card-footer {
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}

.cp-link {
  color: #1f5fe2;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.cp-link:hover {
  text-decoration: underline;
}

.cp-quiet-button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid #d3ddea;
  border-radius: 5px;
  background: #fff;
  color: #42536d;
  font-size: 11px;
  font-weight: 700;
}

.cp-quiet-button:hover {
  border-color: #a7b8d0;
  background: #f7f9fc;
}

.cp-quiet-button.danger,
.cp-icon-button.danger {
  color: #bd3346;
}

.cp-empty,
.cp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 150px;
  padding: 24px;
  border: 1px dashed #cbd6e5;
  border-radius: 7px;
  background: #f8fafc;
  color: #78879d;
  text-align: center;
}

.cp-empty b {
  color: #304159;
}

.cp-empty span {
  max-width: 520px;
  font-size: 12px;
  line-height: 1.5;
}

.cp-wide {
  grid-column: 1 / -1;
}

.cp-loading {
  min-height: 360px;
}

.cp-loading > span {
  width: 26px;
  height: 26px;
  border: 3px solid #c9d6eb;
  border-top-color: var(--cp-blue);
  border-radius: 50%;
  animation: cp-spin .8s linear infinite;
}

@keyframes cp-spin {
  to { transform: rotate(360deg); }
}

.cp-media-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.cp-folder-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  background: #f8fafc;
}

.cp-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #4e5f77;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}

.cp-folder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.cp-folder-row .cp-folder {
  width: 100%;
}

.cp-folder-row .cp-folder > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-folder-actions {
  display: flex;
  gap: 2px;
}

.cp-folder-actions .cp-icon-button {
  width: 25px;
  height: 29px;
  border-color: transparent;
  background: transparent;
  font-size: 11px;
}

.cp-folder.is-active,
.cp-folder:hover {
  background: #e8effc;
  color: #174ebd;
}

.cp-folder b {
  flex: 0 0 auto;
  min-width: 22px;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.cp-media-main {
  min-width: 0;
}

.cp-media-main .cp-toolbar {
  grid-template-columns: minmax(180px, 1fr) 170px auto;
}

.cp-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cp-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.cp-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cp-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 9px;
  margin: -6px 0 14px;
}

.cp-upload-row span {
  color: #7c899c;
  font-size: 10px;
}

.cp-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 11px;
  min-width: 0;
}

.cp-media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  background: #fff;
}

.cp-media-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf2f8;
}

.cp-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-media-placeholder {
  display: grid;
  gap: 5px;
  place-items: center;
  color: #5d6f88;
}

.cp-media-placeholder b {
  font-size: 24px;
}

.cp-media-placeholder span {
  font-size: 10px;
}

.cp-media-info {
  min-width: 0;
  padding: 12px;
}

.cp-media-info h3 {
  margin: 0 0 3px;
  overflow: hidden;
  color: #25334a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-media-info > p {
  margin: 0;
  overflow: hidden;
  color: #8390a3;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 22px;
  margin-top: 9px;
}

.cp-tags span {
  padding: 4px 6px;
  border-radius: 999px;
  background: #eef3fb;
  color: #52709a;
  font-size: 9px;
}

.cp-media-footer {
  justify-content: space-between;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #edf1f6;
  color: #75839a;
  font-size: 10px;
}

.cp-icon-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d6dfeb;
  border-radius: 5px;
  background: #fff;
  color: #43536b;
  font-weight: 800;
}

.cp-icon-button:hover {
  border-color: #9fb1ca;
  background: #f5f8fc;
}

.cp-assignment-form,
.cp-editor-target-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(170px, .8fr) minmax(190px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  min-width: 0;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid #dce5f1;
  border-radius: 7px;
  background: #f7f9fc;
}

.cp-assignment-form label,
.cp-field {
  min-width: 0;
  color: #42536c;
  font-size: 11px;
  font-weight: 750;
}

.cp-assignment-form label > .cp-input,
.cp-field > .cp-input {
  margin-top: 5px;
}

.cp-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  color: #485973;
  font-size: 12px;
  font-weight: 650;
}

.cp-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--cp-blue);
}

.cp-target-list,
.cp-editor-targets {
  display: grid;
  gap: 8px;
}

.cp-target-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  background: #fff;
}

.cp-target-row > div:first-child {
  min-width: 0;
}

.cp-target-row b,
.cp-target-row span,
.cp-target-row small {
  display: block;
}

.cp-target-row b {
  overflow: hidden;
  color: #2a3951;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-target-row > div:first-child span,
.cp-target-row small {
  margin-top: 3px;
  color: #7a889c;
  font-size: 10px;
}

.cp-note,
.cp-editor-note {
  margin-top: 13px;
  padding: 11px 13px;
  border-left: 3px solid #d79a31;
  border-radius: 4px;
  background: #fff8e9;
  color: #66532e;
  font-size: 11px;
  line-height: 1.5;
}

.cp-editor-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-metric-grid,
.cp-dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 17px;
}

.cp-metric-grid > div,
.cp-dimension-grid > div {
  padding: 16px;
  border: 1px solid #dde5ef;
  border-radius: 7px;
  background: #f8fafc;
}

.cp-metric-grid b,
.cp-dimension-grid b,
.cp-metric-grid span,
.cp-dimension-grid span {
  display: block;
}

.cp-metric-grid b,
.cp-dimension-grid b {
  color: var(--cp-ink);
  font-size: 24px;
}

.cp-metric-grid span,
.cp-dimension-grid span {
  margin-top: 3px;
  color: #748399;
  font-size: 11px;
}

.cp-analytics-list {
  display: grid;
  gap: 8px;
}

.cp-analytics-list article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
}

.cp-analytics-list article > div:first-child b,
.cp-analytics-list article > div:first-child span {
  display: block;
}

.cp-analytics-list article > div:first-child b {
  color: #273750;
  font-size: 13px;
}

.cp-analytics-list article > div:first-child span {
  margin-top: 2px;
  color: #7b899d;
  font-size: 10px;
}

.cp-analytics-numbers {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #60718a;
  font-size: 11px;
}

.cp-analytics-numbers strong {
  color: var(--cp-green);
  font-size: 14px;
}

.cp-analytics-list i {
  grid-column: 1 / -1;
  margin: 0;
}

.cp-connection-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 18px;
  padding: 16px;
  overflow-x: auto;
  border-radius: 7px;
  background: #101b35;
}

.cp-connection-flow > div {
  min-width: 150px;
  padding: 12px;
  border: 1px solid #304263;
  border-radius: 6px;
  background: #162442;
}

.cp-connection-flow b,
.cp-connection-flow span {
  display: block;
}

.cp-connection-flow b {
  color: #fff;
  font-size: 13px;
}

.cp-connection-flow span {
  margin-top: 4px;
  color: #9facc2;
  font-size: 10px;
}

.cp-connection-flow > i {
  align-self: center;
  color: #7295d8;
  font-style: normal;
}

.cp-subheading {
  margin: 20px 0 10px;
  color: var(--cp-ink);
  font-size: 15px;
}

.cp-legacy-list {
  display: grid;
  gap: 7px;
}

.cp-legacy-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e0e6ef;
  border-radius: 6px;
}

.cp-legacy-list > div > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cp-legacy-list b {
  overflow: hidden;
  color: #2e3d54;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-legacy-list > div > span {
  color: #6f7e93;
  font-size: 11px;
}

.cp-back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #a9c4ff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.cp-editor-head {
  align-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
}

.cp-editor-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 480px;
}

.cp-dirty-indicator {
  flex: 1 0 100%;
  color: #9fadc3;
  font-size: 10px;
  text-align: right;
}

.cp-dirty-indicator.is-dirty {
  color: #ffd58b;
}

.cp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  min-width: 0;
}

.cp-field {
  display: block;
}

.cp-field > span,
.cp-field > small {
  display: block;
}

.cp-field > span {
  color: #40516a;
  font-size: 11px;
  font-weight: 760;
}

.cp-field > small {
  margin-top: 4px;
  color: #8592a5;
  font-size: 9px;
  line-height: 1.4;
}

.cp-span-2 {
  grid-column: 1 / -1;
}

.cp-check-box {
  align-self: end;
  padding: 0 11px;
  border: 1px solid #d9e2ed;
  border-radius: 6px;
  background: #f8fafc;
}

.cp-editor-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.cp-lesson-outline {
  align-self: start;
  min-width: 0;
  padding: 8px;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  background: #f7f9fc;
}

.cp-outline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 7px 10px;
}

.cp-outline-head b {
  color: #293a53;
  font-size: 13px;
}

.cp-outline-head span {
  color: #8491a4;
  font-size: 9px;
}

.cp-outline-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 1px 8px;
  width: 100%;
  min-width: 0;
  margin-bottom: 5px;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #53647d;
  cursor: pointer;
  text-align: left;
}

.cp-outline-item:hover {
  background: #edf2f9;
}

.cp-outline-item.is-active {
  border-color: #a8c1ef;
  background: #e8f0ff;
  color: #184db6;
}

.cp-outline-item > span {
  grid-row: 1 / 3;
  align-self: center;
  color: #6d9bf0;
  font-size: 16px;
  font-weight: 850;
}

.cp-outline-item b,
.cp-outline-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-outline-item b {
  font-size: 11px;
}

.cp-outline-item small {
  color: #8794a6;
  font-size: 9px;
}

.cp-outline-add {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dfe6ef;
}

.cp-outline-add button,
.cp-block-add button {
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #d2ddea;
  border-radius: 5px;
  background: #fff;
  color: #3f577a;
  font-size: 10px;
  font-weight: 700;
}

.cp-outline-add button:hover,
.cp-block-add button:hover {
  border-color: #91afe0;
  color: #174ebd;
}

.cp-lesson-main {
  min-width: 0;
}

.cp-lesson-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px;
  min-width: 0;
  margin-bottom: 11px;
  padding: 12px;
  border: 1px solid #dde5ef;
  border-radius: 7px;
  background: #f8fafc;
}

.cp-blocks {
  display: grid;
  gap: 10px;
}

.cp-block-editor {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  background: #fff;
}

.cp-block-editor[data-block-type="quiz"] {
  border-color: #d7c18b;
  background: #fffdf8;
}

.cp-block-head {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-bottom: 10px;
}

.cp-block-index {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 6px;
  background: #eaf1ff;
  color: #2058ce;
  font-size: 12px;
  font-weight: 850;
}

.cp-block-head b,
.cp-block-head small {
  display: block;
}

.cp-block-head b {
  color: #28384f;
  font-size: 12px;
}

.cp-block-head small {
  margin-top: 2px;
  color: #8a97a9;
  font-size: 9px;
}

.cp-block-title {
  margin-bottom: 8px;
}

.cp-block-content {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cp-rich-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid #dce4ef;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #f6f8fb;
}

.cp-rich-toolbar button {
  min-width: 30px;
  height: 29px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #425570;
  cursor: pointer;
  font-size: 10px;
}

.cp-rich-toolbar button:hover {
  background: #e6edf8;
}

.cp-rich-toolbar span {
  margin-left: auto;
  color: #8794a7;
  font-size: 9px;
}

.cp-rich-editor {
  min-height: 150px;
  padding: 13px;
  overflow-wrap: anywhere;
  border: 1px solid #dce4ef;
  border-radius: 0 0 6px 6px;
  outline: none;
  color: #26364d;
  font-size: 13px;
  line-height: 1.6;
}

.cp-block-add {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
  padding: 10px;
  border: 1px dashed #cbd7e7;
  border-radius: 7px;
  background: #f8fafc;
}

.cp-block-add > span {
  margin-right: 4px;
  color: #718097;
  font-size: 10px;
  font-weight: 750;
}

.cp-quiz-editor,
.cp-question {
  display: grid;
  gap: 8px;
}

.cp-question {
  padding: 10px;
  border: 1px solid #eadfbf;
  border-radius: 6px;
  background: #fff;
}

.cp-question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cp-question-head b {
  color: #513e1f;
  font-size: 11px;
}

.cp-answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cp-answer > input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cp-green);
}

.cp-text-button {
  justify-self: start;
  padding: 4px 0;
  background: transparent;
  color: #1f5fd5;
  font-size: 10px;
  font-weight: 750;
}

.cp-editor-target-form {
  grid-template-columns: 200px minmax(220px, 1fr) auto auto;
}

.cp-version-list {
  display: grid;
  gap: 7px;
}

.cp-version-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e0e6ee;
  border-radius: 6px;
}

.cp-version-list > div > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cp-version-list b {
  color: #2d3e56;
  font-size: 12px;
}

.cp-version-list span:not(.cp-badge),
.cp-version-list time {
  overflow: hidden;
  color: #7c899b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-toast,
.cp-global-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10020;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 15px;
  border: 1px solid #2d4167;
  border-radius: 7px;
  background: #101b35;
  color: #fff;
  box-shadow: 0 12px 30px rgba(12, 26, 55, .24);
  font-size: 12px;
  line-height: 1.45;
}

.cp-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 22px;
}

.cp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 39, .68);
}

.cp-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(940px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 18, 39, .35);
}

.cp-modal-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 17px;
  border-bottom: 1px solid #e0e6ef;
}

.cp-modal-panel > header h2 {
  margin: 0;
  overflow: hidden;
  color: #1d2c44;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-modal-body {
  min-width: 0;
  padding: 20px;
  overflow: auto;
}

.cp-kind-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cp-kind-choices button {
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #d9e2ee;
  border-radius: 7px;
  background: #fff;
  color: #2e3d55;
  cursor: pointer;
  text-align: left;
}

.cp-kind-choices button:hover {
  border-color: #7fa3e3;
  background: #f5f8ff;
}

.cp-kind-choices b,
.cp-kind-choices span {
  display: block;
}

.cp-kind-choices b {
  margin-bottom: 5px;
  color: #1c2d47;
  font-size: 14px;
}

.cp-kind-choices span {
  color: #718098;
  font-size: 11px;
  line-height: 1.45;
}

.cp-preview-document,
.cp-user-document {
  max-width: 760px;
  margin: 0 auto;
  color: #26364e;
  overflow-wrap: anywhere;
}

.cp-preview-document h1,
.cp-user-document h1 {
  margin: 0 0 8px;
  color: #16243b;
  font-size: 28px;
}

.cp-preview-document h2,
.cp-user-document h2 {
  margin: 25px 0 10px;
  color: #1d2f49;
  font-size: 19px;
}

.cp-preview-document p,
.cp-user-document p,
.cp-preview-document li,
.cp-user-document li {
  font-size: 14px;
  line-height: 1.65;
}

.cp-preview-document img,
.cp-user-document img,
.cp-preview-document video,
.cp-user-document video {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  margin: 12px auto;
  object-fit: contain;
}

.cp-preview-quiz {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid #ead9ac;
  border-radius: 6px;
  background: #fff9e9;
}

.cp-user-mount {
  width: 100%;
  min-width: 0;
  margin-top: 16px;
}

.cp-user-section {
  padding: 18px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fff;
}

.cp-user-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cp-user-heading h2 {
  margin: 3px 0 3px;
  color: #192941;
  font-size: 19px;
}

.cp-user-heading p {
  margin: 0;
  color: #718098;
  font-size: 11px;
}

.cp-user-heading > span {
  display: grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 999px;
  background: #e8f0ff;
  color: #1d56cd;
  font-size: 12px;
  font-weight: 800;
}

.cp-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 10px;
}

.cp-user-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 14px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.cp-user-card:hover {
  border-color: #8eace0;
  box-shadow: 0 8px 20px rgba(34, 57, 93, .08);
}

.cp-user-card > div:first-child {
  display: flex;
  gap: 6px;
}

.cp-user-card h3 {
  margin: 13px 0 6px;
  color: #1f2e46;
  font-size: 15px;
}

.cp-user-card > p {
  display: -webkit-box;
  margin: 0 0 13px;
  overflow: hidden;
  color: #6c7a90;
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cp-user-progress {
  margin-top: auto;
  color: #5e6f87;
  font-size: 10px;
}

.cp-user-loading,
.cp-user-note {
  padding: 14px;
  border-radius: 7px;
  background: #f2f5fa;
  color: #67778e;
  font-size: 11px;
  text-align: center;
}

.cp-user-document > header {
  padding-bottom: 16px;
  border-bottom: 1px solid #e1e7ef;
}

.cp-user-lesson {
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f4;
}

.cp-user-block {
  margin: 10px 0;
}

.cp-user-quiz fieldset {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #dde5ee;
  border-radius: 6px;
}

.cp-user-quiz legend {
  padding: 0 5px;
  color: #263750;
  font-size: 12px;
  font-weight: 750;
}

.cp-user-quiz fieldset label {
  display: block;
  padding: 5px 0;
  color: #4f6079;
  font-size: 12px;
}

.cp-quiz-result {
  margin-top: 9px;
  padding: 9px;
  border-radius: 5px;
  font-size: 11px;
}

.cp-quiz-result.is-success {
  background: #e4f7ef;
  color: #08754e;
}

.cp-quiz-result.is-error {
  background: #fff0ed;
  color: #a33a2d;
}

.cp-user-document footer {
  padding-top: 20px;
  text-align: right;
}

.cp-muted {
  color: #8491a4;
}

@media (max-width: 1100px) {
  .cp-hero,
  .cp-editor-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cp-editor-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .cp-dirty-indicator {
    text-align: left;
  }

  .cp-assignment-form {
    grid-template-columns: 1fr 1fr;
  }

  .cp-assignment-form .cp-button {
    justify-self: start;
  }

  .cp-editor-target-form {
    grid-template-columns: 1fr 1fr;
  }

  .cp-media-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .cp-root {
    padding-bottom: 28px;
  }

  .cp-hero,
  .cp-editor-head,
  .cp-section {
    padding: 18px;
  }

  .cp-hero-stats {
    width: 100%;
  }

  .cp-toolbar,
  .cp-media-main .cp-toolbar,
  .cp-upload-row,
  .cp-assignment-form,
  .cp-editor-target-form,
  .cp-form-grid,
  .cp-lesson-heading {
    grid-template-columns: 1fr;
  }

  .cp-span-2 {
    grid-column: auto;
  }

  .cp-media-layout,
  .cp-editor-workspace {
    grid-template-columns: 1fr;
  }

  .cp-folder-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .cp-folder-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cp-lesson-outline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;
  }

  .cp-outline-head,
  .cp-outline-add {
    grid-column: 1 / -1;
  }

  .cp-outline-item {
    margin: 0;
  }

  .cp-metric-grid,
  .cp-dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-target-row,
  .cp-version-list > div,
  .cp-legacy-list > div {
    grid-template-columns: 1fr;
  }

  .cp-target-actions {
    justify-content: flex-start;
  }

  .cp-analytics-list article {
    grid-template-columns: 1fr;
  }

  .cp-analytics-numbers {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .cp-hero,
  .cp-editor-head,
  .cp-section {
    padding: 14px;
  }

  .cp-hero h1,
  .cp-editor-head h1 {
    font-size: 25px;
  }

  .cp-hero-stats {
    grid-template-columns: 1fr;
  }

  .cp-hero-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .cp-section-head {
    flex-direction: column;
  }

  .cp-editor-actions,
  .cp-editor-actions .cp-button,
  .cp-actions,
  .cp-actions .cp-button {
    width: 100%;
  }

  .cp-editor-actions .cp-button,
  .cp-actions .cp-button {
    white-space: normal;
  }

  .cp-library-grid,
  .cp-media-grid,
  .cp-user-grid,
  .cp-metric-grid,
  .cp-dimension-grid {
    grid-template-columns: 1fr;
  }

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

  .cp-block-head {
    grid-template-columns: 35px minmax(0, 1fr);
  }

  .cp-block-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .cp-rich-toolbar span {
    flex: 1 0 100%;
    margin: 3px 3px 0;
  }

  .cp-block-add button {
    flex: 1 1 calc(50% - 6px);
  }

  .cp-modal-layer {
    padding: 8px;
  }

  .cp-modal-panel {
    max-height: calc(100vh - 16px);
  }

  .cp-modal-body {
    padding: 14px;
  }

  .cp-kind-choices {
    grid-template-columns: 1fr;
  }

  .cp-toast,
  .cp-global-toast {
    right: 16px;
    bottom: 16px;
  }
}
