.ai-commands {
  margin: 0 0 14px;
  padding: 22px;
  border: 1px solid #315c3d;
  background: radial-gradient(circle at 95% 0, rgba(140, 255, 69, .09), transparent 28%), #061009;
}

.command-head {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .75fr);
  gap: 40px;
  align-items: end;
}

.command-head h3 { margin: 7px 0 0; font-size: 25px; }
.command-head p { margin: 0; color: #8ea294; font-size: 12px; line-height: 1.65; }

.command-setup {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #3e612d;
  background: #0c1609;
  color: #a4b5aa;
  font-size: 12px;
  line-height: 1.6;
}

.command-setup b {
  color: var(--lime);
  font: 800 10px ui-monospace, monospace;
  letter-spacing: .11em;
}

.command-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }

.command-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid #1f3928;
  background: #050b07;
}

.command-card.command-primary {
  border-color: #51803b;
  box-shadow: inset 0 0 35px rgba(140, 255, 69, .035);
}

.command-single { grid-column: 1 / -1; }
.command-single pre { height: auto; min-height: 132px; font-size: 12px; line-height: 1.7; }

.command-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
  color: #7c9183;
  font: 800 9px ui-monospace, monospace;
  letter-spacing: .11em;
}

.command-label span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #396048;
  color: var(--green);
}

.command-card pre {
  height: 166px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid #192d20;
  background: #020604;
  color: #b8c9bd;
  font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.copy-command {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #3a6247;
  background: #0b1710;
  color: #d6e9db;
  cursor: pointer;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: .09em;
}

.copy-command:hover { border-color: var(--green); color: var(--green); }
.copy-command.copied { background: var(--green); color: #061008; }

.command-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -3px 0 8px;
  color: #788d7f;
  font: 800 9px ui-monospace, monospace;
  letter-spacing: .1em;
}

.command-input input {
  width: 100px;
  padding: 7px 8px;
  border: 1px solid #294332;
  background: #030805;
  color: var(--text);
  font: 12px ui-monospace, monospace;
}

.command-warning {
  margin: 14px 0 0;
  color: #e2c975;
  font: 10px/1.6 ui-monospace, monospace;
  letter-spacing: .04em;
}

@media (max-width: 1100px) {
  .command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .command-head { grid-template-columns: 1fr; gap: 14px; }
  .command-setup { grid-template-columns: 1fr; gap: 6px; }
  .command-grid { grid-template-columns: 1fr; }
  .command-card pre { height: auto; max-height: 260px; }
}
