:root {
  color-scheme: light;
  --text: #050505;
  --muted: #4f4f4f;
  --faint: #e4e4e4;
  --surface: #ffffff;
  --accent: #111111;
  --danger: #b42318;
  --success: #2f8f3a;
  --warning: #c98a05;
  --sl-color-primary-600: #050505;
  --sl-color-primary-700: #000000;
  --sl-border-radius-medium: 0;
  --sl-input-border-radius-medium: 0;
  --sl-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

.code-copy-block {
  position: relative;
  padding-right: 78px;
}

.code-copy-button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  color: #4a4a4a;
  background: transparent;
  cursor: pointer;
}

.code-copy-button:hover,
.code-copy-button:focus-visible {
  color: #000000;
}

.code-copy-button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.code-copy-button sl-icon {
  font-size: 24px;
}

.code-copy-toast {
  position: fixed;
  right: 36px;
  bottom: 34px;
  z-index: 1000;
  padding: 14px 18px;
  border: 2px solid #111111;
  background: #111111;
  color: #ffffff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.code-copy-toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding: 0 36px;
  background: #ffffff;
  border-bottom: 2px solid var(--faint);
}

.brand {
  width: 520px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.search-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  line-height: 1;
}

.search-placeholder sl-icon {
  font-size: 28px;
}

.account-trigger::part(base) {
  gap: 10px;
  color: var(--text);
  font-size: 16px;
}

.account-trigger sl-icon[name="person-circle"] {
  font-size: 52px;
  color: #222222;
}

.menu-submit {
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.side-rail {
  position: fixed;
  top: 138px;
  right: 30px;
  z-index: 5;
  display: grid;
  gap: 50px;
}

.rail-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid #2a2a2a;
  border-radius: 50%;
  color: #111111;
  background: #ffffff;
}

.rail-button:focus {
  outline: none;
}

.rail-button:focus-visible {
  outline: 2px solid #6f6f6f;
  outline-offset: 5px;
}

.rail-button sl-icon {
  position: relative;
  z-index: 1;
  font-size: 34px;
}

.rail-button-active {
  width: 84px;
  height: 84px;
  border: 0;
  padding: 9px;
  background: conic-gradient(
    #050505 0 var(--chapter-progress, 0%),
    #dddddd var(--chapter-progress, 0%) 100%
  );
}

.rail-button-active::before {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.toc-drawer::part(panel) {
  width: 480px;
  background: #050505;
  color: #ffffff;
}

.toc-drawer::part(header) {
  padding: 36px 36px 16px;
  color: #ffffff;
}

.toc-drawer::part(title) {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
}

.toc-drawer::part(close-button) {
  color: #ffffff;
}

.toc-drawer::part(body) {
  padding: 0 36px 48px;
}

.toc-course-title {
  margin: 0 0 34px;
  color: #cfcfcf;
  font-size: 18px;
  line-height: 1.35;
}

.toc-chapter-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-chapter {
  margin: 0 0 24px;
}

.toc-chapter > a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  color: #d8d8d8;
  font-size: 22px;
  line-height: 1.22;
}

.toc-chapter > a span {
  color: #9f9f9f;
  font-variant-numeric: tabular-nums;
}

.toc-chapter > a strong {
  font-weight: 400;
}

.toc-chapter-current > a {
  color: #8cd2e5;
}

.course-shell {
  width: 1180px;
  margin: 0 auto;
  padding: 72px 88px 96px;
}

.course-meta {
  width: 720px;
  margin: 0 auto 44px;
}

.course-meta p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
}

.course-meta sl-progress-bar::part(indicator) {
  background: #111111;
}

.chapter-stream {
  display: grid;
  gap: 72px;
}

.lesson-block {
  width: 880px;
  margin: 0 auto;
  scroll-margin-top: 130px;
}

.chapter-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.lesson-block h1 {
  margin: 0 0 36px;
  font-size: 43px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

.task-block {
  width: 1030px;
  margin-top: 12px;
  padding: 52px 64px;
  border: 2px solid #111111;
}

.task-block h1 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.18;
}

.content-body {
  color: #242424;
  font-size: 20px;
  font-weight: 250;
  line-height: 1.55;
}

.content-body p {
  margin: 0 0 28px;
}

.content-body ul {
  margin: 28px 0 0;
  padding-left: 34px;
}

.editor-shell {
  display: grid;
  grid-template-columns: 360px minmax(820px, 1fr);
  min-height: 100vh;
  background: #f7f7f4;
}

.editor-home {
  min-height: 100vh;
  padding: 64px;
  background: #f7f7f4;
}

.editor-home-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.editor-home-header p {
  margin: 0 0 10px;
  color: #4f5f58;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.editor-home-header h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.editor-home-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.editor-home-course {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid #cfcfc7;
  background: #ffffff;
}

.editor-home-course:hover,
.editor-home-course:focus-visible {
  border-color: #111111;
  background: #eef8f4;
}

.editor-home-course span {
  color: #746022;
  font: 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.editor-home-course strong {
  font-size: 22px;
  line-height: 1.2;
}

.editor-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 24px;
  border-right: 2px solid #d8d8d0;
  background: #ffffff;
}

.editor-brand {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.editor-brand > a:first-child {
  font-size: 22px;
  font-weight: 750;
}

.editor-brand-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.editor-shell .editor-release-trigger {
  min-height: 38px;
}

.editor-open-course {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border: 1px solid #b7c5be;
  color: #20483b;
  background: #eef8f4;
  font-size: 13px;
  font-weight: 700;
}

.editor-course-list,
.editor-chapters {
  display: grid;
  gap: 10px;
}

.editor-course-list {
  margin-bottom: 18px;
}

.editor-course-list a {
  padding: 12px;
  border: 1px solid #d6d6ce;
  background: #fafafa;
  font-size: 15px;
  line-height: 1.25;
}

.editor-course-list .editor-course-active {
  border-color: #111111;
  background: #f1f1e8;
  font-weight: 700;
}

.editor-compact-form,
.editor-add-panel form,
.editor-chapter-title-form,
.editor-form,
.editor-publish form {
  display: grid;
  gap: 10px;
}

.editor-compact-form {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dddddd;
}

.editor-shell label {
  display: grid;
  gap: 7px;
  color: #373737;
  font-size: 13px;
  font-weight: 750;
}

.editor-shell input,
.editor-shell textarea,
.editor-shell select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #bdbdb8;
  border-radius: 0;
  padding: 10px 11px;
  color: #111111;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
}

.editor-shell textarea {
  resize: vertical;
}

.editor-shell button,
.editor-release-dialog button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 0 14px;
  color: #ffffff;
  background: #111111;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.editor-shell button:disabled,
.editor-release-dialog button:disabled {
  border-color: #aaaaaa;
  color: #666666;
  background: #e1e1dc;
  cursor: not-allowed;
}

.editor-shell button sl-icon,
.editor-release-dialog button sl-icon {
  font-size: 18px;
}

.editor-icon-row {
  display: flex;
  gap: 6px;
}

.editor-shell .editor-icon-button {
  width: 36px;
  min-height: 36px;
  padding: 0;
  color: #111111;
  background: #ffffff;
}

.editor-chapter-nav {
  padding: 14px;
  border: 1px solid #d8d8d0;
  background: #ffffff;
}

.editor-chapter-current {
  border-color: #111111;
  background: #fbfbf1;
}

.editor-chapter-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
}

.editor-chapter-head > a {
  padding-top: 4px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.editor-shell .editor-chapter-toggle {
  width: 28px;
  min-height: 28px;
  padding: 0;
  border-color: transparent;
  color: #111111;
  background: transparent;
}

.editor-shell .editor-chapter-toggle:hover,
.editor-shell .editor-chapter-toggle:focus-visible {
  border-color: #bdbdb8;
  background: #f4f1df;
}

.editor-shell .editor-chapter-toggle sl-icon {
  font-size: 17px;
}

.editor-chapter-body[hidden] {
  display: none;
}

.editor-chapter-collapsed {
  background: #fbfbfb;
}

.editor-block-list {
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.editor-block-list a {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  padding: 8px;
  color: #303030;
  font-size: 13px;
  line-height: 1.2;
}

.editor-block-list span {
  color: #6d4f13;
  font-weight: 750;
}

.editor-block-current a {
  background: #e6f2ee;
  color: #0e3328;
}

.editor-add-block-trigger {
  display: inline-flex;
  width: 100%;
  margin-top: 12px;
  color: #111111;
  background: #f4f1df;
}

.editor-add-block-trigger sl-icon {
  font-size: 18px;
}

.editor-block-dialog::part(panel) {
  width: 520px;
}

.editor-block-dialog::part(body) {
  padding: 18px 24px 8px;
}

.editor-block-dialog::part(footer) {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px 22px;
}

.editor-block-dialog form {
  display: grid;
  gap: 14px;
}

.editor-block-dialog button {
  min-width: 132px;
}

.editor-add-panel {
  margin-top: 18px;
  border: 1px solid #d8d8d0;
  background: #fbfbfb;
}

.editor-add-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px;
  font-weight: 800;
  cursor: pointer;
}

.editor-add-panel form {
  padding: 0 13px 13px;
}

.editor-main {
  min-width: 0;
  padding: 28px;
}

.editor-alert {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid;
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.45;
  font-family: inherit;
  font-weight: 650;
}

.editor-alert-ok {
  border-color: #4f8a6a;
  background: #eff8f2;
}

.editor-alert-error {
  border-color: #bc5d52;
  background: #fff1ef;
}

.editor-topline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.editor-chapter-title-form {
  padding: 16px;
  border: 1px solid #d8d8d0;
  background: #ffffff;
}

.editor-chapter-title-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.editor-form,
.editor-preview,
.editor-publish {
  border: 1px solid #d8d8d0;
  background: #ffffff;
}

.editor-form {
  padding: 18px;
}

.editor-section {
  margin-top: 14px;
  border: 1px solid #d8d8d0;
  background: #fbfbfb;
}

.editor-section:first-of-type {
  margin-top: 0;
}

.editor-section > summary,
.editor-preview summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: #222222;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.editor-section > summary:focus,
.editor-preview summary:focus {
  outline: none;
}

.editor-section > summary:focus-visible,
.editor-preview summary:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.editor-section > summary::marker,
.editor-preview summary::marker {
  color: #5d6a64;
}

.editor-section > .editor-fields-grid,
.editor-question-fields > .editor-fields-grid,
.editor-question-fields > .editor-full-field,
.editor-question-fields > .editor-choice-fields {
  margin: 0 14px 14px;
}

.editor-block-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.editor-save-status {
  min-width: 210px;
  color: #4f5f58;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.editor-save-status[data-state="dirty"] {
  color: #7a5a00;
}

.editor-save-status[data-state="saving"] {
  color: #365f93;
}

.editor-save-status[data-state="saved"] {
  color: #2f6f43;
}

.editor-save-status[data-state="error"] {
  color: #b42318;
}

.editor-fields-grid,
.editor-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-feedback-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-full-field {
  margin-top: 12px;
}

.editor-markdown-shell {
  margin-top: 16px;
  border: 1px solid #bfc7c2;
  background: #ffffff;
}

.editor-markdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid #d8d8d0;
  background: #f7f7f4;
}

.editor-markdown-head label {
  color: #222222;
  font-size: 16px;
  font-weight: 850;
}

.editor-format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.editor-shell .editor-format-toolbar button {
  width: 38px;
  min-height: 34px;
  padding: 0;
  color: #111111;
  background: #ffffff;
}

.editor-shell .editor-format-toolbar button:hover,
.editor-shell .editor-format-toolbar button:focus-visible {
  background: #eef8f4;
}

.editor-markdown {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: none;
  border: 0;
  padding: 22px;
  font: 17px/1.58 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 450;
  overflow: hidden;
  resize: none;
}

.editor-question-fields {
  margin-top: 16px;
}

.editor-answer-options {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #d8d8d0;
  background: #ffffff;
}

.editor-choice-fields {
  display: grid;
  gap: 12px;
}

.editor-options-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.editor-options-head h2,
.editor-preview h2,
.editor-publish h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.editor-shell .editor-secondary-button,
.editor-release-dialog .editor-secondary-button {
  color: #111111;
  background: #f4f1df;
}

.editor-options-list {
  display: grid;
  gap: 8px;
}

.editor-option-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 190px minmax(280px, 1.35fr) 36px;
  gap: 8px;
  align-items: center;
}

.editor-outcome-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #bdbdb8;
  background: #ffffff;
}

.editor-shell .editor-outcome-control button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid #bdbdb8;
  padding: 0 5px;
  color: #222222;
  background: #ffffff;
  font-size: 10px;
  font-weight: 650;
}

.editor-shell .editor-outcome-control button:last-child {
  border-right: 0;
}

.editor-shell .editor-outcome-control button:hover,
.editor-shell .editor-outcome-control button:focus-visible {
  background: #eef8f4;
}

.editor-shell .editor-outcome-control .editor-outcome-active {
  color: #ffffff;
  background: #111111;
}

.editor-preview {
  padding: 18px;
}

.editor-preview details {
  display: grid;
  gap: 12px;
}

.editor-preview summary {
  padding: 0;
}

.editor-preview .content-body {
  min-height: 90px;
  max-height: 460px;
  overflow: auto;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #dddddd;
  background: #ffffff;
  font-size: 17px;
  line-height: 1.5;
}

.editor-preview .content-body[data-state="error"] {
  border-color: #bc5d52;
}

.editor-preview .content-body img {
  max-width: 100%;
  height: auto;
}

.editor-publish {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  padding: 18px;
}

.editor-release-dialog::part(panel) {
  width: min(1120px, calc(100vw - 48px));
}

.editor-release-dialog::part(body) {
  padding: 0 24px 8px;
}

.editor-release-dialog::part(footer) {
  padding: 16px 24px 22px;
}

.editor-change-error {
  min-height: 68px;
  max-height: 180px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid #dddddd;
  background: #fbfbfb;
  font: 13px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.editor-change-summary {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #cfd8d3;
  background: #eef8f4;
}

.editor-change-summary p,
.editor-no-changes {
  margin: 0;
  color: #4f5f58;
  font-size: 14px;
  font-weight: 750;
}

.editor-change-summary strong {
  font-size: 16px;
  line-height: 1.3;
}

.editor-change-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.editor-change-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid #dddddd;
  background: #ffffff;
}

.editor-change-list li > span {
  padding: 5px 7px;
  border: 1px solid #d2c68b;
  color: #5c4813;
  background: #fbf6dc;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.editor-change-list strong,
.editor-change-list small {
  display: block;
  line-height: 1.25;
}

.editor-change-list strong {
  font-size: 15px;
}

.editor-change-list small {
  margin-top: 4px;
  color: #5c665f;
  font-size: 13px;
}

.editor-no-changes {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dddddd;
  background: #fbfbfb;
}

.editor-publish-actions {
  display: grid;
  gap: 10px;
}

.editor-publish-actions form {
  display: grid;
  grid-template-columns: 1fr;
}

.editor-publish-actions button {
  min-height: 58px;
  font-size: 16px;
}

.editor-release-dialog button.editor-button-busy,
.editor-release-dialog button.editor-button-busy:disabled {
  border-color: #111111;
  color: #ffffff;
  background: #111111;
}

.editor-button-busy::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: editor-spin 0.8s linear infinite;
}

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

.content-body li {
  margin: 18px 0;
}

.content-body strong {
  color: #000000;
  font-weight: 560;
}

.content-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 36px 0;
}

.next-form {
  margin-top: 48px;
}

.completion-box {
  margin-top: 56px;
  padding: 48px 72px;
  border: 2px solid #111111;
  color: #1d1d1d;
  font-size: 38px;
  line-height: 1.2;
}

.chapter-complete {
  width: 1030px;
  margin: 0 auto;
  scroll-margin-top: 130px;
}

.chapter-complete h1 {
  margin: 0 0 48px;
  font-size: 43px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

.result-box {
  margin-top: 72px;
  padding: 56px 72px;
  border: 2px solid #111111;
}

.result-box h2 {
  margin: 0 0 48px;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px;
}

.result-grid strong {
  display: block;
  margin-bottom: 22px;
  font-size: 44px;
  line-height: 1;
}

.result-grid span {
  display: block;
  color: #202020;
  font-size: 22px;
  line-height: 1.4;
}

.comment-form {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}

.comment-form label {
  font-size: 23px;
}

.next-chapter-link {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  margin-top: 42px;
  padding: 0 28px;
  border: 2px solid #111111;
  background: #111111;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.question-form {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.question-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.question-form legend,
.free-answer-label {
  display: block;
  margin-bottom: 24px;
  color: #222222;
  font-size: 20px;
  font-weight: 350;
  line-height: 1.4;
}

.question-form sl-radio-group {
  display: grid;
  gap: 22px;
}

.checkbox-list {
  display: grid;
  gap: 22px;
}

.question-form sl-radio,
.question-form sl-checkbox {
  display: block;
}

.question-form sl-radio::part(base),
.question-form sl-checkbox::part(base) {
  align-items: flex-start;
  gap: 14px;
}

.question-form sl-radio::part(control),
.question-form sl-checkbox::part(control) {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-width: 1.5px;
}

.question-form sl-radio::part(label),
.question-form sl-checkbox::part(label) {
  color: #1d1d1d;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.58;
}

.question-form sl-button {
  justify-self: start;
  margin-top: 14px;
}

.question-form sl-button::part(base) {
  min-width: 260px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
}

.question-form sl-textarea::part(textarea) {
  min-height: 160px;
  font-size: 22px;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 18px;
}

.answer-feedback,
.saved-answer {
  margin-top: 36px;
  padding: 0 0 0 48px;
  border-left: 3px solid #111111;
  color: #202020;
  font-size: 23px;
  line-height: 1.45;
}

.answer-feedback strong,
.saved-answer strong {
  display: block;
  margin-bottom: 24px;
  font-size: 25px;
  font-weight: 450;
}

.answer-feedback p,
.saved-answer p {
  margin: 0;
}

.answer-feedback-correct {
  border-left-color: var(--success);
}

.answer-feedback-correct strong {
  color: var(--success);
}

.answer-feedback-partial {
  border-left-color: var(--warning);
}

.answer-feedback-partial strong {
  color: var(--warning);
}

.answer-feedback-incorrect {
  border-left-color: var(--danger);
}

.answer-feedback-incorrect strong {
  color: var(--danger);
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px;
  background: #ffffff;
}

.login-panel {
  width: 780px;
}

.login-panel h1 {
  margin: 0 0 34px;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: 0;
}

.login-panel p {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: 22px;
}

.login-form sl-input::part(input) {
  font-size: 22px;
}

.guide-topbar {
  position: static;
}

.guide-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid #111111;
  color: #111111;
  font-size: 17px;
  font-weight: 650;
}

.guide-topbar-link sl-icon {
  font-size: 20px;
}

.guide-shell {
  width: 980px;
  margin: 0 auto;
  padding: 70px 0 100px;
}

.guide-hero {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 2px solid #111111;
}

.guide-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.guide-hero h1 {
  max-width: 840px;
  margin: 0 0 30px;
  font-size: 50px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.guide-hero p,
.guide-section p,
.guide-section li {
  color: #242424;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}

.guide-hero p {
  max-width: 820px;
  margin: 0 0 18px;
}

.guide-section {
  margin-top: 58px;
}

.guide-section h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.guide-section h3 {
  margin: 42px 0 14px;
  font-size: 24px;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: 0;
}

.guide-section p {
  margin: 0 0 22px;
}

.guide-section a {
  border-bottom: 1.5px solid #111111;
  font-weight: 520;
}

.guide-section ol,
.guide-section ul {
  margin: 22px 0 0;
  padding-left: 32px;
}

.guide-section li {
  margin: 12px 0;
}

.guide-section code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.guide-section pre {
  overflow-x: auto;
  margin: 26px 0 30px;
  padding: 28px;
  border: 2px solid #111111;
  background: #f7f7f7;
  white-space: pre;
}

.guide-section pre code {
  color: #111111;
  font-size: 15px;
  line-height: 1.58;
}

.guide-section-warning {
  padding: 34px 40px;
  border: 2px solid #111111;
  background: #fff8e6;
}

.guide-section-warning h2 {
  margin-bottom: 18px;
}

.webinar-body {
  min-width: 0;
  background: #ffffff;
}

.webinar-page {
  width: 100%;
  min-height: 100vh;
  padding: 64px 48px 96px;
  background: #ffffff;
}

.webinar-page-compact {
  display: grid;
  place-items: center;
}

.webinar-panel {
  width: min(780px, 100%);
}

.webinar-panel-wide {
  width: min(940px, 100%);
  margin: 0 auto;
}

.webinar-thanks-panel {
  max-width: 640px;
}

.webinar-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.webinar-panel h1 {
  margin: 0 0 28px;
  font-size: 48px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

.webinar-panel-wide h1 {
  max-width: 880px;
  font-size: 42px;
}

.webinar-lead {
  margin: 0 0 42px;
  color: #242424;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.48;
}

.webinar-form {
  display: grid;
  gap: 24px;
}

.webinar-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.webinar-form legend,
.webinar-consents legend {
  margin: 0 0 18px;
  color: #222222;
  font-size: 21px;
  font-weight: 450;
  line-height: 1.35;
}

.webinar-form sl-input::part(input),
.webinar-form sl-textarea::part(textarea) {
  font-size: 20px;
}

.webinar-form sl-button {
  justify-self: start;
}

.webinar-form sl-button::part(base) {
  min-width: 260px;
}

.webinar-questionnaire-form {
  gap: 34px;
}

.webinar-questionnaire-form sl-radio-group,
.webinar-consents {
  display: grid;
  gap: 18px;
}

.webinar-questionnaire-form sl-radio,
.webinar-consents sl-checkbox {
  display: block;
}

.webinar-questionnaire-form sl-radio::part(base),
.webinar-consents sl-checkbox::part(base) {
  align-items: flex-start;
  gap: 14px;
}

.webinar-questionnaire-form sl-radio::part(control),
.webinar-consents sl-checkbox::part(control) {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-width: 1.5px;
}

.webinar-questionnaire-form sl-radio::part(label),
.webinar-consents sl-checkbox::part(label) {
  color: #1d1d1d;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.54;
}

.webinar-inline-input {
  max-width: 560px;
  margin-top: 18px;
}

.webinar-conditional {
  padding: 28px 32px;
  border-left: 3px solid #111111;
  background: #f7f7f7;
}

.webinar-conditional-compact {
  margin-top: 18px;
  padding: 20px 24px;
}

.form-error-list {
  display: grid;
  gap: 8px;
  color: var(--danger);
  font-size: 18px;
  line-height: 1.35;
}

.form-error-list p {
  margin: 0;
}

@media (max-width: 900px) {
  .webinar-page {
    min-height: auto;
    padding: 28px 18px 44px;
  }

  .webinar-page-compact {
    display: block;
  }

  .webinar-thanks-page {
    min-height: 100svh;
    padding-top: 96px;
  }

  .webinar-panel,
  .webinar-panel-wide {
    width: 100%;
  }

  .webinar-thanks-panel {
    max-width: 620px;
    margin: 0 auto;
  }

  .webinar-kicker {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .webinar-panel h1,
  .webinar-panel-wide h1 {
    max-width: none;
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.08;
  }

  .webinar-lead {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.5;
  }

  .webinar-form,
  .webinar-questionnaire-form {
    gap: 24px;
  }

  .webinar-form legend,
  .webinar-consents legend {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.35;
  }

  .webinar-questionnaire-form sl-radio-group,
  .webinar-consents {
    gap: 12px;
  }

  .webinar-questionnaire-form sl-radio::part(base),
  .webinar-consents sl-checkbox::part(base) {
    gap: 12px;
    min-height: 28px;
  }

  .webinar-questionnaire-form sl-radio::part(control),
  .webinar-consents sl-checkbox::part(control) {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .webinar-questionnaire-form sl-radio::part(label),
  .webinar-consents sl-checkbox::part(label) {
    font-size: 16px;
    line-height: 1.42;
  }

  .webinar-form sl-input::part(form-control-label),
  .webinar-form sl-textarea::part(form-control-label) {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.3;
  }

  .webinar-form sl-input::part(input),
  .webinar-form sl-textarea::part(textarea) {
    font-size: 16px;
  }

  .webinar-form sl-input::part(base) {
    min-height: 46px;
  }

  .webinar-form sl-textarea::part(textarea) {
    min-height: 112px;
  }

  .webinar-inline-input {
    max-width: none;
    margin-top: 14px;
  }

  .webinar-conditional {
    padding: 20px 18px;
  }

  .webinar-conditional-compact {
    margin-top: 14px;
  }

  .form-error-list {
    font-size: 15px;
  }

  .webinar-form sl-button {
    width: 100%;
  }

  .webinar-form sl-button::part(base) {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .webinar-thanks-page {
    padding-top: 54px;
  }
}

sl-button::part(base) {
  min-height: 54px;
  border-width: 2px;
  font-size: 18px;
  font-weight: 700;
}
