@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750&display=swap");

:root {
  font-family:
    "Golos Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #203a36;
  background: #f2f6f3;
  font-size: 16px;
  font-synthesis: none;
  --primary: #176b61;
  --muted: #5f746e;
  --line: #dce5df;
  --nav: #143d3b;
  --nav-text: #e6f1ec;
  --coral: #f3b7a1;
  --coral-text: #583326;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #79afa4;
  outline-offset: 3px;
}
svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.9px;
  line-height: 1.2;
  font-weight: 650;
  margin-bottom: 10px;
}
h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.35px;
  line-height: 1.4;
}
h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
small,
.small-text {
  font-size: 13px;
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.danger-text {
  color: #bf3d28 !important;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.loading,
.error-page {
  padding: 80px;
  max-width: 800px;
  margin: auto;
}
.error-page .btn {
  margin-right: 12px;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 248px;
  background: var(--nav);
  color: var(--nav-text);
  --muted: #abc7be;
  --line: #365a54;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px;
  z-index: 20;
  overflow: auto;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #203a36;
  width: max-content;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand strong {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.sidebar .brand {
  margin-left: 12px;
}
.workspace-name {
  font-size: 13px;
  color: var(--muted);
  padding: 13px 12px 30px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #59776f;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
  min-height: 44px;
}
.nav-item:hover {
  background: #f7f9f9;
  text-decoration: none;
}
.nav-item.selected {
  color: var(--primary);
  background: #f4f8f7;
  font-weight: 550;
}
.nav-item svg {
  width: 19px;
  height: 19px;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 550;
  color: #8aa49d;
  padding: 25px 12px 12px;
}
.nav-count {
  margin-left: auto;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  padding: 0 5px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.profile-button {
  border: 0;
  border-top: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 18px 6px 0;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  color: inherit;
}
.profile-button > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.profile-button b {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-button small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.profile-button > svg {
  width: 17px;
  color: var(--muted);
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff5f3;
  color: #698c83;
  font-size: 13px;
  font-weight: 550;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.main-column {
  margin-left: 248px;
  width: calc(100% - 248px);
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-size: 13px;
  color: var(--muted);
  gap: 16px;
}
.topbar b {
  font-weight: 450;
  color: #38584f;
}
.divider {
  padding: 0 14px;
  color: #c6d6d2;
}
.top-user {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #507067;
}
.mobile-menu {
  display: none !important;
}
#main {
  padding: 38px 40px 52px;
  max-width: 1600px;
  margin: auto;
  outline: none;
}
.page-heading {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.eyebrow {
  font-size: 11px;
  color: #7ca096;
  letter-spacing: 1.4px;
  font-weight: 550;
  margin-bottom: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  min-height: 42px;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 3px #55968512;
}
.btn.secondary {
  background: #fff;
  border-color: #dfeae7;
  color: #456b61;
}
.btn.quiet {
  background: transparent;
  color: #568075;
  padding: 7px 10px;
  min-height: 34px;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.text-button {
  border: 0;
  background: none;
  padding: 12px;
  color: var(--primary);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 10px;
  border-radius: 7px;
  color: inherit;
}
.icon-button:hover {
  background: #f0f6f4;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: #fff;
}
.stat > span {
  font-size: 13px;
  color: var(--muted);
}
.stat > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}
.stat strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
}
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #f5f8f7;
  color: #7aad9f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-line h2 {
  margin: 0;
}
.section-line > a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-line > a svg {
  width: 16px;
}
.section-line > svg {
  color: #87a9a0;
}
.continue-panel,
.attention-panel {
  padding: 24px;
}
.continue-content {
  margin-top: 26px;
  background: #fafbfb;
  border: 1px solid #eff5f3;
  border-radius: 10px;
  padding: 24px;
}
.category-label {
  font-size: 11px;
  color: #65a896;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}
.continue-content h2 {
  font-size: 24px;
  max-width: 530px;
  margin-bottom: 10px;
}
.continue-content p {
  font-size: 14px;
  color: var(--muted);
  max-width: 530px;
  margin-bottom: 24px;
}
.continue-content .btn {
  margin-top: 24px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.progress-label strong,
.progress-label b {
  color: #488171;
}
.progress {
  height: 6px;
  border-radius: 10px;
  background: #ecf2f1;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width 0.2s;
}
.calm-state {
  text-align: center;
  padding: 35px 10px 25px;
}
.success-circle {
  width: 44px;
  height: 44px;
  background: #eff8f3;
  color: #45926d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.calm-state h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.calm-state p {
  font-size: 13px;
  color: var(--muted);
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fbfa;
  border-radius: 8px;
  padding: 14px;
  color: #688b82;
  font-size: 13px;
}
.review-summary b {
  margin-left: auto;
  color: #376256;
}
.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.attention-dot {
  width: 7px;
  height: 7px;
  background: #e38d57;
  border-radius: 50%;
  margin-top: 6px;
}
.attention-item b {
  font-size: 13px;
  font-weight: 500;
}
.attention-item small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.section-space {
  margin-top: 36px;
  margin-bottom: 20px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.course-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.course-card:hover {
  box-shadow: 0 7px 24px #2b4c430a;
  transform: translateY(-2px);
}
.course-cover {
  height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  position: relative;
  color: #22574c;
  background: #e0ede7;
}
.course-cover.green {
  background: #dcece5;
  color: #22574c;
}
.course-cover.orange {
  background: #f3b7a1;
  color: #583326;
}
.course-cover.purple {
  background: #f8ded3;
  color: #754a39;
}
.course-symbol {
  background: #ffffffa1;
  border: 1px solid #ffffffb8;
  border-radius: 13px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-symbol svg {
  width: 25px;
  height: 25px;
}
.cover-category {
  font-size: 12px;
  font-weight: 500;
  max-width: 65%;
}
.course-cover .badge {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 10px;
}
.course-card-body {
  padding: 22px;
}
.course-card h3 {
  margin: 0 0 10px;
  line-height: 1.5;
  min-height: 26px;
}
.course-card h3 a {
  color: #294940;
}
.course-card-body > p {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  margin-bottom: 18px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #7b9a92;
  font-size: 12px;
  margin-bottom: 20px;
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-meta svg {
  width: 15px;
  height: 15px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-top: 20px;
}
.text-link {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 500;
}
.text-link svg {
  width: 16px;
}
.span-all {
  grid-column: 1/-1;
}
.empty {
  text-align: center;
  padding: 46px 22px;
  max-width: 650px;
  margin: auto;
}
.empty > svg {
  width: 32px;
  height: 32px;
  color: #a4cac0;
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.empty p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #eef4f2;
  border-radius: 9px;
  padding: 4px;
  width: max-content;
}
.tab {
  border: 0;
  background: none;
  color: #6c9086;
  font-size: 13px;
  padding: 9px 13px;
  border-radius: 6px;
  min-height: 36px;
}
.tab.active {
  background: white;
  color: #4e8c7b;
  box-shadow: 0 1px 4px #2b4c430d;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: white;
  border-radius: 8px;
  color: #8ba9a1;
  width: 280px;
}
.search svg {
  width: 18px;
}
.search input {
  border: 0;
  background: none;
  padding: 11px 0;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  color: inherit;
  outline: none;
}
.result-count {
  font-size: 12px;
  color: var(--muted);
  margin: -5px 0 20px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th {
  font-size: 11px;
  letter-spacing: 0.3px;
  font-weight: 500;
  color: #7ea097;
  background: #fcfdfd;
  padding: 16px 22px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 19px 22px;
  border-bottom: 1px solid #eef4f2;
  line-height: 1.5;
}
tr:last-child td {
  border-bottom: 0;
}
td b {
  font-weight: 500;
}
td .person {
  min-width: 190px;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person b {
  font-size: 13px;
  display: block;
}
.person small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  background: #f2f6f5;
  color: #74988e;
  white-space: nowrap;
  font-size: 11px;
  border-radius: 5px;
  padding: 5px 8px;
  font-weight: 450;
}
.badge.green {
  background: #edf8f1;
  color: #37855a;
}
.badge.orange {
  background: #fff4e8;
  color: #b07831;
}
.badge.blue {
  background: #f4f8f7;
  color: #65a996;
}
.table-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.table-progress .progress {
  width: 90px;
}
.table-progress b {
  font-size: 12px;
  color: #75998f;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 26px;
  color: #9ab5ae;
  font-size: 11px;
}
.back-link {
  font-size: 13px;
  display: inline-block;
  margin-bottom: 22px;
  color: #72998e;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
}
.syllabus {
  align-self: start;
  position: sticky;
  top: 20px;
  overflow: hidden;
}
.syllabus-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.syllabus-head h2 {
  font-size: 16px;
}
.module-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #8ba9a1;
  padding: 21px 20px 8px;
  margin: 0;
}
.lesson-nav {
  display: flex;
  gap: 11px;
  padding: 16px 18px;
  color: #568075;
  border-left: 3px solid transparent;
}
.lesson-nav:hover {
  text-decoration: none;
  background: #fbfcfc;
}
.lesson-nav.active {
  background: #f5f8f7;
  color: #5a9f8d;
  border-color: #73b0a0;
}
.lesson-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e0ebe8;
  color: #80a99e;
  font-size: 11px;
  flex-shrink: 0;
}
.lesson-number.done {
  background: #e5f4eb;
  color: #419068;
  border-color: #d1eadb;
}
.lesson-nav b {
  font-size: 13px;
  display: block;
  font-weight: 500;
  line-height: 1.5;
}
.lesson-nav small {
  font-size: 11px;
  display: block;
  color: #90b0a7;
  margin-top: 5px;
}
.lesson-main {
  min-width: 0;
}
.lesson-content,
.notes-panel,
.discussion-panel {
  padding: 32px;
  margin-bottom: 22px;
}
.lesson-content > h2 {
  font-size: 27px;
  line-height: 1.35;
  margin: 22px 0;
}
.lesson-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lesson-top > .muted {
  font-size: 12px;
  margin-left: auto;
}
.prose {
  font-size: 16px;
  color: #52776d;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose p {
  line-height: 1.9;
  margin-bottom: 20px;
}
.lesson-action {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.video-player {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #1d332d;
  border-radius: 9px;
  margin-bottom: 25px;
}
.course-intro {
  padding: 32px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #567b71;
}
.field > span {
  font-weight: 450;
}
.field input,
.field textarea,
.field select,
textarea {
  width: 100%;
  border: 1px solid #e1ece9;
  border-radius: 7px;
  padding: 11px 13px;
  background: #fff;
  color: #32584e;
  line-height: 1.6;
  font-size: 14px;
  min-width: 0;
}
.field input:read-only {
  background: #f8fbfa;
}
.field textarea,
textarea {
  resize: vertical;
  min-height: 80px;
}
.field input:disabled,
.field textarea:disabled {
  background: #f8fafa;
  color: #7ea298;
}
.field input::placeholder,
textarea::placeholder {
  color: #a1bdb5;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-error {
  color: #bb3c30;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}
.form-error:empty {
  display: none;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 17px;
  font-weight: 600;
  padding: 25px 0 15px;
}
fieldset:disabled {
  opacity: 0.7;
}
.question {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.question h3 {
  font-size: 15px;
  font-weight: 500;
}
.answer-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #5c8278;
  cursor: pointer;
}
.answer-option:has(:checked) {
  border-color: #aed1c8;
  background: #f9fbfa;
  color: #508f7e;
}
.answer-option input {
  accent-color: var(--primary);
  margin-top: 4px;
}
.question + button {
  margin-top: 20px;
}
.lesson-content form > .muted {
  display: block;
  margin-top: 12px;
}
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #5f8178;
  line-height: 1.6;
  margin: 20px 0;
}
.checkbox-label input {
  accent-color: var(--primary);
  margin-top: 4px;
}
.notice {
  background: #f5f9f8;
  border: 1px solid #eaf1ef;
  color: #5ba28f;
  padding: 17px 19px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  margin: 18px 0;
}
.notice.success {
  background: #eff9f3;
  border-color: #dceee3;
  color: #488768;
}
.notice.warning {
  background: #fff7ed;
  border-color: #f9e9d3;
  color: #9b743e;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notes-panel h2,
.discussion-panel h2 {
  font-size: 18px;
}
.notes-panel > p {
  font-size: 13px;
}
.notes-panel .btn,
.discussion-panel .btn {
  margin-top: 13px;
}
.comment {
  display: flex;
  gap: 13px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.comment b {
  font-size: 13px;
  font-weight: 500;
}
.comment small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 12px;
}
.comment p {
  margin: 9px 0 0;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.discussion-panel form {
  margin-top: 20px;
}
.review-list {
  max-width: 950px;
  display: grid;
  gap: 22px;
}
.review-card {
  padding: 28px;
}
.review-card .eyebrow {
  margin-top: 28px;
}
.submission-text {
  padding: 22px;
  background: #fafbfb;
  border: 1px solid #ecf3f1;
  border-radius: 8px;
  font-size: 15px;
  color: #537a6f;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 20px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.settings-panel {
  padding: 28px;
}
.settings-panel h2 {
  margin-bottom: 26px;
}
.audit-panel {
  padding: 26px;
  margin-top: 24px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}
.editor-section {
  padding: 28px;
  margin-bottom: 24px;
}
.editor-section h2 {
  margin-bottom: 24px;
}
.publish-panel {
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.publish-panel .btn {
  width: 100%;
}
.small-text {
  color: var(--muted);
}
.lesson-editor {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 18px 0;
  overflow: hidden;
}
.lesson-editor summary {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  background: #fcfdfd;
  list-style: none;
}
.lesson-editor summary b {
  font-weight: 500;
  flex: 1;
}
.lesson-editor summary > .muted {
  font-size: 11px;
}
.lesson-editor fieldset {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.lesson-editor-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 20px;
}
.lesson-editor-actions .danger-text {
  margin-left: auto;
}
.question-editor {
  padding: 18px;
  background: #fbfcfc;
  border: 1px solid #ebf2f0;
  border-radius: 8px;
  margin: 16px 0;
}
.question-editor .field {
  margin-bottom: 12px;
}
.quiz-editor > .field {
  margin-top: 20px;
}
.attachment-field small {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.attachment-field .field {
  margin-bottom: 5px;
}
.certificate-card {
  padding: 28px;
}
.award-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f5f9f8;
  color: #82b9aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.award-icon svg {
  width: 30px;
  height: 30px;
}
.certificate-card .eyebrow {
  display: block;
}
.certificate-card h2 {
  font-size: 19px;
}
.certificate {
  max-width: 900px;
  margin: 30px auto;
  padding: 55px 65px;
  background: #fff;
  border: 1px solid #e5eeec;
  border-top: 8px solid var(--primary);
}
.certificate .brand {
  margin-bottom: 45px;
}
.certificate-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 50px;
}
.certificate h1 {
  font-size: 48px;
  margin-bottom: 35px;
}
.certificate > p {
  color: #94b5ac;
  font-size: 16px;
  margin-bottom: 12px;
}
.certificate h2 {
  font-size: 32px;
  font-weight: 550;
  margin: 0 0 28px;
}
.certificate h3 {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 55px;
}
.certificate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.certificate-footer small,
.certificate-footer b {
  display: block;
  margin-bottom: 7px;
}
.certificate-footer small {
  color: #8db0a7;
}
.certificate-footer b {
  font-size: 14px;
  font-weight: 500;
}
.certificate-footer svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}
.certificate-id {
  font-size: 10px;
  color: #a1bdb5;
  display: block;
  margin-top: 25px;
}
.auth-page {
  min-height: 100vh;
  background: #f9fbfa;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 20px;
}
.auth-page > .brand {
  margin-bottom: 45px;
}
#main.auth-card {
  padding: 38px !important;
  width: 440px;
  max-width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 40px #2a4c4304;
  margin: 0 auto !important;
}
.auth-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f4f8f7;
  color: var(--primary);
  margin-bottom: 22px;
}
.auth-card h1 {
  font-size: 27px;
}
.auth-card > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.auth-card form > .btn {
  width: 100%;
  margin-top: 4px;
}
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  font-size: 13px;
  margin-top: 22px;
}
.auth-foot {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #99b6ae;
  font-size: 11px;
}
.auth-foot svg {
  width: 14px;
  height: 14px;
}
.auth-bottom {
  margin-top: 30px;
  color: #a3bcb5;
  font-size: 12px;
}
dialog {
  width: 480px;
  max-width: calc(100% - 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  color: inherit;
  max-height: 90vh;
  box-shadow: 0 30px 90px #233f3730;
}
dialog::backdrop {
  background: #25423a55;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
  padding-right: 22px;
  margin-bottom: 20px;
}
dialog p {
  font-size: 14px;
}
dialog .modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: 0.2s;
  background: #2e5349;
  color: white;
  padding: 14px 22px;
  border-radius: 9px;
  z-index: 100;
  max-width: calc(100% - 30px);
  font-size: 14px;
  box-shadow: 0 5px 25px #233f3730;
  pointer-events: none;
}
#toast.visible {
  transform: translateX(-50%);
  opacity: 1;
}
#toast.error {
  background: #a34238;
}
/* Palette 03: petrol and coral. */
.sidebar .brand,
.sidebar .nav-item {
  color: var(--nav-text);
}
.sidebar .nav-label {
  color: var(--muted);
}
.sidebar .nav-item:hover {
  background: #234d47;
}
.sidebar .nav-item.selected {
  background: var(--coral);
  color: var(--coral-text);
}
.sidebar .profile-button {
  background: transparent;
}
.sidebar .avatar {
  background: #365a54;
  color: var(--nav-text);
}
.sidebar .nav-count {
  background: var(--coral);
  color: var(--coral-text);
}
.sidebar .nav-item.selected .nav-count {
  background: var(--nav);
  color: var(--nav-text);
}
.award-icon,
.auth-icon {
  background: var(--coral);
  color: var(--coral-text);
}

@media (min-width: 1650px) {
  #main {
    padding-top: 50px;
  }
  .course-cover {
    height: 135px;
  }
  .continue-content {
    padding: 30px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-column {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
  #main {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .stat {
    padding: 17px;
  }
  .stat > span {
    font-size: 12px;
  }
  .stats {
    gap: 12px;
  }
  .lesson-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .lesson-content {
    padding: 25px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .editor-section {
    padding: 22px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 205px;
  }
  .main-column {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .nav-item {
    font-size: 12px;
    gap: 8px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .btn {
    min-width: 130px;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    width: 100%;
    max-width: 400px;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .syllabus {
    position: static;
  }
  .lesson-nav {
    display: inline-flex;
    width: 49%;
    vertical-align: top;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .publish-panel {
    position: static;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .footer span {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    width: 248px;
    box-shadow: 10px 0 50px #25423a25;
  }
  .sidebar.open {
    transform: translateX(0);
    top: 62px;
  }
  .main-column {
    width: 100%;
    margin-left: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 25;
    font-size: 11px;
  }
  .topbar > span {
    flex: 1;
  }
  .topbar .divider {
    padding: 0 6px;
  }
  .topbar > span {
    font-size: 0;
  }
  .topbar > span b {
    font-size: 12px;
  }
  .topbar .divider {
    display: none;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .top-user > span:last-child {
    display: none;
  }
  #main {
    padding: 26px 18px 35px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading > .btn {
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 10px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -0.6px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px;
  }
  .stat > span {
    font-size: 11px;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat-icon {
    width: 33px;
    height: 33px;
  }
  .stat-icon svg {
    width: 18px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .continue-panel,
  .attention-panel {
    padding: 20px;
  }
  .continue-content {
    padding: 19px;
  }
  .continue-content h2 {
    font-size: 22px;
  }
  .course-cover {
    height: 108px;
  }
  .section-line h2 {
    font-size: 17px;
  }
  .tabs {
    max-width: 100%;
  }
  .tab {
    font-size: 12px;
    padding: 8px 10px;
  }
  .table-wrap {
    border-radius: 10px;
  }
  th,
  td {
    padding: 14px;
  }
  .lesson-nav {
    width: 100%;
  }
  .lesson-content,
  .notes-panel,
  .discussion-panel {
    padding: 22px;
  }
  .lesson-content > h2 {
    font-size: 24px;
  }
  .prose {
    font-size: 15px;
  }
  .review-card {
    padding: 22px;
  }
  .settings-panel,
  .audit-panel {
    padding: 22px;
  }
  .editor-section {
    padding: 18px;
  }
  .lesson-editor fieldset {
    padding: 15px;
  }
  .lesson-editor summary {
    padding: 13px;
    gap: 8px;
  }
  .lesson-editor summary > .muted {
    display: none;
  }
  .certificate {
    padding: 28px 24px;
  }
  .certificate h1 {
    font-size: 36px;
  }
  .certificate h2 {
    font-size: 27px;
  }
  .certificate h3 {
    font-size: 20px;
  }
  .certificate .brand {
    margin-bottom: 26px;
  }
  .certificate-rule {
    margin-bottom: 30px;
  }
  .auth-page {
    padding: 30px 18px;
  }
  .auth-page > .brand {
    margin-bottom: 30px;
  }
  .auth-card {
    padding: 28px !important;
  }
  .auth-card h1 {
    font-size: 26px;
  }
  .footer {
    padding: 15px 20px;
  }
  .empty {
    padding: 35px 15px;
  }
  dialog {
    padding: 27px;
  }
  .comment small {
    display: block;
    margin: 4px 0 0;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .footer,
  .no-print,
  #toast,
  .skip {
    display: none !important;
  }
  .main-column {
    margin: 0;
    width: 100%;
  }
  #main {
    padding: 0;
  }
  .certificate {
    border: 1px solid #e5eeec;
    border-top: 8px solid #176b61;
    margin: 0;
    max-width: none;
    break-inside: avoid;
  }
  a {
    color: inherit;
  }
  @page {
    size: A4 landscape;
    margin: 15mm;
  }
}

.demo-entry {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.demo-entry .btn {
  width: 100%;
}
.demo-entry p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
  text-align: center;
}
.demo-banner {
  background: var(--coral);
  color: var(--coral-text);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.demo-banner .btn {
  flex-shrink: 0;
  font-size: 12px;
  min-height: 36px;
}
@media (max-width: 600px) {
  .demo-banner {
    padding: 12px 18px;
    flex-wrap: wrap;
  }
}

/* Reading layout and the product/project course. */
.prose {
  color: #344e47;
  font-size: 17px;
  line-height: 1.8;
  max-width: 76ch;
}
.prose > p {
  margin-bottom: 22px;
}
.prose > h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 34px 0 14px;
  color: #203a36;
}
.learning-block {
  padding: 22px 24px;
  border-radius: 12px;
  margin: 26px 0;
  background: #f2f6f3;
  border: 1px solid #dce5df;
}
.learning-block.callout {
  background: #e0ede7;
  border: 0;
}
.learning-block.case {
  background: #fff6f0;
  border-color: #efdad0;
}
.learning-block.exercise {
  background: #fff;
  border-left: 4px solid #176b61;
}
.block-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.4px;
  color: #22574c;
  margin-bottom: 12px;
}
.prose .learning-block p {
  margin-bottom: 0;
}
.criteria-list {
  padding-left: 22px;
  font-size: 14px;
  margin: 18px 0 0;
}
.criteria-list li {
  margin: 8px 0;
}
.learning-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 24px 0;
}
.learning-table th {
  color: #22574c;
  background: #e0ede7;
  font-size: 13px;
  white-space: normal;
}
.learning-table td {
  font-size: 14px;
  min-width: 120px;
}
.learning-table td,
.learning-table th {
  padding: 14px 16px;
}
.learning-steps {
  padding-left: 24px;
}
.learning-steps li {
  padding: 8px 0 8px 7px;
}
.prompt-block {
  border: 1px solid #b8cec3;
  background: #f2f6f3;
  padding: 18px 22px;
  border-radius: 12px;
  margin: 28px 0;
}
.prompt-block summary {
  color: #22574c;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.prompt-block pre {
  font: inherit;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prompt-block .small-text {
  margin: 15px 0 0;
}
.lesson-source {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 7px;
  margin-top: 30px;
}
.syllabus {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.syllabus-module {
  border-bottom: 1px solid var(--line);
}
.syllabus-module > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 18px;
  color: #22574c;
  line-height: 1.6;
}
.lesson-next {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 24px;
}
.quiz-explanations {
  padding: 20px;
  background: #f2f6f3;
  border-radius: 10px;
  font-size: 14px;
  margin: 20px 0;
}
.quiz-explanations summary {
  cursor: pointer;
  font-weight: 600;
}
.quiz-explanations p {
  margin: 18px 0 0;
}
.management-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 38px;
  padding: 44px;
  background: #143d3b;
  color: #e6f1ec;
  border-radius: 18px;
}
.management-hero .eyebrow {
  color: #b7d1c9;
  font-size: 11px;
}
.management-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -1.8px;
  margin: 20px 0;
}
.management-hero p {
  color: #c0d7cf;
  font-size: 16px;
}
.management-hero .btn.primary {
  background: #f3b7a1;
  color: #583326;
  padding: 13px 22px;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.hero-chips span {
  border: 1px solid #44675d;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 12px;
}
.management-hero .hero-footnote {
  margin: 17px 0 0;
  font-size: 12px;
  max-width: 390px;
}
.course-route {
  align-self: center;
  padding-left: 24px;
  border-left: 1px solid #527467;
}
.course-route > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  font-size: 14px;
}
.course-route span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2f5850;
  color: #f3b7a1;
  font-size: 11px;
  flex-shrink: 0;
}
.course-route p {
  font-size: 19px;
  margin: 25px 0 0;
}
.course-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0;
}
.course-facts h2 {
  font-size: 18px;
}
.course-facts p {
  color: #526b61;
  font-size: 14px;
  margin: 0;
}
.course-program {
  padding: 28px;
}
.course-program > .section-line {
  margin-bottom: 22px;
}
.course-program .section-line > span {
  font-size: 12px;
}
.course-program > details {
  border-top: 1px solid var(--line);
}
.course-program summary {
  display: flex;
  align-items: center;
  gap: 17px;
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
}
.course-program summary::-webkit-details-marker {
  display: none;
}
.module-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #e0ede7;
  color: #22574c;
  border-radius: 9px;
  font-size: 12px;
  flex-shrink: 0;
}
.course-program summary strong {
  font-size: 15px;
  font-weight: 550;
}
.course-program summary small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 12px;
}
.module-toggle {
  margin-left: auto;
  font-size: 23px;
  font-weight: 400;
}
.course-program details[open] .module-toggle {
  transform: rotate(45deg);
}
.course-program ol {
  margin: 0 0 20px 55px;
  padding: 0;
  list-style: none;
}
.course-program li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
}
.course-program li small {
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}
.course-resources {
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
}
.course-resources summary {
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  line-height: 1.7;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.resource-grid button {
  display: grid;
  gap: 8px;
  background: #f2f6f3;
  border-radius: 9px;
  padding: 16px;
  font-size: 13px;
}
.resource-grid button {
  border: 0;
  text-align: left;
  color: var(--primary);
}
.resource-grid span {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 1050px) {
  .management-hero {
    padding: 30px;
    gap: 22px;
  }
  .course-facts {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .management-hero {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .course-route {
    display: none;
  }
  .course-facts {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .course-program {
    padding: 20px;
  }
  .course-program .section-line {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
  .course-program ol {
    margin-left: 0;
  }
  .course-program li {
    flex-direction: column;
    gap: 3px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .course-resources {
    padding: 18px;
  }
  .syllabus {
    max-height: 45vh;
    position: static;
  }
  .prose {
    font-size: 16px;
  }
  .learning-block {
    padding: 18px;
  }
  .prompt-block {
    padding: 18px;
  }
}

.brand strong {
  white-space: nowrap;
}
.brand strong span {
  font-weight: 450;
}

.source-link {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.share-actions {
  margin: 20px 0;
}
.join-mode {
  display: block;
  width: 100%;
  margin: 12px 0;
}
.management-hero .btn + .btn {
  margin: 10px 0 0 8px;
}
