.json-schema-root,
.json-schema-section {
  margin: 0.4rem 0;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
}

.json-schema-summary {
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  font-weight: 600;
  background: #f3f6f9;
}

.json-schema-summary-label {
  color: inherit;
}

.json-schema-required-mark {
  color: #33819f;
}

.json-schema-summary-type {
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: #50626f;
}

.json-schema-section-body {
  padding: 0.65rem 0.8rem;
}

.json-schema-node {
  margin: 0.45rem 0;
  padding: 0.55rem;
  /* border-left: 3px solid #acbac1; */
  background: #fafcfd;
}

.json-schema-title {
  margin: 0 0 0.45rem 0;
  font-size: 0.96rem;
}

.json-schema-title-description {
  margin: -0.15rem 0 0.45rem 0;
  color: #5b6973;
  font-size: 0.92rem;
}

.json-schema-meta-row {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  column-gap: 0.6rem;
  row-gap: 0.3rem;
  margin: 0.2rem 0;
}

.json-schema-meta-key {
  font-weight: 600;
  color: #204a63;
}

.json-schema-meta-value {
  color: #1f2c34;
  white-space: pre-wrap;
  word-break: break-word;
}

.json-schema-required > summary {
  border-left: 4px solid #33819f;
  padding-left: 0.45rem;
}

.json-schema-error {
  border: 1px solid #cf4f4f;
  background: #fff3f3;
  color: #671313;
  border-radius: 8px;
  padding: 0.8rem;
}

.json-schema-error-title {
  margin: 0;
  font-size: 1rem;
}

.json-schema-error-message {
  margin: 0.4rem 0 0;
}

@media (max-width: 800px) {
  .json-schema-meta-row {
    grid-template-columns: 1fr;
  }
}
