.atlas-sample {
  width: 100%;
  margin-top: 1.3rem;
  padding: clamp(.75rem, 2vw, 1.4rem);
  border: 1px solid var(--rule);
  background: var(--panel);
}
.atlas-sample table {
  min-width: 0;
  table-layout: fixed;
  text-align: center;
}
.atlas-sample caption {
  margin-bottom: .65rem;
  font: 600 1.05rem/1.35 Inter, Arial, sans-serif;
  text-align: left;
}
.atlas-sample th, .atlas-sample td {
  padding: .45rem .2rem;
  font: 500 .875rem/1.35 Inter, Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.atlas-sample tr > :first-child {
  width: 36%;
  text-align: left;
  position: static;
}
.atlas-sample td button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  font: 600 1.05rem/1 var(--mono);
  color: var(--ink);
  background: var(--ground);
  cursor: pointer;
}
.atlas-sample td button:hover,
.atlas-sample td button[aria-pressed="true"] {
  border-color: var(--purple);
  color: var(--purple);
}
.atlas-sample td button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--purple); }
.atlas-legend { margin-block: .8rem .3rem; font-size: .875rem; color: var(--ink); }
.atlas-sample figcaption, .atlas-hint { font: .875rem/1.45 Inter, Arial, sans-serif; }
.atlas-hint { margin-top: .75rem; }
.atlas-reading:not(:empty) {
  border-inline-start: 2px solid var(--purple);
  margin-top: .7rem;
  padding-inline-start: .7rem;
  font-size: .94rem;
}
.atlas-reading a { color: var(--ink); }
