[hidden] {
  display: none !important;
}
.wizard-progress {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.wizard-progress > :first-child {
  color: var(--green);
  font-weight: 700;
}
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.wizard-steps button {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  text-align: left;
}
.wizard-steps button span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 12px;
}
.wizard-steps button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.wizard-steps button:not(.active):hover {
  background: #edf2e4;
  color: var(--ink);
}
.wizard-steps button.active:hover {
  background: var(--green);
  color: white;
}
.wizard-panel {
  max-width: 940px;
  margin: 0 auto;
}
.wizard-panel h2 {
  margin-top: 14px;
}
.wizard-panel details {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.wizard-panel summary {
  cursor: pointer;
  font-weight: 700;
}
.wizard-panel button + small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}
.wizard-ai {
  display: flex;
  gap: 18px;
  border: 1px solid #bdd4ca;
  border-radius: 12px;
  background: #f1f7f2;
  padding: 22px;
  margin-top: 24px;
}
.wizard-ai > span {
  font-size: 25px;
}
.wizard-ai p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 12px;
}
.wizard-footer {
  max-width: 940px;
  margin: 22px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wizard-footer > span {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.wizard-summary {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 12px 22px;
  margin: 25px 0;
}
.wizard-summary dt {
  color: var(--muted);
}
.wizard-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.pexels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}
.pexels-photo {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pexels-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.pexels-photo > div {
  padding: 14px;
  display: grid;
  gap: 12px;
}
.pexels-photo a {
  font-size: 12px;
}
.selected-photo {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.selected-photo img {
  width: 105px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}
.selected-photo > div {
  flex: 1;
}
.selected-photo p {
  margin: 5px 0;
  font-size: 13px;
}
.selected-photo a {
  font-size: 12px;
}
.pexels-figure {
  margin: 20px 0;
}
.pexels-figure img {
  max-width: 100%;
  max-height: 380px;
  border-radius: 10px;
  object-fit: contain;
}
.pexels-figure figcaption {
  margin-top: 7px;
  font-size: 12px;
}
.activity-proposal,
.activity-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 20px 0;
  background: #fafbf8;
}
[id$="-status"]:not(:empty) {
  margin-top: 16px;
}
@media (max-width: 900px) {
  .wizard-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .pexels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .wizard-progress {
    flex-direction: column;
    gap: 5px;
  }
  .wizard-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .wizard-summary dd {
    margin-bottom: 12px;
  }
  .pexels-grid {
    grid-template-columns: 1fr;
  }
  .selected-photo {
    flex-wrap: wrap;
  }
  .wizard-ai {
    padding: 16px;
    gap: 10px;
  }
  .wizard-footer {
    flex-wrap: wrap;
  }
}
.tool-tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tool-tabs button {
  background: white;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 13px;
}
.tool-tabs button.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.tool-note {
  margin-top: 25px;
}
.management-filters {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.management-filters label {
  margin-top: 0;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.form-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}
.form-type-grid > div {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
.form-type-grid h3 {
  margin: 15px 0 8px;
}
.form-type-grid p {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .management-filters,
  .form-type-grid {
    grid-template-columns: 1fr;
  }
  .tool-tabs {
    gap: 6px;
  }
  .tool-tabs button {
    padding: 10px;
    font-size: 12px;
  }
}
:root {
  --ink: #193d37;
  --muted: #65756e;
  --paper: #f6f7f2;
  --line: #dfe5da;
  --green: #1b4741;
  --lime: #ddeb9d;
  --white: #fff;
  --orange: #c17944;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 12px 18px;
  background: var(--green);
  color: white;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover {
  background: #2b6158;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button.secondary {
  background: white;
  color: var(--green);
  border: 1px solid var(--line);
}
button.ghost {
  background: transparent;
  color: var(--muted);
  padding: 8px;
}
button.small {
  padding: 8px 12px;
  font-size: 13px;
}
a {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  font-weight: 650;
  line-height: 1.15;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
p {
  line-height: 1.7;
}
small,
.muted {
  color: var(--muted);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 7px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd5c9;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.6;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  display: inline;
  accent-color: var(--green);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
}
.check input {
  margin-top: 5px;
  flex-shrink: 0;
}
.shell {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 30px 21px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
  margin-bottom: 38px;
}
.brand img {
  width: 37px;
  height: 37px;
}
.brand span {
  color: #73906c;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav button.active {
  background: #edf2e4;
  color: var(--green);
  font-weight: 650;
}
.nav .symbol {
  font-size: 19px;
  width: 20px;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.7;
}
.sidebar-foot b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.topbar {
  height: 83px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffa0;
  font-size: 13px;
  gap: 15px;
}
.topbar .user {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  background: #e4ebd7;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 700;
}
.content {
  max-width: 1380px;
  margin: auto;
  padding: 35px 42px 60px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.heading h1 {
  margin: 0 0 8px;
}
.heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  background: var(--green);
  color: #fff;
  border-radius: 17px;
  padding: 35px 38px;
  margin-bottom: 28px;
  overflow: hidden;
  min-height: 248px;
  position: relative;
}
.hero h2 {
  font-size: 32px;
  letter-spacing: -0.8px;
  max-width: 490px;
  margin-bottom: 12px;
}
.hero p {
  font-size: 14px;
  color: #d8e4d9;
  max-width: 450px;
}
.hero .eyebrow {
  color: var(--lime);
}
.hero button {
  background: var(--lime);
  color: var(--green);
}
.orbit {
  align-self: center;
  justify-self: center;
  position: relative;
  width: 240px;
  height: 190px;
  display: grid;
  place-items: center;
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  border: 1px solid #83a397;
  border-radius: 50%;
  width: 205px;
  height: 160px;
  transform: rotate(-28deg);
}
.orbit:after {
  transform: rotate(35deg);
  width: 185px;
  height: 190px;
}
.orbit .core {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  background: var(--lime);
  color: var(--green);
  border-radius: 24px;
  transform: rotate(-8deg);
  font-size: 38px;
}
.orbit .tag {
  position: absolute;
  background: #f4f6ec;
  color: var(--green);
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 11px;
  z-index: 1;
  box-shadow: 0 4px 10px #102c2920;
}
.orbit .t1 {
  top: 6px;
  left: -9px;
}
.orbit .t2 {
  right: -18px;
  bottom: 32px;
}
.orbit .t3 {
  left: 0;
  bottom: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 23px;
}
.stat .value {
  font-size: 29px;
  font-weight: 650;
  display: block;
  margin: 10px 0 4px;
}
.stat .label {
  font-size: 12px;
  color: var(--muted);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 17px;
}
.section-title h2 {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}
.course-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-art {
  height: 122px;
  background: #e5eddc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-art .shape {
  width: 72px;
  height: 72px;
  border: 2px solid #658268;
  border-radius: 50% 50% 5% 50%;
  transform: rotate(-25deg);
}
.card-art .shape:after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border: 2px solid #658268;
  border-radius: 50% 50% 50% 5%;
  left: 32px;
  top: 3px;
}
.course-card:nth-child(3n + 2) .card-art {
  background: #f0e6d8;
}
.course-card:nth-child(3n + 3) .card-art {
  background: #e1e9f0;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  margin: 12px 0 8px;
}
.card-body p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 15px;
}
.card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 15px;
  margin-top: auto;
  margin-bottom: 20px;
}
.badge {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.3px;
  border-radius: 5px;
  background: #edf3df;
  color: #4c6543;
  padding: 5px 8px;
  display: inline-block;
  align-self: flex-start;
}
.badge.draft {
  background: #fcf0dc;
  color: #976326;
}
.card-body button {
  width: 100%;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}
.notice {
  border: 1px solid #d8e2cb;
  background: #f0f4e9;
  padding: 14px 17px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.notice.warning {
  background: #fcf4e7;
  border-color: #eadac0;
  color: #80592c;
}
.empty {
  border: 1px dashed #c9d4c0;
  padding: 38px;
  border-radius: 12px;
  text-align: center;
  background: #ffffff75;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.source-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.source-item:last-child {
  border: 0;
}
.source-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.source-item p {
  font-size: 13px;
  margin-bottom: 8px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
  background: #f8f9f4;
}
th,
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}
td strong {
  display: block;
}
td small {
  font-size: 11px;
}
.progress {
  height: 6px;
  border-radius: 6px;
  background: #e8eddf;
  overflow: hidden;
  margin: 12px 0;
}
.progress-fill {
  height: 100%;
  background: #779457;
}
.reader {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
}
.lesson-nav {
  align-self: start;
  position: sticky;
  top: 24px;
}
.lesson-nav button {
  display: block;
  text-align: left;
  width: 100%;
  margin: 5px 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.lesson-nav button.active {
  background: #edf2e4;
}
.lesson-body {
  max-width: 800px;
}
.lesson-body .step {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #829467;
  font-weight: 650;
  margin-bottom: 10px;
}
.lesson-body h2 {
  font-size: 27px;
}
.lesson-body .prose {
  white-space: pre-wrap;
  line-height: 1.85;
  font-size: 15px;
}
.lesson-body img {
  max-width: 100%;
  max-height: 450px;
  border-radius: 10px;
  object-fit: contain;
}
.prompt {
  background: #f2f5eb;
  border-left: 3px solid #93a56b;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 22px 0;
}
.prompt p {
  margin: 0;
}
.quiz-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  font-weight: 400;
  display: flex;
  gap: 10px;
  align-items: center;
}
.quiz-option input {
  flex-shrink: 0;
}
.lesson-editor {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 25px;
}
.lesson-editor summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
}
.login {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff;
  color: #212223;
}
.login-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  background: #123015 url("/assets/login-background.jpg") center / cover
    no-repeat;
  color: #fff;
}
.login-welcome {
  max-width: 470px;
  padding: 32px 28px;
  background: rgb(44 28 15 / 88%);
  border-radius: 4px;
  text-align: center;
}
.login-welcome h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}
.login-welcome p {
  margin-bottom: 24px;
  line-height: 1.6;
}
.login-principles {
  display: flex;
  gap: 20px;
  border-top: 1px solid #ffffff42;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.login-principles span {
  flex: 1;
}
.login-image-credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 6px;
  background: #17241b;
  color: #fff;
  font-size: 11px;
}
.login-form {
  width: 100%;
  max-width: 720px;
  margin: auto;
  padding: 64px clamp(32px, 5vw, 80px);
}
.login-form .brand {
  margin-bottom: 40px;
  color: #212223;
}
.login-form h1 {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.login-subtitle {
  margin-bottom: 28px;
  color: #5a5c5d;
  font-size: 15px;
}
.login-form label {
  font-size: 15px;
  font-weight: 500;
  margin-top: 20px;
  color: #212223;
}
.login-form input {
  min-height: 48px;
  border: 1px solid #8a8c8d;
  border-radius: 4px;
  background: #f8f9fa;
  color: #212223;
}
.login-form input::placeholder {
  color: #5a5c5d;
}
.login-password {
  position: relative;
}
.login-password input {
  padding-right: 54px;
}
.login-password button {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 3px;
  background: transparent;
  color: #5a5c5d;
}
.login-password button:hover {
  background: #e8ebed;
}
.login-form button[type="submit"] {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border-radius: 4px;
  background: #c93900;
  color: #fff;
}
.login-form button[type="submit"]:hover {
  background: #a82f00;
}
.login-link {
  display: block;
  min-height: 44px;
  margin: 12px auto 0;
  padding: 8px;
  background: transparent;
  color: #a82f00;
  font-size: 14px;
  text-decoration: underline;
}
.login-link:hover {
  background: #fff3ed;
}
.login-form :is(input, button):focus-visible {
  outline: 3px solid #b33500;
  outline-offset: 3px;
}
.login-form .error {
  margin: 12px 0 0;
  font-size: 14px;
}
.login-form .error:empty {
  display: none;
}
.login-form .login-note {
  color: #5a5c5d;
  line-height: 1.6;
}
.login-footer {
  margin: 42px 0 0;
  color: #5a5c5d;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 991px) {
  .login {
    grid-template-columns: minmax(0, 1fr);
  }
  .login-art {
    display: none;
  }
  .login-form {
    max-width: 600px;
    padding: 40px 28px;
  }
}
.footer-line {
  font-size: 12px;
  color: #b2c4b8;
}
.loading {
  padding: 60px;
}
.error {
  color: #993d28;
  font-size: 13px;
  line-height: 1.6;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 430px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  padding: 15px 22px;
  z-index: 100;
  display: none;
  box-shadow: 0 5px 25px #0002;
}
#toast.show {
  display: block;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 200;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  background: #eef2e6;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 12px;
}
.busy {
  padding: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.inline-status {
  font-size: 12px;
  color: var(--muted);
}
.mentor-result {
  white-space: pre-wrap;
  line-height: 1.8;
  margin-top: 16px;
  font-size: 14px;
}
.topbar button {
  font-size: 12px;
}
.mobile-brand {
  display: none;
}
.source-check {
  max-height: 230px;
  overflow: auto;
}
.editor-image {
  max-height: 150px;
  max-width: 100%;
  margin: 10px 0;
}
.login-note {
  font-size: 12px;
  margin-top: 25px;
  color: var(--muted);
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 10px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .sidebar {
    padding: 28px 14px;
  }
  .hero {
    padding: 28px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .orbit {
    transform: scale(0.85);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .reader {
    grid-template-columns: 210px 1fr;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 23px;
    margin-bottom: 14px;
  }
  .sidebar .eyebrow,
  .sidebar-foot {
    display: none;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .nav .symbol {
    display: none;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .content {
    padding: 24px 18px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 29px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .orbit {
    display: none;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat .label {
    font-size: 11px;
  }
  .stat .value {
    font-size: 25px;
  }
  .panel {
    padding: 21px;
  }
  .reader {
    display: block;
  }
  .lesson-nav {
    position: static;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .lesson-body h2 {
    font-size: 24px;
  }
  .topbar .company {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .topbar .user > span {
    display: none;
  }
}

/* Corporate course studio: one pillar at a time, with a persistent course preview. */
.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 10px 0 30px;
}
.studio-header h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 12px 0;
  line-height: 1.18;
}
.studio-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 600px;
}
.studio-mode {
  background: #eaf0df;
  border: 1px solid #d3ddc1;
  border-radius: 30px;
  padding: 10px 15px;
  color: #355248;
  font-size: 12px;
  white-space: nowrap;
}
.studio-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr) 244px;
  gap: 22px;
  align-items: start;
}
.studio-rail {
  position: sticky;
  top: 22px;
  padding: 6px 0;
}
.studio-rail-title {
  font-weight: 700;
  font-size: 14px;
}
.studio-rail-title span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin: 8px 0 12px;
}
#studio-progress {
  height: 5px;
  width: 92%;
  accent-color: var(--green);
  margin-bottom: 15px;
}
.studio-rail .wizard-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.studio-rail .wizard-steps button {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  font-size: 13px;
  border-radius: 8px;
  min-height: 60px;
  width: 100%;
}
.studio-rail .wizard-steps button.active {
  background: #e5eddf;
  color: #1b4741;
  box-shadow: inset 3px 0 #1b4741;
}
.studio-rail .wizard-steps button:hover {
  background: #e9eee6;
}
.studio-rail .wizard-steps .step-dot {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: #fff;
  font-weight: 600;
  color: #596b62;
}
.studio-rail .wizard-steps button.active .step-dot,
.studio-rail .wizard-steps button.complete .step-dot {
  background: #1b4741;
  border-color: #1b4741;
  color: #fff;
}
.wizard-steps small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
  color: #64756b;
}
.rail-group {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #657469;
  padding: 15px 10px 6px;
}
.rail-note {
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 24px 10px 0;
  padding-top: 18px;
}
.studio-main {
  min-width: 0;
}
.studio-main .wizard-progress {
  margin: 0 0 16px;
  font-size: 11px;
  gap: 10px;
}
.studio-main .wizard-panel {
  padding: 30px;
  max-width: none;
  border-radius: 14px;
  box-shadow: 0 5px 20px #1b474105;
}
.studio-main .wizard-panel h2 {
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.6px;
  margin: 14px 0 12px;
}
.studio-main .wizard-panel > .muted {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.studio-main label {
  font-size: 13px;
  margin-top: 22px;
}
.studio-main input,
.studio-main textarea,
.studio-main select {
  font-size: 14px;
  border-radius: 8px;
  padding: 12px 13px;
}
.studio-main textarea {
  min-height: 106px;
  line-height: 1.55;
}
.studio-main .wizard-footer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
}
.studio-main .wizard-footer span {
  font-size: 11px;
}
.studio-tip {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 17px 18px;
  background: #f3f5ec;
  border-left: 3px solid #acbf80;
  border-radius: 0 9px 9px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #556453;
  margin: 24px 0;
}
.studio-tip b {
  color: #2a4e40;
}
.field-note {
  font-size: 11px !important;
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 0;
}
.skill-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.skill-pillars > div {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  background: #fafbf8;
}
.skill-pillars h3 {
  font-size: 16px;
  margin: 8px 0;
}
.skill-pillars p {
  font-size: 12px;
  color: var(--muted);
}
.skill-pillars textarea {
  font-size: 12px;
  min-height: 142px;
}
.pillar-icon {
  font-size: 24px;
  color: var(--green);
}
.learning-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dce4d4;
  border-radius: 12px;
  background: #f5f7ef;
  overflow: hidden;
  margin: 25px 0;
}
.learning-flow > span {
  padding: 18px 12px;
  color: #7d9059;
  font-size: 12px;
}
.learning-flow > span + span {
  border-left: 1px solid #dce4d4;
}
.learning-flow b {
  display: block;
  color: #315247;
  font-size: 13px;
  margin: 8px 0;
}
.learning-flow small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.studio-preview {
  position: sticky;
  top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-top: 29px;
  min-width: 0;
}
.studio-preview .eyebrow {
  font-size: 9px;
  letter-spacing: 0.09em;
  line-height: 1.6;
}
.preview-art {
  height: 100px;
  background: #e9eddc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  margin: 18px 0 21px;
  overflow: hidden;
}
.preview-art span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1b4741;
  color: #e3eba7;
  font-size: 30px;
}
.preview-art span:nth-child(2) {
  border-radius: 12px;
  background: #b6c67c;
  color: #1b4741;
  transform: rotate(-13deg);
}
.preview-art span:nth-child(3) {
  background: #d3b894;
  color: #315247;
}
.studio-preview h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.studio-preview p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.preview-metrics {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.preview-metrics b {
  font-size: 11px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 500;
}
.preview-divider {
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.studio-preview > b {
  font-size: 12px;
}
.studio-preview ul {
  padding-left: 17px;
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.formative-note {
  background: #eff5e9;
  border-radius: 8px;
  padding: 13px 10px;
  font-size: 11px;
  color: #315247;
  line-height: 1.8;
}
.formative-note small {
  font-size: 10px;
}
.resource-section > div {
  padding-top: 12px;
}
.resource-section h2 {
  font-size: 19px !important;
}
.studio-main .wizard-summary dd {
  overflow-wrap: anywhere;
}
.studio-main :focus-visible {
  outline: 3px solid #a79a4d;
  outline-offset: 3px;
}
@media (min-width: 1500px) {
  .studio-layout {
    grid-template-columns: 234px minmax(0, 1fr) 264px;
    gap: 28px;
  }
  .studio-main .wizard-panel {
    padding: 36px;
  }
}
@media (max-width: 1250px) {
  .studio-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .studio-preview {
    position: static;
    grid-column: 2;
    display: none;
  }
  .studio-mode {
    display: none;
  }
}
@media (max-width: 760px) {
  .studio-header h1 {
    font-size: 25px;
  }
  .studio-layout {
    display: block;
  }
  .studio-rail {
    position: static;
  }
  .studio-rail-title,
  #studio-progress,
  .rail-group,
  .rail-note {
    display: none;
  }
  .studio-rail .wizard-steps {
    display: flex;
    flex-direction: row;
    overflow: auto;
    margin: 0 0 20px;
    padding-bottom: 6px;
  }
  .studio-rail .wizard-steps button {
    min-width: 175px;
    width: auto;
  }
  .studio-main .wizard-panel {
    padding: 22px 18px;
  }
  .studio-main .wizard-progress {
    flex-wrap: wrap;
  }
  .skill-pillars {
    grid-template-columns: 1fr;
  }
  .learning-flow > span {
    padding: 14px 8px;
  }
  .studio-main .wizard-footer {
    position: static;
  }
  .studio-main .wizard-footer span {
    display: none;
  }
  .studio-main .wizard-footer button {
    padding: 11px;
    font-size: 12px;
  }
  .studio-preview {
    display: none;
  }
}

.brand {
  flex-wrap: wrap;
}
.brand .brand-subtitle {
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
}
