#login label {
  display: grid;
  gap: 3px;
}
.lesson-reader, .course-outline {
  max-width: 54rem;
}
.lesson-reader h2, .course-outline h3 {
  margin: 1.9rem 0 .55rem;
}
.lesson-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem 2rem;
  margin: 1rem 0;
  padding: .85rem 0;
  border-block: 1px solid var(--line);
}
.lesson-nav a { max-width: 100%; }
.worked-steps li { padding-inline-start: .35rem; }
.embedded-practice { border-top: 1px solid var(--line); margin-top: 1rem; }
.course-outline select { max-width: 100%; padding: .45rem; font: inherit; }
.course-outline label { display: block; }
.practice-topic { display: block; color: var(--muted); }
#topic-graph {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 2rem;
  margin: 1rem 0;
  border-block: 1px solid var(--line);
}
#topic-graph ul { padding-inline-start: 1.2rem; }
#topic-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#topic-graph path { stroke: var(--muted); stroke-width: 1; fill: none; }
@media (max-width: 640px) {
  #topic-graph { grid-template-columns: 1fr; gap: 0; }
}
#login input {
  width: 100%;
}
html.dark body:not(.read) {
  background-color: transparent;
}
details iframe {
  display: block;
  border: 1px solid var(--line);
  margin-top: 8px;
}
.part article {
  overflow-wrap: anywhere;
}
.landing header {
  background: transparent;
  border-color: transparent;
}
.landing header .brand {
  visibility: hidden;
}
.landing main {
  min-height: calc(100svh - 76px);
  display: grid;
  max-width: none;
  align-items: center;
  justify-content: start;
  padding: 30px 7.6% 100px;
}
.welcome {
  text-align: left;
  max-width: 660px;
}
.welcome h1 {
  font-family: Geist, "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 76px;
  line-height: 1.14;
  letter-spacing: 0;
  margin: 0;
}
.welcome p {
  margin: 24px 0 30px;
  font-size: 18px;
}
.welcome,
.landing nav {
  position: relative;
  isolation: isolate;
}
.welcome::before {
  content: "";
  position: absolute;
  inset: -90px -42px -90px -24vw;
  background: var(--paper);
  opacity: 0.87;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 48%, transparent 76%);
  pointer-events: none;
}
.auth {
  max-width: 420px;
  margin: 7vh auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
}
.auth h1 {
  font-size: 32px;
  font-weight: 500;
}
.auth form {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}
.auth input {
  height: 44px;
}
#auth-error {
  color: var(--warn);
  font-size: 14px;
  margin: 0;
}
#auth-error:empty {
  display: none;
}
.brand,
.welcome h1 {
  letter-spacing: 0;
}
button,
.btn {
  min-height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
button.enter {
  min-height: 54px;
  padding: 5px 5px 5px 23px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.direction {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #d7efdb;
  border-radius: 50%;
}
.direction img {
  width: 21px;
  height: 21px;
}
button[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .welcome h1 {
    font-size: 44px;
  }
  .welcome p {
    font-size: 17px;
    max-width: 19em;
  }
  .auth {
    margin: 4vh auto 0;
  }
}
