.guide {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin-top: 2.5rem;
}
/* STEP CARD */
.guide > li {
  counter-increment: step;
  position: relative;
  background: #efefef;
  border-radius: 14px;
  padding: 2rem 2.5rem 1.8rem 5rem;
  margin-bottom: 1.6rem;
  box-shadow: 3px 3px 4px rgba(0,0,0,0.4);
}
/* INTRO */
  h2.head {
  font-size: 1.4rem;
  text-align: justify;
  line-height: 1.8rem;
  margin-top: 1rem;
}
/* TITLE */
.guide > li h3 {
  margin: -0.2rem 0 0.9rem 0.8rem;
  font-size: 1.3rem;
  line-height: 1.8rem;
  word-spacing: 0.2rem;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* NUMBER BADGE */
.guide > li::before {
  content: counter(step);
  position: absolute;
  font-family: 'Exo 2', Arial, sans-serif;
  top: 1.5rem;
  left: 1.7rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0077a8;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
}
/* WARNING STEP */
.guide > li.warning {
  counter-increment: step 0;
}
.guide > li.warning:before {
  top: 1rem;
  content: "!!";
  background: #fff;
  color: #000;
}
.guide > li.warning {
  background: #f4c542;
}
.guide > li.warning {
  padding: 1.6rem 2rem 0.5rem 5.5rem;
}
/* INTRO STEP */
.guide > li.intro {
  counter-increment: step 0;
}
.guide > li.intro:before {
  top: 1.1rem;
  content: "?";
  background: #FFF;
  color: #000;
}
.guide > li.intro {
  padding: 1.6rem 2rem 0.5rem 5.5rem;
}
.guide > li.intro.insight {
  background: #b6ecfa;
}
/* OK STEP */
.guide > li.ok {
  counter-increment: step 0;
}
.guide > li.ok:before {
  top: 1rem;
  content: "✓";
  background: #FFF;
  color: #000;
}
.guide > li.ok {
  background: #42f4a1;
}
.guide > li.ok {
  padding: 1.6rem 2rem 0.5rem 5.5rem;
}
/* MEDIA */
.guide .guide-media {
  margin-top: 1.2rem;
  margin-left: 0.8rem;
  border-radius: 8px;
  border: 1px solid color(srgb 0 0 0);
  overflow: hidden;
  position: relative;
}
.guide .guide-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
/* MENU ITEM BLUE */
.guide .guide-menu-item {
  display: inline;
  font-size: smaller;
  justify-content: space-between;
  background: #0077a8;
  color: #FFF;
  padding: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #333;
}
/* MENU ITEM GREY */
.guide .guide-menu-fp {
  display: inline;
  font-size: smaller;
  justify-content: space-between;
  background: #ffffff;
  color: #333;
  padding: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #333;
}
/* LISTS */
.steps {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 -0.8rem;
}
.steps > li {
  border-radius: 11px;
  padding: 0.7rem 1.2rem;
  margin: 0.8rem 0 0.8rem 0.8rem;
  text-align: left;
}
.steps > li h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4rem;
  color: #005b84;
}
/* STEPS TEXT */
.steps > li p {
  margin: 0;
  line-height: 1.4rem;
  text-align: justify;
} */
/* TERMINOLOGY */
.terms {
  margin: 0.5rem 0;
  padding: 0;
}
.term-item {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid #bbb;
}
.term-item:last-child {
  border-bottom: none;
}
.term-item dt {
  margin: 0 0 0.35rem 0;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #444;
  line-height: 1.2;
  letter-spacing: 0.05rem;
}
/* DEFINITION */
.term-item dd {
  margin: 0;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.4;
  text-align: left;
}
/* CODE */
code {
  font-size: 1.1rem;
  font-weight: 600;
  color: #005b84;
  word-spacing: -0.3rem;
}
/* GOOGLEFIX */
.notranslate::before,
.notranslate::after 
code.notranslate::before,
code.notranslate::after {
  margin-left: 0.2em;
  margin-right: 0.2em;
  white-space: nowrap;
  content: " ";
}
/* SHORTLIST */
.short-list {
  list-style: none;
  counter-reset: item;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid #bbb;
}
.short-list li {
  counter-increment: item;
  border-bottom: 1px solid #bbb;
}
.short-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  text-decoration: none;
  color: #000;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4rem;
  transition: color 0.2s ease;
}
/* NUMBER */
.short-list a::before {
  content: counter(item, decimal-leading-zero);
  color: #bbb;
  font-size: 1.1rem;
  font-family: 'Exo 2', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  width: 2.2rem;
  text-align: center;
  padding-right: 1rem;
  margin-top: 0.2rem;
  border-right: 1px solid #bbb;
}
/* ARROW */
.short-list a::after {
  content: "→";
  margin-left: auto;
  padding-right: 1rem;
  color: #888;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.short-list a:hover {
  color: #006087;
  transform: translateX(4px);
}
.short-list a:hover::before {
  color: #006087;
}
.short-list a:hover::after {
  transform: translateX(4px);
  color: #006087;
}

/* MOBILE */
@media (max-width: 600px) {
  h2.head {
  font-size: 1.1rem;
  line-height: 1.4rem;
  }
  .guide {
    margin: 1.5rem 0;
  }
  .guide > li {
    padding: 0.8rem;
    padding-top: 3.6rem;
    border-radius: 11px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.16);
  }
  .guide > li::before {
    top: 0.8rem;
    left: 0.8rem;
    margin-bottom: 0;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .guide > li h3 {
    font-size: 1.05rem;
    line-height: 1.35rem;
    margin: 0 0 0.5rem 0;
  }
  .guide .guide-media {
    margin-top: 1rem;
    margin-left: 0;
    border-radius: 8px;
  }
  .guide .guide-media img {
    border-radius: 8px;
  }
  .guide > li.intro {
    padding: 1rem 1rem 0.5rem 4rem;
  }
  .guide > li.warning {
    padding: 1rem 1rem 0.5rem 4rem;
  }
  .guide > li.ok {
    padding: 1rem 1rem 0.5rem 4rem;
  }
  .steps > li {
    padding: 0.4rem 0.8rem;
    margin: 0.6rem 0;
    border-radius: 9px;
  }
  .steps > li h3 {
    font-size: 1rem;
    line-height: 1.3rem;
    text-align: left;
    margin-bottom: 0.2rem;
  }
  .guide .guide-menu-item {
    font-size: 0.8rem;
  }
  .guide .guide-menu-item::after {
    width: 6px;
    height: 6px;
  }
  .term-item dt {
    font-size: 1rem;
  }
  .term-item dd {
    font-size: 1rem;
  }
  code {
    font-size: 0.9rem;
    letter-spacing: -0.02rem;
  }
  .short-list a {
    font-size: 1.1rem;
    gap: 0.7rem;
  }
  .short-list a::before {
    min-width: 1.2rem;
    padding-right: 0.6rem;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    width: 1.7rem;
  }
  .short-list a::after {
    font-size: 1.5rem;
    display: none;
  }
  .text-ticker a,
  .text-ticker span {
    font-size: 1.1rem;
  }
}
/* Tutorial directory search (scoped; shared guide/ticker styles stay unchanged). */
#tutorial-search[hidden],
#tutorial-search [hidden],
#tutorial-directory [hidden] {
  display: none !important;
}
.tutorial-search {
  margin: 2rem 0 0;
  text-align: left;
}
.tutorial-search label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #005b84;
}
#tutorial-search-help,
#tutorial-search-status p {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  line-height: 1.4;
}
.tutorial-search__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0;
}
.tutorial-search input,
.tutorial-search button {
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #777;
  border-radius: 9px;
  padding: 0.6rem 0.8rem;
  font: inherit;
  line-height: 1.3;
}
.tutorial-search input {
  flex: 1 1 16rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  color: #000;
}
.tutorial-search input::placeholder {
  color: #666;
  opacity: 1;
}
.tutorial-search button {
  background: #f1f1f1;
  color: #000;
  border-color: #ADADAD;
  cursor: pointer;
}
.tutorial-search button:hover {
  background: #005f85;
}
.tutorial-search input:focus,
.tutorial-search button:focus,
#tutorial-directory a:focus-visible {
  outline: 2px solid #005b84;
  outline-offset: 3px;
}
/* Keep live numeric counts free of the existing .notranslate pseudo-spaces. */
#tutorial-search .notranslate::before,
#tutorial-search .notranslate::after {
  content: none;
}
@media (max-width: 600px) {
  .tutorial-search button {
    flex: 1 1 auto;
  }
}
