.wsn-ico {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--signal-2);
}

.wsn-head__in {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.wsn-head__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: 6px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 12px 12px,
    var(--panel);
  position: relative;
}

.wsn-head__icon::before,
.wsn-head__icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--signal);
  border-style: solid;
}

.wsn-head__icon::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.wsn-head__icon::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.wsn-head__icon .wsn-ico {
  width: 60px;
  height: 60px;
  stroke-width: 1.3;
}

.wsn-head__text {
  min-width: 0;
  flex: 1;
}

.wsn-head__text .eyebrow a {
  color: inherit;
}

.wsn-head__text h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: .25em;
  overflow-wrap: anywhere;
}

.wsn-head__alt {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 1.05rem;
}

.wsn-ident {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}

.wsn-ident__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wsn-ident__item {
  flex-wrap: wrap;
}

.wsn-ident__item code {
  font-size: .95rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsn-ident__k {
  font: .68rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wsn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.wsn-side .sticky {
  max-height: calc(100vh - var(--topbar) - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.wsn-lead {
  font-size: 1.04rem;
  color: var(--text-2);
}

.wsn-prose {
  max-width: 78ch;
}

.wsn-sub {
  margin: 22px 0 10px;
  font: .74rem var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wsn-sub:first-child {
  margin-top: 0;
}

.wsn-kv {
  grid-template-columns: minmax(110px, max-content) 1fr;
}

.wsn-kv dd code {
  font-size: .85em;
}

.wsn-kv--cols {
  grid-template-columns: minmax(130px, max-content) 1fr;
}

.wsn-figure {
  margin: 0 0 16px;
}

.wsn-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.wsn-figure figcaption {
  margin-top: 8px;
}

.wsn-figure--small svg {
  max-width: 420px;
}

.wsn-ports {
  max-width: 620px;
  font-family: var(--font-mono);
}

.wsn-ports__box {
  fill: var(--panel-3);
  stroke: var(--line-3);
  stroke-width: 1.5;
}

.wsn-ports__corner {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2;
}

.wsn-ports__icon {
  color: var(--text-2);
  fill: none;
  stroke: var(--text-2);
  stroke-width: 1.4;
}

.wsn-ports__line {
  stroke-linecap: round;
}

.wsn-ports__line--gas {
  stroke: var(--cyan);
  stroke-width: 7;
  stroke-opacity: .85;
}

.wsn-ports__line--liquid {
  stroke: var(--info);
  stroke-width: 7;
  stroke-opacity: .85;
}

.wsn-ports__line--power {
  stroke: var(--signal);
  stroke-width: 3;
}

.wsn-ports__line--data {
  stroke: var(--ok);
  stroke-width: 3;
  stroke-dasharray: 5 4;
}

.wsn-ports__line--powerdata {
  stroke: var(--signal);
  stroke-width: 3;
}

.wsn-ports__line--chute {
  stroke: var(--muted);
  stroke-width: 14;
  stroke-opacity: .6;
}

.wsn-ports__line--other {
  stroke: var(--line-3);
  stroke-width: 5;
}

.wsn-ports__arrow {
  fill: var(--text);
}

.wsn-ports__num {
  fill: var(--bg);
  stroke-width: 2;
  stroke: var(--line-3);
}

.wsn-ports__num--gas { stroke: var(--cyan); }
.wsn-ports__num--liquid { stroke: var(--info); }
.wsn-ports__num--power,
.wsn-ports__num--powerdata { stroke: var(--signal); }
.wsn-ports__num--data { stroke: var(--ok); }

.wsn-ports__numtext {
  fill: var(--text);
  font-size: 11px;
}

.wsn-ports__label {
  fill: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
}

.wsn-portlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 6px 18px;
  font-size: .92rem;
}

.wsn-portlist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wsn-dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-3);
  font: .7rem var(--font-mono);
}

.wsn-dot--gas { border-color: var(--cyan); }
.wsn-dot--liquid { border-color: var(--info); }
.wsn-dot--power,
.wsn-dot--powerdata { border-color: var(--signal); }
.wsn-dot--data { border-color: var(--ok); }

.wsn-logic {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.wsn-logic li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--panel);
  min-width: 0;
}

.wsn-logic li code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
}

.wsn-logic li.is-old code {
  color: var(--muted);
  text-decoration: line-through;
}

.wsn-rw {
  display: inline-flex;
  gap: 3px;
}

.wsn-rw b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font: 700 .64rem var(--font-mono);
  border: 1px solid;
}

.wsn-rw__r {
  color: var(--cyan);
  border-color: rgba(63, 213, 196, .45);
}

.wsn-rw__w {
  color: var(--signal-2);
  border-color: rgba(255, 138, 31, .5);
}

.wsn-code pre {
  position: relative;
  margin: 0 0 14px;
  padding: 16px 18px;
  overflow-x: auto;
  background: #05070a;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--signal);
  font: .86rem/1.6 var(--font-mono);
}

.wsn-code pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text);
  white-space: pre;
}

.wsn-code .code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
}

.wsn-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.wsn-links a::before {
  content: "→ ";
  color: var(--muted);
}

.wsn-recipes {
  display: grid;
  gap: 12px;
}

.wsn-recipe {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}

.wsn-recipe__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 8px;
}

.wsn-recipe__product {
  font-size: 1.02rem;
}

.wsn-recipe__machine {
  color: var(--text-2);
}

.wsn-recipe__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.wsn-recipe__line {
  margin: 0 0 6px;
}

.wsn-ingredients {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wsn-ingredients li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  font-size: .92rem;
}

.wsn-ingredients__amount {
  min-width: 2.2em;
  padding: 0 6px;
  text-align: right;
  color: var(--signal-2);
  border-right: 1px solid var(--line-2);
}

.wsn-recipe__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  font-size: .88rem;
}

.wsn-recipe__meta div {
  display: flex;
  gap: 8px;
}

.wsn-recipe__meta dt {
  color: var(--muted);
  font: .7rem/1.9 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wsn-recipe__meta dd {
  margin: 0;
}

.wsn-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: none;
}

.wsn-steps__item {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-2);
}

.wsn-steps__item:last-child {
  border-bottom: 0;
}

.wsn-steps__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--signal);
  color: var(--signal-2);
  font: .85rem var(--font-mono);
}

.wsn-steps__body {
  min-width: 0;
}

.wsn-steps__title {
  margin: 3px 0 6px;
  font-weight: 600;
}

.wsn-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.wsn-steps__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wsn-steps__undo {
  margin: 6px 0 0;
}

.wsn-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px 28px;
}

.wsn-plain {
  margin: 0;
  padding-left: 18px;
}

.wsn-plain li {
  margin: 3px 0;
}

.wsn-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wsn-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  font-size: .9rem;
}

.wsn-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.wsn-chips a:hover {
  color: var(--signal-2);
}

.wsn-chips .wsn-ico {
  width: 16px;
  height: 16px;
}

.wsn-details {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .18);
  margin-bottom: 8px;
}

.wsn-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.wsn-details > summary::-webkit-details-marker {
  display: none;
}

.wsn-details > summary::before {
  content: "+";
  width: 14px;
  font-family: var(--font-mono);
  color: var(--signal);
}

.wsn-details[open] > summary::before {
  content: "−";
}

.wsn-details > :not(summary) {
  margin: 0 14px 14px;
}

.wsn-chart {
  font-family: var(--font-mono);
}

.wsn-chart__plot {
  fill: rgba(0, 0, 0, .3);
  stroke: var(--line-2);
}

.wsn-chart__grid {
  stroke: var(--line);
  stroke-width: 1;
}

.wsn-chart__tick {
  fill: var(--muted);
  font-size: 10px;
}

.wsn-chart__axis {
  fill: var(--text-2);
  font-size: 11px;
  letter-spacing: .08em;
}

.wsn-chart__limit {
  stroke: var(--err);
  stroke-width: 1.2;
  stroke-dasharray: 6 4;
}

.wsn-chart__limittext {
  fill: #ff8a80;
  font-size: 10px;
}

.wsn-chart__win {
  fill-opacity: .18;
}

.wsn-chart__edge {
  fill: none;
  stroke-width: 2;
}

.wsn-chart__open {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
}

.wsn-chart__badge {
  stroke-width: 1.5;
  fill: var(--bg);
}

.wsn-chart__badgetext {
  fill: var(--text);
  font-size: 10px;
  font-weight: 700;
}

.wsn-chart__win--0, .wsn-legend__dot--0 { fill: #ff8a1f; }
.wsn-chart__win--1, .wsn-legend__dot--1 { fill: #3fd5c4; }
.wsn-chart__win--2, .wsn-legend__dot--2 { fill: #5aa9ff; }
.wsn-chart__win--3, .wsn-legend__dot--3 { fill: #5fe08a; }
.wsn-chart__win--4, .wsn-legend__dot--4 { fill: #f5c518; }
.wsn-chart__win--5, .wsn-legend__dot--5 { fill: #ff7ab3; }
.wsn-chart__win--6, .wsn-legend__dot--6 { fill: #ff5a4f; }
.wsn-chart__win--7, .wsn-legend__dot--7 { fill: #b4bfca; }
.wsn-chart__edge--0, .wsn-chart__badge--0 { stroke: #ff8a1f; }
.wsn-chart__edge--1, .wsn-chart__badge--1 { stroke: #3fd5c4; }
.wsn-chart__edge--2, .wsn-chart__badge--2 { stroke: #5aa9ff; }
.wsn-chart__edge--3, .wsn-chart__badge--3 { stroke: #5fe08a; }
.wsn-chart__edge--4, .wsn-chart__badge--4 { stroke: #f5c518; }
.wsn-chart__edge--5, .wsn-chart__badge--5 { stroke: #ff7ab3; }
.wsn-chart__edge--6, .wsn-chart__badge--6 { stroke: #ff5a4f; }
.wsn-chart__edge--7, .wsn-chart__badge--7 { stroke: #b4bfca; }

.wsn-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px 18px;
  font-size: .92rem;
}

.wsn-legend li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.wsn-legend__dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #0b0f14;
  font: 700 .7rem var(--font-mono);
}

.wsn-legend__dot--0 { background: #ff8a1f; }
.wsn-legend__dot--1 { background: #3fd5c4; }
.wsn-legend__dot--2 { background: #5aa9ff; }
.wsn-legend__dot--3 { background: #5fe08a; }
.wsn-legend__dot--4 { background: #f5c518; }
.wsn-legend__dot--5 { background: #ff7ab3; }
.wsn-legend__dot--6 { background: #ff5a4f; }
.wsn-legend__dot--7 { background: #b4bfca; }

.wsn-phase__gas {
  fill: rgba(90, 169, 255, .05);
}

.wsn-phase__solid {
  fill: rgba(180, 191, 202, .16);
}

.wsn-phase__liquid {
  fill: rgba(63, 213, 196, .2);
}

.wsn-phase__curve {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
}

.wsn-phase__crit {
  stroke: var(--cyan);
  stroke-width: 1.4;
  stroke-dasharray: 3 3;
}

.wsn-phase__atm {
  stroke: var(--signal);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.wsn-phase__label {
  fill: var(--text);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wsn-phase__note {
  fill: var(--text-2);
  font-size: 10px;
}

.wsn-phase__point {
  fill: var(--bg);
  stroke: var(--cyan);
  stroke-width: 2;
}

.wsn-phase__point--crit {
  stroke: var(--signal);
}

.wsn-phase__point--boil {
  fill: var(--signal);
  stroke: var(--signal);
}

.wsn-stages {
  max-width: 680px;
  font-family: var(--font-mono);
}

.wsn-stages__seg--grow { fill: rgba(95, 224, 138, .28); stroke: var(--ok); }
.wsn-stages__seg--ripe { fill: rgba(245, 197, 24, .3); stroke: var(--hazard); }
.wsn-stages__seg--seed { fill: rgba(255, 138, 31, .35); stroke: var(--signal); }

.wsn-stages__text {
  fill: var(--text);
  font-size: 11px;
}

.wsn-stages__num {
  fill: var(--muted);
  font-size: 10px;
}

.wsn-stagekey {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.wsn-key {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 1px solid;
}

.wsn-key--grow { background: rgba(95, 224, 138, .28); border-color: var(--ok); }
.wsn-key--ripe { background: rgba(245, 197, 24, .3); border-color: var(--hazard); }
.wsn-key--seed { background: rgba(255, 138, 31, .35); border-color: var(--signal); }

.wsn-curve {
  font-family: var(--font-mono);
}

.wsn-curve__line {
  fill: none;
  stroke: var(--signal);
  stroke-width: 2;
}

.wsn-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font-size: .86rem;
}

.wsn-search {
  max-width: 760px;
}

.wsn-live {
  max-width: 760px;
  margin-top: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 10px 14px;
}

.wsn-hits {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
}

.wsn-hits li a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 7px 6px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.wsn-hits li a:hover,
.wsn-hits li a:focus-visible {
  background: var(--panel-3);
  text-decoration: none;
}

.wsn-hits li a small {
  grid-column: 2 / 4;
  font-family: var(--font-mono);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.wsn-hits .wsn-hits__cat {
  font: .66rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wsn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wsn-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 110px;
  gap: 4px 14px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

.wsn-row:hover {
  background: rgba(255, 255, 255, .02);
}

.wsn-row__name {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.wsn-row__alt {
  color: var(--muted);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.wsn-row__code,
.wsn-row__hash {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-2);
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.wsn-row__hash {
  text-align: right;
  color: var(--muted);
}

.wsn-list > .wsn-row:not(.wsn-row--recipe) .wsn-ico {
  width: 20px;
  height: 20px;
}

.wsn-list--cat {
  border: 1px solid var(--line);
  background: var(--panel);
}

.wsn-list--cat .wsn-row.is-intern {
  display: none;
}

.wsn-list--cat.show-intern .wsn-row.is-intern {
  display: grid;
  opacity: .7;
}

.wsn-row[hidden],
.wsn-list--cat.show-intern .wsn-row.is-intern[hidden] {
  display: none;
}

.wsn-list .wsn-row:last-child {
  border-bottom: 0;
}

.wsn-list .tag {
  justify-self: end;
}

.wsn-filter {
  display: grid;
  gap: 12px;
}

.wsn-filter__search {
  max-width: none;
}

.wsn-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wsn-chipbar .tag[aria-pressed="true"] {
  color: var(--signal-2);
  border-color: rgba(255, 138, 31, .55);
  background: var(--signal-dim);
}

.wsn-catnav a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.wsn-catnav .wsn-ico {
  width: 18px;
  height: 18px;
}

.wsn-catnav small {
  color: var(--muted);
}

.wsn-sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 18px;
}

.wsn-sechead h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.wsn-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}

.wsn-tiles--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.wsn-tile {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--text);
  transition: border-color .15s, transform .15s var(--ease);
}

.wsn-tile:hover {
  border-color: var(--line-3);
  text-decoration: none;
  color: var(--text);
  transform: translateY(-1px);
}

.wsn-tile:hover .wsn-tile__label {
  color: var(--signal-2);
}

.wsn-tile__icon {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
}

.wsn-tile__label {
  font-weight: 600;
}

.wsn-tile__count {
  color: var(--cyan);
  font-size: .85rem;
}

.wsn-tile__text {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.4;
}

.wsn-tile__text code {
  font-size: .78rem;
}

.wsn-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.wsn-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wsn-articles li {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.wsn-articles li:last-child {
  border-bottom: 0;
}

.wsn-articles a {
  font-weight: 600;
}

.wsn-embed {
  margin: 24px 0;
}

.wsn-embed .panel__title {
  font-size: .74rem;
}

.prose .wsn-embed h3 {
  margin-top: 18px;
}

.prose .wsn-embed ul,
.prose .wsn-embed ol {
  padding-left: 0;
}

.prose .wsn-embed .wsn-plain {
  padding-left: 18px;
}

.prose .wsn-embed table {
  margin: 0;
}

.wsn-raw td:first-child {
  width: 60%;
}

.wsn-planets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: 18px;
}

.wsn-recipelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.wsn-row--recipe {
  display: block;
  padding: 0;
  border: 0;
}

.wsn-row--recipe[hidden] {
  display: none;
}

.wsn-toc ol {
  margin: 0;
  padding-left: 18px;
}

.wsn-gastable td {
  vertical-align: middle;
}

@media (max-width: 1080px) {
  .wsn-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wsn-side {
    order: -1;
  }

  .wsn-side .sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .wsn-toc,
  .wsn-layout--cat .wsn-side {
    display: none;
  }
}

@media (max-width: 760px) {
  .wsn-head__in {
    gap: 14px;
  }

  .wsn-head__icon {
    width: 58px;
    height: 58px;
  }

  .wsn-head__icon .wsn-ico {
    width: 36px;
    height: 36px;
  }

  .wsn-row {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 2px 10px;
  }

  .wsn-row > :nth-child(n + 3) {
    grid-column: 2;
  }

  .wsn-row__alt:empty {
    display: none;
  }

  .wsn-row__hash {
    text-align: left;
  }

  .wsn-list .tag {
    justify-self: start;
  }

  .wsn-recipe__tags {
    margin-left: 0;
  }

  .wsn-kv,
  .wsn-kv--cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 0;
  }

  .wsn-kv dd {
    margin-bottom: 8px;
  }
}

.wsn-side {
  align-self: stretch;
  min-width: 0;
}

.wsn-chart--furnace,
.wsn-chart--phase {
  max-width: 720px;
}

.wsn-chart--rows {
  max-width: 900px;
}

.wsn-chart__band {
  fill: rgba(255, 255, 255, .025);
}

.wsn-chart__rowlabel {
  fill: var(--text);
  font-size: 11px;
}

.wsn-chart__bar {
  fill-opacity: .35;
}

.wsn-chart__bar.is-open {
  fill-opacity: .2;
}
