.wsp-hub-split {
  width: min(1220px, calc(100% - 32px));
  margin: 22px auto 26px;
  color: #111827;
  font-family: inherit;
}

.wsp-hub-split * {
  box-sizing: border-box;
}

.wsp-hub-inner {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.wsp-hub-kicker {
  margin: 0 0 6px;
  color: #c2410c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wsp-hub-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.wsp-hub-title-row h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.wsp-hub-title-row p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.wsp-hub-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.wsp-hub-grid,
.wsp-hub-card-grid,
.wsp-hub-relationship-grid {
  display: grid;
  gap: 12px;
}

.wsp-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.wsp-hub-relationship-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsp-hub-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wsp-hub-card,
.wsp-hub-link-card,
.wsp-hub-note {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.wsp-hub-card strong,
.wsp-hub-link-card strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.wsp-hub-card span,
.wsp-hub-link-card span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.wsp-hub-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.wsp-hub-link-card:hover,
.wsp-hub-link-card:focus-visible {
  border-color: rgba(234, 88, 12, .38);
  background: #fff7ed;
  outline: none;
  text-decoration: none;
}

.wsp-hub-section {
  margin-top: 16px;
}

.wsp-hub-section h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
}

.wsp-hub-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wsp-hub-pill-list li,
.wsp-hub-pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #312e81;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.wsp-hub-pill-list a:hover,
.wsp-hub-pill-list a:focus-visible {
  background: #fff7ed;
  color: #c2410c;
  outline: none;
  text-decoration: none;
}

.wsp-hub-note {
  border-left: 4px solid #f97316;
  background: #fff7ed;
  color: #7c2d12;
}

.wsp-hub-note strong {
  display: block;
  margin-bottom: 4px;
  color: #7c2d12;
}

.wsp-hub-note p {
  margin: 0;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.5;
}

.wsp-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wsp-hub-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.wsp-hub-action:hover,
.wsp-hub-action:focus-visible {
  background: #c2410c;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.wsp-hub-help {
  margin-top: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  background: #f8fafc;
}

.wsp-hub-help summary {
  cursor: pointer;
  padding: 12px;
  color: #111827;
  font-weight: 900;
}

.wsp-hub-help div {
  padding: 0 12px 12px;
}

.wsp-hub-help p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.wsp-hub-template-machine .wsp-hub-label {
  color: #166534;
  background: #dcfce7;
}

.wsp-hub-template-torch .wsp-hub-label {
  color: #7c2d12;
  background: #ffedd5;
}

@media (max-width: 900px) {
  .wsp-hub-title-row,
  .wsp-hub-grid,
  .wsp-hub-relationship-grid {
    grid-template-columns: 1fr;
  }

  .wsp-hub-label {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .wsp-hub-split {
    width: min(100% - 24px, 1220px);
    margin: 16px auto 20px;
  }

  .wsp-hub-inner {
    padding: 14px;
  }

  .wsp-hub-card-grid {
    grid-template-columns: 1fr;
  }
}
