@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("/assets/newsreader-latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --canvas: #f2eee6;
  --surface: #fbf9f4;
  --ink: #211b22;
  --rule: #cfc5b6;
  --clay: #8c4d38;
  --moss: #566147;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    14px/1.5 Inter,
    Arial,
    sans-serif;
}
.review-header,
.review-status,
.after-diagram {
  max-width: 1344px;
  margin: 0 auto;
  padding: 12px 24px;
}
h1 {
  font:
    500 28px/1.2 Newsreader,
    Georgia,
    serif;
  margin: 0 0 8px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 4px;
}
p {
  margin: 0 0 8px;
}
.small {
  font-size: 12px;
}
.review-options {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.check {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
}
input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}
button,
select {
  font: inherit;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #765b47;
  outline-offset: 3px;
}
.playback {
  display: flex;
  gap: 8px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 24px;
  background: var(--surface);
  border-block: 1px solid var(--rule);
}
#play {
  background: var(--ink);
  color: var(--surface);
}
output {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-left: 8px;
}
.review-status {
  min-height: 48px;
  font-size: 12px;
  font-weight: 600;
}
#module {
  position: relative;
  width: var(--board-width, 1344px);
  margin-inline: auto;
}
#diagram {
  position: relative;
  width: 100%;
  isolation: isolate;
}
#diagram > svg {
  display: block;
  overflow: visible;
}
.approved-text {
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}
#state-controls button {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  padding: 0;
  min-height: 0;
}
#state-controls button span {
  opacity: 0;
}
#state-controls button:focus-visible {
  outline-offset: -3px;
}
.motion-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.flow-segment {
  fill: none;
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: round;
  pointer-events: none;
}
.orientation-note {
  max-width: 620px;
  margin: 16px auto;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
}
[hidden] {
  display: none !important;
}
body[data-portrait-blocked="true"] #module {
  width: auto;
  max-width: 620px;
  padding: 0 24px;
}
body[data-portrait-blocked="true"] #state-controls {
  display: flex;
  gap: 8px;
}
body[data-portrait-blocked="true"] #state-controls button {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 44px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 8px 12px;
}
body[data-portrait-blocked="true"] #state-controls button span {
  opacity: 1;
}
body[data-portrait-blocked="true"] #state-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
}
.after-diagram {
  padding-block: 20px 80px;
}
details {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 600;
}
#transcript p {
  white-space: pre-wrap;
  margin: 12px 0;
}
#transcript h2 {
  font:
    500 24px Newsreader,
    serif;
}
@media (max-width: 900px) {
  .review-header,
  .review-status,
  .after-diagram {
    padding-inline: 12px;
  }
  .playback {
    padding: 6px 12px;
    gap: 6px;
  }
  .review-options {
    gap: 8px;
  }
  select {
    max-width: 100%;
  }
  .review-status {
    min-height: 48px;
  }
}
