.blob-commands-page {
  min-height: 100svh;
  height: auto;
  overflow: visible;
  background: #121317;
}

.blob-commands-page * {
  box-sizing: border-box;
}

body:has(.blob-commands-page) {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.blob-commands-page .blob-home-header {
  position: relative;
}

.blob-commands-page .blob-home-nav a[aria-current="page"] {
  color: #fff;
}

.blob-commands-page .blob-home-nav a[aria-current="page"] img {
  filter: brightness(0) invert(1);
}

.blob-commands-page .blob-home-menu nav a[aria-current="page"] {
  color: #fff;
}

.commands-page-content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
  padding: 78px 0 0;
}

.commands-page-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.commands-page-kicker {
  margin: 0 0 14px;
  color: #7A9BFC;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.commands-main-title {
  margin: 0;
  color: #fff;
  font-family: "Cal Sans", Inter, Arial, sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.commands-main-desc {
  max-width: 580px;
  margin: 16px auto 0;
  color: #9AA5C4;
  font-size: 16px;
  line-height: 1.6;
}

.commands-argument-legend {
  margin: 38px auto 18px;
  color: #9AA5C4;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.module-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.module-pill {
  min-height: 34px;
  border: 1px solid #313131;
  border-radius: 9px;
  background: transparent;
  color: #9AA5C4;
  padding: 7px 13px;
  font: 600 12px Inter, sans-serif;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.module-pill:hover,
.module-pill.active {
  border-color: #7A9BFC;
  background: #1B2030;
  color: #fff;
}

.commands-table-wrapper {
  overflow-x: auto;
  margin-bottom: 72px;
  border: 1px solid #313131;
  border-radius: 12px;
  background: #141414;
}

.commands-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.commands-table th {
  padding: 14px 20px;
  border-bottom: 1px solid #313131;
  background: #18191d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.commands-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #9AA5C4;
  font-size: 13px;
  line-height: 1.55;
  vertical-align: top;
}

.commands-table tr:last-child td {
  border-bottom: 0;
}

.commands-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, .018);
}

.cmd-name-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cmd-slash {
  color: #7A9BFC;
  font-weight: 800;
}

.cmd-name-text {
  color: #fff;
  font-weight: 700;
}

.cmd-usage-text {
  color: #DDE5FF;
  font-size: 12px;
}

.cmd-arg {
  display: inline-block;
  border-radius: 4px;
  background: rgba(122, 155, 252, .12);
  color: #AEBBFF;
  padding: 1px 5px;
  font-weight: 600;
}

.skeleton {
  width: 100px;
  height: 18px;
  border-radius: 4px;
  background: #2a2d36;
}

.skeleton-wide { width: 100%; }
.skeleton-medium { width: 80%; }

.blob-commands-page .blob-home-footer {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  width: auto;
  margin: 0 3.5%;
}

@media (min-width: 761px) {
  .blob-commands-page {
    display: flex;
    flex-direction: column;
  }

  .blob-commands-page .blob-home-header,
  .blob-commands-page .blob-home-footer {
    flex: 0 0 auto;
  }

  .blob-commands-page .commands-page-content {
    flex: 1 0 auto;
  }

  /* Match the home page footer's 64px baseline when the content is short. */
  .blob-commands-page .blob-home-footer {
    min-height: 64px;
    margin-top: auto;
  }
}

@media (max-width: 700px) {
  .commands-page-content {
    width: min(100% - 32px, 1080px);
    padding-top: 52px;
  }

  .commands-main-title {
    font-size: clamp(38px, 12vw, 56px);
  }

  .commands-main-desc {
    font-size: 14px;
  }

  .blob-commands-page .blob-home-footer {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }
}
