#sg-simple {
  --paper: #f0eee7;
  --ink: #111111;
  --signal: #e8ff32;
  box-sizing: border-box;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  border-top: 0;
  font-family: "Literata", Georgia, serif;
  width: 100%;
}
#sg-simple * {
  box-sizing: border-box;
}
#sg-simple h1 {
  font-family: "Literata", Georgia, serif;
  font-style: italic;
  padding: 0 80px 12px 0;
  margin: 0 0 14px;
  border-bottom: 2px solid var(--ink);
}
#sg-simple h3 {
  font-family: "Literata", Georgia, serif;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
#sg-simple p {
  font-family: "Literata", Georgia, serif;
}
#sg-simple .sgs-note,
#sg-simple .sgs-kicker,
#sg-simple summary {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
#sg-simple .sgs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 16px;
  align-items: start;
}
#sg-simple #sgs-map {
  position: relative;
}
#sg-simple #sgs-map svg {
  display: block;
  width: 100%;
}
#sg-simple #sgs-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#sg-simple .sgs-node {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  pointer-events: auto;
}
#sg-simple .sgs-node::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 9px;
  top: 9px;
  background: var(--ink);
  border-radius: 50%;
}
#sg-simple .sgs-node.dim {
  opacity: 0.55;
}
#sg-simple .sgs-node.neighbor::after {
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--ink);
}
#sg-simple .sgs-node.active::after {
  background: var(--signal);
  box-shadow: 0 0 0 3px var(--ink);
}
#sg-simple .sgs-node[aria-pressed="true"] {
  outline: 1px solid var(--ink);
  outline-offset: -2px;
}
#sg-simple #sgs-panel {
  border-left: 1px solid #b9b6ae;
  padding-left: 18px;
  min-width: 0;
  overflow-wrap: anywhere;
}
#sg-simple #sgs-publication,
#sg-simple #sgs-tags {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  margin: 8px 0;
  color: #55544f;
}
#sg-simple a {
  color: inherit;
  text-decoration: underline;
}
#sg-simple a:hover,
#sg-simple .sgs-related-title:hover {
  background: var(--signal);
}
#sg-simple #sgs-more {
  margin: 14px 0 20px;
}
#sg-simple summary {
  padding: 6px 0;
  cursor: default;
}
#sg-simple #sgs-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
}
#sg-simple dd {
  margin: 0;
}
#sg-simple #sgs-related {
  margin: 8px 0;
  padding-left: 20px;
}
#sg-simple #sgs-related li {
  padding: 8px 0;
  border-bottom: 1px solid #d8d6cf;
}
#sg-simple .sgs-related-title {
  display: block;
  font-family: "Literata", Georgia, serif;
  font-size: 14px;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 4px 0;
  white-space: normal;
  overflow-wrap: anywhere;
  width: 100%;
  text-decoration: underline;
  min-height: 36px;
}
#sg-simple #sgs-related details p {
  margin: 6px 0;
  font-size: 13px;
}
#sg-simple .sgs-note {
  color: #55544f;
  margin: 8px 0;
  line-height: 1.5;
}
#sg-simple footer {
  border-top: 1px solid #b9b6ae;
  padding-top: 12px;
  margin-top: 18px;
}
@media (max-width: 620px) {
  #sg-simple .sgs-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #sg-simple #sgs-panel {
    border-left: 0;
    border-top: 2px solid var(--ink);
    padding: 16px 0 0;
  }
  #sg-simple h1 {
    padding-right: 0;
  }
  }
#sg-simple #sgs-cluster-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 10px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
#sg-simple .sgs-cluster-key {
  padding: 3px 0;
}

#sg-simple [hidden] {
  display: none;
}
#sg-simple h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
}
#sg-simple #sgs-status {
  font-family: var(--mono);
  font-size: 12px;
  color: #55544f;
}
#sg-simple .sgs-node {
  cursor: pointer;
}
#sg-simple .sgs-node:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
#sg-simple .sgs-related-title {
  cursor: pointer;
}
#sg-simple .sgs-node {
  touch-action: manipulation;
}
#sg-simple #sgs-panel {
  scroll-margin-top: 16px;
}
#sg-simple .sgs-layout {
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
}
#sg-simple footer {
  padding-bottom: 28px;
}
@media (max-width: 760px) {
  #sg-simple .sgs-layout {
    grid-template-columns: 1fr;
  }
  #sg-simple #sgs-panel {
    border-left: 0;
    border-top: 2px solid var(--ink);
    padding: 16px 0 0;
  }
}
