:root { color-scheme: light; }
body {
  margin: 0;
  padding: 2rem;
  font-family: system-ui, sans-serif;
  color: #111827;
  background: #f8fafc;
}

main {
  max-width: 1040px;
  margin: 0 auto;
}

a, button {
  font-size: 1rem;
}

label {
  display: block;
  font-weight: 650;
  margin: 1rem 0 0.35rem;
}

input, textarea, select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.7rem;
  font: inherit;
  background: white;
}

textarea {
  min-height: 11rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.button-primary {
  border: 0;
  border-radius: 6px;
  padding: 0.72rem 1rem;
  background: #155eef;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.button-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.status {
  min-height: 1.5rem;
  color: #475569;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  min-height: 5rem;
}

.lede {
  color: #475569;
  font-size: 1.1rem;
}

.install-panel {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
}

.install-panel h2, .install-panel h3 {
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  padding: 1rem;
}

.product-card p {
  line-height: 1.45;
}

.product-hero {
  margin: 1rem 0 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
}

.product-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.product-card-image {
  margin: 0 0 0.75rem;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.badge {
  flex: 0 0 auto;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: stretch;
}

.command-text {
  min-height: 3.5rem;
  resize: vertical;
  color: #e2e8f0;
  background: #111827;
  border-color: #111827;
  line-height: 1.35;
}

.command-label {
  margin: 0.85rem 0 0.35rem;
  color: #475569;
  font-weight: 700;
}

.plain-list {
  padding-left: 1.25rem;
  line-height: 1.6;
}

.copy-button {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 0.85rem;
  background: white;
  cursor: pointer;
}

@media (max-width: 760px) {
  body { padding: 1rem; }
  .grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .command-row { grid-template-columns: 1fr; }
  .copy-button { min-height: 2.75rem; }
}
