.environment-panel {
  display: none; height: 100dvh; padding: 0;
  overflow: hidden; color: #363a40; background: #f8f9f7;
}
.environment-panel.active { display: flex; flex-direction: column; }
.fusion-animation { position: absolute; inset: 0; }
.fusion-framework-panel .environment-panel { position: absolute; inset: 0; }
.environment-panel [hidden] { display: none !important; }
.environment-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.environment-count { display: none; }
.environment-kicker { margin: 0 0 5px; color: #71777d; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.environment-heading h2 { margin: 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.12; letter-spacing: -.035em; }
.environment-count { flex-shrink: 0; text-align: right; }
.environment-count strong { display: block; color: #3c4147; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.05em; }
.environment-count span { display: block; margin-top: 4px; color: #7a8086; font-size: 10px; }
.framework-controls {
  position: absolute; z-index: 4;
  top: calc(var(--demo-top) + var(--demo-height) * .064815);
  left: calc(var(--demo-left) + var(--demo-width) * .073);
  right: calc(var(--demo-left) + var(--demo-width) * .073);
  display: flex; align-items: center; gap: calc(var(--demo-width) * .003); margin: 0;
}
.framework-controls button { height: calc(var(--demo-width) * .010417); padding: 0 calc(var(--demo-width) * .004); border: 1px solid #c6c9cc; border-radius: 4px; color: #62686e; background: #fafafa; font-family: inherit; font-size: calc(var(--demo-width) * .00625); font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
.framework-controls .selected { border-color: #666d75; color: #33383d; background: #e9ebed; }
.framework-controls .framework-next { color: white; border-color: #565e67; background: #565e67; }
.framework-controls .framework-replay { margin-left: auto; }
.framework-controls button:disabled, .video-controls button:disabled { opacity: .4; cursor: default; }
.framework-controls button:focus-visible { outline: 2px solid #636b74; outline-offset: 2px; }
.video-controls svg { display: block; width: 14px; height: 14px; margin: auto; }
.framework-scroll { position: absolute; inset: 0; overflow: hidden; }
.framework-chart {
  position: relative; width: min(100%, calc((100dvh - 210px) * 16 / 9));
  aspect-ratio: 16 / 9; margin: 0 auto; container-type: inline-size; isolation: isolate;
}
.framework-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.environment-panel:not([data-framework-step="0"]) .framework-backdrop { filter: grayscale(1); opacity: .32; }
/* Overlay bounds use the animation's authoritative 1920 x 1080 coordinate space. */
.framework-layer { position: absolute; padding: 0; border: 0; background: none; }
.framework-enterprise { left: 7.291667%; top: 8.333333%; width: 85.416667%; height: 16.666667%; }
.framework-platform { left: 7.291667%; top: 33.333333%; width: 85.416667%; height: 39.814815%; }
.framework-data { left: 7.291667%; top: 79.629630%; width: 85.416667%; height: 17.129630%; }
.framework-layer-heading h3, .framework-pillar > h4 {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.framework-experiences, .framework-platform-body, .framework-pillars, .framework-data-grid { display: contents; }
[data-framework-node] { position: absolute; border: 0; border-radius: 4px; background: none; }
[data-framework-node].is-focus { outline: 3px solid #d51f2a; outline-offset: 0; }
.environment-panel[data-framework-step="2"] [data-framework-node="dcs"]::after,
.environment-panel[data-framework-step="3"] [data-framework-node="cas"]::after {
  content: ""; position: absolute; inset: 5px; border: 2px solid #d51f2a;
  border-radius: 3px; pointer-events: none; z-index: 3;
}
.framework-experience.is-focus, .framework-data-card.is-focus { background: #f8f9f7; }
.framework-capability.is-focus { background: linear-gradient(to right, transparent 20%, #f8f9f7 20%); }
.framework-muted { opacity: 1; }
.framework-experience { top: 28.888889%; width: 21.341463%; height: 62.222222%; }
.framework-experience:nth-child(1) { left: 2.743902%; }
.framework-experience:nth-child(2) { left: 26.524390%; }
.framework-experience:nth-child(3) { left: 50.304878%; }
.framework-experience:nth-child(4) { left: 74.085366%; }
.framework-experience h4 { position: absolute; top: 12%; left: 7%; right: 5%; margin: 0; color: #34383d; font: 700 1.46cqw/1.1 "Segoe UI", sans-serif; opacity: 0; }
.framework-experience p { position: absolute; left: 7%; right: 5%; bottom: 10%; margin: 0; padding: 2%; color: #4a4e53; background: rgba(255,255,255,.94); font-size: 1cqw; line-height: 1.2; opacity: 0; }
.framework-user { position: absolute; top: 4%; right: 4%; display: flex; align-items: center; gap: .5cqw; color: #4b5056; font-size: 1cqw; }
.framework-avatar { display: grid; place-items: center; width: 1.6cqw; height: 1.6cqw; border: 1px solid #92979c; border-radius: 50%; color: #555b61; background: #fafafa; font-weight: 700; }
.framework-user strong { font-weight: 700; }
.framework-user span:last-child { color: #777d83; font-size: .8cqw; }
.framework-pillar { position: absolute; top: 15.581395%; width: 30.487805%; height: 79.767442%; padding: 0; border: 0; background: none; }
.framework-bring { left: 2.134146%; }
.framework-build { left: 67.378049%; }
.framework-run { left: 34.756098%; }
.framework-capability { left: 5%; width: 90%; height: 22.740525%; }
.framework-capability:nth-of-type(1) { top: 18.367347%; }
.framework-capability:nth-of-type(2) { top: 44.314869%; }
.framework-capability:nth-of-type(3) { top: 70.262391%; }
.framework-capability h5 { position: absolute; left: 22%; right: 3%; top: 10%; display: flex; align-items: center; flex-wrap: wrap; gap: .3cqw; margin: 0; color: #34383d; background: rgba(255,255,255,.96); font: 700 1.4cqw/1.1 "Segoe UI", sans-serif; opacity: 0; }
.framework-capability p { position: absolute; left: 22%; right: 3%; bottom: 10%; margin: 0; color: #62676d; background: rgba(255,255,255,.96); font-size: 1cqw; line-height: 1.15; opacity: 0; }
.framework-demo-tag { padding: .1cqw .25cqw; border-radius: 2px; color: #555a60; background: #e9ebed; font-size: .65cqw; font-weight: 800; }
.framework-hci { top: 3.255814%; left: 69.512195%; width: 26.829268%; height: 7.441860%; display: flex; align-items: center; justify-content: center; gap: .6cqw; color: #646a70; background: rgba(248,249,247,.96); font-size: 1cqw; }
.framework-hci span { font-size: .8cqw; }
.framework-hci.framework-muted { opacity: .3; }
.framework-hci.is-focus { color: #34383d; opacity: 1; }
.framework-data-card { top: 24.864865%; width: 21.951220%; height: 73.513514%; }
.framework-data-card:nth-child(1) { left: 2.134146%; }
.framework-data-card:nth-child(2) { left: 26.524390%; }
.framework-data-card:nth-child(3) { left: 50.914634%; }
.framework-data-card:nth-child(4) { left: 75.304878%; }
.framework-data-card h4 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; color: #34383d; background: rgba(248,249,247,.98); font: 600 1.46cqw/1.15 "Segoe UI", sans-serif; text-align: center; opacity: 0; }
.framework-data-card > p { position: absolute; top: 3%; left: 3%; right: 3%; margin: 0; padding: 1%; color: #5e646a; background: rgba(255,255,255,.95); font-size: .95cqw; line-height: 1.1; text-align: center; opacity: 0; }
.framework-data-detail { position: absolute; top: 25%; left: 6%; right: 6%; display: flex; flex-direction: column; align-items: center; gap: .15cqw; padding: 2%; color: #41464c; background: rgba(255,255,255,.96); opacity: 0; }
.framework-data-detail code { color: #353a40; font: 600 1.1cqw/1.1 ui-monospace, "Cascadia Code", monospace; }
.framework-data-detail span { color: #62676d; font-size: .95cqw; }
.framework-data-detail strong { color: #41464c; font-weight: 700; }
.is-focus > h4, .is-focus > h5, .is-focus > p, .is-focus > .framework-data-detail { opacity: 1; }
.framework-links { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: #bd4b52; }
.framework-link-paths path { fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linejoin: round; }
.framework-link-paths circle { fill: currentColor; }
.environment-owners { position: absolute; left: 6px; right: 6px; bottom: 3px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; }
.environment-owners h3 { margin: 0; color: #737a80; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.environment-owner-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.environment-owner-list li { padding: 4px 8px; border: 1px solid #d6d9dc; border-radius: 5px; color: #73797f; background: #fafafa; font-size: 10px; }
.environment-owner-list .environment-owner-me { border-color: #9b9fa4; color: #454b51; background: #eef0f1; }
.environment-owner-me strong { font-weight: 600; }
.environment-owner-me span { margin-left: 4px; font-size: 9px; }
.framework-legend { display: flex; gap: 12px; margin-left: auto; color: #7b8187; font-size: 9px; }
.framework-legend span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #d51f2a; }
.framework-legend span:last-child::before { background: #c9cdd1; }
.tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
@media (min-width: 1100px) {
  .environment-heading h2 {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .environment-kicker { font-size: 9px; }
  .environment-count { position: absolute; right: 0; top: 0; }
  .environment-count strong { font-size: clamp(26px, 2.2vw, 40px); }
  .environment-count span { font-size: 8px; margin-top: 2px; }
  .environment-owners {
    position: absolute; left: calc(var(--demo-left) + var(--demo-width) * .073);
    right: calc(var(--demo-left) + var(--demo-width) * .073);
    bottom: 3px; margin: 0; gap: 7px;
  }
  .environment-owners h3 { font-size: 8px; }
  .environment-owner-list { gap: 4px; }
  .environment-owner-list li { padding: 2px 5px; font-size: 8px; }
  .environment-owner-me span { font-size: 8px; }
  .framework-legend { font-size: 8px; }
}
@media (max-width: 720px) {
  .environment-heading { align-items: flex-start; flex-direction: column-reverse; gap: 12px; }
  .environment-count { text-align: left; }
  .framework-controls { top: auto; bottom: 40px; left: 6px; right: 6px; flex-wrap: wrap; gap: 4px; }
  .framework-controls button { height: 25px; padding: 0 6px; font-size: 10px; }
  .framework-user span:last-child { display: none; }
  .framework-legend { width: 100%; margin-left: 0; }
}
