.eet-overview,
.eet-tinted {
  background: #f3edeb;
}

.eet-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.eet-milestones article {
  padding: 26px;
  border: 1px solid #e7dcd8;
  border-radius: 14px;
  background: #fff;
}

.eet-milestones time {
  color: #bb343d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.eet-milestones h3 {
  margin: 16px 0 10px;
  font-size: 21px;
}

.eet-milestones p,
.eet-meta {
  color: #70666c;
  font-size: 14px;
}

.eet-meta {
  margin: 24px 0 0;
}

.eet-meta a,
.eet-source a,
.eet-sources a {
  color: #a8303b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eet-guide .eet-hero {
  padding: 48px 0 62px;
  background: #202024;
  color: #fff;
}

.eet-back {
  display: inline-block;
  margin-bottom: 26px;
  color: #d7c5cc;
  font-size: 14px;
}

.eet-hero-copy {
  max-width: 680px;
  color: #ddd1d6;
  font-size: 19px;
  line-height: 1.9;
}

.eet-hero .eet-meta {
  color: #c2adb5;
}

.eet-contents {
  background: #fff;
  border-bottom: 1px solid #e7dcd8;
}

.eet-contents .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.eet-contents a {
  padding: 6px 0;
  color: #9d303a;
  font-size: 14px;
  font-weight: 700;
}

.eet-reading {
  max-width: 850px;
}

.eet-guide h2 {
  margin: 12px 0 26px;
}

.eet-guide h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.eet-guide p {
  line-height: 1.95;
}

.eet-guide strong {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.eet-source {
  margin: 16px 0 0;
  color: #70666c;
  font-size: 13px;
}

.eet-timeline,
.eet-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.eet-timeline {
  border-left: 2px solid #d6b9bd;
  margin-left: 8px;
}

.eet-timeline li {
  position: relative;
  padding: 0 0 30px 30px;
}

.eet-timeline li::before {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b33e49;
  content: "";
}

.eet-timeline li > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.eet-timeline time {
  color: #9d303a;
  font-size: 18px;
  font-weight: 700;
}

.eet-timeline p {
  margin: 0;
  color: #70666c;
}

.eet-badge {
  padding: 2px 10px;
  border-radius: 20px;
  background: #e2eade;
  color: #365b3c;
  font-size: 12px;
}

.eet-badge.planned {
  background: #eadfe1;
  color: #8b3c48;
}

.eet-steps {
  counter-reset: eet-step;
}

.eet-steps > li {
  position: relative;
  padding: 0 0 30px 56px;
  counter-increment: eet-step;
}

.eet-steps > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #b33e49;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  content: counter(eet-step, decimal-leading-zero);
}

.eet-steps p {
  margin: 10px 0;
}

.eet-note {
  margin: 26px 0;
  padding: 24px 28px;
  border-left: 3px solid #b33e49;
  border-radius: 0 12px 12px 0;
  background: #fff;
  box-shadow: 0 8px 30px #3e142009;
}

.eet-note p:last-child {
  margin-bottom: 0;
}

.eet-fields {
  margin: 18px 0;
  padding: 0 20px;
  border: 1px solid #e7dcd8;
  border-radius: 12px;
  background: #fff;
}

.eet-fields > div {
  padding: 16px 0;
}

.eet-fields > div + div {
  border-top: 1px solid #e7dcd8;
}

.eet-fields dt {
  color: #9d303a;
  font-weight: 700;
}

.eet-fields dd {
  margin: 5px 0 0;
}

.eet-faq details {
  border-bottom: 1px solid #e2d8d5;
}

.eet-faq summary {
  padding: 22px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.eet-faq details > div {
  padding: 0 0 20px;
}

.eet-faq details p {
  margin: 0 0 12px;
}

.eet-sources {
  display: grid;
  gap: 16px;
  padding-left: 22px;
}

.eet-guide a:focus-visible,
.eet-overview a:focus-visible,
.eet-faq summary:focus-visible {
  outline: 2px solid #b33e49;
  outline-offset: 5px;
}

/* Give the expanded Chinese navigation enough room on smaller desktops. */
@media (min-width: 981px) and (max-width: 1250px) {
  .qkasa-refresh:lang(zh-CN) .navbar {
    width: calc(100% - 32px);
  }

  .qkasa-refresh:lang(zh-CN) .brand img {
    width: 150px;
  }

  .qkasa-refresh:lang(zh-CN) .nav-links > a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
  }
}

@media (max-width: 650px) {
  .eet-milestones {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eet-milestones article {
    padding: 22px;
  }

  .eet-guide .eet-hero {
    padding: 28px 0 40px;
  }

  .eet-hero-copy {
    font-size: 16px;
  }

  .eet-contents .container {
    gap: 8px 20px;
  }

  .eet-steps > li {
    padding-left: 46px;
  }

  .eet-guide h3 {
    font-size: 19px;
  }

  .eet-note {
    padding: 20px;
  }

  .eet-guide .hero-actions,
  .eet-overview .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

.eet-upload {
  background: #fff9f5;
  border-top: 1px solid #e7dcd8;
  border-bottom: 1px solid #e7dcd8;
}

.eet-guide section[id] {
  scroll-margin-top: 28px;
}

.eet-guide .btn:focus-visible,
.eet-overview .btn:focus-visible {
  outline: 3px solid #bb343d;
  outline-offset: 4px;
}
