:root {
  --paper: #fff;
  --ink: #000;
  --text: "Univers LT Pro", Univers, "Univers LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --data: "TX-02-Data", "Berkeley Mono", "TX-02", "SF Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --code-comment: #6e6a64;
  --code-string: #1f6a45;
  --code-keyword: #9f2d2d;
  --code-number: #8d4d12;
  --code-function: #1f4e79;
  --code-type: #5c3d7a;
  --code-builtin: #1a5c78;
  --code-property: #1f4e79;
  --code-attr: #8d4d12;
  --code-tag: #9f2d2d;
  --code-variable: #8d4d12;
  --code-operator: #242424;
  --code-punct: #5e5a55;
  --code-label: #6e6a64;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #000;
  --ink: #fff;
  --code-comment: #a39e96;
  --code-string: #7dcea0;
  --code-keyword: #f0a08a;
  --code-number: #e6b15c;
  --code-function: #9ec4ea;
  --code-type: #d2b4ea;
  --code-builtin: #8fd0d8;
  --code-property: #9ec4ea;
  --code-attr: #e6b15c;
  --code-tag: #f0a08a;
  --code-variable: #e6b15c;
  --code-operator: #f3f3f3;
  --code-punct: #bdb8b0;
  --code-label: #a39e96;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

html {
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5rem;
  scroll-behavior: smooth;
}

body {
  max-width: 88rem;
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 3vw, 2.75rem) 4.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem 3rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--ink);
}

.identity {
  flex: 1 1 24rem;
  min-width: 0;
  max-width: 100%;
}

.side {
  flex: 0 1 18rem;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  text-align: right;
}

h1 {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1:has(+ .meta) {
  margin-bottom: 0.15rem;
}

h1 a {
  text-decoration: none;
}

h2 {
  margin: 0 0 1.05rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--data);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2rem;
  text-transform: uppercase;
}

h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 .role {
  min-width: 0;
  text-wrap: balance;
}

h3 .when {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 300;
  white-space: nowrap;
  font-size: 0.8rem;
  font-family: var(--data);
  text-transform: uppercase;
}

p {
  margin: 0.55rem 0 0;
  overflow-wrap: break-word;
}

.lede {
  max-width: 40rem;
  margin: 0;
  font-family: var(--data);
  font-size: 0.9rem;
}

.where,
nav {
  font-family: var(--data);
  font-size: 0.8rem;
  line-height: 1.35rem;
}

.where {
  margin: 0.2rem 0 0;
}

.meta {
  margin: 0 0 0.7rem;
  font-family: var(--text);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.3;
}

.socials {
  margin: 0.7rem 0 0;
  font-family: var(--data);
  font-size: 0.8rem;
  line-height: 1.35rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

section {
  margin-top: 2.15rem;
}

main section details {
  margin: 0;
}

main section details:not([open]) > .fold {
  display: none;
}

main section summary {
  display: block;
  margin: 0;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--ink);
  list-style: none;
  cursor: pointer;
}

main section summary::-webkit-details-marker {
  display: none;
}

main section summary::marker {
  content: "";
}

main section summary:focus {
  outline: none;
}

main section details[open] > summary {
  margin-bottom: 1.05rem;
}

main section summary h2 {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  transition: background-color 0.16s linear, color 0.16s linear;
}

main section summary h2::before {
  content: ">";
  display: inline-block;
  margin-right: 0.55rem;
  letter-spacing: 0;
  transform-origin: 50% 55%;
  transition: transform 0.16s linear;
}

main section details[open] > summary h2::before {
  transform: rotate(90deg);
}

main section summary:hover h2,
main section summary:focus-visible h2 {
  background: var(--ink);
  color: var(--paper);
}

main section details:not([open]) > summary:hover h2::before,
main section details:not([open]) > summary:focus-visible h2::before {
  transform: translateX(0.18rem);
}

@media (prefers-reduced-motion: reduce) {
  main section summary h2,
  main section summary h2::before {
    transition: none;
  }
}

.essay {
  max-width: 40rem;
}

.essay h1 {
  margin-bottom: 1.1rem;
}

.essay h1:has(+ .where) {
  margin-bottom: 0.2rem;
}

.essay h2 {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  font-family: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.essay h3 {
  display: block;
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
}

.essay p,
.essay ul,
.essay ol,
.essay pre,
.essay blockquote {
  overflow-wrap: break-word;
}

.essay blockquote {
  margin: 1rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--ink);
  font-weight: 300;
}

.essay blockquote p {
  margin: 0.35rem 0 0;
}

.essay blockquote p:first-child {
  margin-top: 0;
}

.essay ul,
.essay ol {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.essay li {
  margin: 0.2rem 0 0;
}

.essay li p {
  margin: 0;
}

.essay strong {
  font-weight: 700;
}

.essay em {
  font-style: italic;
}

.essay code {
  font-family: var(--data);
  font-size: 0.92em;
}

.essay pre {
  margin: 1rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--ink);
  overflow: hidden;
  font-family: var(--data);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
}

.essay pre[data-lang]::before {
  content: attr(data-lang);
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2rem;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  color: var(--code-label);
}

.essay pre .tok-comment { color: var(--code-comment); }
.essay pre .tok-string { color: var(--code-string); }
.essay pre .tok-keyword { color: var(--code-keyword); font-weight: 700; }
.essay pre .tok-number { color: var(--code-number); }
.essay pre .tok-function { color: var(--code-function); }
.essay pre .tok-type { color: var(--code-type); }
.essay pre .tok-builtin { color: var(--code-builtin); }
.essay pre .tok-property { color: var(--code-property); }
.essay pre .tok-attr { color: var(--code-attr); }
.essay pre .tok-tag { color: var(--code-tag); }
.essay pre .tok-variable { color: var(--code-variable); }
.essay pre .tok-operator { color: var(--code-operator); }
.essay pre .tok-punct { color: var(--code-punct); }

.essay pre code {
  font-size: inherit;
}

/* A source line is one row. Its number stays on the first row, so a wrap
   makes that row taller and the next number starts further down.
   Nothing in the block slides sideways. */
.essay pre:has(> code.lined) {
  padding-left: 0.45rem;
}

.essay pre code.lined {
  display: block;
  white-space: normal;
  counter-reset: ln;
}

.essay pre code.lined .nl {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: pre;
  font-size: 0;
  line-height: 0;
}

.essay pre code.lined .line {
  display: block;
  position: relative;
  padding-left: calc(var(--line-digits, 2) * 1ch + 0.7rem);
  min-height: 1.45em;
  min-height: 1lh;
}

.essay pre code.lined .line::before {
  content: counter(ln);
  content: counter(ln) / "";
  counter-increment: ln;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--line-digits, 2) * 1ch);
  text-align: right;
  white-space: nowrap;
  user-select: none;
  color: var(--code-label);
}

.essay pre code.lined .src {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 660px) {
  .essay pre {
    font-size: 0.78rem;
  }
}

.essay hr {
  margin: 1.4rem 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
}

.essay figure {
  margin: 0.9rem 0 0;
}

.essay figure img {
  display: block;
  width: 100%;
  height: auto;
}

.essay .math {
  overflow-x: auto;
}

.essay .math[data-display="1"] {
  display: block;
  margin: 0.7rem 0;
}

.tags {
  margin: 0.35rem 0 0;
  font-family: var(--data);
  font-size: 0.8rem;
  line-height: 1.35rem;
  overflow-wrap: anywhere;
}

.tags a {
  text-decoration: none;
  letter-spacing: 0.04em;
}

.tags a[aria-current="true"] {
  font-weight: 700;
}

#essay-tags {
  margin: 0 0 1.05rem;
}

#essay-sort {
  margin: 0 0 0.2rem;
}

#essay-sort button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
}

#essay-sort button[aria-pressed="true"] {
  font-weight: 700;
}

#essay-sort button:focus {
  outline: none;
}

#essay-sort button:hover,
#essay-sort button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

#essay-none {
  margin: 0.8rem 0 0;
}

.spread > article[hidden] {
  display: none;
}

.essay a {
  overflow-wrap: anywhere;
}

.spread {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.6rem 2.4rem;
}

.spread > article {
  flex: 1 1 calc((100% - 4.8rem) / 3);
  max-width: calc((100% - 4.8rem) / 3);
  min-width: 0;
}

#essay-list a.role {
  overflow-wrap: break-word;
}

#media-list .role {
  overflow-wrap: break-word;
}

#media-list a.thumb {
  display: block;
  margin: 0 0 0.45rem;
  overflow: hidden;
  background: #000;
  line-height: 0;
  text-decoration: none;
  aspect-ratio: 16 / 9;
}

#media-list a.thumb:hover,
#media-list a.thumb:focus-visible {
  background: #000;
  color: inherit;
}

#media-list a.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a {
  color: var(--ink);
  text-underline-offset: 2px;
}

a:visited {
  color: var(--ink);
}

a:hover,
a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

nav a {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme {
  display: inline-flex;
  align-self: stretch;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--ink);
}

.theme button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  cursor: pointer;
  font-size: 0.8rem;
}

.theme button:focus {
  outline: none;
}

.theme button:hover,
.theme button:focus-visible,
html:not([data-theme="dark"]) .theme button[data-theme-set="light"],
html[data-theme="dark"] .theme button[data-theme-set="dark"] {
  font-weight: 700;
  text-shadow: 0 0 0.45rem var(--ink);
}

@media (max-width: 1000px) {
  .spread > article {
    flex-basis: calc((100% - 2.4rem) / 2);
    max-width: calc((100% - 2.4rem) / 2);
  }
}

@media (max-width: 660px) {
  header {
    column-gap: 1rem;
    row-gap: 1.35rem;
  }

  .identity {
    flex: 1 1 12rem;
    min-width: 12rem;
  }

  .side {
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
    margin: 0 0 0 auto;
    gap: 0.7rem;
  }

  .theme {
    align-self: flex-end;
    width: 100%;
    padding-top: 0.7rem;
  }
}

@media (max-width: 640px) {
  .spread {
    display: block;
  }

  .spread > article {
    max-width: none;
    margin-top: 1.5rem;
  }

  .spread > article:first-child {
    margin-top: 0;
  }
}

@media print {
  :root,
  html[data-theme="dark"] {
    --paper: #fff;
    --ink: #000;
    --code-comment: #6e6a64;
    --code-string: #1f6a45;
    --code-keyword: #9f2d2d;
    --code-number: #8d4d12;
    --code-function: #1f4e79;
    --code-type: #5c3d7a;
    --code-builtin: #1a5c78;
    --code-property: #1f4e79;
    --code-attr: #8d4d12;
    --code-tag: #9f2d2d;
    --code-variable: #8d4d12;
    --code-operator: #242424;
    --code-punct: #5e5a55;
    --code-label: #6e6a64;
    color-scheme: light;
  }

  body {
    max-width: none;
    padding: 0;
  }

  nav,
  .theme,
  #essay-sort {
    display: none;
  }

  main section details > .fold {
    display: block !important;
  }

  main section summary h2::before {
    content: none;
  }

  main section details > summary {
    margin-bottom: 1.05rem;
  }

  .essay pre {
    overflow: visible;
  }

  a {
    text-decoration: none;
  }

  section {
    break-inside: avoid;
  }
}

.ideo-slot.is-placeholder {
  margin-top: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--data);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1.35rem;
  text-transform: uppercase;
}

.essay:has(#essay-body .ideo-slot:not(.is-placeholder)) {
  max-width: none;
}

.essay:has(#essay-body .ideo-slot:not(.is-placeholder)) > :not(#essay-body),
.essay:has(#essay-body .ideo-slot:not(.is-placeholder)) #essay-body > :not(.ideo-slot) {
  max-width: 40rem;
}

.ideo-slot:not(.is-placeholder) {
  margin-top: 1.15rem;
  margin-bottom: 1.4rem;
  height: calc(100vh - 6.5rem);
  height: calc(100dvh - 6.5rem);
  min-height: 34rem;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
}

.ideo-slot #app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  height: 100%;
  min-height: 0;
}

.ideo-slot #main {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.ideo-slot #stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.ideo-slot #c3,
.ideo-slot #radar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ideo-slot #radar {
  display: none;
  background: var(--paper);
}

.ideo-slot #labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ideo-slot #top {
  position: absolute;
  left: 0.85rem;
  top: 0.55rem;
  right: 0.85rem;
  z-index: 3;
  max-width: 38rem;
  pointer-events: none;
}

.ideo-slot #top a,
.ideo-slot #top button,
.ideo-slot #top label {
  pointer-events: auto;
}

.ideo-slot .sub,
.ideo-slot #ptog,
.ideo-slot #legend,
.ideo-slot #row,
.ideo-slot #cl,
.ideo-slot table,
.ideo-slot .note,
.ideo-slot svg text,
.seats svg text,
.seats .sub,
.seats .ctl,
.seats .note,
.seats table {
  font-family: var(--data);
}

.ideo-slot .sub {
  max-width: 46rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.ideo-slot #ptog {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.ideo-slot #ptog label {
  margin-right: 0.75rem;
  font-weight: 700;
}

.ideo-slot #legend {
  max-width: 36rem;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.ideo-slot .k {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.25rem;
  vertical-align: -1px;
}

.ideo-slot .k.threat { background: var(--ink); }
.ideo-slot .k.over { background: #2b8a3e; }
.ideo-slot .k.ctx { background: #9aa0a6; }

.ideo-slot #ctl {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  z-index: 3;
  padding-top: 0.35rem;
  border-top: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.ideo-slot #row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: center;
  font-size: 0.75rem;
}

.ideo-slot #scrub,
.seats #scrub {
  flex: 1 0 100%;
  order: -1;
  width: 100%;
  min-width: 0;
  touch-action: none;
  accent-color: var(--ink);
}

.ideo-slot #cl {
  font-weight: 700;
  min-width: 9rem;
}

.ideo-slot #strip {
  display: block;
  width: 100%;
  height: 44px;
}

.ideo-slot button,
.seats button {
  appearance: none;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.ideo-slot button:focus,
.seats button:focus {
  outline: none;
}

.ideo-slot button.on,
.ideo-slot button:hover,
.ideo-slot button:focus-visible,
.seats button:hover,
.seats button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.ideo-slot .sl {
  position: absolute;
  max-width: 11rem;
  padding: 0 0.15rem;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.05rem;
  pointer-events: auto;
  cursor: help;
}

.ideo-slot .sl.mute {
  color: var(--code-comment);
}

.ideo-slot #tip,
.ideo-slot #method {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--text);
  line-height: 1.45;
}

.ideo-slot #tip {
  position: fixed;
  z-index: 20;
  display: none;
  max-width: min(24rem, calc(100vw - 1rem));
  max-height: 70vh;
  overflow: auto;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  pointer-events: none;
}

.ideo-slot #side td[data-i],
.ideo-slot #radar text[data-i] {
  cursor: help;
}

.ideo-slot #tip .src {
  font-family: var(--data);
  font-size: 0.75rem;
}

.ideo-slot #tip .split {
  margin-top: 0.3rem;
  padding-top: 0.25rem;
  border-top: 1px dashed var(--code-comment);
}

.ideo-slot .revise {
  margin-top: 0.25rem;
  color: var(--code-number);
}

.ideo-slot #method {
  display: none;
  position: absolute;
  z-index: 8;
  left: 1rem;
  top: 3rem;
  width: min(40rem, calc(100% - 2rem));
  max-height: 80%;
  overflow: auto;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}

.ideo-slot #method > b {
  font-size: 1rem;
}

.ideo-slot #method > button {
  float: right;
}

.ideo-slot .note,
.seats .note {
  color: var(--code-comment);
  font-size: 0.72rem;
}

.ideo-slot .tag,
.seats .tag {
  display: inline-block;
  margin: 0.1rem 0.15rem 0.1rem 0;
  padding: 0 0.3rem;
  font-family: var(--data);
  font-size: 0.72rem;
}

.ideo-slot .tag.up {
  background: #e7f2ea;
  color: var(--ink);
}

html[data-theme="dark"] .ideo-slot .tag.up {
  background: #16331f;
  color: #fff;
}

.ideo-slot .tag.down {
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
  color: var(--code-comment);
}

.ideo-slot .flags {
  margin-top: 0.3rem;
}

.ideo-slot #side {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 0.85rem 1rem 1.4rem;
  border-left: 1px solid var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ideo-slot .spark {
  min-width: 0;
  max-width: 100%;
}

.ideo-slot .spark svg {
  display: block;
  width: 100%;
  height: auto;
}

.essay .ideo-slot #side h2,
.essay.seats-page #panel h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-family: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.essay .ideo-slot #side h3,
.essay.seats-page #panel h3 {
  display: block;
  margin: 0.9rem 0 0.35rem;
  padding: 0.45rem 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2rem;
  text-align: left;
  text-transform: uppercase;
}

.ideo-slot table,
.seats table.st {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.ideo-slot td,
.ideo-slot th,
.seats table.st td {
  padding: 0.05rem 0.2rem;
  text-align: right;
}

.ideo-slot td:first-child,
.ideo-slot th:first-child,
.seats table.st td:first-child {
  text-align: left;
}

.ideo-slot th {
  font-weight: 400;
  color: var(--code-comment);
}

.ideo-slot .bar {
  display: inline-block;
  height: 0.4rem;
  background: var(--ink);
  vertical-align: middle;
}

.ideo-slot .ev {
  margin: 0.35rem 0;
  padding: 0.05rem 0 0.05rem 0.45rem;
  border-left: 3px solid var(--ink);
}

.ideo-slot .ev.overreach { border-color: #2b8a3e; }
.ideo-slot .ev.contested,
.ideo-slot .ev.context { border-color: #9aa0a6; }

.ideo-slot p.tight,
.seats p.tight {
  margin: 0.15rem 0 0;
}

.ideo-slot ul,
.seats ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

.essay.seats-page {
  max-width: none;
}

.essay.seats-page > h1,
.essay.seats-page > .where,
.essay.seats-page > .tags {
  max-width: 40rem;
}

.seats-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-top: 1rem;
}

.seats #left {
  flex: 1;
  min-width: 0;
}

.seats .sub {
  max-width: 46rem;
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.seats .ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
}

.seats #legend {
  font-size: 0.72rem;
  line-height: 1.35;
}

.seats .swatch {
  display: inline-block;
  width: 1.35rem;
  height: 0.5rem;
  margin-left: 0.1rem;
  border: 1px solid var(--ink);
  vertical-align: -1px;
}

.seats #panel {
  width: min(26rem, 100%);
  flex: none;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  position: sticky;
  top: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
}

.seats .pin {
  font-family: var(--data);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seats svg {
  display: block;
  max-width: 100%;
}

@media (max-width: 860px) {
  .ideo-slot:not(.is-placeholder) {
    height: auto;
    min-height: 0;
  }

  .ideo-slot #app {
    grid-template-columns: 1fr;
    height: auto;
  }

  .ideo-slot #main {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .ideo-slot #top {
    position: static;
    max-width: none;
    padding: 0.55rem 0.85rem 0.35rem;
  }

  .ideo-slot #stage {
    position: relative;
    inset: auto;
    height: 68vh;
    min-height: 22rem;
  }

  .ideo-slot #ctl {
    position: static;
    margin: 0 0.85rem 0.35rem;
  }

  .ideo-slot .sl {
    max-width: 6.4rem;
    font-size: 0.62rem;
  }

  .ideo-slot #side {
    border-left: 0;
    border-top: 1px solid var(--ink);
    max-height: 36rem;
  }

  .seats-wrap {
    display: block;
  }

  .seats #panel {
    width: auto;
    max-height: none;
    position: static;
    margin-top: 1rem;
    padding-top: 0.8rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
}
