.help-button {
  font: 700 15px "DM Mono", monospace;
  color: var(--teal);
}

body:has(#help.active) #addEquipment {
  display: none;
}

.help-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(340px, .9fr);
  gap: 35px;
  align-items: center;
  margin-bottom: 18px;
  padding: 29px 31px;
  overflow: hidden;
  border: 1px solid #174e59;
  border-radius: 9px;
  background: radial-gradient(circle at 82% 20%, #2b8c7c4d, transparent 33%), linear-gradient(120deg, #082a38, #0c4249 65%, #0b3541);
  box-shadow: 0 12px 30px #103c4412;
}

.help-hero:after {
  content: "?";
  position: absolute;
  right: 44%;
  top: -45px;
  color: transparent;
  -webkit-text-stroke: 1px #ffffff0d;
  font: 500 190px Manrope, sans-serif;
  pointer-events: none;
}

.help-hero-copy {
  position: relative;
  z-index: 1;
}

.help-hero-copy small {
  color: #7dd2c4;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: 1.8px;
}

.help-hero-copy h2 {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

.help-hero-copy p {
  color: #a9c0c1;
  font-size: 11px;
}

.help-search-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 49px;
  padding: 0 12px 0 15px;
  border: 1px solid #ffffff2f;
  border-radius: 5px;
  background: #031c28a6;
  box-shadow: inset 0 1px #ffffff0e, 0 12px 28px #00141e38;
  backdrop-filter: blur(12px);
}

.help-search-wrap > span {
  margin-right: 10px;
  color: #7cd5c6;
  font-size: 20px;
}

.help-search-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef7f5;
  font: 11px Manrope, sans-serif;
}

.help-search-wrap input::placeholder {
  color: #789599;
}

.help-search-wrap kbd {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-left: 8px;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  color: #8da7a9;
  background: #ffffff09;
  font: 500 9px "DM Mono", monospace;
}

.help-search-wrap button {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  border: 0;
  background: transparent;
  color: #8ea5a7;
  font-size: 17px;
  cursor: pointer;
}

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

.help-navigation {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.help-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 17px 13px;
  border-bottom: 1px solid var(--line);
  color: #75898e;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .8px;
}

.help-nav-head b {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 19px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e4f3ef;
  color: var(--teal);
  font-weight: 500;
}

.help-navigation nav {
  display: grid;
  max-height: 525px;
  padding: 7px;
  overflow: auto;
}

.help-navigation nav button {
  display: grid;
  grid-template-columns: 27px 1fr 10px;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #577078;
  text-align: left;
  cursor: pointer;
}

.help-navigation nav button:hover {
  background: #f3f7f6;
}

.help-navigation nav button.active {
  background: #e8f4f1;
  color: #0b6f6c;
  box-shadow: inset 2px 0 #1c9b91;
}

.help-navigation nav button > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #dbe6e4;
  border-radius: 5px;
  color: #65918e;
  background: #fff;
  font: 500 11px "DM Mono", monospace;
}

.help-navigation nav button strong {
  display: block;
  font-size: 10px;
}

.help-navigation nav button small {
  display: block;
  margin-top: 2px;
  color: #93a1a4;
  font-size: 8px;
}

.help-navigation nav button i {
  color: #9aabad;
  font-style: normal;
}

.help-support {
  display: flex;
  gap: 9px;
  margin: 8px;
  padding: 12px;
  border-radius: 6px;
  background: #f2f6f5;
}

.help-support > span {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 50%;
  background: #dfeeea;
  color: var(--teal);
  font: 700 11px "DM Mono", monospace;
}

.help-support strong {
  font-size: 9px;
}

.help-support p {
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.45;
}

.help-workspace {
  min-height: 640px;
  overflow: hidden;
}

.help-tutorial > header {
  display: grid;
  grid-template-columns: 49px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 25px 27px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #fbfdfc, #f4f9f7);
}

.help-topic-icon,
.help-result-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #cfe4df;
  border-radius: 8px;
  background: #e5f3f0;
  color: #128179;
  font: 500 19px "DM Mono", monospace;
}

.help-tutorial > header small,
.help-result-card small {
  color: #549086;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: 1.1px;
}

.help-tutorial > header h2 {
  margin: 4px 0 2px;
  font-size: 19px;
}

.help-tutorial > header p {
  max-width: 550px;
  font-size: 10px;
}

.help-open-section {
  align-self: center;
  background: #fff;
}

.help-steps {
  padding: 22px 27px 14px;
}

.help-section-title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: #6c8186;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: 1px;
}

.help-section-title b {
  color: #1b8178;
  font-weight: 500;
}

.help-steps > section {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 16px 3px;
  border-bottom: 1px solid #edf1f0;
}

.help-step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #103e49;
  color: #aee7dd;
  font: 500 9px "DM Mono", monospace;
  box-shadow: 0 4px 9px #123c4520;
}

.help-steps h3 {
  margin: 0 0 4px;
  font-size: 11px;
}

.help-steps p {
  font-size: 10px;
  line-height: 1.65;
}

.help-guidance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 27px 22px;
}

.help-guidance section {
  display: flex;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #d9eae6;
  border-radius: 6px;
  background: #f0f8f6;
}

.help-guidance section.caution {
  border-color: #eddcc0;
  background: #fff8ec;
}

.help-guidance section > span {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  height: 21px;
  border-radius: 50%;
  background: #72baae;
  color: #fff;
  font-size: 9px;
}

.help-guidance section.caution > span {
  background: #d29a43;
}

.help-guidance strong {
  color: #25766f;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: .7px;
}

.help-guidance .caution strong {
  color: #a06b20;
}

.help-guidance p {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.55;
}

.help-tutorial > footer {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 27px 17px;
  border-top: 1px solid var(--line);
  background: #fafcfc;
}

.help-tutorial > footer > span {
  margin-right: 5px;
  color: #849598;
  font: 500 7px "DM Mono", monospace;
  letter-spacing: .8px;
}

.help-tutorial > footer button {
  padding: 5px 8px;
  border: 1px solid #dce5e4;
  border-radius: 10px;
  background: #fff;
  color: #678085;
  font-size: 8px;
  cursor: pointer;
}

.help-tutorial > footer button:hover {
  border-color: #9bcfc7;
  color: var(--teal);
}

.help-search-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
  background: #f7faf9;
}

.help-search-state[hidden] {
  display: none;
}

.help-search-state span {
  display: block;
  color: #789094;
  font: 500 7px "DM Mono", monospace;
  letter-spacing: 1px;
}

.help-search-state strong {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}

.help-search-state button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.help-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 19px;
}

.help-result-card {
  display: grid;
  grid-template-columns: 42px 1fr 15px;
  gap: 12px;
  align-items: start;
  min-height: 145px;
  padding: 16px;
  border: 1px solid #e0e8e7;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .16s, border-color .16s, box-shadow .16s;
}

.help-result-card:hover {
  transform: translateY(-2px);
  border-color: #add6cf;
  box-shadow: 0 8px 20px #123a4412;
}

.help-result-icon {
  width: 41px;
  height: 41px;
  font-size: 15px;
}

.help-result-card h3 {
  margin: 5px 0 4px;
  font-size: 12px;
}

.help-result-card p {
  font-size: 9px;
  line-height: 1.55;
}

.help-result-card div > span {
  display: block;
  margin-top: 8px;
  color: #25867d;
  font: 500 8px "DM Mono", monospace;
}

.help-result-card > i {
  align-self: center;
  color: #6e9a95;
  font-style: normal;
}

.help-empty {
  display: grid;
  place-items: center;
  min-height: 500px;
  padding: 40px;
  text-align: center;
}

.help-empty > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e7f2ef;
  color: #4b938b;
  font-size: 28px;
}

.help-empty h2 {
  margin: 14px 0 0;
}

.help-empty p {
  max-width: 390px;
  font-size: 10px;
}

.help-empty .button {
  margin-top: 10px;
}

@media (max-width: 1050px) {
  .help-hero {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .help-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .help-tutorial > header {
    grid-template-columns: 45px 1fr;
  }

  .help-open-section {
    grid-column: 2;
    justify-self: start;
  }

  .help-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .help-shell {
    display: block;
  }

  .help-navigation {
    position: static;
    margin-bottom: 14px;
  }

  .help-navigation nav {
    grid-template-columns: repeat(2, 1fr);
    max-height: 260px;
  }

  .help-guidance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .help-hero {
    padding: 22px 19px;
  }

  .help-navigation nav {
    grid-template-columns: 1fr;
  }

  .help-tutorial > header {
    padding: 20px;
  }

  .help-steps,
  .help-guidance {
    padding-left: 19px;
    padding-right: 19px;
  }
}
