/* Wsamiaw — sky theming docs page.
   Scoped to .page-sky so nothing here leaks into the rest of the site. */

.page-sky .sky-fields {
  margin: 0.35rem 0 1rem;
  padding-left: 1.15rem;
}

.page-sky .sky-fields li {
  margin: 0.3rem 0;
}

.page-sky .sky-fields code,
.page-sky .sky-schema-table code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: #e8eaf2;
  background: #10131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.08rem 0.32rem;
}

.page-sky .sky-table-scroll {
  margin: 1rem 0 0.5rem;
  max-height: 34rem;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0b0d13;
}

.page-sky .sky-schema-table {
  width: 100%;
  min-width: 34rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
}

.page-sky .sky-schema-table th,
.page-sky .sky-schema-table td {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0.7rem;
  vertical-align: middle;
}

.page-sky .sky-schema-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #10131c;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9aa3b2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sky .sky-schema-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.page-sky .sky-schema-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-sky .sky-prop-name code {
  white-space: nowrap;
}

.page-sky .sky-prop-type {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #9aa3b2;
  white-space: nowrap;
}

.page-sky .sky-prop-range {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #b2b6c7;
  white-space: nowrap;
}

.page-sky .sky-prop-default .sky-default {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-sky .sky-prop-group {
  color: #8b90a5;
  white-space: nowrap;
}

.page-sky .sky-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}

.page-sky .sky-schema-empty {
  margin: 0.75rem 0 0;
}

.page-sky .sky-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.75rem;
}

.page-sky .sky-preset {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #10131c;
  color: #e8eaf2;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-sky .sky-presets-empty {
  margin: 0.4rem 0 0.75rem;
  font-size: 0.85rem;
  color: #8b90a5;
}

@media (max-width: 720px) {
  .page-sky .sky-table-scroll {
    max-height: none;
  }
}
