body.tooling-shell {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(180deg, #0b1020 0%, #121a2d 48%, #0b1020 100%);
  color: #e5ecf4;
}

.tooling-shell a {
  color: #86d0ff;
}

.tooling-shell .page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.tooling-shell .hero {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: start;
  margin-bottom: 28px;
}

.tooling-shell .hero-card,
.tooling-shell .panel,
.tooling-shell .catalog-card,
.tooling-shell .doc-card,
.tooling-shell .runner-card,
.tooling-shell .result-card {
  background: rgba(10, 15, 28, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.34);
}

.tooling-shell .hero-card {
  padding: 28px;
}

.tooling-shell .hero-card h1 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.tooling-shell .hero-card p {
  margin: 0;
  max-width: 56rem;
  color: #a9bbd1;
  font-size: 1.02rem;
}

.tooling-shell .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tooling-shell .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #dbeafe;
  font-size: 0.88rem;
}

.tooling-shell .hero-side {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.tooling-shell .hero-side h2,
.tooling-shell .panel h2,
.tooling-shell .doc-card h2,
.tooling-shell .runner-card h3,
.tooling-shell .result-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

.tooling-shell .panel {
  padding: 22px;
  margin-bottom: 20px;
}

.tooling-shell .catalog-grid,
.tooling-shell .docs-grid {
  display: grid;
  gap: 18px;
}

.tooling-shell .catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tooling-shell .catalog-card,
.tooling-shell .doc-card {
  padding: 22px;
}

.tooling-shell .catalog-card h3,
.tooling-shell .doc-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.tooling-shell .muted {
  color: #9db0c8;
}

.tooling-shell .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tooling-shell .button,
.tooling-shell button,
.tooling-shell input[type="submit"] {
  appearance: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  transition: transform 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.tooling-shell .button:hover,
.tooling-shell button:hover,
.tooling-shell input[type="submit"]:hover {
  transform: translateY(-1px);
}

.tooling-shell .button.primary,
.tooling-shell button.primary,
.tooling-shell input[type="submit"] {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111827;
}

.tooling-shell .button.secondary,
.tooling-shell button.secondary {
  background: rgba(148, 163, 184, 0.14);
  color: #e5ecf4;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.tooling-shell .field-grid {
  display: grid;
  gap: 16px;
}

.tooling-shell .field {
  display: grid;
  gap: 8px;
}

.tooling-shell .field label {
  font-weight: 700;
}

.tooling-shell .field small {
  color: #8fa5c0;
}

.tooling-shell input[type="text"],
.tooling-shell input[type="url"],
.tooling-shell input[type="number"],
.tooling-shell textarea,
.tooling-shell pre {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.86);
  color: #edf3fb;
}

.tooling-shell input[type="text"],
.tooling-shell input[type="url"],
.tooling-shell input[type="number"],
.tooling-shell textarea {
  padding: 12px 14px;
}

.tooling-shell textarea {
  min-height: 108px;
  resize: vertical;
}

.tooling-shell .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tooling-shell .checkbox-row input {
  width: 18px;
  height: 18px;
}

.tooling-shell .runner-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
}

.tooling-shell .runner-card,
.tooling-shell .result-card {
  padding: 22px;
}

.tooling-shell .status-box {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #d9e3f2;
}

.tooling-shell .status-box.error {
  background: rgba(127, 29, 29, 0.28);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.tooling-shell .status-box.success {
  background: rgba(20, 83, 45, 0.28);
  border-color: rgba(74, 222, 128, 0.22);
  color: #d1fae5;
}

.tooling-shell .preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 14px;
}

.tooling-shell .preview-card {
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.tooling-shell .preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.tooling-shell .preview-card .caption {
  padding: 10px 12px;
  font-size: 0.9rem;
  color: #d4deeb;
}

.tooling-shell .links-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tooling-shell .links-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(30, 41, 59, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.tooling-shell pre {
  margin: 0;
  padding: 14px;
  overflow: auto;
  font-size: 0.85rem;
  line-height: 1.55;
}

.tooling-shell .endpoint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.tooling-shell .method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.18);
  color: #bbf7d0;
  font-weight: 700;
}

.tooling-shell .path {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  color: #fcd34d;
}

.tooling-shell .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: #9db0c8;
}

.tooling-shell .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.tooling-shell .table th,
.tooling-shell .table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
}

.tooling-shell .table th {
  color: #9db0c8;
  font-weight: 700;
}

.tooling-shell .empty-state {
  padding: 28px;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.26);
  color: #a9bbd1;
}

@media (max-width: 900px) {
  .tooling-shell .hero,
  .tooling-shell .runner-layout {
    grid-template-columns: 1fr;
  }
}
