/* v2.23 · navigation and information architecture refresh */
#tools.activeScreen {
  max-width: 900px;
}
.toolsHero {
  margin-bottom: 18px;
}
.toolsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.toolCard {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  padding: 17px;
  text-align: right;
  box-shadow: 0 7px 24px #24134a0a;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.toolCard:active {
  transform: scale(0.985);
}
.toolIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eee9ff;
  color: var(--p);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}
.toolCard b {
  display: block;
  font-size: 16px;
  margin-top: 16px;
}
.toolCard small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 5px;
}
.toolCard.primaryTool {
  grid-column: 1/-1;
  min-height: 128px;
  background: linear-gradient(145deg, #211a2b, #17131f);
  color: #fff;
  border: 0;
}
.toolCard.primaryTool .toolIcon {
  background: #7b4cff;
  color: #fff;
}
.toolCard.primaryTool small {
  color: #bdb5c7;
}
.toolsSectionLabel {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  margin: 22px 3px 9px;
}
.homeQuickHidden {
  display: none !important;
}
.toolBack {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  border-radius: 13px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.nav button {
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.nav button[data-go="tools"] i {
  font-size: 20px;
}
.homeHero + .globalSearchWrap {
  margin-bottom: 10px;
}
@media (max-width: 520px) {
  .toolsGrid {
    gap: 9px;
  }
  .toolCard {
    border-radius: 18px;
    padding: 14px;
    min-height: 132px;
  }
  .toolCard.primaryTool {
    min-height: 120px;
  }
  .toolIcon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
  .toolCard b {
    font-size: 15px;
    margin-top: 13px;
  }
  .toolCard small {
    font-size: 11px;
  }
}
