@font-face {
  font-family: "SF Pro Display";
  src: url("./fonts/SF-Pro-Display-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("./fonts/SF-Pro-Display-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root { color-scheme: light; --page: #f3f3f3; --surface: #f8f8f8; --fg: #171615; --track: #8a8a8a; --control: #8a8a8a; --connection: #d0d0d0; --control-hover: #eeedec; --control-selected: #ecebea; }
* { box-sizing: border-box; }
body { display: grid; place-items: center; min-height: 100svh; margin: 0; padding: 24px; background: var(--page); color: var(--fg); font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-weight: 400; font-synthesis: none; letter-spacing: .014em; -webkit-font-smoothing: antialiased; }
button, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.page { width: 100%; max-width: 750px; }
.explorer { container-type: inline-size; width: 100%; max-width: 750px; padding-top: 12px; border: 1px solid #fff; border-radius: 8px; background: var(--surface); overflow: hidden; }
.diagram { position: relative; isolation: isolate; height: 320px; margin: 0 24px; }
.connections { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; color: var(--connection); }
.connections path { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.tile { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.2; user-select: none; will-change: transform, opacity; }
.action { z-index: 2; gap: 6px; padding: 0 5px; border: 1px solid #fff; border-radius: 2px; background: #fff; }
.verb { flex-shrink: 0; font-size: 16px; font-weight: 400; opacity: .6; }
.noun, .rename { min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.15; letter-spacing: .2px; }
.rename { display: grid; align-items: center; }
.rename .old, .rename .new { grid-area: 1 / 1; }
.rename .new { opacity: 0; }
.outcome { z-index: 2; padding: 0 8px; border: 0; border-radius: 2px; background: var(--fg); color: #fff; font-size: 16px; font-weight: 400; line-height: 1.2; letter-spacing: .2px; text-align: center; }
.outcome-label { display: block; width: 100%; opacity: .9; }
.new-badge { position: absolute; top: -8px; right: -4px; padding: 0 4px; border-radius: 1px; background: #666666; color: #fff; font-size: 12px; font-weight: 400; line-height: 16px; letter-spacing: .224px; }
.publishing-highlight { position: absolute; left: 0; top: 0; z-index: -2; opacity: 0; border: 1px dashed var(--connection); border-radius: 2px; }
.timeline { padding: 12px 28px 12px; }
.range-wrap { position: relative; height: 44px; margin-inline: 10%; }
.range-rail { position: absolute; top: 21px; left: 0; right: 0; height: 2px; background: var(--track); pointer-events: none; }
#range-fill { display: block; width: 100%; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.range-rail i { position: absolute; top: -2px; width: 6px; height: 6px; margin-left: -3px; border: 1px solid var(--control); border-radius: 50%; background: var(--surface); }
.range-rail i.passed { border-color: var(--fg); background: var(--fg); }
input[type=range] { appearance: none; position: absolute; top: 0; left: -8px; width: calc(100% + 16px); height: 44px; margin: 0; border-radius: 4px; background: transparent; cursor: ew-resize; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: transparent; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -7px; border: 0; border-radius: 50%; background: var(--fg); }
input[type=range]::-moz-range-track { height: 2px; background: transparent; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--fg); }
input[type=range]:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.checkpoints { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; margin-top: 8px; }
.checkpoints button { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 44px; min-height: 44px; padding: 6px 4px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--fg); font-size: 12px; font-weight: 400; line-height: 1.4; text-align: center; }
.checkpoints button[aria-current=step] { background: var(--control-selected); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.checkpoints button:active { background: var(--control-selected); }
.timeline-hint { min-height: 2.8em; margin: 8px 0 0; color: var(--fg); font-size: 12px; line-height: 1.4; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) { .checkpoints button:hover { background: var(--control-hover); } }
@container (max-width: 359px) {
  .diagram { margin: 0 10px; }
  .outcome { padding: 0 3px; }
  .timeline { padding: 12px 16px; }
  .checkpoints button { padding-inline: 2px; }
}
@media (max-width: 480px) { body { padding: 12px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tile { will-change: auto; }
}
@media (forced-colors: active) { input[type=range] { appearance: auto; } }

/* Embed at the portfolio column width without standalone page gutters. */
html.is-embed body { display: block; min-height: 0; padding: 0; background: transparent; }
html.is-embed .page { max-width: none; }
