/* Artifact Site — comprehension view inside the MD document window. */

.object-modal-body.has-artifact-site {
  padding: 0;
  overflow: auto;
  background: #0c0d10;
}

.artifact-site {
  --as-ink: #f2efe8;
  --as-ink-2: #b8b3a8;
  --as-ink-3: #7d786e;
  --as-rule: rgba(255, 255, 255, 0.08);
  --as-teal: #4ec9b0;
  --as-ochre: #d4a05a;
  --as-rose: #d46a7a;
  --as-surface: #14161b;
  --as-sans: var(--font-site-sans, "Source Sans 3", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --as-serif: var(--font-site-serif, "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif);
  color: var(--as-ink);
  font-family: var(--as-sans);
  padding: 20px 28px 56px;
  max-width: 880px;
  margin: 0 auto;
}

.artifact-site h2,
.artifact-site h3 {
  font-family: var(--as-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

.artifact-site h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.artifact-site h1,
.as-hero h1 {
  margin: 0;
  font-family: var(--as-sans);
  font-weight: 600;
  letter-spacing: -0.032em;
}

.as-chrome {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--as-rule);
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0c0d10;
}

.as-lens {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 16px;
  margin-top: 0;
}

.as-lens-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--as-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(220px, 62vw);
  cursor: pointer;
}

.as-lens-now {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-lens-trigger svg {
  width: 11px;
  height: 7px;
  flex: 0 0 auto;
  opacity: 0.42;
  transition: transform 180ms ease, opacity 180ms ease;
}

.as-lens-trigger:hover svg,
.as-lens-trigger[aria-expanded="true"] svg {
  opacity: 0.8;
}

.as-lens-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.as-lens-trigger:focus-visible {
  outline: 2px solid var(--as-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.as-lens-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 6;
  min-width: min(272px, 78vw);
  padding: 6px;
  border-radius: 14px;
  background: #17191e;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--as-rule);
}

.as-lens-menu[hidden] { display: none; }

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

.as-lens-list li { margin: 0; }

.as-lens-split {
  height: 1px;
  margin: 5px 8px;
  background: var(--as-rule);
}

.as-lens-list button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--as-ink);
  text-align: left;
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.as-lens-list button:hover,
.as-lens-list button:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.as-lens-list button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.1);
}

.as-lens-list .nm {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.as-lens-list .hint {
  font-size: 11.5px;
  color: var(--as-ink-3);
  letter-spacing: 0.01em;
}

.as-pill {
  appearance: none;
  border: 1px solid var(--as-rule);
  background: var(--as-surface);
  color: var(--as-ink-2);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.as-pill[aria-pressed="true"] {
  background: var(--as-ink);
  color: #0c0d10;
  border-color: var(--as-ink);
}

.as-depth {
  display: block;
  width: min(248px, 100%);
  min-width: 180px;
  flex: 0 0 auto;
  user-select: none;
}

.as-depth-slider {
  --as-thumb: 16px;
  --as-d-n: 0.5;
  --as-d-fill: #4ec9b0;
}

.as-depth-slider[data-tone="glance"] { --as-d-fill: #7d9aa3; }
.as-depth-slider[data-tone="brief"] { --as-d-fill: #4ec9b0; }
.as-depth-slider[data-tone="full"] { --as-d-fill: #d4a05a; }

.as-depth-track {
  position: relative;
  height: 8px;
  margin: 4px 1px 0;
  border-radius: 999px;
  background: #16181d;
  box-shadow: inset 0 0 0 1px var(--as-rule);
  cursor: pointer;
  touch-action: none;
}

.as-depth-track:focus-visible {
  outline: 2px solid var(--as-d-fill);
  outline-offset: 3px;
}

.as-depth-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc((var(--as-thumb) / 2) + (100% - var(--as-thumb)) * var(--as-d-n));
  border-radius: inherit;
  background: var(--as-d-fill);
  box-shadow: 0 0 8px color-mix(in srgb, var(--as-d-fill) 32%, transparent);
}

.as-depth-ticks {
  position: absolute;
  inset: 0 calc(var(--as-thumb) / 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.as-depth-ticks i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(242, 239, 232, 0.22);
}

.as-depth-thumb {
  position: absolute;
  top: 50%;
  left: calc((var(--as-thumb) / 2) + (100% - var(--as-thumb)) * var(--as-d-n));
  width: var(--as-thumb);
  height: var(--as-thumb);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.as-depth-labs {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--as-ink-3);
}

.as-depth-labs span { cursor: pointer; }
.as-depth-labs .on {
  color: var(--as-d-fill);
  font-weight: 600;
}

.as-depth-slider.is-ready .as-depth-fill {
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1), background-color 280ms ease, box-shadow 280ms ease;
}
.as-depth-slider.is-ready .as-depth-thumb {
  transition: left 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.as-depth-slider.is-ready .as-depth-labs span {
  transition: color 220ms ease;
}
.as-depth-slider.is-dragging .as-depth-fill,
.as-depth-slider.is-dragging .as-depth-thumb {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .as-depth-slider.is-ready .as-depth-fill,
  .as-depth-slider.is-ready .as-depth-thumb,
  .as-depth-slider.is-ready .as-depth-labs span {
    transition: none;
  }
}

.as-stamp {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--as-ink-3);
}

.as-hero {
  padding: 28px 0 8px;
}

.as-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--as-ink-3);
  margin: 0 0 26px;
}
.as-slide-beat .as-kicker {
  letter-spacing: 0.08em;
  max-width: 42ch;
}

.as-hero h1 {
  font-size: clamp(30px, 5.4vw, 58px);
  line-height: 1.03;
  max-width: 16ch;
}

.as-hero h1 em,
.as-keystone em {
  font-style: normal;
  font-weight: inherit;
  color: var(--as-teal);
}

.as-hinge {
  margin: 18px 0 0;
  max-width: 46ch;
  font-family: var(--as-serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--as-rose);
}
.as-hinge b {
  font-family: var(--as-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
}

.as-lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-family: var(--as-serif);
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--as-ink-2);
}

.as-decision {
  margin-top: 28px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--as-teal);
}

.as-q {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--as-ink-3);
}

.as-a {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-family: var(--as-serif);
}

.as-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--as-rule);
  border: 1px solid var(--as-rule);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
}

.as-stat {
  background: var(--as-surface);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.as-stat .v {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.as-stat.accent .v { color: var(--as-teal); }
.as-stat.warn .v { color: var(--as-ochre); }

.as-stat .k { font-size: 12.5px; color: var(--as-ink-2); line-height: 1.35; }
.as-stat .s { font-size: 11px; color: var(--as-ink-3); }

.as-owed {
  margin-top: 22px;
  border: 1px solid var(--as-rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--as-surface);
}

.as-owed-hd {
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--as-ink-3);
  border-bottom: 1px solid var(--as-rule);
}

.as-owed ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-owed li {
  padding: 13px 16px;
  border-top: 1px solid var(--as-rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-owed li:first-child { border-top: 0; }
.as-owed .ask { font-family: var(--as-serif); font-weight: 600; }
.as-owed .meta { font-size: 12px; color: var(--as-ochre); }

.as-sec {
  padding: 36px 0 8px;
  border-top: 1px solid var(--as-rule);
  margin-top: 28px;
}

.as-sec h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.as-sec-lead {
  margin: -8px 0 16px;
  font-family: var(--as-serif);
  font-size: 13.5px;
  color: var(--as-ink-3);
}

.as-map .lab {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-spine {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.as-spine::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--as-rule);
}

.as-spine li {
  display: grid;
  grid-template-columns: 16px 120px 1fr;
  gap: 12px;
  padding: 11px 0;
  align-items: start;
  position: relative;
}

.as-spine .dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--as-teal);
  box-shadow: 0 0 0 4px #0c0d10;
}

.as-spine li.gate .dot { background: var(--as-ochre); }
.as-spine li.hole .dot { background: var(--as-rose); }
.as-spine li.date .dot { background: var(--as-ink-2); }

.as-spine b {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--as-ink-2);
  font-weight: 600;
  padding-top: 2px;
}

.as-spine span {
  color: var(--as-ink);
  font-family: var(--as-serif);
  font-size: 14px;
  line-height: 1.4;
}

.as-spine em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  color: var(--as-ochre);
}

.as-brief {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: brief;
}

.as-brief li {
  padding: 16px 0;
  border-top: 1px solid var(--as-rule);
  counter-increment: brief;
}

.as-brief-hd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.as-brief h3 {
  font-size: 16px;
  margin-bottom: 6px;
  flex: 1;
}

.has-more {
  cursor: pointer;
}
.has-more:hover {
  background: rgba(255, 255, 255, 0.02);
}
.has-more[aria-expanded="true"] {
  background: rgba(78, 201, 176, 0.03);
}

.as-more {
  margin-top: 10px;
  padding: 10px 12px 12px;
  border-left: 2px solid var(--as-teal);
  background: rgba(78, 201, 176, 0.05);
  border-radius: 0 8px 8px 0;
}
.as-more p + p { margin-top: 8px; }

.as-brief h3::before {
  content: counter(brief, decimal-leading-zero) "  ";
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: var(--as-ink-3);
}

.as-brief p { margin: 0; font-family: var(--as-serif); color: var(--as-ink-2); line-height: 1.5; }
.as-why { margin-top: 6px !important; color: var(--as-ink-3) !important; font-size: 13px; }

.as-fig {
  margin: 0 0 22px;
  padding: 16px;
  background: var(--as-surface);
  border: 1px solid var(--as-rule);
  border-radius: 12px;
}

.as-fig figcaption {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.as-viz {
  width: 100%;
  height: auto;
  display: block;
  margin: 4px 0 8px;
  font-family: var(--as-sans);
}

.as-viz-track { fill: #1c1f26; }
.as-viz-fill { fill: var(--as-teal); }
.as-viz-axis { stroke: rgba(242, 239, 232, 0.22); stroke-width: 1.5; fill: none; }
.as-viz-arrow { stroke: var(--as-teal); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.as-viz-dot { fill: var(--as-teal); }
.as-viz-node { fill: var(--as-teal); }
.as-viz-node-gate { fill: var(--as-ochre); }
.as-viz-node-hole { fill: var(--as-rose); }
.as-viz-key { stroke: var(--as-teal); stroke-width: 1.6; fill: none; }
.as-viz-stem-break {
  stroke: var(--as-rose);
  stroke-width: 1.4;
  stroke-dasharray: 2 5;
  fill: none;
}
.as-viz-node-date { fill: var(--as-ink-2); }
.as-viz-box {
  fill: var(--as-surface);
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}
.as-viz-box-to { stroke: rgba(78, 201, 176, 0.4); }
.as-viz-box-hole { stroke: rgba(212, 106, 122, 0.45); fill: rgba(212, 106, 122, 0.08); }
.as-viz-lab, .as-viz-num {
  fill: var(--as-ink-2);
  font-size: 12px;
}
.as-viz-num { fill: var(--as-ink); font-variant-numeric: tabular-nums; }

.as-bar {
  display: grid;
  grid-template-columns: minmax(80px, 28%) 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 7px 0;
  font-size: 12.5px;
}

.as-bar .track {
  height: 10px;
  background: #1c1f26;
  border-radius: 6px;
  overflow: hidden;
}

.as-bar .track i {
  display: block;
  height: 100%;
  background: var(--as-teal);
}

.as-bar .num {
  font-variant-numeric: tabular-nums;
  color: var(--as-ink-2);
}

.as-note { font-size: 12px; color: var(--as-ochre); margin: 10px 0 0; }

.as-fig-arc { background: transparent; border-style: dashed; }

.as-board { padding: 18px 16px 12px; }
.as-board-read {
  margin: -4px 0 14px;
  font-family: var(--as-serif);
  font-size: 14px;
  color: var(--as-ink-2);
  line-height: 1.45;
}
.as-field { display: flex; flex-direction: column; }
.as-field-row {
  padding: 12px 0 12px 12px;
  border-top: 1px solid var(--as-rule);
  border-left: 2px solid transparent;
}
.as-field-row:first-child { border-top: none; padding-top: 0; }
.as-field-row.high { border-left-color: rgba(212, 106, 122, 0.55); }
.as-field-row.low { border-left-color: rgba(78, 201, 176, 0.4); }
.as-field-hd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.as-field-k {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}
.as-field-v {
  margin: 6px 0 0;
  font-family: var(--as-serif);
  color: var(--as-ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.as-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(125, 154, 163, 0.16);
  color: var(--as-ink-2);
  white-space: nowrap;
}
.as-chip.high { background: rgba(212, 106, 122, 0.18); color: #e8a0aa; }
.as-chip.mid { background: rgba(212, 160, 90, 0.16); color: var(--as-ochre); }
.as-chip.low { background: rgba(78, 201, 176, 0.16); color: var(--as-teal); }

.as-heat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.as-heat-row {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--as-rule);
}
.as-heat-row.high { border-color: rgba(212, 106, 122, 0.35); }
.as-heat-row b { display: block; margin-bottom: 4px; }
.as-heat-row p { margin: 0; color: var(--as-ink-2); font-size: 13px; }

.as-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.as-card {
  background: var(--as-surface);
  border: 1px solid var(--as-rule);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-card span { font-size: 11.5px; color: var(--as-ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

.as-fig-line {
  background: transparent;
  border: none;
  padding: 4px 0 8px;
  margin: 0 0 10px;
}

.as-hold { margin-top: 8px; }
.as-keystone {
  padding: 2px 0 4px 18px;
  border-left: 3px solid var(--as-teal);
  margin-bottom: 8px;
}
.as-keystone span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-teal);
  margin-bottom: 8px;
}
.as-keystone p {
  margin: 0;
  max-width: 62ch;
  font-family: var(--as-serif);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.as-risers {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  position: relative;
}
.as-risers::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--as-rule);
}
.as-riser {
  position: relative;
  padding: 18px 0 18px 28px;
  border-top: 1px solid var(--as-rule);
}
.as-riser:first-child { border-top: none; }
.as-stem {
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--as-teal);
  box-shadow: 0 0 0 4px #0c0d10;
}
.as-riser.stressed .as-stem { background: var(--as-ochre); }
.as-riser.thin .as-stem,
.as-riser.cut .as-stem {
  background: transparent;
  box-shadow: 0 0 0 4px #0c0d10, inset 0 0 0 1.5px var(--as-rose);
}
.as-riser-hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.as-riser-hd h3 { flex: 1; font-size: 15px; margin: 0; font-weight: 600; }
.as-riser-hd em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--as-teal);
  padding-top: 4px;
}
.as-riser.stressed .as-riser-hd em { color: var(--as-ochre); }
.as-riser.thin .as-riser-hd em,
.as-riser.cut .as-riser-hd em { color: var(--as-rose); }
.as-riser > p {
  margin: 0;
  max-width: 62ch;
  font-family: var(--as-serif);
  color: var(--as-ink-2);
  line-height: 1.5;
}
.as-open {
  margin: 10px 0 0 !important;
  max-width: 62ch;
  font-family: var(--as-serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--as-rose);
}
.as-open b {
  font-family: var(--as-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 6px;
}
.as-unhung {
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--as-rule);
}
.as-unhung h3 { font-size: 15px; margin: 0 0 4px; }
.as-unhung .as-sec-lead { margin: 0 0 10px; }

.as-egrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.as-ev {
  background: var(--as-surface);
  border: 1px solid var(--as-rule);
  border-radius: 10px;
  padding: 14px;
}

.as-ev .nm { margin: 0 0 8px; font-family: var(--as-serif); font-size: 14px; line-height: 1.4; }
.as-ev .st { font-size: 11px; color: var(--as-ink-3); }
.as-ev.sup { border-left: 3px solid var(--as-teal); }
.as-ev.part { border-left: 3px solid var(--as-ochre); }
.as-ev .gap { margin: 8px 0 0; font-size: 12.5px; color: var(--as-rose); }

.as-holes { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

.as-hole {
  border: 1px dashed rgba(212, 106, 122, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(212, 106, 122, 0.06);
}

.as-hole .l {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-rose);
}

.as-hole p { margin: 6px 0 0; font-family: var(--as-serif); }

.as-time { list-style: none; margin: 0; padding: 0; }
.as-time li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--as-rule);
  font-size: 13.5px;
}
.as-time span { font-family: var(--as-serif); color: var(--as-ink-2); }

.as-cmp { display: flex; flex-direction: column; gap: 8px; }
.as-cmp-row {
  background: var(--as-surface);
  border: 1px solid var(--as-rule);
  border-radius: 10px;
  padding: 12px 14px;
}
.as-cmp-row .f { font-family: var(--as-serif); font-weight: 600; margin-bottom: 8px; }
.as-cmp-row .pair {
  display: grid;
  grid-template-columns: 1fr 16px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--as-ink-2);
  font-family: var(--as-serif);
  font-size: 13px;
}
.as-cmp-row .pair i {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--as-teal);
  border-top: 1px solid var(--as-teal);
  transform: rotate(45deg);
  justify-self: center;
}
.as-cmp-row.move { border-color: rgba(78, 201, 176, 0.28); }
.as-cmp-row.same { opacity: 0.55; }

.as-foot {
  margin-top: 40px;
  font-size: 12px;
  color: var(--as-ink-3);
  line-height: 1.5;
}

.as-chrome-slides { justify-content: flex-end; }

.as-deck {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
}

.as-slide {
  flex: 1 1 auto;
  padding: 28px 0 8px;
}

.as-slide h1 {
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.12;
  max-width: 22ch;
}
.as-slide-beat h1 {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.28;
  max-width: 40ch;
  font-weight: 600;
}
.as-fig-frame .as-viz-num {
  font-size: 15px;
  letter-spacing: 0.04em;
}
.as-viz-box-on {
  fill: rgba(78, 201, 176, 0.12);
  stroke: rgba(78, 201, 176, 0.45);
}
.as-slide-beat .as-lede {
  margin-top: 18px;
  max-width: 52ch;
}

.as-slide h1 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--as-teal);
}

.as-story-beats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.as-story-beats li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--as-rule);
}

.as-story-beats span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--as-ink-3);
  padding-top: 4px;
}

.as-story-beats p {
  margin: 0;
  font-size: 20px;
  line-height: 1.38;
}

.as-slide-status {
  display: inline-block;
  margin-top: 12px;
  font-style: italic;
  font-size: 13px;
  color: var(--as-rose);
}

.as-slide-src {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--as-ink-3);
}

.as-slide-proof {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--as-ink-2);
  font-family: var(--as-serif);
}
.as-slide-proof li {
  margin-top: 6px;
}

.as-fig-frame { margin: 20px 0 4px; }

.as-deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
  padding: 24px 0 8px;
}

.as-deck-arrow,
.as-deck-dot {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--as-ink-3);
  cursor: pointer;
}

.as-deck-arrow {
  font-size: 28px;
  line-height: 1;
  padding: 0 8px;
}

.as-deck-dots { display: flex; gap: 8px; }

.as-deck-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--as-rule);
  padding: 0;
}

.as-deck-dot.on { background: var(--as-teal); }

@media (max-width: 640px) {
  .artifact-site { padding: 16px 16px 48px; }
  .as-time li,
  .as-bar,
  .as-spine li,
  .as-cmp-row .pair { grid-template-columns: 1fr; }
  .as-spine::before { display: none; }
}
