/* EG Classes 0.1.1. The page "Classes" (a visitor, a teacher, a class as its students see it) and the
   line above an assignment opened from a class. The colors and corners are the theme's (its --eg-
   properties), with the same values written out for a theme without them. */

.egcl {
  max-width: 760px;
}

/* For a screen reader only. */
.egcl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.egcl__lead {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.55;
}

.egcl__need {
  margin: 0 0 10px;
  color: var(--eg-ink, #1f2c1e);
  font-weight: 650;
}

.egcl__note {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #d3e0c6;
  border-radius: 10px;
  background: var(--eg-tint, #f2f7ec);
  color: var(--eg-ink, #1f2c1e);
  font-size: 15.5px;
  line-height: 1.45;
}

.egcl__note a {
  margin-left: 4px;
  font-weight: 600;
}

.egcl__limit {
  margin: 0 0 14px;
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
}

/* What a form answered. */
.egcl__said {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e4efd9;
  color: #2f4a22;
  font-size: 15.5px;
  font-weight: 600;
}

.egcl__said--bad {
  background: #fbe9e4;
  color: #8a2c1a;
}

/* ---------------------------------------------------------------- buttons, fields */
.egcl .egcl__btn,
.egcl a.egcl__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--eg-rule-strong, #cfcbbf);
  border-radius: var(--eg-radius, 6px);
  background: #fff;
  color: var(--eg-ink, #1f2c1e);
  -webkit-text-fill-color: currentColor;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}

.egcl .egcl__btn:hover,
.egcl a.egcl__btn:hover {
  border-color: var(--eg-muted, #6a7267);
  background: var(--eg-tint, #f2f7ec);
  color: var(--eg-ink, #1f2c1e);
}

.egcl .egcl__btn--main,
.egcl a.egcl__btn--main,
.egcl a.egcl__btn--main:visited {
  border-color: #36552a;
  background: var(--eg-moss, #446931);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.egcl .egcl__btn--main:hover,
.egcl a.egcl__btn--main:hover {
  border-color: #36552a;
  background: #36552a;
  color: #fff;
}

.egcl .egcl__btn--danger {
  border-color: #b4412b;
  background: #b4412b;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.egcl .egcl__btn--danger:hover {
  border-color: #963522;
  background: #963522;
  color: #fff;
}

.egcl .egcl__btn--quiet {
  min-height: 24px; /* big enough to tap */
  padding: 0;
  border-color: transparent;
  background: none;
  color: var(--eg-moss, #446931);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.egcl .egcl__btn--quiet:hover {
  border-color: transparent;
  background: none;
  color: var(--eg-ink, #1f2c1e);
}

/* A button that is put away is out of sight (every button here has a display of its own). */
.egcl .egcl__btn[hidden] {
  display: none;
}

.egcl .egcl__btn:focus-visible,
.egcl a.egcl__btn:focus-visible,
.egcl .egcl__input:focus-visible,
.egcl .egcl-sure__word:focus-visible,
.egcl .egcl-tabs__one:focus-visible,
.egcl-results:focus-visible {
  outline: 2px solid var(--eg-ink, #1f2c1e);
  outline-offset: 2px;
}

.egcl__label {
  color: var(--eg-ink, #1f2c1e);
  font-size: 15px;
  font-weight: 650;
}

.egcl .egcl__input {
  box-sizing: border-box;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 320px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c9cfc2;
  border-radius: var(--eg-radius, 6px);
  background: #fff;
  color: var(--eg-ink, #1f2c1e);
  font-size: 16px; /* no zoom on an iPhone */
}

.egcl select.egcl__input {
  padding-right: 28px;
}

.egcl__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

/* ---------------------------------------------------------------- a teacher: the classes */
.egcl-tabs {
  margin: 0 0 16px;
}

.egcl .egcl-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.egcl .egcl-tabs__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.egcl .egcl-tabs__one {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--eg-rule-strong, #cfcbbf);
  border-radius: 999px;
  background: #fff;
  color: var(--eg-ink, #1f2c1e);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.egcl .egcl-tabs__one:hover {
  background: var(--eg-tint, #f2f7ec);
}

.egcl .egcl-tabs__one[aria-current="page"] {
  border-color: #36552a;
  background: var(--eg-moss, #446931);
  color: #fff;
}

.egcl-card {
  margin: 0 0 22px;
  padding: 18px 20px 20px;
  border: 1px solid var(--eg-panel-border, #e3e6dc);
  border-radius: var(--eg-panel-radius, 14px);
  background: #fff;
}

.egcl-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 12px;
}

.egcl .egcl-card__name {
  margin: 0;
  color: var(--eg-ink, #1f2c1e);
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.egcl-card__count {
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
  font-weight: 600;
}

.egcl .egcl-card__sub {
  margin: 22px 0 8px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 17px;
  line-height: 1.3;
}

.egcl-card__empty {
  margin: 0 0 12px;
  color: var(--eg-muted, #6a7267);
  font-size: 15.5px;
}

/* The class's link: one sentence, the link, "Copy link". */
.egcl-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid #d3e0c6;
  border-radius: 10px;
  background: var(--eg-tint, #f2f7ec);
}

.egcl-link__say {
  flex: 1 1 100%;
  margin: 0;
  color: var(--eg-ink, #1f2c1e);
  font-size: 15.5px;
  line-height: 1.45;
}

.egcl .egcl__input--link {
  flex: 1 1 260px;
  max-width: none;
}

.egcl-link__copied {
  color: #2f4a22;
  font-size: 14.5px;
  font-weight: 600;
}

.egcl-link__copied:empty {
  display: none;
}

/* "Rename", "New link", "Delete class": words in a row; the one pressed opens its question on a line of its own. */
.egcl-more {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 18px;
}

.egcl-sure {
  margin: 0;
}

.egcl-sure[open] {
  flex: 1 1 100%;
}

.egcl .egcl-sure__word {
  display: inline-block;
  padding: 4px 0;
  color: var(--eg-moss, #446931);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
  cursor: pointer;
}

.egcl .egcl-sure__word::-webkit-details-marker {
  display: none;
}

.egcl .egcl-sure__word::marker {
  content: "";
}

.egcl .egcl-sure__word:hover {
  color: var(--eg-ink, #1f2c1e);
}

.egcl-sure__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 6px 0 4px;
}

.egcl-sure__text {
  flex: 1 1 100%;
  margin: 0;
  color: var(--eg-ink, #1f2c1e);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.4;
}

/* The assignments. */
.egcl .egcl-tasks,
.egcl .egcl-work {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: egcl;
}

.egcl .egcl-task,
.egcl .egcl-work__one {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  padding: 10px 0 10px 34px;
  border-top: 1px solid var(--eg-rule, #e5e2d9);
  list-style: none;
  position: relative;
  counter-increment: egcl;
}

.egcl .egcl-task::before,
.egcl .egcl-work__one::before {
  content: counter(egcl);
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--eg-tint, #f2f7ec);
  color: var(--eg-ink, #1f2c1e);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.egcl-task__what,
.egcl-work__what {
  display: flex;
  flex: 1 1 220px;
  flex-direction: column;
  min-width: 0;
}

.egcl-task__title,
.egcl-work__title {
  color: var(--eg-ink, #1f2c1e);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.egcl-task__title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #b9c0b2;
  text-underline-offset: 3px;
}

.egcl-task__title a:hover {
  text-decoration-color: currentColor;
}

.egcl-task__about,
.egcl-work__about {
  color: var(--eg-muted, #6a7267);
  font-size: 14.5px;
  line-height: 1.4;
}

.egcl-task.is-off .egcl-task__about {
  color: #8a2c1a;
}

.egcl-task .egcl-sure[open] {
  flex: 1 1 100%;
}

/* Under them: find an exercise, add a word list. */
.egcl-add {
  padding: 12px 0 0;
  border-top: 1px solid var(--eg-rule, #e5e2d9);
}

.egcl-add__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
}

.egcl-add__form .egcl__label {
  flex: 0 0 76px;
}

.egcl-add__none,
.egcl-found__none {
  margin: 0 0 10px;
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
}

.egcl .egcl-found {
  margin: 0 0 14px;
  padding: 4px 14px;
  border: 1px solid #d3e0c6;
  border-radius: 10px;
  background: var(--eg-tint, #f2f7ec);
  list-style: none;
}

.egcl .egcl-found__one {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #d3e0c6;
  list-style: none;
}

.egcl .egcl-found__one:first-child {
  border-top: 0;
}

.egcl-found__title {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.egcl-found__about,
.egcl-found__there {
  color: var(--eg-muted, #6a7267);
  font-size: 14.5px;
}

.egcl-found__there {
  font-weight: 650;
}

.egcl-found__form {
  margin: 0;
}

.egcl .egcl-found .egcl__btn {
  min-height: 34px;
}

/* The results: a table that moves sideways inside its frame when the class has many assignments; the names stay in sight. */
.egcl-results {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--eg-rule, #e5e2d9);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.egcl .egcl-table {
  width: auto;
  min-width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.35;
}

.egcl .egcl-table th,
.egcl .egcl-table td {
  padding: 9px 12px;
  border: 0;
  border-top: 1px solid var(--eg-rule, #e5e2d9);
  background: #fff;
  text-align: left;
  vertical-align: top;
}

.egcl .egcl-table thead th {
  border-top: 0;
  background: #f7f6f1;
  color: var(--eg-ink, #1f2c1e);
  font-size: 14px;
  font-weight: 650;
}

.egcl .egcl-table__who {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 120px;
  max-width: 180px;
  border-right: 1px solid var(--eg-rule, #e5e2d9);
  overflow-wrap: break-word; /* a long name breaks at its hyphen or space first */
}

.egcl .egcl-table__task {
  min-width: 118px;
  max-width: 170px;
}

.egcl-table__n {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  margin-right: 2px;
  border-radius: 50%;
  background: #e4efd9;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.egcl-table__title {
  overflow-wrap: anywhere;
}

.egcl-table__done {
  display: block;
  margin-top: 2px;
  color: var(--eg-muted, #6a7267);
  font-size: 13px;
  font-weight: 600;
}

.egcl-table__name {
  display: block;
  color: var(--eg-ink, #1f2c1e);
  font-weight: 650;
}

.egcl .egcl-table .egcl-sure__word {
  min-height: 24px; /* big enough to tap */
  padding: 0;
  color: var(--eg-muted, #6a7267);
  font-size: 13px;
  line-height: 24px;
}

.egcl .egcl-table .egcl-sure__form {
  margin: 4px 0 0;
}

.egcl .egcl-table .egcl-sure__text {
  font-size: 14px;
}

/* Beside a student's code: what a new code does (a note, not a question). */
.egcl .egcl-table .egcl-table__code + .egcl-sure__text {
  color: var(--eg-muted, #6a7267);
  font-weight: 400;
}

.egcl .egcl-table .egcl__btn {
  min-height: 32px;
  font-size: 14px;
}

.egcl-cell__main {
  display: block;
  color: var(--eg-ink, #1f2c1e);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.egcl-cell--part .egcl-cell__main {
  color: var(--eg-muted, #6a7267);
}

.egcl-cell__sub {
  display: block;
  color: var(--eg-muted, #6a7267);
  font-size: 13px;
}

.egcl .egcl-table .egcl-cell--none {
  color: var(--eg-muted, #6a7267);
}

/* A new class. */
.egcl-new {
  margin: 0 0 10px;
}

.egcl .egcl-new__title {
  margin: 0 0 8px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 17px;
  line-height: 1.3;
}

/* ---------------------------------------------------------------- a class, as its students see it */
.egcl-join {
  margin: 0 0 18px;
}

.egcl-join .egcl__label {
  display: block;
  margin: 0 0 6px;
  font-size: 17px;
}

.egcl-join__say {
  margin: 10px 0 0;
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
}

.egcl-hi {
  margin: 0 0 12px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 19px;
  font-weight: 650;
}

.egcl .egcl-work {
  padding: 0 18px;
  border: 1px solid var(--eg-panel-border, #e3e6dc);
  border-radius: var(--eg-panel-radius, 14px);
  background: #fff;
}

.egcl .egcl-work__one {
  padding-top: 14px;
  padding-bottom: 14px;
}

.egcl .egcl-work__one:first-child {
  border-top: 0;
}

.egcl .egcl-work__one::before {
  top: 15px;
}

.egcl .egcl-work__one.is-done::before {
  background: var(--eg-moss, #446931);
  color: #fff;
}

.egcl-work__see {
  margin-left: 6px;
}

.egcl-work__state {
  margin-top: 2px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 14.5px;
  font-weight: 650;
}

.egcl-leave {
  margin: 14px 0 6px;
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
}

/* ---------------------------------------------------------------- an assignment opened from a class */
.egcl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid #d3e0c6;
  border-radius: 10px;
  background: var(--eg-tint, #f2f7ec);
  color: var(--eg-ink, #1f2c1e);
  font-size: 15.5px;
  line-height: 1.45;
}

.egcl-bar__back {
  font-weight: 650;
}

/* After an exercise, in its result: "Sent to your teacher." and the way back. */
.egcl-sent {
  flex: 1 1 100%;
  margin: 10px 0 0;
  color: var(--eg-ink, #1f2c1e);
  font-size: 15.5px;
  font-weight: 650;
}

.egcl-sent:empty {
  display: none;
}

.egcl-sent__again {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--eg-rule-strong, #cfcbbf);
  border-radius: var(--eg-radius, 6px);
  background: #fff;
  color: var(--eg-ink, #1f2c1e);
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
}

/* ---------------------------------------------------------------- a phone */
@media (max-width: 480px) {
  .egcl-card {
    padding: 16px 14px 16px;
  }

  .egcl .egcl-work {
    padding: 0 14px;
  }

  .egcl-add__form .egcl__label {
    flex: 1 1 100%;
  }

  .egcl .egcl__input {
    max-width: none;
  }

  .egcl .egcl-table__who {
    min-width: 96px;
    max-width: 120px;
  }

  .egcl-work__one .egcl__btn {
    flex: 1 1 100%;
  }
}

@media print {
  .egcl-more,
  .egcl-add,
  .egcl-new,
  .egcl-link .egcl__btn,
  .egcl-table .egcl-sure,
  .egcl-bar {
    display: none !important;
  }

  .egcl-results {
    overflow: visible;
    border: 0;
  }
}

/* ---------------------------------------------------------------- the Account page: "Your classes" */
.egcl-account {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.egcl-account li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid var(--eg-rule, #e5e2d9);
  list-style: none;
}

.egcl-account li:first-child {
  border-top: 0;
}

.egcl-account a {
  font-weight: 650;
  overflow-wrap: anywhere;
}

.egcl-account__count {
  color: var(--eg-muted, #6a7267);
  font-size: 14.5px;
}

.egcl-account__in {
  margin: 10px 0 0;
  color: var(--eg-muted, #6a7267);
  font-size: 14.5px;
  font-weight: 650;
}

/* ---------------------------------------------------------------- a student's code; a closed class */
.egcl .egcl-card__sub,
.egcl-add {
  scroll-margin-top: 96px; /* the answer to a form is shown here: under the site's own bar, not behind it */
}

.egcl .egcl-table__code {
  margin: 0 0 6px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* A student who is shut out for the moment: the names' column makes room for the note (also on a phone, where it is narrow). */
.egcl .egcl-table__who:has(.egcl-table__lock) {
  min-width: 164px;
  max-width: 200px;
}

.egcl-table__lock {
  display: block;
  max-width: 220px;
  margin-top: 2px;
  color: #8a3b12;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

.egcl-card__closed {
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #8a3b12;
  font-size: 13px;
  font-weight: 600;
}

.egcl-join .egcl-join__code {
  margin-top: 14px;
}

.egcl .egcl__input--code {
  flex: 0 1 130px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.egcl-code {
  margin: 6px 0 14px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 15px;
}

.egcl-leave {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

.egcl-leave .egcl-sure[open] {
  flex: 1 1 100%;
}

.egcl-table__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}

.egcl-table__acts .egcl-sure[open] {
  flex: 1 1 100%;
}

.egcl-join__account {
  margin: 12px 0 0;
  color: var(--eg-muted, #6a7267);
  font-size: 15px;
}

/* After a round of the class's word list, in the round's own result. */
.egcl-round {
  font-weight: 650;
}

.egcl-round:empty {
  display: none;
}

.egcl-round .egcl-sent__again {
  margin-left: 4px;
}

/* ---------------------------------------------------------------- a visitor's page: what classes are (0.1.1) */
.egcl--visitor .egcl__lead {
  margin-bottom: 14px;
  font-size: 19px;
}

.egcl-pitch__go {
  margin: 0 0 30px;
}

.egcl .egcl-pitch__go .egcl__btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 16px;
}

.egcl .egcl-pitch__title {
  margin: 0 0 14px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

/* The steps are a path: a line leads from one number to the next. */
.egcl .egcl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: egcl-step;
}

.egcl .egcl-step {
  position: relative;
  margin: 0;
  padding: 40px 0 0;
  list-style: none;
  counter-increment: egcl-step;
}

.egcl .egcl-step::before {
  content: counter(egcl-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--eg-moss, #446931);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.egcl .egcl-step::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 38px;
  right: -10px;
  height: 2px;
  background: #d3e0c6;
}

.egcl .egcl-step:last-child::after {
  display: none;
}

.egcl-step__title {
  display: block;
  margin-bottom: 3px;
  color: var(--eg-ink, #1f2c1e);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.egcl-step__text {
  display: block;
  color: #4d564a;
  font-size: 15.5px;
  line-height: 1.5;
}

/* The example of the results table, and the line under it. */
.egcl-results--sample {
  margin: 0 0 8px;
}

.egcl-pitch__note {
  margin: 0 0 24px;
  color: var(--eg-muted, #6a7267);
  font-size: 14px;
  line-height: 1.45;
}

.egcl .egcl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.egcl .egcl-fact {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  color: var(--eg-ink, #1f2c1e);
  font-size: 16px;
  line-height: 1.45;
}

.egcl .egcl-fact::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e4efd9;
}

.egcl .egcl-fact::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 6.5px;
  width: 4px;
  height: 8px;
  border: solid #2f4a22;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.egcl-pitch__join {
  padding-top: 24px;
  border-top: 1px solid var(--eg-rule, #e5e2d9);
  scroll-margin-top: 96px; /* "Join free" at the top leads here: under the site's own bar, not behind it */
}

@media (max-width: 640px) {
  .egcl .egcl-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .egcl .egcl-step {
    padding: 2px 0 20px 44px;
  }

  .egcl .egcl-step:last-child {
    padding-bottom: 0;
  }

  .egcl .egcl-step::after {
    top: 34px;
    right: auto;
    bottom: 6px;
    left: 13px;
    width: 2px;
    height: auto;
  }

  /* On a phone the example shows two assignments, so that it fits its frame. */
  .egcl-results--sample .egcl-table__task:nth-child(4),
  .egcl-results--sample td:nth-child(4) {
    display: none;
  }

  .egcl .egcl-results--sample .egcl-table__who {
    min-width: 76px;
  }

  .egcl .egcl-results--sample .egcl-table__task {
    min-width: 96px;
  }

  .egcl .egcl-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}
