.gn-main {
  max-width: none;
}
.gn-main h2 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
}
.gn-main h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}
.gn-main p {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
}
.gn-main td {
  font-size: 12px;
  line-height: 1.5;
}
.gn-main td:first-child {
  font-weight: 650;
  white-space: nowrap;
}
.gn-kind {
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 6px;
  background: #eef3eb;
  color: #436247;
  white-space: nowrap;
}
.gn-kind.in-test {
  background: #edf0f8;
  color: #3f5687;
}
.gn-kind.retired {
  background: #f0f1ee;
  color: #7a837c;
}
.gn-kind.proposed {
  background: #fff0d9;
  color: #8b612c;
}
.gn-runs {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gn-schemes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.gn-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.gn-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.gn-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 6px;
}
.gn-card svg {
  width: 100%;
  height: auto;
  display: block;
}
.gn-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.gn-legend > span:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -1px;
  background: var(--c);
}
.gn-fig {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  max-width: 900px;
}
.gn-fig img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .gn-main td:first-child {
    white-space: normal;
  }
}
.gn-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin: 14px 0;
}
.gn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gn-tab.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.gn-score {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.gn-score b {
  font-weight: 650;
}
.gn-fig figcaption {
  margin-top: 4px;
}
.gn-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  align-items: center;
  margin: 6px 0 10px;
}
.gn-pick .checkbox {
  padding: 0;
}
.gn-busy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
}
.gn-spin {
  width: 16px;
  height: 16px;
  border: 2px solid #cfdcd3;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: gn-rot 0.8s linear infinite;
  flex: none;
}
@keyframes gn-rot {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gn-spin {
    animation-duration: 2.4s;
  }
}
.rs-analysis {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.rs-analysis h2 {
  margin: 0 0 6px;
}
.rs-analysis h3 {
  font-size: 14px;
  margin: 16px 0 6px;
}
.rs-sub h4 {
  font-size: 12px;
  margin: 12px 0 4px;
  color: var(--muted);
}
.rs-src code {
  font-size: 11px;
  margin-right: 8px;
  overflow-wrap: anywhere;
}
.rs-figs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.rs-fig {
  max-width: none;
}
@media (max-width: 600px) {
  .rs-figs {
    grid-template-columns: 1fr;
  }
}
.rs-subtabs {
  top: 105px;
  z-index: 3;
  background: var(--paper);
}
.rs-subtabs a {
  padding: 8px 14px;
  font-size: 12.5px;
}
.rs-subtabs[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .rs-subtabs {
    position: static;
  }
}
.rs-dist {
  margin: 4px 0 8px;
}
.rs-toggle {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 2px 0 8px;
}
.rs-panels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 10px 14px;
}
.rs-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  min-width: 0;
}
.rs-panel figcaption {
  font-size: 12px;
  margin-bottom: 4px;
}
.rs-lab,
.rs-val {
  font-size: 11px;
  fill: var(--ink);
}
.rs-val {
  fill: var(--muted);
  font-variant-numeric: tabular-nums;
}
.rs-track {
  fill: #eef2ee;
}
.rs-fill {
  fill: var(--accent);
}
.rs-bar:hover .rs-fill {
  fill: #1b453a;
}
.rs-bar:hover .rs-lab {
  font-weight: 650;
}
.rs-table {
  margin-top: 8px;
  font-size: 12px;
}
.rs-table summary {
  cursor: pointer;
  color: var(--muted);
}
.rs-confs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr));
  gap: 4px 18px;
}
.rs-conf .table-wrap td,
.rs-conf .table-wrap th {
  padding: 6px 8px;
  text-align: right;
}
@media (max-width: 600px) {
  .rs-confs {
    grid-template-columns: 1fr;
  }
}
.rs-conf {
  min-width: 0;
}
.rs-main {
  max-width: none;
}
.rs-page .cb-tabs {
  padding: 0 28px;
}
.rs-group {
  text-align: center;
  border-left: 1px solid var(--line);
}
.rs-page {
  --rs-ov-0: #2a78d6;
  --rs-ov-1: #1baf7a;
  --rs-ov-2: #eb6834;
}
.rs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  color: var(--ink);
  margin: 2px 0 6px;
}
.rs-legend span:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: -1px;
  background: var(--c);
}
.rs-ovwrap {
  max-width: 900px;
}
.rs-seg:hover rect {
  stroke: var(--ink);
  stroke-width: 1;
}
.rs-ci {
  font-size: 11px;
  white-space: nowrap;
}
.rs-heat {
  background: color-mix(in srgb, var(--accent) var(--h), #fff);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.rs-heat-dark {
  color: #fff;
}
.rs-fold {
  margin-top: 14px;
}
.rs-fold > summary {
  cursor: pointer;
  font-weight: 600;
}
.rs-fold-item {
  margin: 6px 0 6px 14px;
}
.rs-fold-item > summary {
  cursor: pointer;
}
.rs-fold-item .rs-fig {
  max-width: 1100px;
}

.gt-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 10px;
  align-items: flex-start;
}
.gt-fig {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  width: 440px;
  max-width: 100%;
}
.gt-fig.gt-wide {
  width: 740px;
}
.gt-fig svg {
  width: 100%;
  height: auto;
  display: block;
}
.gt-fig figcaption {
  font-size: 11px;
  margin-top: 4px;
}
.gt-series td:first-child {
  white-space: normal;
  max-width: 260px;
}
.gt-series {
  table-layout: auto;
}
.gt-runs {
  white-space: normal;
  font-size: 11px;
  color: var(--muted);
  min-width: 150px;
}
.gt-main {
  max-width: none;
}
.gt-fold > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
}
.gt-top {
  margin: 14px 0;
}
.gt-top > summary {
  font-size: 16px;
}
.gt-series-fold {
  padding: 10px 18px;
}
.gt-series-fold > summary {
  font-size: 14px;
}
.gt-series-fold > summary b {
  font-weight: 650;
}
.gt-fold-cell > summary {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.gt-folds td,
.gt-folds th {
  font-size: 12px;
  padding: 4px 8px;
}
.gt-fig {
  width: 660px;
}
.gt-fig.gt-wide {
  width: 1120px;
}
.gt-legend span {
  font-size: 12px;
}
.gt-schemes {
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
}
.gt-fig figcaption {
  font-size: 12px;
}
.gt-fold-row td {
  padding: 2px 10px 6px;
  background: #fafbf9;
}
.gt-fold-row .gt-fold-cell > summary {
  padding: 2px 0;
}
.gt-sees {
  margin: 0;
  padding-left: 18px;
}
.gt-sees li {
  margin: 2px 0;
}
.gt-module {
  font-size: 11px;
  color: var(--muted);
  margin-left: 10px;
  font-weight: 400;
}
math {
  font-size: 1.12em;
}
math[display="block"] {
  margin: 6px 0 6px 12px;
  font-size: 1.3em;
}
.gt-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 12px;
}
.gt-role-fig {
  width: auto;
}
.gt-splits td {
  font-size: 12px;
  vertical-align: top;
}
.gt-splits td:nth-child(3),
.gt-splits td:nth-child(4),
.gt-splits td:nth-child(5) {
  min-width: 180px;
}
.gt-split-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.gt-split-title {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 2px;
}
.gt-card-wide {
  grid-column: 1/-1;
}
.gt-split-five {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 18px;
}
.gt-split-five .gt-split-title {
  font-weight: 400;
  min-height: 3.2em;
}
.gt-split-five > div {
  display: flex;
  flex-direction: column;
}
.gt-split-five > div > svg {
  margin-top: auto;
}

.sm td,
.bl td {
  font-size: 12.5px;
  line-height: 1.45;
  vertical-align: top;
}
.sm-default td {
  background: #eef3fb;
  font-weight: 600;
}
.sm-change {
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  font-weight: 650;
}
.sm-same {
  color: #b9c0bc;
  text-align: center;
}
.sm-name {
  font-weight: 650;
  min-width: 240px;
}
.sm-title {
  font-weight: 700;
}
.sm-row-done {
  background: #d9f0e1 !important;
  box-shadow: inset 4px 0 0 #1f8a4c;
}
.sm-row-part {
  box-shadow: inset 4px 0 0 #d6a531;
}
.sm-row-none {
  box-shadow: inset 4px 0 0 #c9c9c9;
}
.sm-status {
  margin-top: 5px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 400;
}
.sm-badge {
  font-size: 11px;
  font-weight: 650;
  border-radius: 999px;
  padding: 1px 8px;
  border: 1px solid #ddd;
  background: #fff;
  white-space: nowrap;
}
.sm-badge.sm-done {
  color: #1f6b3e;
  border-color: #9fd2b2;
  background: #eaf7ef;
}
.sm-badge.sm-part {
  color: #8a6510;
  border-color: #e6c46b;
  background: #fff7e2;
}
.sm-badge.sm-none {
  color: #888;
}
.sm-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #8a4b10;
  background: #fbecd9;
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 6px;
  white-space: nowrap;
}
.sm-chip-warn {
  color: #9b1c1c;
  background: #fde2e2;
}
.sm-bar {
  height: 5px;
  border-radius: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, #1f8a4c var(--p), #e4e8e4 var(--p));
}
.sm-miss {
  font-size: 11px;
  color: #9b1c1c;
  margin-top: 4px;
  font-weight: 400;
}
.sm-links {
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 400;
}
.sm-links a {
  color: var(--accent);
  font-weight: 650;
}
.sm-break summary {
  cursor: pointer;
  color: var(--muted);
  margin-top: 3px;
}
.sm-break ul {
  margin: 4px 0 0;
  padding-left: 16px;
}
.sm-break li {
  margin: 2px 0;
}
.sm-orphan td {
  background: #fff8f3;
}
.sm-group td {
  background: #fbecd9;
  font-weight: 700;
  font-size: 12px;
}
.bl-missing td {
  background: #f7f7f7;
  color: #666;
}
.gt-split-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 12px 20px;
}
.gt-split-four > div {
  display: flex;
  flex-direction: column;
}
.gt-split-four > div > svg {
  margin-top: auto;
}
.gt-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.gt-input p {
  margin: 4px 0;
}
.gt-warn {
  color: #a23a2a;
  font-weight: 650;
  font-size: 12px;
}
.gt-invalid svg {
  background: #fff7f5;
  border-radius: 8px;
}
.gt-encs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}
.gt-enc {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.gt-enc p {
  margin: 4px 0;
  font-size: 12.5px;
}
.gt-enc-ctl {
  border-color: #d6a75c;
  background: #fff8ea;
}
.gt-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gt-flow-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
  flex-wrap: wrap;
}
.gt-flow-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1.4 1 280px;
}
.gt-step {
  border: 1px solid #c9d1de;
  background: #f4f6fa;
  border-radius: 10px;
  padding: 10px 12px;
  flex: 1 1 200px;
}
.gt-step p {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
}
.gt-step-a {
  background: #eef7f0;
  border-color: #9fcaa9;
}
.gt-step-b {
  background: #fbf3e6;
  border-color: #e0bd7d;
}
.gt-step-train {
  background: #f7f7f7;
  border-color: #ccc;
}
.gt-arrow {
  align-self: center;
  font-size: 20px;
  color: #777;
}
.fm td,
.fm th {
  padding: 4px 5px;
}
.fm-head {
  vertical-align: bottom;
  height: 120px;
}
.fm-head span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}
.fm-in {
  background: var(--c) !important;
  min-width: 34px;
}
.fm-removed {
  background: #fff !important;
  outline: 1.5px dashed #c9c9c9;
  outline-offset: -4px;
  color: #999;
  font-size: 10.5px;
  text-align: center;
}
.fm-absent {
  background: repeating-linear-gradient(45deg, #fafafa, #fafafa 4px, #e3e3e3 4px, #e3e3e3 5px) !important;
}
.fm-legend {
  columns: 2 420px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
}
.fm-legend li {
  break-inside: avoid;
  margin: 0 0 6px;
}
.fm-sw {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--c);
  margin-right: 6px;
  vertical-align: -1px;
}
.mx {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.mx-panel p {
  margin: 4px 0;
}
.mx-result {
  font-weight: 700;
}
.mx-grid td,
.mx-grid th {
  padding: 5px 8px;
  text-align: center;
  font-size: 12px;
}
.mx-ok {
  background: #cfe9d9 !important;
  color: #1b6b4a;
}
.mx-bad {
  background: #f6d3cd !important;
  color: #b0302a;
}
.mx-list td {
  padding: 4px 8px;
  font-size: 12px;
}
.mx-src td {
  background: #e3f3e9 !important;
}
.mx-prec {
  color: #1b6b4a;
  font-weight: 600;
}
.pw-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.4fr;
  gap: 20px;
}
.pw-panel p {
  margin: 4px 0;
}
.pw td {
  padding: 3px 8px;
  font-size: 12px;
  background: color-mix(in srgb, var(--c) 14%, #fff) !important;
}
.pw-g {
  color: var(--c);
  font-weight: 700;
}
.pw-src {
  color: #1b6b4a;
  font-weight: 700;
}
.pw-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 6px 0;
}
.pw-note {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}
.gt-split-four {
  grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
}
.gt-flow > .gt-step-train {
  flex: none;
}
.gt-flow-row {
  align-items: stretch;
}
.mx svg {
  max-width: 280px;
  display: block;
}
.gt-flow-col > .gt-step {
  flex: 0 0 auto;
}

.rs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.rs-side {
  position: sticky;
  top: 8px;
  max-height: calc(100vh - 16px);
  overflow: auto;
  font-size: 13px;
  padding: 6px 0;
  border-right: 1px solid var(--line);
}
.rs-side h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 12px 8px 4px;
}
.rs-side a {
  display: block;
  padding: 4px 10px;
  margin-right: 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
}
.rs-side a:hover {
  background: #eef3ee;
}
.rs-side a.selected {
  background: #e3eee6;
  font-weight: 650;
  color: var(--accent);
}
.rs-side a.rs-solo {
  font-weight: 600;
  margin-top: 10px;
}
.rs-head {
  margin: 0 0 12px;
}
.rs-head .rs-title {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.rs-head .lede {
  font-size: 13px;
  margin-top: 3px;
}
@media (max-width: 900px) {
  .rs-layout {
    grid-template-columns: 1fr;
  }
  .rs-side {
    position: static;
    max-height: none;
    border-right: 0;
  }
}
.gt-subpick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
}
.gt-subpick select {
  max-width: min(900px, 80vw);
}
.gn-fig.gn-wide {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.gn-fig.gn-wide figcaption {
  max-width: 110ch;
}
