/* A self-contained delivery studio: semantic controls work without the 3D scene. */
.delivery-section {
  padding: clamp(5rem, 9vw, 9rem) 0;
  overflow: clip;
  color: #e9f1ec;
  background: #111e1c;
}
.delivery-wrap { position: relative; }
.delivery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.delivery-eyebrow, .delivery-label, .delivery-context > span {
  margin: 0;
  color: #9fc8b1;
  font: 700 .67rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.delivery-heading h2 {
  max-width: 14ch;
  margin: .8rem 0 0;
  color: #eff4ec;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: .99;
  letter-spacing: -.06em;
}
.delivery-heading-copy { max-width: 30rem; padding-bottom: .2rem; }
.delivery-heading-copy p { margin: 0 0 1.2rem; color: #c3d3c9; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; }
.delivery-heading-copy a { color: #d0f49a; text-underline-offset: .25em; font-weight: 700; }
.delivery-studio {
  overflow: hidden;
  border: 1px solid rgba(211, 235, 215, .18);
  border-radius: 1.25rem;
  background: #192a26;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .22);
}
.delivery-topbar {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.1rem, 2.6vw, 2rem);
  border-bottom: 1px solid rgba(211, 235, 215, .13);
  background: #20332d;
}
.delivery-brand { display: flex; align-items: center; gap: .8rem; }
.delivery-brand > div { display: grid; gap: .12rem; }
.delivery-brand strong { font-size: .93rem; color: #f4f7ed; }
.delivery-brand small, .delivery-top-tags { font: 700 .61rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; color: #a3bbae; }
.delivery-brand-icon { display: flex; align-items: end; gap: 3px; height: 2.3rem; width: 2.3rem; padding: .55rem; border-radius: .55rem; background: #d3f7a0; }
.delivery-brand-icon i { width: 4px; border-radius: 3px; background: #1a4f3e; }
.delivery-brand-icon i:nth-child(1) { height: 45%; }
.delivery-brand-icon i:nth-child(2) { height: 90%; }
.delivery-brand-icon i:nth-child(3) { height: 65%; }
.delivery-top-tags { display: flex; align-items: center; gap: .6rem; }
.delivery-live-mark, [data-delivery-run-dot] { width: .45rem; height: .45rem; border-radius: 50%; background: #d1f58c; box-shadow: 0 0 0 4px rgba(209,245,140,.12); }
.delivery-example-id { margin-left: .4rem; padding: .35rem .5rem; border: 1px solid #52685c; border-radius: .3rem; color: #cad9cd; }
.delivery-workspace { display: grid; grid-template-columns: minmax(13.5rem, 17rem) minmax(0, 1fr); }
.delivery-scenarios { padding: clamp(1.25rem, 2.5vw, 2rem); border-right: 1px solid rgba(211,235,215,.13); background: #1b2d28; }
.delivery-column-head { display: flex; align-items: start; gap: .65rem; }
.delivery-column-no { color: #bce28e; font: 700 .73rem/1.4 ui-monospace, monospace; }
.delivery-column-head h3, .delivery-console-head h3 { margin: .45rem 0 0; color: #f4f7ee; font-size: 1.18rem; letter-spacing: -.03em; }
.delivery-aside-copy { margin: 1rem 0 1.25rem; color: #afc3b5; font-size: .82rem; line-height: 1.55; }
.delivery-scenario-list { display: grid; gap: .55rem; }
.delivery-scenario {
  display: grid; grid-template-columns: 2.15rem 1fr auto; align-items: center; gap: .7rem;
  width: 100%; min-height: 4.15rem; padding: .65rem; border: 1px solid #40564c; border-radius: .6rem;
  background: #22362f; color: #e5eee5; text-align: left; cursor: pointer; font: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.delivery-scenario:hover { border-color: #a2c88d; transform: translateX(.15rem); }
.delivery-scenario.is-selected { border-color: #d0f49a; background: #304b3a; }
.delivery-scenario > span:nth-child(2) { display: grid; gap: .18rem; min-width: 0; }
.delivery-scenario strong { color: #f4f7ef; font-size: .78rem; }
.delivery-scenario small { color: #b2c6b8; font-size: .68rem; line-height: 1.3; }
.delivery-scenario-icon { display: grid; place-items: center; height: 2.15rem; border-radius: .4rem; color: #c1e69c; background: #3a5543; font-size: 1.15rem; }
.delivery-scenario-indicator { width: .5rem; height: .5rem; border: 1px solid #80988a; border-radius: 50%; }
.delivery-scenario.is-selected .delivery-scenario-indicator { background: #c9f49a; border-color: #c9f49a; box-shadow: 0 0 0 3px rgba(201,244,154,.12); }
.delivery-scenario-foot { display: flex; gap: .6rem; margin-top: 1.5rem; color: #9db4a6; font-size: .7rem; line-height: 1.5; }
.delivery-scenario-foot span { color: #d0f49a; }
.delivery-scenario-foot p { margin: 0; }
.delivery-main { min-width: 0; padding: clamp(1.15rem, 2.8vw, 2.2rem); }
.delivery-console-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.delivery-run-pill { display: inline-flex; flex-shrink: 0; align-items: center; gap: .55rem; padding: .48rem .7rem; border: 1px solid #52685b; border-radius: 99px; color: #d3e1d5; font: 700 .68rem/1.2 ui-monospace, monospace; }
.delivery-run-pill[data-status="blocked"] [data-delivery-run-dot] { background: #ffb487; box-shadow: 0 0 0 4px rgba(255,180,135,.13); }
.delivery-run-pill[data-status="recovering"] [data-delivery-run-dot], .delivery-run-pill[data-status="rolledback"] [data-delivery-run-dot] { background: #ffd187; box-shadow: 0 0 0 4px rgba(255,209,135,.13); }
.delivery-run-pill[data-status="paused"] [data-delivery-run-dot] { background: #aabcb0; box-shadow: 0 0 0 4px rgba(170,188,176,.12); }
.delivery-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  min-height: 13rem;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid #42604b;
  border-radius: .75rem;
  background: radial-gradient(ellipse at 74% 56%, #395b43 0%, #203b2d 37%, #1b3028 78%);
}
.delivery-visual-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; width: 51%; padding: 1.25rem 1.5rem; }
.delivery-visual-overline { color: #b8d8af; font: 700 .62rem/1.4 ui-monospace, monospace; letter-spacing: .1em; }
.delivery-visual-copy > strong { max-width: 12ch; margin-top: .65rem; color: #f2f9e9; font-size: clamp(1.2rem, 2.3vw, 2rem); line-height: 1.05; letter-spacing: -.045em; }
.delivery-visual-caption { margin-top: .75rem; color: #c3d7c2; font-size: .7rem; line-height: 1.35; }
.delivery-visual-metrics { position: absolute; z-index: 2; right: 1rem; bottom: .8rem; display: flex; gap: 1.25rem; padding: .5rem .65rem; border: 1px solid rgba(207,235,199,.16); border-radius: .4rem; background: rgba(17,35,25,.68); }
.delivery-visual-metrics span { display: grid; gap: .18rem; }
.delivery-visual-metrics small { color: #aec7ac; font: 700 .52rem/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.delivery-visual-metrics strong { color: #e6f8d9; font: 700 .88rem/1 ui-monospace, monospace; }
.delivery-visual-metrics i { color: #9cb69e; font-size: .6rem; font-style: normal; }
.delivery-visual-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 58%; overflow: hidden; perspective: 550px; pointer-events: none; }
.delivery-visual-grid { position: absolute; inset: 15% -20% -44% -5%; background-image: linear-gradient(rgba(194,236,174,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(194,236,174,.13) 1px, transparent 1px); background-size: 28px 28px; transform: rotateX(65deg) rotateZ(-9deg); mask-image: linear-gradient(transparent, #000 30%, transparent 85%); }
.delivery-visual-orbit { position: absolute; top: 50%; left: 51%; width: 11rem; height: 5rem; border: 1px solid rgba(199,244,170,.3); border-radius: 50%; transform: translate(-50%, -50%) rotate(-17deg); }
.delivery-visual-orbit i { position: absolute; top: 50%; right: -.18rem; width: .35rem; height: .35rem; border-radius: 50%; background: #c9f9a9; box-shadow: 0 0 1rem .15rem rgba(201,249,169,.55); }
.delivery-orbit-two { width: 8.6rem; height: 8.6rem; border-color: rgba(199,244,170,.15); transform: translate(-50%, -50%) rotate(48deg) scaleX(.5); }
.delivery-visual[data-scene-state="running"] .delivery-orbit-one { animation: delivery-orbit 7s linear infinite; }
.delivery-visual[data-scene-state="running"] .delivery-orbit-two { animation: delivery-orbit-alt 8s linear infinite; }
@keyframes delivery-orbit { to { transform: translate(-50%, -50%) rotate(343deg); } }
@keyframes delivery-orbit-alt { to { transform: translate(-50%, -50%) rotate(-312deg) scaleX(.5); } }
.delivery-art-path { position: absolute; top: 51%; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, #a8dd96, transparent); }
.delivery-path-one { left: 0; transform: rotate(-12deg); }
.delivery-path-two { right: 0; transform: rotate(12deg); }
.delivery-art-path i { position: absolute; top: -2px; left: 0; width: .32rem; height: .32rem; border-radius: 50%; background: #d8ffb6; box-shadow: 0 0 .7rem .15rem #b4ed92; opacity: .2; }
.delivery-visual[data-scene-state="running"] .delivery-art-path i { animation: delivery-signal 2s linear infinite; }
.delivery-visual[data-scene-state="running"] .delivery-path-two i { animation-delay: 1s; }
@keyframes delivery-signal { 5%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.delivery-server { position: absolute; top: 35%; display: grid; align-content: center; gap: .35rem; width: 3rem; height: 4.4rem; padding: .5rem; border: 1px solid #7eab82; border-radius: .3rem; background: linear-gradient(135deg, #476d4d, #1b3b2b); box-shadow: .35rem .55rem 0 #142e21, 0 .8rem 1.5rem rgba(0,0,0,.25); transform: skewY(-7deg); }
.delivery-server-left { left: 4%; }
.delivery-server-right { right: 5%; transform: skewY(7deg); }
.delivery-server span { height: .44rem; border: 1px solid rgba(190,235,172,.34); border-radius: 2px; background: linear-gradient(90deg, #b5e59d 0 12%, transparent 12%); }
.delivery-cube { position: absolute; top: 42%; left: 50%; width: 3.7rem; height: 3.7rem; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(-20deg) rotateY(35deg); filter: drop-shadow(0 .7rem 1rem rgba(0,0,0,.3)); }
.delivery-cube > span { position: absolute; display: block; width: 100%; height: 100%; border: 1px solid rgba(227,255,208,.6); }
.delivery-cube-front { display: grid !important; place-items: center; background: linear-gradient(140deg, #b6e99a, #68ad70); transform: translateZ(1.85rem); }
.delivery-cube-front i { color: #1d4e30; font: 700 1.55rem/1 Arial, sans-serif; font-style: normal; }
.delivery-cube-side { background: #4a925d; transform: rotateY(90deg) translateZ(1.85rem); }
.delivery-cube-top { background: #dbffc1; transform: rotateX(90deg) translateZ(1.85rem); }
.delivery-visual[data-scene-state="running"] .delivery-cube { animation: delivery-cube-float 3.2s ease-in-out infinite; }
@keyframes delivery-cube-float { 50% { transform: translate(-50%, -58%) rotateX(-20deg) rotateY(45deg); } }
.delivery-visual[data-scene-state="blocked"] .delivery-cube-front { background: linear-gradient(140deg, #ffccaa, #d68161); }
.delivery-visual[data-scene-state="blocked"] .delivery-cube-side { background: #b45e48; }
.delivery-visual[data-scene-state="blocked"] .delivery-cube-top { background: #ffe0c9; }
.delivery-visual[data-scene-state="recovering"] .delivery-cube-front, .delivery-visual[data-scene-state="rolledback"] .delivery-cube-front { background: linear-gradient(140deg, #ffe3a2, #d8a45b); }
.delivery-art-index { position: absolute; bottom: 2.6rem; color: #aacbaa; font: 700 .48rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.delivery-art-index-a { left: 2%; }.delivery-art-index-b { right: 2%; }
.delivery-flow { position: relative; min-width: 0; overflow-x: auto; padding: 1.9rem 0 .45rem; scrollbar-color: #759b78 #253a32; scrollbar-width: thin; }
.delivery-map { position: relative; min-width: 37rem; }
.delivery-stages { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .15rem; margin: 0; padding: 0; list-style: none; }
.delivery-stages li { min-width: 0; }
.delivery-track { position: absolute; top: 1.35rem; left: 8.33%; right: 8.33%; height: 2px; background: #435c4d; }
.delivery-track-fill { width: var(--delivery-progress, 0%); height: 100%; background: #c4f387; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.delivery-packet { position: absolute; left: var(--delivery-progress, 0%); top: 50%; width: .62rem; height: .62rem; border: 2px solid #e2ffc7; border-radius: 50%; background: #b9ef7d; box-shadow: 0 0 1.1rem #b9ef7d; opacity: 0; transform: translate(-50%, -50%); transition: left .8s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.delivery-flow.is-running .delivery-packet { opacity: 1; }
.delivery-stage { position: relative; display: grid; justify-items: center; gap: .38rem; width: 100%; min-height: 6rem; padding: 0 .1rem .35rem; border: 0; background: none; color: #b2c6b9; cursor: pointer; font: inherit; text-align: center; }
.delivery-node { position: relative; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid #587163; border-radius: .8rem; background: #263d33; color: #a5bca9; transition: background .3s, border-color .3s, transform .3s, box-shadow .3s; }
.delivery-node-symbol { font-size: 1.12rem; line-height: 1; }
.delivery-node-marker { position: absolute; right: -.26rem; bottom: -.26rem; display: grid; place-items: center; width: .95rem; height: .95rem; border-radius: 50%; border: 1px solid #324a3a; background: #4b6252; color: #eaf2e8; font: 700 .66rem/1 sans-serif; }
.delivery-stage strong { color: #d7e6d8; font-size: .75rem; line-height: 1.2; }
.delivery-stage small { color: #9fb5a5; font: .62rem/1.25 ui-monospace, monospace; }
.delivery-stage.is-selected .delivery-node { outline: 2px solid #efffe6; outline-offset: 3px; }
.delivery-stage.is-active .delivery-node { background: #bfe994; border-color: #d9ffaf; color: #153325; box-shadow: 0 0 0 .45rem rgba(191,233,148,.1), 0 0 1.7rem rgba(191,233,148,.32); animation: delivery-pulse 1.6s ease-in-out infinite; }
.delivery-stage.is-passed .delivery-node { border-color: #a2d47e; background: #3d6645; color: #e3ffd7; }
.delivery-stage.is-passed .delivery-node-marker { background: #b9ed83; color: #1a3f29; }
.delivery-stage.is-failed .delivery-node { border-color: #ffbf99; background: #784934; color: #ffe3cf; box-shadow: 0 0 1.5rem rgba(255,148,98,.2); }
.delivery-stage.is-failed .delivery-node-marker { background: #ffb487; color: #4e2718; }
.delivery-stage.is-skipped { opacity: .55; }
.delivery-stage.is-recovering .delivery-node { border-color: #ffd187; color: #ffe3a7; background: #695435; animation: delivery-pulse 1.6s ease-in-out infinite; }
@keyframes delivery-pulse { 50% { transform: translateY(-3px); box-shadow: 0 0 0 .65rem rgba(191,233,148,.04), 0 0 2rem rgba(191,233,148,.24); } }
.delivery-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .7rem; }
.delivery-controls[hidden] { display: none; }
.delivery-controls button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .65rem .95rem; border-radius: .45rem; font: inherit; font-size: .76rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.delivery-run { border: 1px solid #d1f5a4; background: #d1f5a4; color: #173324; }
.delivery-run:hover { background: #e1ffc0; }
.delivery-control { border: 1px solid #526a59; background: transparent; color: #d7e7d9; }
.delivery-control:hover:not(:disabled) { background: #334c3c; }
.delivery-control:disabled { opacity: .4; cursor: not-allowed; }
.delivery-speed { display: inline-flex; align-items: center; gap: .2rem; color: #aabfaf; font: 700 .63rem/1.2 ui-monospace, monospace; }
.delivery-speed > span { padding: 0 .25rem 0 .35rem; }
.delivery-controls .delivery-speed button { min-width: 2.75rem; min-height: 2.75rem; padding: .4rem; border: 1px solid #526a59; background: transparent; color: #d7e7d9; }
.delivery-controls .delivery-speed button.is-selected { border-color: #b8da9a; background: #405f43; color: #efffe4; }
.delivery-reset { margin-left: auto; }
.delivery-controls-hint, .delivery-noscript { margin: .8rem 0 1.5rem; color: #a9beb0; font-size: .73rem; line-height: 1.5; }
.delivery-insights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.delivery-inspector, .delivery-log { min-width: 0; min-height: 14rem; padding: 1.2rem; border: 1px solid #40564a; border-radius: .7rem; background: #20352d; }
.delivery-inspector-top, .delivery-log-head { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.delivery-inspector h4, .delivery-log h4 { margin: .45rem 0 0; color: #f1f6ed; font-size: 1.15rem; letter-spacing: -.02em; }
.delivery-inspector-top > span { color: #abc1ac; font: .68rem/1.2 ui-monospace, monospace; }
.delivery-inspector > p:not(.delivery-label) { min-height: 3.3em; margin: .8rem 0; color: #c4d3c6; font-size: .78rem; line-height: 1.55; }
.delivery-detail-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.delivery-detail-tags span { padding: .3rem .45rem; border: 1px solid #516958; border-radius: .25rem; color: #cde3c6; font: .65rem/1.2 ui-monospace, monospace; }
.delivery-outcome { display: grid; gap: .35rem; margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid #41584b; }
.delivery-outcome > span { color: #9fb6a4; font: 700 .6rem/1.3 ui-monospace, monospace; letter-spacing: .09em; }
.delivery-outcome strong { color: #d3f7a0; font-size: .78rem; }
.delivery-log { display: flex; flex-direction: column; background: #142620; }
.delivery-log-dots { display: flex; gap: .25rem; }
.delivery-log-dots i { display: block; width: .32rem; height: .32rem; border-radius: 50%; background: #789283; }
.delivery-log ol { display: grid; align-content: start; gap: .65rem; max-height: 10rem; min-height: 7rem; overflow-y: auto; margin: 1rem 0; padding: 0; list-style: none; }
.delivery-log li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .4rem; color: #c2d2c4; font: .69rem/1.4 ui-monospace, monospace; }
.delivery-log-time { color: #8baa88; }
.delivery-log-note { margin: auto 0 0; padding-top: .65rem; border-top: 1px solid #344b3e; color: #98ad9c; font-size: .65rem; }
.delivery-health { margin-top: .8rem; padding: 1.15rem 1.2rem; border: 1px solid #40564a; border-radius: .7rem; background: #1d3229; }
.delivery-health-heading { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.delivery-health-heading h4 { margin: .35rem 0 0; color: #f1f6ed; font-size: 1.05rem; letter-spacing: -.025em; }
.delivery-health-badge { flex-shrink: 0; max-width: 13rem; padding: .4rem .55rem; border: 1px solid #55705b; border-radius: 99px; color: #c9ddca; font: 700 .62rem/1.3 ui-monospace, monospace; text-align: center; }
.delivery-health[data-health-state="degraded"] .delivery-health-badge { border-color: #e1ab82; color: #ffd5bc; }
.delivery-health[data-health-state="recovered"] .delivery-health-badge { border-color: #d9c384; color: #ffe9ae; }
.delivery-health-copy { margin: .7rem 0 0; color: #a8bfb0; font-size: .72rem; line-height: 1.55; }
.delivery-health-chart { position: relative; height: 7rem; margin-top: 1rem; overflow: hidden; border: 1px solid #395247; border-radius: .4rem; background: #182c24; }
.delivery-health-chart svg { position: absolute; inset: .45rem .65rem; width: calc(100% - 1.3rem); height: calc(100% - .9rem); overflow: visible; }
.delivery-health-chart path[data-delivery-health-line] { transition: stroke .35s ease; }
.delivery-health-chart circle { filter: drop-shadow(0 0 .4rem #c4f49c); }
.delivery-health-grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); }
.delivery-health-grid i { border-bottom: 1px dashed rgba(174,213,175,.12); }
.delivery-health-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 1rem; color: #a9bdad; font-size: .7rem; text-align: center; }
.delivery-health-empty[hidden] { display: none; }
.delivery-health-axis { display: flex; justify-content: space-between; gap: .5rem; margin-top: .5rem; color: #91a994; font: 700 .57rem/1.3 ui-monospace, monospace; letter-spacing: .08em; }
.delivery-health-summary { margin: .75rem 0 0; color: #c6d7c5; font-size: .72rem; line-height: 1.45; }
.delivery-takeaway { display: flex; align-items: center; gap: .8rem; margin-top: .8rem; padding: .85rem 1rem; border-radius: .55rem; background: #d1f3a7; color: #23402d; }
.delivery-takeaway-icon { display: grid; flex: none; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #214b34; color: #d9f6bf; font-size: 1rem; }
.delivery-takeaway p { margin: 0; font-size: .76rem; line-height: 1.5; font-weight: 600; }
.delivery-takeaway button { flex: none; min-height: 2.65rem; margin-left: auto; padding: .55rem .75rem; border: 1px solid #467052; border-radius: .35rem; background: transparent; color: #23402d; font: 700 .7rem/1.25 ui-monospace, monospace; cursor: pointer; }
.delivery-takeaway button:hover { background: rgba(31,75,48,.1); }
.delivery-takeaway button[hidden] { display: none; }
.delivery-takeaway button:focus-visible { outline-color: #23402d; }
.delivery-history { margin-top: 1.3rem; }
.delivery-history-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.delivery-history-head h4 { margin: .35rem 0 0; color: #f1f6ed; font-size: 1.05rem; letter-spacing: -.025em; }
.delivery-history-clear { min-height: 2.5rem; padding: .4rem .6rem; border: 1px solid #526a59; border-radius: .4rem; background: transparent; color: #cddfcf; font: 700 .68rem/1.2 ui-monospace, monospace; cursor: pointer; }
.delivery-history-clear[hidden] { display: none; }
.delivery-history ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.delivery-history li { min-width: 0; }
.delivery-history-empty { grid-column: 1 / -1; padding: .85rem 1rem; border: 1px dashed #536c5a; border-radius: .5rem; color: #aac0ae; font-size: .72rem; line-height: 1.5; }
.delivery-history-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; width: 100%; min-height: 3.8rem; padding: .7rem; border: 1px solid #425d4a; border-radius: .5rem; background: #20372c; color: #e6f2e4; text-align: left; cursor: pointer; font: inherit; }
.delivery-history-item:hover { border-color: #bde69f; background: #294434; }
.delivery-history-number { color: #a6d191; font: 700 .69rem/1 ui-monospace, monospace; }
.delivery-history-labels { display: grid; gap: .2rem; min-width: 0; }
.delivery-history-labels strong { font-size: .73rem; }
.delivery-history-labels small { color: #acc1af; font-size: .66rem; line-height: 1.3; }
.delivery-history-result { color: #c7f0a2; font: 700 .61rem/1.2 ui-monospace, monospace; text-align: right; }
.delivery-history-item[data-result="blocked"] .delivery-history-result { color: #ffbc99; }
.delivery-history-item[data-result="rolledback"] .delivery-history-result { color: #ffe0a0; }
.delivery-history > p { margin: .7rem 0 0; color: #94ab98; font-size: .66rem; line-height: 1.4; }
.delivery-context { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; margin: 1.3rem .2rem 0; }
.delivery-context p { max-width: 56rem; margin: 0; color: #b2c6b7; font-size: .77rem; line-height: 1.6; }
.delivery-studio button:focus-visible, .delivery-heading-copy a:focus-visible { outline: 3px solid #f4ffc9; outline-offset: 3px; }
.delivery-motion-off .delivery-node, .delivery-flow.is-paused .delivery-node { animation-play-state: paused !important; }
.delivery-motion-off .delivery-visual *, .delivery-visual[data-scene-state="paused"] * { animation-play-state: paused !important; }
.delivery-motion-off .delivery-packet, .delivery-motion-off .delivery-track-fill, .delivery-motion-off .delivery-node { transition-duration: .01ms !important; }
@media (max-width: 900px) {
  .delivery-workspace { grid-template-columns: 1fr; }
  .delivery-scenarios { border-right: 0; border-bottom: 1px solid rgba(211,235,215,.13); }
  .delivery-scenario-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-scenario-foot { margin-top: 1rem; }
}
@media (max-width: 600px) {
  .delivery-heading { grid-template-columns: 1fr; gap: 1rem; }
  .delivery-heading h2 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .delivery-studio { border-radius: .8rem; }
  .delivery-topbar { min-height: 4.5rem; }
  .delivery-example-id { display: none; }
  .delivery-scenario-list { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .delivery-scenario { grid-template-columns: 1.9rem 1fr; gap: .45rem; min-height: 4.3rem; padding: .5rem; }
  .delivery-scenario-icon { width: 1.9rem; height: 1.9rem; }
  .delivery-scenario-indicator { display: none; }
  .delivery-console-head { align-items: start; }
  .delivery-run-pill { max-width: 8rem; }
  .delivery-visual { min-height: 12rem; }
  .delivery-visual-copy { width: 57%; padding: 1rem; }
  .delivery-visual-art { right: -8%; width: 64%; opacity: .9; }
  .delivery-visual-metrics { gap: .65rem; right: .55rem; bottom: .55rem; }
  .delivery-server { width: 2.25rem; height: 3.4rem; }
  .delivery-cube { width: 3rem; height: 3rem; }
  .delivery-cube-front { transform: translateZ(1.5rem); }
  .delivery-cube-side { transform: rotateY(90deg) translateZ(1.5rem); }
  .delivery-cube-top { transform: rotateX(90deg) translateZ(1.5rem); }
  .delivery-insights { grid-template-columns: 1fr; }
  .delivery-takeaway { flex-wrap: wrap; }
  .delivery-takeaway button { margin-left: 2.6rem; }
  .delivery-history ol { grid-template-columns: 1fr; }
  .delivery-context { grid-template-columns: 1fr; gap: .4rem; }
  .delivery-controls-hint::after { content: " ↔"; }
}
@media (prefers-reduced-motion: reduce) {
  .delivery-stage.is-active .delivery-node, .delivery-stage.is-recovering .delivery-node, .delivery-visual * { animation: none !important; }
  .delivery-track-fill, .delivery-packet, .delivery-node, .delivery-scenario { transition-duration: .01ms; }
}
@media (forced-colors: active) {
  .delivery-stage.is-selected .delivery-node, .delivery-scenario.is-selected, .delivery-speed button.is-selected {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
  .delivery-node-marker, .delivery-takeaway-icon, .delivery-scenario-icon { border: 1px solid CanvasText; }
  .delivery-track-fill { forced-color-adjust: none; background: Highlight; }
}
