:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: #1e372d;
  background: #f4f4ef;
  --forest: #133f33; --ink: #1e372d; --muted: #4c6258; --sage: #cae1d1; --mint: #e7f3ea;
  --line: #cfdacf; --paper: #fff; --warning: #8c4a26; --violet: #705280;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, dl { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:where(a,button,input,textarea,select,[tabindex="0"]):focus-visible { outline: 3px solid #8061a4; outline-offset: 3px; }
a { color: #1d664b; text-underline-offset: .19em; }
.wrap { width: min(calc(100% - 68px), 1500px); margin-inline: auto; }
.skip { position: absolute; inset: 7px auto auto 7px; z-index: 10; transform: translateY(-150%); background: white; padding: 10px; }
.skip:focus { transform: none; }
.masthead { background: var(--forest); color: #f5fbf7; border-bottom: 4px solid #a9cbb5; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; min-height: 58px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.015em; }
.brand-mark { display: inline-grid; gap: 3px; width: 24px; }
.brand-mark i { display: block; height: 3px; width: 24px; background: #a9cbb5; transform: skewX(-28deg); }
.brand-mark i:nth-child(2) { width: 18px; }
.brand-mark i:nth-child(3) { width: 12px; }
.runtime-badge, .origin, .state-pill { display: inline-flex; gap: 6px; align-items: center; font-size: .77rem; font-weight: 720; white-space: nowrap; }
.runtime-badge { color: #dceddf; }
.signal { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #a9d4b2; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: end; gap: 25px; padding: 27px 0 23px; }
.hero h1 { font: 400 clamp(2.6rem,5.25vw,5.1rem)/1.05 var(--serif); letter-spacing: -.056em; color: #173b2e; }
.hero h1 em { color: #367258; font-weight: 400; }
.hero p { font-size: clamp(1rem,2vw,1.29rem); margin-top: 7px; font-weight: 650; color: #344841; }
.technical { display: block; margin-top: 8px; font-size: .79rem; color: var(--muted); }
.hero-guide { border-left: 2px solid #a8c4b2; padding: 2px 0 2px 14px; display: grid; gap: 6px; }
.hero-guide div { display: grid; grid-template-columns: 53px 1fr; gap: 6px; align-items: baseline; font-size: .76rem; }
.hero-guide dt { font-weight: 800; }
.hero-guide dd { margin: 0; color: var(--muted); }
.labs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 7px; background: var(--line); overflow: hidden; }
.labs button { border: none; border-bottom: 3px solid transparent; background: #eef3eb; color: #365345; min-height: 49px; padding: 7px; text-align: center; font-size: .87rem; font-weight: 750; }
.labs button[aria-pressed="true"] { background: #dbeadf; color: #123d2e; border-bottom-color: #35775a; }
.labs button:hover { background: #e1ede3; }
.labs button:focus-visible { outline-offset: -4px; }
.observatory { margin-top: 19px; }
.observatory-heading { display: flex; justify-content: space-between; align-items: end; gap: 10px 18px; margin-bottom: 11px; }
.kicker { font: 760 .68rem/1.3 var(--mono); color: #49705e; text-transform: uppercase; letter-spacing: .075em; }
.observatory h2 { color: #173b2e; font: 400 clamp(1.65rem,3vw,2.4rem)/1.1 var(--serif); letter-spacing: -.03em; margin-top: 3px; }
.run-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; }
.origin, .state-pill { padding: 5px 8px; border: 1px solid #c7d8ca; border-radius: 4px; background: #e7f1e8; color: #275842; }
.origin.reconstructed { background: #f2edf5; border-color: #dfd1e7; color: #665078; }
.state-pill.error, .state-pill.wait { background: #f7ece1; border-color: #ead8c1; color: #805025; }
.workbench { display: grid; gap: 12px; grid-template-columns: minmax(222px, 1fr) minmax(370px, 2.6fr) minmax(248px, 1.2fr); align-items: start; }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.panel-title { min-height: 45px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); color: #163a2d; background: #eef4ed; border-radius: 7px 7px 0 0; }
.panel-title h3 { font-size: .91rem; font-weight: 800; }
.panel-mark { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 4px; background: #dceadf; color: #285d48; font-family: var(--mono); font-size: .93rem; }
#mission, #inspector { padding: 12px; }
#inspector { max-height: 620px; overflow: auto; }
.mode-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; padding: 3px; background: #edf3ed; border-radius: 5px; margin-bottom: 13px; }
.mode-tabs button, button.plain, .zoom button, .transport button { background: white; border: 1px solid #b9cbbe; border-radius: 4px; color: #254e3e; font-weight: 730; min-height: 35px; padding: 5px 8px; font-size: .78rem; }
.mode-tabs button { background: transparent; border-color: transparent; }
.mode-tabs button[aria-pressed=true], button.primary { background: #1a533e; border-color: #1a533e; color: white; }
button.primary { border-style: solid; border-radius: 4px; min-height: 41px; padding: 5px 11px; font-size: .88rem; font-weight: 800; }
button.danger { border-color: #d6ad9c; color: #82422c; }
.field { display: grid; gap: 4px; margin-bottom: 11px; color: #294b3a; font-size: .8rem; font-weight: 750; }
.field small, .hint { color: var(--muted); font-size: .74rem; line-height: 1.4; font-weight: 500; }
select, textarea, input[type="text"], input[type="number"] { width: 100%; min-width: 0; border: 1px solid #9cb6a6; color: var(--ink); background: white; border-radius: 4px; padding: 7px; min-height: 39px; font-size: .82rem; font-weight: 540; }
textarea { resize: vertical; min-height: 99px; font-family: var(--mono); font-size: .75rem; }
.mission-summary { color: #4b6154; font-size: .81rem; line-height: 1.47; margin: 1px 0 12px; }
.action-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.review-box { background: #f9f2e8; border: 1px solid #e4d2b8; border-radius: 5px; margin-top: 11px; padding: 9px; font-size: .82rem; }
.review-box p { margin-top: 3px; }
.downloads, .trace-meta { border-top: 1px solid #deeadf; padding-top: 9px; margin-top: 11px; }
.graph-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #dce6dd; padding: 8px 9px; }
.graph-toolbar .field { display: flex; align-items: center; margin: 0; }
.graph-toolbar select { min-height: 33px; width: auto; max-width: 150px; }
.zoom { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.zoom button { min-height: 33px; min-width: 34px; padding: 3px 7px; }
.zoom span { color: var(--muted); font: .71rem var(--mono); margin-inline: 2px; }
.viewport { background-color: #f5f8f3; background-image: radial-gradient(#d4e3d5 1px, transparent 1px); background-size: 16px 16px; max-height: 455px; min-height: 303px; overflow: auto; cursor: grab; }
.viewport.is-panning { cursor: grabbing; user-select: none; }
.diagram-shell { position: relative; }
.diagram { position: relative; transform-origin: left top; }
.edges { position: absolute; inset: 0; pointer-events: none; }
.edge { fill: none; stroke: #608672; stroke-width: 1.45; }
.edge.actor { stroke: #93ac9b; stroke-dasharray: 3 4; opacity: .48; }
.edge.provenance { stroke: #866198; }
.node { position: absolute; display: grid; grid-template-rows: auto 1fr; gap: 3px; text-align: left; overflow: hidden; padding: 6px 8px; border-radius: 5px; border: 1px solid #a0bcaa; background: #fcfefa; color: #244637; }
.node:hover, .node[aria-pressed=true] { border-color: #337e5b; box-shadow: inset 0 0 0 1px #337e5b; }
.node[aria-pressed=true] { background: #e2f2e6; }
.node b { font-size: .78rem; line-height: 1.18; overflow-wrap: anywhere; }
.node small { font: 700 .59rem/1.12 var(--mono); letter-spacing: .045em; text-transform: uppercase; color: #506d5d; }
.node.task { background: #e2eee4; border-color: #80ab92; }
.node.actor { background: #eaf1e9; border-color: #b8cbbd; }
.node.evidence,.node.artifact { background: #f4eff7; border-color: #cdbbd7; }
.node.evidence small,.node.artifact small { color: #6c527f; }
.node[data-state="failed"],.node[data-state="rejected"] { background: #faeee7; border-color: #d8a487; color: #783f27; }
.node[data-state="awaiting-review"] { background: #fff1db; border-color: #d7ad68; }
.node[data-state="running"] { border-color: #277b58; }
.legend { display: flex; flex-wrap: wrap; gap: 5px 13px; padding: 7px 10px; border-top: 1px solid #dce6dd; font-size: .72rem; color: #465f50; }
.legend i { display: inline-block; width: 7px; height: 7px; background: #6b9b80; margin-right: 4px; }
.legend .failure i { background: #b66b44; }
.legend .attachment i { background: #926ea2; }
.timeline { border-top: 1px solid var(--line); padding: 9px; }
.transport { display: grid; grid-template-columns: auto auto auto minmax(10px,1fr) auto; align-items: center; gap: 5px; }
.transport input { width: 100%; accent-color: #347b59; }
.transport output { font: .71rem var(--mono); color: var(--muted); }
.timeline p { margin-top: 5px; overflow-wrap: anywhere; }
.ordered { margin: 0; padding: 11px 11px 11px 40px; max-height: 456px; overflow: auto; color: #325342; }
.ordered li { margin: 3px 0; }
.ordered button { font-size: .81rem; text-align: left; border: none; background: #eef3ed; min-height: 39px; border-radius: 3px; display: block; width: 100%; }
.inspector-title { font-weight: 800; font-size: 1.03rem; margin: 3px 0 8px; overflow-wrap: anywhere; }
.inspector-block { margin-top: 10px; overflow-wrap: anywhere; }
.inspector-block h4, .benchmark h4 { font-size: .81rem; margin-bottom: 4px; }
.inspector-block p { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.terminal { background: #20352d; color: #e2f0e6; border-radius: 4px; padding: 8px; margin: 0; max-height: 167px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: .72rem/1.5 var(--mono); }
.error-box { color: #843f23; padding: 7px; background: #f8eee6; border-radius: 4px; border: 1px solid #efd7c7; }
.inspector-block img { width: 100%; height: auto; border: 1px solid #d9e3da; margin-top: 6px; }
.link-list { padding-left: 18px; font-size: .8rem; }
.link-list li { margin: 5px 0; overflow-wrap: anywhere; }
.overview, .empty, .benchmark { padding: 15px; }
.overview h4 { margin-bottom: 4px; font: 400 1.53rem var(--serif); }
.overview p, .empty p, .benchmark p { font-size: .84rem; line-height: 1.5; color: var(--muted); }
.overview :is(ul,ol) { font-size: .84rem; padding-left: 20px; line-height: 1.5; }
.benchmark table { width: 100%; border-collapse: collapse; font-size: .79rem; margin-top: 10px; }
.benchmark th,.benchmark td { padding: 5px 4px; text-align: left; border-bottom: 1px solid #dce6dd; overflow-wrap: anywhere; }
.benchmark button { min-height: 32px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; padding-block: 16px; margin-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
@media(max-width: 1040px) {
  .wrap { width: calc(100% - 38px); }
  .workbench { grid-template-columns: minmax(208px,1fr) minmax(0,2.5fr); }
  .inspector-panel { grid-column: 2; }
  #inspector { max-height: none; }
}
@media(max-width: 700px) {
  .wrap { width: calc(100% - 22px); }
  .hero { display: block; padding: 19px 0 15px; }
  .hero-guide { display: none; }
  .labs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .labs button:last-child { grid-column: 1/-1; }
  .observatory-heading { align-items: start; flex-direction: column; }
  .run-status { justify-content: flex-start; white-space: normal; }
  .workbench { grid-template-columns: minmax(0,1fr); }
  .inspector-panel { grid-column: auto; }
  .viewport { max-height: 330px; }
  .benchmark table { table-layout: fixed; }
  button.plain, .zoom button, .transport button, .mode-tabs button { min-height: 40px; }
  .transport { grid-template-columns: auto auto auto auto; }
  .transport input { grid-column: 1 / -1; grid-row: 2; }
  .transport output { grid-column: 4; grid-row: 1; text-align: right; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.edition-links { display: flex; gap: 7px 18px; flex-wrap: wrap; justify-content: flex-end; }
.edition-links a { color: #e5f2e8; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.v2-observatory { margin-bottom: 31px; scroll-margin-top: 12px; }
.v2-heading { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: end; margin-bottom: 10px; }
.v2-heading h2, .v2-comparison h3 { font: 400 clamp(1.55rem,3vw,2.22rem)/1.12 var(--serif); letter-spacing: -.025em; }
.v2-heading h2 { margin-top: 2px; }
.v2-heading .hint { margin-top: 4px; }
.v2-ribbon { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v2-panel-body { padding: 11px; }
.v2-graph-body { min-height: 270px; }
.v2-graph-body:has(.v2-list) { min-height: 0; }
.v2-graph-body .viewport { min-height: 280px; max-height: 366px; }
.v2-graph-body .diagram-shell { isolation: isolate; }
.v2-inspect { max-height: 520px; overflow: auto; overflow-wrap: anywhere; }
.v2-inspect h4 { margin-top: 3px; }
.v2-mission details { margin-block: 8px; background: #f3f7ef; padding: 8px; border: 1px solid var(--line); border-radius: 4px; }
.v2-mission summary { cursor: pointer; font-size: .79rem; font-weight: 750; }
.v2-qos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin-top: 7px; }
.v2-qos .field { margin-bottom: 3px; font-size: .72rem; }
.v2-qos input { min-height: 34px; padding: 4px; }
.v2-review-option { display: flex; align-items: start; gap: 7px; font-size: .76rem; margin: 8px 0; }
.v2-review-option input { accent-color: #27784d; }
.v2-timeline { display: grid; grid-template-columns: auto auto auto minmax(30px,1fr) auto; gap: 5px; align-items: center; }
.v2-timeline input { width: 100%; accent-color: #377a59; }
.v2-timeline output { font: .75rem var(--mono); color: #436655; }
.v2-comparison { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-top: 10px; padding: 12px; }
.v2-comparison h3 { font-size: 1.46rem; margin-bottom: 3px; }
.v2-architectures { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 10px 0; border: 1px solid var(--line); }
.v2-architecture { display: block; min-width: 0; background: #f6f8f3; border: 0; border-right: 1px solid var(--line); color: #284e3d; padding: 7px; text-align: left; }
.v2-architecture:last-child { border-right: 0; }
.v2-architecture[aria-pressed="true"] { box-shadow: inset 0 -3px #22734b; background: #e5f0e4; }
.v2-architecture b, .v2-architecture span { display: block; font-size: .83rem; }
.v2-architecture small { display: block; margin-top: 3px; color: var(--muted); font-size: .69rem; }
.v2-results { width: 100%; border-collapse: collapse; font-size: .8rem; margin-top: 8px; table-layout: fixed; }
.v2-results th, .v2-results td { padding: 6px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.v2-results th { background: #eff5ed; }
.v2-results th:first-child { width: 24%; }
.v2-metadata { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; }
.v2-metadata small { color: var(--muted); font-size: .72rem; }
.v2-inspect .terminal { max-height: 170px; }
.v2-list { margin: 0; padding: 8px 10px 9px 33px; max-height: 366px; overflow: auto; }
.v2-list li { margin-block: 4px; }
.v2-list button { text-align: left; width: 100%; }
.v2-list button[aria-pressed="true"] { background: #e2f2e6; border-color: #337e5b; font-weight: 750; }
.v2-commandbar { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.v2-commandbar select { margin-left: auto; width: auto; max-width: 155px; font-size: .75rem; padding: 4px; min-height: 35px; }
.v2-selected { border-radius: 3px; padding: 7px 8px; background: #eef4ea; color: #315643; font-size: .79rem; font-weight: 760; margin-top: 6px; }
@media (max-width:700px) {
  .v2-heading { align-items: start; }
  .v2-architectures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v2-architecture:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .v2-results th,.v2-results td { padding: 3px; }
  .v2-inspect { max-height: none; }
  .v2-timeline { grid-template-columns: auto auto auto auto; }
  .v2-timeline input { grid-column: 1 / -1; grid-row: 2; }
  .v2-timeline output { grid-column: 4; grid-row: 1; justify-self: end; }
}

html { scroll-padding-top: 5rem; }
.masthead { position: sticky; top: 0; z-index: 5; }
.demo-home-link {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem .8rem; border: 1px solid #eff7ee; border-radius: 5px;
  background: #e7f3ea; color: #133f33; font-size: .84rem; font-weight: 750;
  text-decoration: none; white-space: nowrap;
}
.demo-home-link:hover { background: white; text-decoration: underline; }
.masthead-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1.4rem; padding-block: .45rem; }
.demo-languages a { opacity: .8; }
.demo-languages a[aria-current="page"] { opacity: 1; text-decoration-thickness: 2px; }
@media (max-width: 700px) {
  html { scroll-padding-top: 8rem; }
  .masthead-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding-block: .6rem; }
  .demo-home-link { grid-area: 1 / 2; padding-inline: .55rem; font-size: .78rem; }
  .masthead-actions { grid-column: 1 / -1; justify-content: flex-start; padding-block: 0; }
  .masthead-actions .edition-links { justify-content: flex-start; }
}
