
/* [next]/internal/font/google/space_grotesk_4d74b881.module.css [app-client] (css) */
@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/32687112bd2dd8db-s.1gepa_7fcx9fm.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/28868e710e86be81-s.2eksvhm1z0jwa.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/32687112bd2dd8db-s.1gepa_7fcx9fm.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/28868e710e86be81-s.2eksvhm1z0jwa.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/32687112bd2dd8db-s.1gepa_7fcx9fm.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/28868e710e86be81-s.2eksvhm1z0jwa.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Space Grotesk;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Space Grotesk Fallback;
  src: local(Arial);
  ascent-override: 89.71%;
  descent-override: 26.62%;
  line-gap-override: 0.0%;
  size-adjust: 109.69%;
}

.space_grotesk_4d74b881-module__SBFnVq__className {
  font-family: Space Grotesk, Space Grotesk Fallback;
  font-style: normal;
}

.space_grotesk_4d74b881-module__SBFnVq__variable {
  --font-heading: "Space Grotesk", "Space Grotesk Fallback";
}

/* [next]/internal/font/google/ibm_plex_mono_376257ab.module.css [app-client] (css) */
@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/e390973e931a41c5-s.0rgnxg2b64rzs.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/59b15b4bcd7b1eb5-s.2vemzm0itqzfy.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/e532fa1b9921e1cd-s.3cb5lpr2l6xud.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/2fe89d53234c61d4-s.1u30mmyq6lnsd.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/99e609270109b47d-s.p.40sczeszzbjw1.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/5e05ae5b48faa55e-s.1yd4_i3e35931.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/a7afbb44bec2bb18-s.1qc6dx89jd2qv.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/02263ebadd758ea4-s.29yke99gs9qpn.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/68757d6cddeff913-s.1i-sca43-qwng.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: IBM Plex Mono;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/effe91970fc4db64-s.p.0oace-s_gkfks.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: IBM Plex Mono Fallback;
  src: local(Arial);
  ascent-override: 76.16%;
  descent-override: 20.43%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.ibm_plex_mono_376257ab-module__Bs602W__className {
  font-family: IBM Plex Mono, IBM Plex Mono Fallback;
  font-style: normal;
}

.ibm_plex_mono_376257ab-module__Bs602W__variable {
  --font-mono: "IBM Plex Mono", "IBM Plex Mono Fallback";
}

/* [project]/node_modules/.pnpm/@xyflow+react@12.11.1_@type_8f0061142c7699e39db6f780855c13f2/node_modules/@xyflow/react/dist/style.css [app-client] (css) */
.react-flow {
  --xy-edge-stroke-default: #b1b1b7;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #555;
  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;
  --xy-attribution-background-color-default: #ffffff80;
  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: #f0f0f099;
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #e2e2e2;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;
  --xy-background-color-default: transparent;
  --xy-background-pattern-dots-color-default: #91919a;
  --xy-background-pattern-lines-color-default: #eee;
  --xy-background-pattern-cross-color-default: #e2e2e2;
  background-color: var(--xy-background-color, var(--xy-background-color-default));
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid #1a192b;
  --xy-node-background-color-default: #fff;
  --xy-node-group-background-color-default: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #00000014;
  --xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;
  --xy-node-border-radius-default: 3px;
  --xy-handle-background-color-default: #1a192b;
  --xy-handle-border-color-default: #fff;
  --xy-selection-background-color-default: #0059dc14;
  --xy-selection-border-default: 1px dotted #0059dccc;
  --xy-controls-button-background-color-default: #fefefe;
  --xy-controls-button-background-color-hover-default: #f4f4f4;
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: #eee;
  --xy-controls-box-shadow-default: 0 0 2px 1px #00000014;
  --xy-edge-label-background-color-default: #fff;
  --xy-edge-label-color-default: inherit;
  --xy-resize-background-color-default: #3367d9;
  direction: ltr;
}

.react-flow.dark {
  --xy-edge-stroke-default: #3e3e3e;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #727272;
  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;
  --xy-attribution-background-color-default: #96969640;
  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: #3c3c3c99;
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #2b2b2b;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;
  --xy-background-color-default: #141414;
  --xy-background-pattern-dots-color-default: #777;
  --xy-background-pattern-lines-color-default: #777;
  --xy-background-pattern-cross-color-default: #777;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: #f0f0f040;
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px #ffffff14;
  --xy-node-boxshadow-selected-default: 0 0 0 .5px #999;
  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;
  --xy-selection-background-color-default: #c8c8dc14;
  --xy-selection-border-default: 1px dotted #c8c8dccc;
  --xy-controls-button-background-color-default: #2b2b2b;
  --xy-controls-button-background-color-hover-default: #3e3e3e;
  --xy-controls-button-color-default: #f8f8f8;
  --xy-controls-button-color-hover-default: #fff;
  --xy-controls-button-border-color-default: #5b5b5b;
  --xy-controls-box-shadow-default: 0 0 2px 1px #00000014;
  --xy-edge-label-background-color-default: #141414;
  --xy-edge-label-color-default: #f8f8f8;
}

.react-flow__background {
  background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
  pointer-events: none;
  z-index: -1;
}

.react-flow__container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__pane {
  z-index: 1;
  touch-action: none;
}

.react-flow__pane.draggable {
  cursor: grab;
}

.react-flow__pane.dragging {
  cursor: grabbing;
}

.react-flow__pane.selection {
  cursor: pointer;
}

.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}

.react-flow__renderer {
  z-index: 4;
}

.react-flow__selection {
  z-index: 6;
}

.react-flow__nodesselection-rect:focus, .react-flow__nodesselection-rect:focus-visible {
  outline: none;
}

.react-flow__edge-path {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
  stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
  fill: none;
}

.react-flow__connection-path {
  stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
  fill: none;
}

.react-flow .react-flow__edges {
  position: absolute;
}

.react-flow .react-flow__edges svg {
  pointer-events: none;
  position: absolute;
  overflow: visible;
}

.react-flow__edge {
  pointer-events: visibleStroke;
}

.react-flow__edge.selectable {
  cursor: pointer;
}

.react-flow__edge.animated path {
  stroke-dasharray: 5;
  animation: .5s linear infinite dashdraw;
}

.react-flow__edge.animated path.react-flow__edge-interaction {
  stroke-dasharray: none;
  animation: none;
}

.react-flow__edge.inactive {
  pointer-events: none;
}

.react-flow__edge.selected, .react-flow__edge:focus, .react-flow__edge:focus-visible {
  outline: none;
}

.react-flow__edge.selected .react-flow__edge-path, .react-flow__edge.selectable:focus .react-flow__edge-path, .react-flow__edge.selectable:focus-visible .react-flow__edge-path {
  stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
}

.react-flow__edge-textwrapper {
  pointer-events: all;
}

.react-flow__edge .react-flow__edge-text {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.react-flow__arrowhead polyline {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}

.react-flow__arrowhead polyline.arrowclosed {
  fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}

.react-flow__connection {
  pointer-events: none;
}

.react-flow__connection .animated {
  stroke-dasharray: 5;
  animation: .5s linear infinite dashdraw;
}

svg.react-flow__connectionline {
  z-index: 1001;
  position: absolute;
  overflow: visible;
}

.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}

.react-flow__node {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: default;
  position: absolute;
}

.react-flow__node.selectable {
  cursor: pointer;
}

.react-flow__node.draggable {
  cursor: grab;
  pointer-events: all;
}

.react-flow__node.draggable.dragging {
  cursor: grabbing;
}

.react-flow__nodesselection {
  z-index: 3;
  transform-origin: 0 0;
  pointer-events: none;
}

.react-flow__nodesselection-rect {
  pointer-events: all;
  cursor: grab;
  position: absolute;
}

.react-flow__handle {
  pointer-events: none;
  background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
  border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
  border-radius: 100%;
  width: 6px;
  min-width: 5px;
  height: 6px;
  min-height: 5px;
  position: absolute;
}

.react-flow__handle.connectingfrom {
  pointer-events: all;
}

.react-flow__handle.connectionindicator {
  pointer-events: all;
  cursor: crosshair;
}

.react-flow__handle-bottom {
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.react-flow__handle-top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.react-flow__handle-left {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.react-flow__handle-right {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}

.react-flow__pane.selection .react-flow__panel {
  pointer-events: none;
}

.react-flow__panel {
  z-index: 5;
  margin: 15px;
  position: absolute;
}

.react-flow__panel.top {
  top: 0;
}

.react-flow__panel.bottom {
  bottom: 0;
}

.react-flow__panel.top.center, .react-flow__panel.bottom.center {
  left: 50%;
  transform: translateX(-15px)translateX(-50%);
}

.react-flow__panel.left {
  left: 0;
}

.react-flow__panel.right {
  right: 0;
}

.react-flow__panel.left.center, .react-flow__panel.right.center {
  top: 50%;
  transform: translateY(-15px)translateY(-50%);
}

.react-flow__attribution {
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  margin: 0;
  padding: 2px 3px;
  font-size: 10px;
}

.react-flow__attribution a {
  color: #999;
  text-decoration: none;
}

@keyframes dashdraw {
  from {
    stroke-dashoffset: 10px;
  }
}

.react-flow__edgelabel-renderer {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__viewport-portal {
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.react-flow__minimap {
  background: var(--xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)));
}

.react-flow__minimap-svg {
  display: block;
}

.react-flow__minimap-mask {
  fill: var(--xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)));
  stroke: var(--xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)));
  stroke-width: var(--xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)));
}

.react-flow__minimap-node {
  fill: var(--xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)));
  stroke: var(--xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)));
  stroke-width: var(--xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)));
}

.react-flow__background-pattern.dots {
  fill: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)));
}

.react-flow__background-pattern.lines {
  stroke: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)));
}

.react-flow__background-pattern.cross {
  stroke: var(--xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)));
}

.react-flow__controls {
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
  flex-direction: column;
  display: flex;
}

.react-flow__controls.horizontal {
  flex-direction: row;
}

.react-flow__controls-button {
  background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
  border: none;
  border-bottom: 1px solid
      var(--xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)));
  width: 26px;
  height: 26px;
  color: var(--xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)));
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: flex;
}

.react-flow__controls-button svg {
  fill: currentColor;
  width: 100%;
  max-width: 12px;
  max-height: 12px;
}

.react-flow__edge.updating .react-flow__edge-path {
  stroke: #777;
}

.react-flow__edge-text {
  font-size: 10px;
}

.react-flow__node.selectable:focus, .react-flow__node.selectable:focus-visible {
  outline: none;
}

.react-flow__node-input, .react-flow__node-default, .react-flow__node-output, .react-flow__node-group {
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  width: 150px;
  color: var(--xy-node-color, var(--xy-node-color-default));
  text-align: center;
  border: var(--xy-node-border, var(--xy-node-border-default));
  background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
  padding: 10px;
  font-size: 12px;
}

.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
  box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
}

.react-flow__node-input.selectable.selected, .react-flow__node-input.selectable:focus, .react-flow__node-input.selectable:focus-visible, .react-flow__node-default.selectable.selected, .react-flow__node-default.selectable:focus, .react-flow__node-default.selectable:focus-visible, .react-flow__node-output.selectable.selected, .react-flow__node-output.selectable:focus, .react-flow__node-output.selectable:focus-visible, .react-flow__node-group.selectable.selected, .react-flow__node-group.selectable:focus, .react-flow__node-group.selectable:focus-visible {
  box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
}

.react-flow__node-group {
  background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
}

.react-flow__nodesselection-rect, .react-flow__selection {
  background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
  border: var(--xy-selection-border, var(--xy-selection-border-default));
}

.react-flow__nodesselection-rect:focus, .react-flow__nodesselection-rect:focus-visible, .react-flow__selection:focus, .react-flow__selection:focus-visible {
  outline: none;
}

.react-flow__controls-button:hover {
  background: var(--xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)));
  color: var(--xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)));
}

.react-flow__controls-button:disabled {
  pointer-events: none;
}

.react-flow__controls-button:disabled svg {
  fill-opacity: .4;
}

.react-flow__controls-button:last-child {
  border-bottom: none;
}

.react-flow__controls.horizontal .react-flow__controls-button {
  border-bottom: none;
  border-right: 1px solid
      var(--xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)));
}

.react-flow__controls.horizontal .react-flow__controls-button:last-child {
  border-right: none;
}

.react-flow__resize-control {
  position: absolute;
}

.react-flow__resize-control.left, .react-flow__resize-control.right {
  cursor: ew-resize;
}

.react-flow__resize-control.top, .react-flow__resize-control.bottom {
  cursor: ns-resize;
}

.react-flow__resize-control.top.left, .react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}

.react-flow__resize-control.bottom.left, .react-flow__resize-control.top.right {
  cursor: nesw-resize;
}

.react-flow__resize-control.handle {
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border: 1px solid #fff;
  border-radius: 1px;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
}

.react-flow__resize-control.handle.left {
  top: 50%;
  left: 0;
}

.react-flow__resize-control.handle.right {
  top: 50%;
  left: 100%;
}

.react-flow__resize-control.handle.top {
  top: 0;
  left: 50%;
}

.react-flow__resize-control.handle.bottom {
  top: 100%;
  left: 50%;
}

.react-flow__resize-control.handle.top.left, .react-flow__resize-control.handle.bottom.left {
  left: 0;
}

.react-flow__resize-control.handle.top.right, .react-flow__resize-control.handle.bottom.right {
  left: 100%;
}

.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-style: solid;
  border-width: 0;
}

.react-flow__resize-control.line.left, .react-flow__resize-control.line.right {
  width: 1px;
  height: 100%;
  top: 0;
  transform: translate(-50%);
}

.react-flow__resize-control.line.left {
  border-left-width: 1px;
  left: 0;
}

.react-flow__resize-control.line.right {
  border-right-width: 1px;
  left: 100%;
}

.react-flow__resize-control.line.top, .react-flow__resize-control.line.bottom {
  width: 100%;
  height: 1px;
  left: 0;
  transform: translate(0, -50%);
}

.react-flow__resize-control.line.top {
  border-top-width: 1px;
  top: 0;
}

.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}

.react-flow__edge-textbg {
  fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
}

.react-flow__edge-text {
  fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
}

/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --background: #0d1016;
  --background-soft: #131720;
  --panel: #141820fa;
  --panel-strong: #1a1f29;
  --panel-soft: #181d27d1;
  --surface: #10141c;
  --surface-strong: #171c26;
  --surface-hover: #1d2330;
  --foreground: #eef1f5;
  --muted: #a5adbb;
  --line: #ffffff14;
  --line-strong: #ffffff24;
  --accent: #c7a36a;
  --accent-strong: #d6b47f;
  --accent-soft: #c7a36a29;
  --success: #58c59a;
  --danger: #ef707a;
  --warning: #e7bc67;
  --trigger: #efb163;
  --edge: #8574f0;
  --control-edge: #b98a4f;
  --content-edge: #4dc7b0;
  --branch-true: #56c78b;
  --branch-false: #ea6b77;
  --shadow: 0 12px 34px #00000047;
}

html {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  height: 100%;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  color: var(--foreground);
  font-family: var(--font-heading), sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(#0d1016 0%, #090c12 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  background: var(--accent);
  color: #111318;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 10px;
  min-height: 38px;
  padding: .62rem .88rem;
  font-weight: 700;
  transition: background .14s, border-color .14s, transform .14s, box-shadow .14s;
}

.button-link {
  background: var(--accent);
  color: #081016;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.revision-tree {
  gap: .45rem;
  min-width: 0;
  display: grid;
}

.revision-branch {
  min-width: 0;
  position: relative;
}

.revision-children {
  border-left: 1px solid var(--line-strong);
  gap: .45rem;
  margin: .45rem 0 0 .75rem;
  padding-left: .75rem;
  display: grid;
}

.revision-card {
  border: 1px solid var(--line);
  background: #0a0d13b8;
  border-radius: 12px;
  min-width: 0;
  padding: .45rem;
  position: relative;
}

.revision-card.is-selected {
  background: var(--accent-soft);
  border-color: #c7a36a80;
}

.revision-card__select {
  width: 100%;
  min-height: 0;
  color: var(--foreground);
  text-align: left;
  background: none;
  border: 0;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: .55rem;
  padding: .35rem;
  display: grid;
}

.revision-card__select:hover {
  background: #ffffff0a;
  transform: none;
}

.revision-card.is-release .revision-card__select {
  padding-right: 2rem;
}

.revision-card__details {
  min-width: 0;
}

.revision-card__title-row {
  justify-content: space-between;
  align-items: baseline;
  gap: .65rem;
  min-width: 0;
  display: flex;
}

.revision-card__title-row strong {
  min-width: 0;
}

.revision-card__title-row time {
  color: var(--muted);
  white-space: nowrap;
  flex: none;
  font-size: .64rem;
  font-weight: 500;
}

.revision-card__remove-release {
  color: #f3a0a7;
  opacity: 0;
  background: #ef707a14;
  border: 1px solid #ef707a47;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  display: grid;
  position: absolute;
  top: 50%;
  right: .55rem;
  transform: translateY(-50%);
}

.revision-card:hover .revision-card__remove-release, .revision-card:focus-within .revision-card__remove-release {
  opacity: 1;
}

.revision-card__remove-release:hover {
  background: #ef707a2e;
  transform: translateY(-50%);
}

.revision-card__select strong, .revision-card__select small {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}

.revision-card__select small {
  color: var(--muted);
  margin-top: .18rem;
  font-size: .7rem;
}

.revision-card__marker {
  border: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-top: .34rem;
}

.revision-history, .release-candidate-form, .release-candidate-list {
  gap: .75rem;
  min-width: 0;
  display: grid;
}

.history-message {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #eadcc5;
  padding: .7rem .75rem;
  font-size: .8rem;
  line-height: 1.45;
}

.release-candidate-list {
  gap: .35rem;
  padding: .25rem .35rem .15rem;
}

.release-candidate-chip {
  color: #bdebd8;
  background: #58c59a1f;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: .35rem .45rem .35rem .6rem;
  font-size: .75rem;
  display: flex;
}

.release-candidate-chip span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.release-candidate-chip button {
  min-width: 24px;
  min-height: 24px;
  color: inherit;
  background: none;
  padding: 0;
}

.confirm-dialog__backdrop {
  z-index: 10000;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #04060abd;
  place-items: center;
  padding: 1.25rem;
  display: grid;
  position: fixed;
  inset: 0;
}

.confirm-dialog {
  border: 1px solid var(--line-strong);
  background: linear-gradient(#1b202afc, #11151dfc);
  border-radius: 18px;
  width: min(440px, 100%);
  padding: 1.25rem;
  box-shadow: 0 24px 80px #00000094;
}

.confirm-dialog h2 {
  margin-top: .35rem;
  font-size: 1.15rem;
}

.confirm-dialog p {
  color: var(--muted);
  margin-top: .65rem;
  font-size: .88rem;
  line-height: 1.55;
}

.confirm-dialog__actions {
  justify-content: flex-end;
  gap: .55rem;
  margin-top: 1.15rem;
  display: flex;
}

button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #c7a36ab3;
}

input, select, textarea {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--foreground);
  background: #0a0c11e6;
  border-radius: 14px;
  padding: .78rem .9rem;
}

.danger-button {
  color: #ff9ca7;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23939db2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  padding-right: 2.7rem;
}

input::placeholder, textarea::placeholder {
  color: #75809a;
}

textarea {
  resize: vertical;
  font-family: var(--font-mono), monospace;
  line-height: 1.55;
}

label {
  gap: .5rem;
  display: grid;
}

[hidden] {
  display: none !important;
}

label span, .section-kicker, .eyebrow, .toolbar-label, .status-card span, .metric-list span, .mini-stat span, .flow-card__eyebrow, .flow-card__type, .preview-card span, .resource-row span, .connection-card span {
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .76rem;
}

h1, h2, h3 {
  letter-spacing: -.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

code {
  color: #f0dfbf;
  font-family: var(--font-mono), monospace;
  background: #ffffff0f;
  border-radius: 8px;
  padding: .12rem .42rem;
  font-size: .92em;
}

.shell, .app-shell {
  width: min(1320px, 100vw - 2rem);
  margin: 0 auto;
  padding: 1.6rem 0 2.6rem;
}

.shell--wide {
  width: min(1780px, 100vw - 1.5rem);
}

.workflow-page.shell--wide {
  width: calc(100vw - clamp(1rem, 1.5vw, 2rem));
  max-width: none;
}

.auth-grid, .overview-grid, .deploy-grid, .preview-grid {
  gap: 1.2rem;
  display: grid;
}

.auth-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  width: min(1240px, 100vw - 2rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  min-width: 0;
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 1rem;
  overflow: hidden;
}

.hero-panel {
  align-content: start;
  gap: 1.4rem;
  min-height: 620px;
  padding: 2rem;
  display: grid;
}

.hero-panel h1 {
  max-width: 12ch;
}

.hero-story, .auth-card-stack, .auth-card, .stack-form, .inline-form, .sidebar-stack, .connection-list, .assistant-body, .resource-list, .palette-group, .preview-grid, .issue-list, .metric-list, .project-card, .studio-subpanel, .studio-panel, .studio-heading {
  gap: 1rem;
  display: grid;
}

.hero-story {
  margin-top: auto;
}

.inline-form {
  grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 1fr) minmax(220px, 1.25fr) auto;
  align-items: end;
  margin-bottom: 1rem;
}

.inline-form > button, .stack-form > button {
  justify-self: start;
}

.setup-checklist {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  gap: .55rem;
  min-width: 0;
  padding: .9rem;
  display: grid;
}

.setup-checklist > span {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: .82rem;
  line-height: 1.45;
  display: block;
}

.setup-checklist > a {
  width: fit-content;
  max-width: 100%;
  color: var(--accent-strong);
  overflow-wrap: anywhere;
  font-size: .85rem;
}

.setup-checklist > button {
  justify-self: start;
}

.hero-story div, .metric-list div, .status-card, .issue, .preview-card {
  border: 1px solid var(--line);
  background: #10131be6;
  border-radius: 18px;
  padding: 1rem;
}

.hero-story strong, .metric-list strong, .status-card strong, .preview-card strong, .project-card strong, .resource-row strong, .connection-card strong {
  display: block;
}

.subtle-card {
  background: #141822f5;
}

.secondary-button {
  background: var(--accent-soft);
  color: #f0dfbf;
  border-color: #c7a36a3d;
}

.secondary-button:hover {
  background: #c7a36a38;
}

.ghost-button {
  color: var(--muted);
  border-color: var(--line);
  background: #ffffff05;
}

.ghost-button:hover {
  color: var(--foreground);
  background: #ffffff0d;
}

.header-row, .button-row, .detail-header, .preview-header, .project-card footer, .studio-panel__header, .project-nav {
  align-items: center;
  gap: .8rem;
  display: flex;
}

button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

.button-row {
  flex-wrap: wrap;
}

.button-row > * {
  min-width: 0;
  max-width: 100%;
}

.header-row, .studio-panel__header, .preview-header, .detail-header {
  justify-content: space-between;
}

.studio-panel__header {
  align-items: flex-start;
}

.header-row {
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.page-intro {
  max-width: 64ch;
  margin-top: .5rem;
}

.panel p, .panel strong, .panel span, .sidebar-note {
  overflow-wrap: anywhere;
}

.workflow-page {
  background: #0b0e14;
  grid-template-rows: 68px minmax(0, 1fr);
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.workflow-appbar {
  border-bottom: 1px solid var(--line);
  background: #0d1016fa;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  padding: 0 1rem;
  display: grid;
}

.workflow-appbar__identity {
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.workflow-appbar__identity h1 {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 36vw;
  font-size: 1.15rem;
  line-height: 1.2;
  overflow: hidden;
}

.workflow-appbar__identity .eyebrow {
  margin-bottom: .12rem;
  font-size: .64rem;
}

.workflow-appbar__back, .icon-button {
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: #ffffff06;
  border-radius: 10px;
  flex: none;
  place-items: center;
  padding: 0;
  font-size: 1rem;
  display: inline-grid;
}

.workflow-appbar__back:hover, .icon-button:hover {
  border-color: var(--line-strong);
  color: var(--foreground);
  background: #ffffff0f;
  transform: none;
}

.workflow-appbar .project-nav {
  flex-wrap: nowrap;
  margin: 0;
}

.workflow-appbar .nav-pill {
  background: none;
  border: 0;
  border-radius: 9px;
  padding: .55rem .85rem;
  font-size: .86rem;
}

.workflow-appbar .nav-pill.active {
  background: var(--accent-soft);
}

.workflow-appbar__context {
  color: var(--muted);
  justify-self: end;
  font-size: .78rem;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  display: grid;
}

.studio-heading p {
  max-width: 54ch;
}

.project-card {
  min-height: 210px;
}

.pill {
  color: #bdebd8;
  background: #58c59a1f;
  border-radius: 999px;
  align-items: center;
  padding: .42rem .78rem;
  font-size: .84rem;
  display: inline-flex;
}

.project-nav {
  flex-wrap: wrap;
  margin: 0 0 1.2rem;
}

.nav-pill {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff05;
  border-radius: 999px;
  padding: .68rem 1rem;
}

.nav-pill.active {
  color: var(--foreground);
  background: #c7a36a1f;
  border-color: #c7a36a42;
}

.overview-grid, .deploy-grid, .preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deploy-grid > .panel:first-child {
  grid-column: 1 / -1;
}

.deployment-release-picker {
  gap: .65rem;
  max-width: 560px;
  margin: 1rem 0;
  display: grid;
}

.deployment-notice {
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 50px;
  color: var(--muted);
  overflow-wrap: anywhere;
  border-radius: 12px;
  margin-top: 1rem;
  padding: .8rem .9rem;
  line-height: 1.5;
}

.metric-list > div {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  display: grid;
}

.metric-list > div > button, .metric-list > div > small {
  grid-column: 1 / -1;
  justify-self: start;
}

.studio-shell {
  grid-template-rows: minmax(0, 1fr) 52px;
  grid-template-columns: clamp(360px, 23vw, 520px) minmax(460px, 1fr) clamp(300px, 19vw, 360px);
  min-width: 0;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.studio-shell[data-library-open="false"] {
  grid-template-columns: 0 minmax(460px, 1fr) clamp(300px, 19vw, 360px);
}

.studio-shell[data-inspector-open="false"] {
  grid-template-columns: clamp(360px, 23vw, 520px) minmax(460px, 1fr) 0;
}

.studio-shell[data-library-open="false"][data-inspector-open="false"] {
  grid-template-columns: 0 minmax(460px, 1fr) 0;
}

.studio-shell[data-workbench-open="true"] {
  grid-template-rows: minmax(330px, 1fr) minmax(300px, 42vh);
}

.studio-shell[data-workbench-open="true"][data-workbench-panel="simulate"] {
  grid-template-rows: 0 minmax(0, 1fr);
}

.studio-shell[data-workbench-open="true"][data-workbench-panel="simulate"] > :not(.studio-bottom) {
  visibility: hidden;
  pointer-events: none;
}

.studio-panel {
  min-width: 0;
  min-height: 0;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.studio-palette, .studio-inspector {
  background: #11151d;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  height: 100%;
  display: grid;
  overflow: hidden;
}

.studio-palette {
  z-index: 12;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: visible;
  container: palette / inline-size;
}

.studio-inspector {
  border-left: 1px solid var(--line);
}

.studio-shell[data-inspector-open="false"] .studio-inspector {
  visibility: hidden;
}

.studio-shell[data-library-open="false"] .studio-palette {
  pointer-events: none;
  background: none;
  border-right: 0;
}

.studio-shell[data-library-open="false"] .studio-palette > .studio-panel__header, .studio-shell[data-library-open="false"] .studio-palette > .studio-palette__body {
  visibility: hidden;
}

.studio-shell[data-library-open="false"] .studio-palette .palette-index {
  pointer-events: auto;
}

.studio-palette > .studio-panel__header, .studio-inspector > .studio-panel__header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: .8rem;
  min-height: 72px;
  padding: .85rem 1rem;
  display: flex;
}

.studio-palette > .studio-panel__header h2, .studio-inspector > .studio-panel__header h2 {
  font-size: 1.15rem;
}

.studio-panel__actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.studio-panel__actions .ghost-button {
  border-radius: 10px;
  padding: .62rem .75rem;
  font-size: .78rem;
}

.studio-canvas-panel {
  background: #0d1016;
  min-width: 0;
  min-height: 0;
  display: block;
  position: relative;
}

.studio-panel__header--canvas {
  z-index: 50;
  border: 1px solid var(--line);
  background: #0d1017e6;
  border-radius: 12px;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  min-height: 0;
  padding: .35rem;
  position: absolute;
  top: .75rem;
  right: .75rem;
  box-shadow: 0 8px 24px #00000038;
}

.studio-panel__header--canvas > .button-row {
  gap: .35rem;
}

.studio-heading--canvas h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(46vw, 680px);
  font-size: 1.05rem;
  line-height: 1.25;
  overflow: hidden;
}

.studio-heading--canvas p {
  display: none;
}

.studio-shell[data-library-open="false"] .studio-heading--canvas {
  margin-left: 42px;
}

.studio-panel__header--canvas > .toolbar-button {
  flex: none;
}

.toolbar-button {
  background: var(--accent-soft);
  color: #f0dfbf;
  border-color: #c7a36a3d;
  border-radius: 10px;
  padding: .62rem .78rem;
  font-size: .8rem;
}

.workflow-settings-grid {
  gap: .8rem;
  display: grid;
}

.canvas-frame {
  background: linear-gradient(#0f131a 0%, #0b0e14 100%);
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.editor-action-group {
  border-right: 1px solid var(--line);
  align-items: center;
  gap: .35rem;
  padding-right: .55rem;
  display: inline-flex;
}

.editor-icon-button {
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: none;
  border: 1px solid #0000;
  border-radius: 9px;
  place-items: center;
  padding: 0;
  display: inline-grid;
  position: relative;
}

.editor-icon-button:hover:not(:disabled), .editor-icon-button:focus-visible {
  border-color: var(--line);
  color: var(--foreground);
  background: #ffffff0b;
  transform: none;
}

.editor-icon-button:after {
  z-index: 80;
  border: 1px solid var(--line);
  width: max-content;
  max-width: 190px;
  color: var(--foreground);
  content: attr(data-tooltip);
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: #080b10;
  border-radius: 7px;
  padding: .38rem .48rem;
  font-size: .65rem;
  font-weight: 600;
  transition: opacity .12s, transform .12s;
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, -3px);
}

.editor-icon-button:hover:after, .editor-icon-button:focus-visible:after {
  opacity: 1;
  transform: translate(-50%);
}

.editor-icon-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 17px;
  height: 17px;
}

.editor-action-group button:disabled {
  opacity: .38;
  cursor: default;
}

.inspector-edge-toggle {
  z-index: 45;
  border: 1px solid var(--line);
  width: 28px;
  height: 58px;
  color: var(--muted);
  background: #11151df5;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  place-items: center;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  box-shadow: -8px 6px 24px #00000038;
}

.inspector-edge-toggle:hover, .inspector-edge-toggle:focus-visible {
  color: var(--foreground);
  background: #171c26;
  transform: translateY(-50%);
}

.inspector-check-row {
  align-items: center;
  gap: .65rem;
  flex-direction: row !important;
  display: flex !important;
}

.inspector-check-row input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent, #65d8d6);
}

.embed-composer {
  background: #080c136b;
  border: 1px solid #ffffff14;
  border-radius: .9rem;
  gap: .8rem;
  margin-top: .25rem;
  padding: .9rem;
  display: grid;
}

.embed-composer__field {
  gap: .45rem;
  display: grid;
}

.embed-composer__field-head {
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  display: flex;
}

.embed-composer__field-head > span {
  color: #e8edf5;
  font-size: .78rem;
  font-weight: 650;
}

.embed-composer__field-head select {
  width: min(9.5rem, 54%);
  min-height: 2rem;
  padding: .35rem 1.8rem .35rem .55rem;
  font-size: .72rem;
}

.embed-composer__dynamic-value {
  color: #8ea3b8;
  border: 1px dashed #65d8d647;
  border-radius: .65rem;
  padding: .65rem .75rem;
  font-size: .75rem;
}

.embed-composer details {
  border-top: 1px solid #ffffff12;
  padding-top: .7rem;
}

.embed-composer details[open] {
  gap: .75rem;
  display: grid;
}

.embed-composer summary {
  cursor: pointer;
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 650;
  list-style-position: inside;
}

.embed-composer__color {
  grid-template-columns: 1fr 2.2rem auto;
  align-items: center;
  gap: .55rem;
  display: grid !important;
}

.embed-composer__color input[type="color"] {
  border-radius: .55rem;
  width: 2.2rem;
  height: 2.2rem;
  padding: .15rem;
}

.embed-composer__color code {
  color: #91a1b6;
  font-size: .72rem;
}

.embed-preview {
  color: #dcddde;
  background: #202225;
  border-radius: .45rem;
  gap: .35rem;
  min-height: 6rem;
  padding: .9rem .9rem .9rem 1rem;
  display: grid;
  position: relative;
  overflow: hidden;
}

.embed-preview:before {
  content: "";
  background: var(--embed-color, #5865f2);
  width: .25rem;
  position: absolute;
  inset: 0 auto 0 0;
}

.embed-preview strong {
  color: #fff;
  font-size: .9rem;
}

.embed-preview p {
  white-space: pre-wrap;
  color: #c9cacc;
  margin: 0;
  font-size: .78rem;
  line-height: 1.45;
}

.embed-preview__author, .embed-preview small {
  color: #b9bbbe;
  font-size: .68rem;
}

.embed-preview__media, .embed-preview__thumb {
  color: #8e9297;
  text-align: center;
  border: 1px dashed #ffffff26;
  border-radius: .35rem;
  padding: .45rem;
  font-size: .68rem;
}

.embed-preview__thumb {
  width: 3.5rem;
  position: absolute;
  top: .75rem;
  right: .75rem;
}

.permission-grid {
  scrollbar-width: none;
  gap: .25rem;
  max-height: 23rem;
  display: grid;
  overflow-y: auto;
}

.permission-grid::-webkit-scrollbar {
  display: none;
}

.permission-grid__header, .permission-grid__row {
  grid-template-columns: minmax(0, 1fr) repeat(3, 2.2rem);
  align-items: center;
  gap: .3rem;
  display: grid;
}

.permission-grid__header {
  color: var(--muted, #8490a5);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .65rem;
}

.permission-grid__header span:not(:first-child) {
  writing-mode: vertical-rl;
  justify-self: center;
  transform: rotate(180deg);
}

.permission-grid__row {
  border-top: 1px solid #ffffff0f;
  min-height: 2.4rem;
  padding: .25rem 0;
}

.permission-grid__row > span {
  min-width: 0;
  font-size: .78rem;
}

.permission-grid__row button {
  width: 2rem;
  height: 2rem;
  color: var(--muted, #8490a5);
  background: #ffffff06;
  border: 1px solid #ffffff1a;
  border-radius: .55rem;
  padding: 0;
}

.permission-grid__row button.is-default {
  color: #e8edf5;
  border-color: #ffffff47;
}

.permission-grid__row button.is-allow {
  color: #65d8d6;
  background: #65d8d61f;
  border-color: #65d8d6a6;
}

.permission-grid__row button.is-deny {
  color: #ef6973;
  background: #ef69731f;
  border-color: #ef6973a6;
}

.quick-add-scrim {
  z-index: 1000;
  background: #03050833;
  position: fixed;
  inset: 0;
}

.quick-add {
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #11151dfa;
  border-radius: 14px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(340px, 100% - 24px);
  max-height: min(430px, 100% - 24px);
  display: grid;
  position: fixed;
  overflow: hidden;
  box-shadow: 0 22px 64px #0000007a;
}

.quick-add__search {
  border-bottom: 1px solid var(--line);
  gap: .45rem;
  padding: .75rem;
  display: grid;
}

.quick-add__search > span {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 700;
}

.quick-add__search input {
  border-radius: 9px;
  width: 100%;
  min-height: 38px;
  padding: .55rem .65rem;
}

.quick-add__results {
  min-height: 0;
  padding: .35rem;
  overflow-y: auto;
}

.quick-add__results > button {
  width: 100%;
  color: var(--foreground);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
  padding: .62rem;
  display: grid;
}

.quick-add__results > button:hover, .quick-add__results > button:focus-visible, .quick-add__results > button.is-selected {
  background: #ffffff0e;
  transform: none;
}

.quick-add__results > button.is-selected {
  box-shadow: inset 2px 0 var(--accent);
}

.quick-add__results > button > span:last-child {
  gap: .16rem;
  min-width: 0;
  display: grid;
}

.quick-add__results strong, .quick-add__results small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.quick-add__results strong {
  font-size: .84rem;
}

.quick-add__results small {
  color: var(--muted);
  font-size: .71rem;
}

.quick-add__kind {
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #ffffff0e;
  border-radius: 999px;
  justify-content: center;
  padding: .24rem .4rem;
  font-size: .58rem;
  font-weight: 700;
  display: inline-flex;
}

.quick-add__kind.is-trigger {
  color: #efb163;
  background: #efb1631a;
}

.quick-add__empty {
  color: var(--muted);
  text-align: center;
  padding: 1.2rem .8rem;
}

.quick-add__footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  gap: 1rem;
  padding: .52rem .75rem;
  font-size: .65rem;
  display: flex;
}

.status-strip {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #0c0f16db;
  border-radius: 16px;
  align-items: center;
  max-width: 100%;
  padding: .78rem .9rem;
  font-size: .92rem;
  line-height: 1.4;
  display: flex;
}

.status-strip--canvas {
  border: 0;
  border-top: 1px solid var(--line);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #10141b;
  border-radius: 0;
  min-width: 0;
  padding: 0 1rem;
  font-size: .76rem;
  overflow: hidden;
}

.palette-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: .65rem;
  display: grid;
}

.studio-palette__body {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  align-content: start;
  gap: 1.6rem;
  min-height: 0;
  padding: .9rem .85rem 2rem;
  display: grid;
  overflow: hidden auto;
}

.studio-palette__body:after {
  content: "";
  pointer-events: none;
  min-height: 65vh;
}

.studio-inspector__body {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  min-height: 0;
  padding: 1rem;
  overflow-y: auto;
}

.palette-search input {
  width: 100%;
}

.palette-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -.15rem;
  display: grid;
}

.palette-bucket {
  gap: .65rem;
  display: grid;
}

.palette-section {
  gap: .8rem;
  min-width: 0;
  scroll-margin-top: .75rem;
  display: grid;
}

.palette-section + .palette-section {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.palette-section__heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.palette-section__heading > div {
  min-width: 0;
}

.palette-section__heading h3 {
  font-size: .98rem;
}

.palette-section__heading p {
  margin-top: .18rem;
  font-size: .76rem;
  line-height: 1.45;
}

.palette-section__heading > span {
  border: 1px solid var(--line);
  min-width: 1.55rem;
  height: 1.55rem;
  color: var(--muted);
  border-radius: 999px;
  place-items: center;
  font-size: .68rem;
  display: inline-grid;
}

.palette-index {
  z-index: 40;
  border: 1px solid var(--line);
  background: #11151d;
  border-radius: 15px;
  width: 44px;
  padding: 0;
  display: grid;
  position: absolute;
  top: 50%;
  right: -58px;
  overflow: hidden;
  transform: translateY(-50%);
  box-shadow: 10px 8px 24px #0000003d;
}

.palette-index__item {
  color: #717b8e;
  background: none;
  border: 0;
  border-radius: 0;
  place-items: center;
  width: 43px;
  height: 44px;
  padding: 0;
  display: grid;
}

.palette-index__item svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.palette-index__item:hover:not(:disabled) {
  color: var(--foreground);
  background: #ffffff0b;
  transform: none;
}

.palette-index__item.is-active {
  background: var(--accent-soft);
  color: #f0dfbf;
  box-shadow: inset 2px 0 0 var(--accent);
}

.palette-index__item:disabled {
  opacity: .24;
  cursor: default;
}

.palette-section__summary {
  width: 100%;
  box-shadow: none;
  color: var(--foreground);
  text-align: left;
  border: 0;
  border-radius: 0;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  padding: .1rem 0;
  display: flex;
  background: none !important;
}

.palette-section__summary > div {
  gap: .18rem;
  display: grid;
}

.palette-section__summary:hover {
  transform: none;
  background: none !important;
}

.palette-section__summary span {
  color: var(--muted);
  font-size: .8rem;
}

.palette-bucket__label {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.palette-tile, .resource-row, .connection-card {
  text-align: left;
  border: 1px solid var(--line);
  width: 100%;
  color: var(--foreground);
  background: #0d1017e6;
  border-radius: 12px;
  gap: .48rem;
  padding: .72rem .75rem;
  display: grid;
}

.palette-tile {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  grid-template-rows: auto auto minmax(2.7em, auto);
  align-content: start;
  min-width: 0;
  height: 144px;
  overflow: hidden;
}

.palette-tile:active {
  cursor: grabbing;
}

body.is-dragging-library-node, body.is-dragging-library-node * {
  cursor: grabbing !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.palette-tile strong {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
}

.palette-tile > span {
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .78rem;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.palette-tile .token-chip {
  padding: .25rem .42rem;
  font-size: .62rem;
}

@container palette (min-width: 500px) {
  .palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.palette-tile__meta {
  flex-wrap: wrap;
  gap: .45rem;
  display: flex;
}

.palette-tile:hover, .resource-row:hover, .connection-card:hover {
  border-color: var(--line-strong);
  background: #131721f2;
}

.resource-row.active, .connection-card.active {
  background: #c7a36a1a;
  border-color: #c7a36a57;
}

.connection-card--static {
  cursor: default;
}

.sidebar-note {
  border: 1px dashed var(--line);
  color: var(--muted);
  background: #0c0f16b8;
  border-radius: 16px;
  max-width: 34ch;
  padding: .82rem .88rem;
  line-height: 1.6;
}

.mini-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  display: grid;
}

.mini-stat {
  border: 1px solid var(--line);
  background: #0c0f16db;
  border-radius: 16px;
  padding: .72rem .8rem;
}

.token-row {
  flex-wrap: wrap;
  gap: .55rem;
  display: flex;
}

.token-row--wrap {
  padding-top: .2rem;
}

.token-chip {
  color: #f0dfbf;
  background: #c7a36a1f;
  border-color: #c7a36a2e;
  border-radius: 999px;
  padding: .48rem .68rem;
  font-size: .78rem;
  font-weight: 600;
}

.token-chip:hover {
  background: #c7a36a2e;
}

.token-chip--static {
  cursor: default;
}

.token-chip--soft {
  color: var(--muted);
  background: #ffffff0d;
  border-color: #ffffff14;
}

.token-chip--static:hover {
  transform: none;
}

.assistant-drawer {
  border: 1px solid var(--line);
  background: #0d1017d6;
  border-radius: 20px;
  padding: 1rem;
}

.token-drawer {
  border: 1px solid var(--line);
  background: #0c0f16b8;
  border-radius: 18px;
  padding: .85rem .9rem;
}

.token-drawer summary {
  cursor: pointer;
  color: var(--foreground);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 700;
}

.token-drawer[open] .token-row {
  margin-top: .8rem;
}

.assistant-drawer summary {
  cursor: pointer;
  font-weight: 700;
}

.studio-bottom {
  border-top: 1px solid var(--line);
  background: #0d1015;
  grid-column: 1 / -1;
  grid-template-rows: 52px minmax(0, 1fr);
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.studio-bottom > .preview-header {
  border-bottom: 1px solid var(--line);
  background: #11151d;
  min-height: 52px;
  padding: 0 .85rem;
}

.studio-bottom .studio-deck__tabs {
  align-items: stretch;
  gap: 0;
  height: 100%;
}

.studio-bottom .studio-deck__tab {
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  border-radius: 0;
  height: 100%;
  padding: 0 1rem;
}

.studio-bottom .studio-deck__tab.is-active {
  border-bottom-color: var(--accent);
  background: #ffffff06;
}

.studio-bottom .studio-deck__tab--unavailable {
  color: #7f8b9c;
  cursor: not-allowed;
  opacity: 1;
  align-items: center;
  gap: .55rem;
  display: inline-flex;
}

.studio-bottom .studio-deck__tab--unavailable small {
  color: #b9a17d;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #c7a36a14;
  border: 1px solid #c7a36a38;
  border-radius: 999px;
  padding: .2rem .42rem;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
}

.studio-shell[data-workbench-open="false"] .studio-deck__body {
  display: none;
}

.preview-card span {
  text-transform: none;
  letter-spacing: normal;
  color: var(--muted);
  font-size: .9rem;
}

.preview-workspace {
  grid-template-columns: minmax(0, 1.45fr) clamp(300px, 24vw, 380px);
  align-items: start;
  gap: .85rem;
  min-height: 240px;
  display: grid;
}

.simulator-workspace {
  height: 100%;
  min-height: 0;
  color: var(--ink);
  background: #0d1015;
  grid-template-rows: auto auto minmax(0, 1fr);
  display: grid;
}

.simulator-toolbar {
  border-bottom: 1px solid var(--line);
  background: #10141a;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 10px 18px;
  display: flex;
}

.simulator-mode-tabs {
  border: 1px solid var(--line);
  background: #0b0e13;
  border-radius: 10px;
  align-items: center;
  gap: 4px;
  padding: 3px;
  display: inline-flex;
}

.studio-bottom .simulator-mode-tabs .studio-deck__tab {
  color: #8f98a8;
  background: none;
  border: 0;
  border-radius: 7px;
  width: auto;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.studio-bottom .simulator-mode-tabs .studio-deck__tab.is-active {
  color: #f1f3f7;
  background: #232832;
}

.simulator-toolbar__actions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.simulator-toolbar__actions select {
  color: #edf0f5;
  border-radius: 9px;
  width: clamp(180px, 22vw, 300px);
  height: 38px;
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
  line-height: 36px;
}

.simulator-toolbar__actions button {
  white-space: nowrap;
  height: 36px;
}

.simulator-danger-action {
  color: #b67d82;
}

.simulator-danger-action:hover {
  color: #ffadb4;
  border-color: #ef707a59;
}

.simulator-danger-action svg, .simulator-row-delete svg, .simulator-remove-role svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 15px;
  height: 15px;
}

.simulator-select {
  align-items: center;
  gap: 7px;
  margin-left: auto;
  display: flex;
}

.simulator-select span, .simulator-members label span, .simulator-test-picker label span {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
}

.simulator-select select {
  min-width: 190px;
}

.simulator-notice {
  color: #e8c98e;
  background: #d6ab6214;
  border-bottom: 1px solid #d6ab623d;
  grid-row: 2;
  padding: 7px 13px;
  font-size: 12px;
}

.simulator-discord {
  grid-row: 3;
  grid-template-columns: 168px minmax(320px, 1fr) 290px;
  min-height: 0;
  display: grid;
}

.simulator-channels, .simulator-members {
  scrollbar-width: none;
  background: #12161d;
  min-width: 0;
  padding: 14px 10px;
  overflow: auto;
}

.simulator-channels::-webkit-scrollbar {
  display: none;
}

.simulator-members::-webkit-scrollbar {
  display: none;
}

.simulator-messages::-webkit-scrollbar {
  display: none;
}

.simulator-results::-webkit-scrollbar {
  display: none;
}

.simulator-trace::-webkit-scrollbar {
  display: none;
}

.simulator-channels {
  border-right: 1px solid var(--line);
}

.simulator-members {
  border-left: 1px solid var(--line);
}

.simulator-channels > strong, .simulator-members > strong {
  color: #f1f3f7;
  margin: 0 7px 12px;
  font-size: 12px;
  display: block;
}

.simulator-channels button {
  color: #9ba4b6;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  width: 100%;
  padding: 7px 9px;
}

.simulator-channels button:hover, .simulator-channels button.is-active {
  color: #fff;
  background: #252b35;
}

.simulator-chat {
  background: #181c24;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  display: grid;
}

.simulator-chat__head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 7px 13px;
  display: flex;
}

.simulator-messages {
  scrollbar-width: none;
  min-height: 0;
  padding: 10px 14px;
  overflow: auto;
}

.simulator-message {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  display: grid;
}

.simulator-message--selectable {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 8px;
  outline: 0;
  margin: 2px -8px;
  padding: 8px;
  transition: border-color .14s, background .14s;
}

.simulator-message--selectable:hover, .simulator-message--selectable:focus-visible {
  background: #ffffff06;
  border-color: #343b47;
}

.simulator-message--selectable.is-reference-input {
  background: #5ad2d60f;
  border-color: #5ad2d694;
}

.simulator-message--selectable.is-reference-response {
  background: #d6ab620f;
  border-color: #d6ab6294;
}

.simulator-message small.simulator-reference-tag {
  color: #dce3ed;
  background: #343c49;
  margin-left: 7px;
  font-size: 10px;
}

.simulator-message small.simulator-command-tag {
  color: #aeb8c7;
  background: #29303a;
  margin-left: 7px;
  font-size: 9px;
}

.simulator-message--selectable.is-command p {
  color: #e1c58f;
  font-family: var(--font-mono);
}

.simulator-message strong {
  color: #eef1f7;
  font-size: 13px;
}

.simulator-message small {
  color: #11151c;
  background: #d6ab62;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 8px;
}

.simulator-message p {
  color: #d3d7e0;
  overflow-wrap: anywhere;
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.simulator-avatar {
  color: #11151c;
  background: #5ad2d6;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  font-weight: 800;
  display: grid;
}

.simulator-avatar.is-bot {
  background: #d6ab62;
}

.simulator-reaction {
  background: #20252e;
  border: 1px solid #39404d;
  border-radius: 7px;
  margin: 5px 5px 0 0;
  padding: 2px 7px;
  font-size: 11px;
  display: inline-flex;
}

.simulator-empty {
  color: var(--muted);
  padding: 18px;
  font-size: 12px;
}

.simulator-members label, .simulator-test-picker label {
  gap: 5px;
  margin-bottom: 12px;
  display: grid;
}

.simulator-members > div:not(.simulator-recording):not(.simulator-live-trace) {
  color: #b9c0ce;
  padding: 5px 7px;
  font-size: 12px;
}

.simulator-reference-builder {
  border-top: 1px solid var(--line);
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  display: grid;
}

.simulator-reference-builder header {
  gap: 4px;
  display: grid;
}

.simulator-reference-builder header strong {
  color: #eef1f6;
  font-size: 13px;
}

.simulator-reference-builder header span {
  color: #929baa;
  font-size: 12px;
  line-height: 1.4;
}

.simulator-reference-builder label {
  margin: 0;
}

.simulator-reference-builder label span, .simulator-suite-runner label span {
  color: #8f98a8;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
}

.simulator-reference-choice {
  background: #0d1117;
  border: 1px solid #282e38;
  border-radius: 7px;
  gap: 3px;
  min-width: 0;
  padding: 8px 9px;
  display: grid;
}

.simulator-reference-choice > span {
  color: #7f8999;
  text-transform: uppercase;
  font-size: 11px;
}

.simulator-reference-choice > strong {
  color: #aab2c0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 550;
  overflow: hidden;
}

.simulator-reference-choice.is-selected > strong {
  color: #edf1f6;
}

.simulator-reference-actions {
  grid-template-columns: auto 1fr;
  gap: 7px;
  display: grid;
}

.simulator-live-trace {
  background: #0e1218;
  border: 1px solid #292f39;
  border-radius: 8px;
  margin-top: 12px;
}

.simulator-live-trace summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  list-style: none;
  display: flex;
}

.simulator-live-trace summary::-webkit-details-marker {
  display: none;
}

.simulator-live-trace summary strong {
  color: #dfe3ea;
  font-size: 12px;
}

.simulator-live-trace summary span {
  color: #8993a3;
  font-size: 11px;
}

.simulator-live-trace > div {
  scrollbar-width: none;
  gap: 4px;
  max-height: 260px;
  padding: 0 7px 7px;
  display: grid;
  overflow: auto;
}

.simulator-live-trace > div::-webkit-scrollbar {
  display: none;
}

.simulator-live-trace p {
  color: #818b9a;
  margin: 4px;
  font-size: 12px;
}

.simulator-trace-row {
  color: #c6ccd6;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  padding: 7px;
  display: grid;
}

button.simulator-trace-row:not(:disabled):hover {
  background: #1a2029;
}

button.simulator-trace-row:disabled {
  opacity: 1;
}

.simulator-trace-row > span:last-child {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.simulator-trace-row strong {
  text-overflow: ellipsis;
  text-transform: capitalize;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
}

.simulator-trace-row small {
  color: #8791a1;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.simulator-trace-dot {
  background: #6f7b8d;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-top: 5px;
}

.simulator-trace-row.is-failed .simulator-trace-dot {
  background: #e17b7b;
}

.simulator-trace-row.is-succeeded .simulator-trace-dot {
  background: #69d5a4;
}

.simulator-recording {
  border-top: 1px solid var(--line);
  gap: 7px;
  margin-top: 18px;
  padding-top: 12px;
  display: grid;
}

.simulator-recording span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
}

.simulator-suite-workspace {
  background: #0d1015;
  grid-row: 3;
  grid-template-columns: 230px minmax(360px, 1fr) 300px;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.simulator-suite-library, .simulator-suite-main, .simulator-suite-runner {
  scrollbar-width: none;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.simulator-suite-library::-webkit-scrollbar {
  display: none;
}

.simulator-suite-main::-webkit-scrollbar {
  display: none;
}

.simulator-suite-runner::-webkit-scrollbar {
  display: none;
}

.simulator-suite-library {
  border-right: 1px solid var(--line);
  background: #10141a;
  padding: 18px 12px;
}

.simulator-suite-library > header, .simulator-suite-runner > header {
  gap: 4px;
  margin: 0 4px 14px;
  display: grid;
}

.simulator-suite-library > header strong, .simulator-suite-runner > header strong {
  color: #edf0f5;
  font-size: 14px;
}

.simulator-suite-library > header span, .simulator-suite-runner > header span {
  color: #8993a3;
  font-size: 12px;
  line-height: 1.4;
}

.simulator-suite-library > div {
  gap: 5px;
  display: grid;
}

.simulator-suite-library > div > button {
  color: #b7bfcb;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  display: flex;
}

.simulator-suite-library > div > button:hover {
  background: #181d25;
}

.simulator-suite-library > div > button.is-active {
  background: #d6ab6214;
  border-color: #d6ab6240;
}

.simulator-suite-library button > span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.simulator-suite-library button strong {
  color: #e4e8ee;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.simulator-suite-library button small, .simulator-suite-library p {
  color: #8993a3;
  font-size: 11px;
}

.simulator-suite-main {
  padding: 24px;
}

.simulator-suite-main > header {
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 18px;
  display: flex;
}

.simulator-suite-main h3 {
  color: #f0f2f6;
  margin: 5px 0 4px;
  font-size: 19px;
}

.simulator-suite-main header p {
  color: #8f99a9;
  margin: 0;
  font-size: 12px;
}

.simulator-behavior-list {
  gap: 10px;
  display: grid;
}

.simulator-behavior-card {
  background: #11151b;
  border: 1px solid #292f39;
  border-radius: 10px;
  overflow: hidden;
}

.simulator-behavior-card > header {
  border-bottom: 1px solid #252b34;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  display: flex;
}

.simulator-behavior-card > header > div {
  align-items: center;
  gap: 8px;
  display: flex;
}

.simulator-behavior-card > header strong {
  color: #e9ecf1;
  font-size: 13px;
}

.simulator-behavior-card .is-passed, .simulator-run-summary.is-passed {
  color: #69d5a4;
}

.simulator-behavior-card .is-failed, .simulator-run-summary.is-failed {
  color: #e17b7b;
}

.simulator-behavior-card .is-running {
  color: #e5c78d;
}

.simulator-behavior-card > header span {
  font-size: 11px;
}

.simulator-behavior-flow {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: grid;
}

.simulator-behavior-flow > div {
  min-width: 0;
}

.simulator-behavior-flow span {
  color: #8791a1;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 11px;
}

.simulator-behavior-flow > span {
  color: #626d7d;
  font-size: 16px;
}

.simulator-behavior-flow p {
  color: #cdd2db;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 5px 0 0;
  font-size: 12px;
  overflow: hidden;
}

.simulator-case-trace {
  border-top: 1px solid #252b34;
}

.simulator-case-trace summary {
  color: #9ca5b4;
  cursor: pointer;
  padding: 9px 14px;
  font-size: 12px;
}

.simulator-case-trace > div {
  gap: 4px;
  padding: 0 10px 10px;
  display: grid;
}

.simulator-case-trace > div > div:not(.simulator-trace-row) {
  gap: 2px;
  padding: 7px;
  font-size: 11px;
  display: grid;
}

.simulator-case-trace > div > div:not(.simulator-trace-row) span {
  color: #9ca5b4;
}

.simulator-suite-empty {
  background: #11151b;
  border: 1px solid #292f39;
  border-radius: 12px;
  place-items: start;
  gap: 8px;
  max-width: 440px;
  margin: 80px auto;
  padding: 24px;
  display: grid;
}

.simulator-suite-empty strong {
  color: #edf0f5;
}

.simulator-suite-empty p {
  color: #939dac;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
}

.simulator-suite-runner {
  border-left: 1px solid var(--line);
  background: #10141a;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  display: flex;
}

.simulator-suite-runner label {
  gap: 5px;
  display: grid;
}

.simulator-run-summary {
  background: #0d1117;
  border: 1px solid;
  border-radius: 8px;
  gap: 3px;
  margin-top: 4px;
  padding: 11px;
  display: grid;
}

.simulator-run-summary strong {
  font-size: 13px;
}

.simulator-run-summary span {
  color: #a3acb9;
  font-size: 11px;
}

.simulator-run-guidance {
  color: #99a3b2;
  background: #0d1117;
  border: 1px solid #2b323d;
  border-radius: 7px;
  margin: 0;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.4;
}

.simulator-run-error {
  color: #e99a9a;
  background: #e17b7b12;
  border: 1px solid #e17b7b59;
  border-radius: 8px;
  gap: 3px;
  padding: 10px;
  display: grid;
}

.simulator-run-error strong {
  font-size: 12px;
}

.simulator-run-error span {
  color: #c5a2a5;
  font-size: 11px;
  line-height: 1.4;
}

.simulator-release-pin summary {
  color: #aab2bf;
  cursor: pointer;
  font-size: 12px;
}

.simulator-run-history {
  border-top: 1px solid var(--line);
  gap: 4px;
  margin-top: 8px;
  padding-top: 12px;
  display: grid;
}

.simulator-run-history > strong {
  color: #cfd4dc;
  margin-bottom: 3px;
  font-size: 12px;
}

.simulator-test-picker, .simulator-results, .simulator-trace {
  scrollbar-width: none;
  min-height: 0;
  padding: 13px;
  overflow: auto;
}

.simulator-test-picker {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.simulator-results pre {
  color: #b9c0ce;
  font: 11px/1.5 var(--font-mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0 0;
}

.simulator-trace {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.simulator-trace button.audit-entry {
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.simulator-history-title {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 12px;
}

.simulator-run-row {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  font-size: 10px;
  display: flex;
}

.simulator-run-row:hover {
  background: #1d222b;
}

.simulator-run-row .is-passed {
  color: #69d5a4;
}

.simulator-run-row .is-failed {
  color: #e17b7b;
}

.simulator-ai {
  border-top: 1px solid var(--line);
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  display: grid;
}

.simulator-ai textarea {
  resize: vertical;
  min-height: 72px;
}

.simulator-ai > div:last-child {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.simulator-release-pin {
  border-top: 1px solid var(--line);
  gap: 4px;
  margin-top: 6px;
  padding-top: 10px;
  display: grid;
}

.simulator-confirm {
  z-index: 20;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #05070ab8;
  place-items: center;
  padding: 20px;
  display: grid;
  position: absolute;
  inset: 0;
}

.simulator-workspace {
  position: relative;
}

.simulator-confirm > div {
  width: min(390px, 100%);
  padding: 18px;
  box-shadow: 0 20px 70px #000;
}

.simulator-confirm strong {
  color: #f4f5f8;
  margin-top: 7px;
  display: block;
}

.simulator-confirm p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.simulator-confirm > div > div:last-child {
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.simulator-world-editor {
  background: #0d1015;
  grid-row: 3;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.simulator-entity-list::-webkit-scrollbar {
  display: none;
}

.simulator-world-nav {
  border-right: 1px solid var(--line);
  background: #10141a;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  padding: 22px 14px;
  display: flex;
}

.simulator-world-nav > div {
  padding: 0 9px 16px;
}

.simulator-world-nav > div strong {
  color: #f0f2f6;
  font-size: 14px;
  display: block;
}

.simulator-world-nav > div span {
  color: #8c96a6;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  display: block;
}

.simulator-world-nav button {
  color: #8f98a8;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  gap: 2px;
  width: 100%;
  padding: 10px 11px;
  display: grid;
}

.simulator-world-nav button:hover {
  color: #d7dbe3;
  background: #ffffff06;
}

.simulator-world-nav button.is-active {
  color: #f2f3f6;
  background: #222731;
}

.simulator-world-nav button strong {
  font-size: 13px;
}

.simulator-world-nav button span {
  color: #838d9d;
  font-size: 12px;
  font-weight: 400;
}

.simulator-world-detail {
  scrollbar-width: none;
  min-width: 0;
  min-height: 0;
  padding: 28px clamp(24px, 4vw, 64px);
  overflow: auto;
}

.simulator-world-detail::-webkit-scrollbar {
  display: none;
}

.simulator-world-section {
  flex-direction: column;
  gap: 20px;
  width: min(980px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: flex;
}

.simulator-world-section > header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 15px;
  display: flex;
}

.simulator-world-section h3 {
  color: #f0f2f6;
  letter-spacing: -.02em;
  margin: 0;
  font-size: 19px;
}

.simulator-world-section header p {
  color: #8b95a5;
  margin: 5px 0 0;
  font-size: 13px;
}

.simulator-field-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.simulator-field-grid label, .simulator-role-settings label {
  gap: 6px;
  display: grid;
}

.simulator-field-grid label > span, .simulator-role-settings label > span {
  color: #929cab;
  letter-spacing: .03em;
  font-size: 12px;
  font-weight: 650;
}

.simulator-info-note {
  color: #929dad;
  background: #5ad2d609;
  border: 1px solid #5ad2d61f;
  border-radius: 10px;
  gap: 4px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.55;
  display: grid;
}

.simulator-info-note strong {
  color: #c0cfdb;
  font-size: 12px;
}

.simulator-entity-list {
  scrollbar-width: none;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  display: flex;
}

.simulator-entity-row {
  border: 1px solid var(--line);
  background: #12161d;
  border-radius: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  display: grid;
}

.simulator-entity-row small {
  color: #838d9d;
  font-size: 11px;
  font-weight: 650;
}

.simulator-entity-row input {
  min-width: 0;
}

.simulator-entity-icon {
  color: #7f8999;
  text-align: center;
  width: 20px;
}

.simulator-mini-avatar {
  color: #11151c;
  background: #5ad2d6;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.simulator-mini-avatar.is-bot {
  background: #d6ab62;
}

.simulator-row-delete {
  color: #747e8e;
  opacity: .35;
}

.simulator-entity-row:hover .simulator-row-delete {
  opacity: 1;
}

.simulator-protected {
  color: #818c9c;
  font-size: 11px;
}

.simulator-add-row {
  gap: 8px;
  padding-top: 6px;
  display: flex;
}

.simulator-add-row > input {
  flex: 1;
  min-width: 0;
}

.simulator-add-row > select {
  width: 150px;
}

.simulator-member-editor {
  border: 1px solid var(--line);
  background: #10141a;
  border-radius: 11px;
  padding: 8px;
}

.simulator-member-editor .simulator-entity-row {
  background: none;
  border: 0;
  padding: 0;
}

.simulator-role-toggles {
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 0 34px;
  display: flex;
}

.simulator-role-toggles label {
  position: relative;
}

.simulator-role-toggles label input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.simulator-role-toggles label span {
  color: #8f99a9;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  border: 1px solid #303641;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  display: block;
}

.simulator-role-toggles label:has(input:checked) span {
  color: #ddd0b8;
  background: #d6ab6214;
  border-color: #d6ab6247;
}

.simulator-role-editor {
  border: 1px solid var(--line);
  background: #10141a;
  border-radius: 11px;
  overflow: hidden;
}

.simulator-role-editor summary {
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  list-style: none;
  display: grid;
}

.simulator-role-editor summary::-webkit-details-marker {
  display: none;
}

.simulator-role-editor summary:hover {
  background: #ffffff05;
}

.simulator-role-editor summary strong {
  color: #e6e9ef;
  font-size: 13px;
}

.simulator-role-editor summary small {
  color: #8a94a4;
  font-size: 12px;
}

.simulator-role-title {
  min-width: 0;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.simulator-role-title strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.simulator-role-editor summary > small {
  text-align: right;
  white-space: nowrap;
  min-width: 92px;
}

.simulator-role-tag {
  color: #aab3c0;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
  background: #8c97a912;
  border: 1px solid #8c97a93d;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 650;
}

.simulator-role-swatch {
  border-radius: 4px;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 1px #ffffff1f;
}

.simulator-disclosure {
  color: #8490a0;
  transform-origin: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  transition: transform .16s;
  display: grid;
}

.simulator-disclosure svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.simulator-role-editor[open] .simulator-disclosure {
  transform: rotate(180deg);
}

.simulator-role-editor__body {
  border-top: 1px solid var(--line);
  padding: 16px;
}

.simulator-role-settings {
  grid-template-columns: minmax(180px, 1fr) 80px 80px auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.simulator-role-settings input {
  height: 44px;
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

.simulator-role-settings input[type="color"] {
  width: 100%;
  height: 44px;
  padding: 5px;
}

.simulator-remove-role {
  color: #c28b90;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.simulator-permission-heading {
  border-top: 1px solid var(--line);
  gap: 3px;
  margin-top: 22px;
  padding-top: 18px;
  display: grid;
}

.simulator-permission-heading strong {
  color: #e0e4ea;
  font-size: 13px;
}

.simulator-permission-heading span {
  color: #8b95a5;
  font-size: 12px;
}

.simulator-permission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
  display: grid;
}

.simulator-permission-grid label {
  color: #a4adba;
  text-transform: capitalize;
  cursor: pointer;
  background: #0c1015;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 11px;
  font-size: 12px;
  display: flex;
}

.simulator-permission-grid label span {
  color: inherit;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: capitalize;
  line-height: 1.25;
}

.simulator-permission-grid input {
  flex: 0 0 15px;
  width: 15px;
  min-width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
}

.simulator-permission-grid label:has(input:checked) {
  color: #ded4c2;
  background: #d6ab620b;
  border-color: #d6ab621f;
}

.simulator-role-toggles input, .simulator-permission-grid input {
  accent-color: #d6ab62;
}

@media (max-width: 1050px) {
  .simulator-world-editor {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .simulator-world-detail {
    padding: 24px;
  }

  .simulator-permission-grid {
    grid-template-columns: 1fr;
  }

  .simulator-role-settings {
    grid-template-columns: minmax(160px, 1fr) 80px 80px;
  }

  .simulator-remove-role {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .simulator-suite-workspace {
    grid-template-columns: 190px minmax(330px, 1fr) 260px;
  }
}

@media (max-width: 900px) {
  .simulator-discord {
    grid-template-columns: 120px minmax(280px, 1fr) 250px;
  }

  .simulator-suite-workspace {
    grid-template-columns: 170px minmax(320px, 1fr);
    overflow: auto;
  }

  .simulator-suite-runner {
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-column: 1 / -1;
  }
}

.preview-chat, .preview-audit {
  gap: .8rem;
  display: grid;
}

.preview-chat {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.preview-audit {
  grid-template-rows: auto minmax(0, 1fr);
}

.preview-audit__header {
  gap: .2rem;
  display: grid;
}

.preview-chat__header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.preview-chat__meta {
  color: var(--muted);
  max-width: 46ch;
  margin-top: .35rem;
  font-size: .92rem;
}

.preview-event-row {
  flex-wrap: wrap;
  gap: .65rem;
  display: flex;
}

.preview-chat__timeline {
  gap: .85rem;
  min-height: 150px;
  max-height: 220px;
  padding-right: .35rem;
  display: grid;
  overflow-y: auto;
}

.preview-chat__composer {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  display: grid;
}

.chat-bubble {
  border: 1px solid var(--line);
  background: #0c0f16e0;
  border-radius: 18px;
  gap: .42rem;
  padding: .95rem 1rem;
  display: grid;
}

.chat-bubble span {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .74rem;
}

.chat-bubble strong {
  max-width: 56ch;
  line-height: 1.55;
}

.chat-embed {
  border: 1px solid var(--line);
  border-left: 4px solid var(--embed-accent, #5865f2);
  background: #11151d;
  border-radius: 4px 10px 10px 4px;
  gap: .35rem;
  max-width: 560px;
  padding: .8rem .9rem;
  display: grid;
}

.chat-embed strong {
  font-size: .95rem;
}

.chat-embed p {
  color: #c9cfda;
  white-space: pre-wrap;
  font-size: .86rem;
  line-height: 1.5;
}

.chat-embed__author {
  color: #e8ebf1;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
}

.chat-embed__author img {
  object-fit: cover;
  border-radius: 50%;
  width: 22px;
  height: 22px;
}

.chat-embed__author a, .chat-embed__title {
  color: #8ab4f8;
  text-decoration: none;
}

.chat-embed__author a:hover, .chat-embed__title:hover {
  text-decoration: underline;
}

.chat-embed__body {
  min-width: 0;
}

.chat-embed__thumbnail {
  float: right;
  object-fit: cover;
  border-radius: 7px;
  width: 76px;
  height: 76px;
  margin: 0 0 .6rem .8rem;
}

.chat-embed__image {
  object-fit: contain;
  border-radius: 7px;
  width: auto;
  max-width: 100%;
  max-height: 360px;
  margin-top: .35rem;
  display: block;
}

.chat-embed__footer {
  color: #9da6b6;
  font-size: .68rem;
}

.chat-bubble--user {
  background: #b98a4f1f;
  border-color: #b98a4f38;
}

.chat-bubble--bot {
  background: #4dc7b01a;
  border-color: #4dc7b038;
}

.preview-audit__list {
  gap: .85rem;
  max-height: 220px;
  padding-right: .35rem;
  display: grid;
  overflow-y: auto;
}

.audit-entry {
  border: 1px solid var(--line);
  background: #0c0f16db;
  border-radius: 18px;
  gap: .42rem;
  padding: .95rem 1rem;
  display: grid;
}

.audit-entry strong {
  font-size: .95rem;
}

.audit-entry span {
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.55;
}

.audit-entry--success {
  border-color: #58c59a3d;
}

.audit-entry--warning {
  border-color: #e7bc673d;
}

.inline-status, .muted-copy {
  color: var(--muted);
}

.issue.warning {
  border-color: #e7bc6738;
}

.issue.warning strong, .issue.warning span {
  color: #f3d28d;
}

.issue.error {
  border-color: #ef707a3d;
}

.issue.error strong, .issue.error span {
  color: #ffb8c0;
}

.react-flow {
  background: none;
}

.react-flow__renderer, .react-flow__pane {
  cursor: default;
}

.react-flow__edge-path {
  stroke-linecap: round;
}

.react-flow__connection-path {
  stroke: var(--accent);
  stroke-width: 2.2px;
}

.react-flow__controls, .react-flow__minimap {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  background: #0d1017e6 !important;
  border-radius: 11px !important;
}

.react-flow__controls-button {
  border-bottom: 1px solid var(--line) !important;
  color: var(--foreground) !important;
  background: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.react-flow__controls-button:last-child {
  border-bottom: 0 !important;
}

.studio-controls {
  top: auto !important;
  bottom: .9rem !important;
}

.react-flow__controls-button:hover {
  background: #ffffff0d !important;
}

.react-flow__minimap-mask {
  fill: #07080cb8;
}

.flow-card {
  border: 1px solid var(--line);
  width: 264px;
  min-height: 136px;
  color: var(--foreground);
  background: linear-gradient(#141822f7, #0f121af7);
  border-radius: 20px;
  gap: .42rem;
  padding: .9rem .9rem .84rem;
  display: grid;
  position: relative;
  box-shadow: 0 12px 26px #00000038;
}

.flow-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.flow-card.is-selected {
  border-color: #c7a36a70;
  box-shadow: 0 0 0 1px #c7a36a3d, 0 18px 36px #00000047;
}

.canvas-snap-guide {
  z-index: 18;
  pointer-events: none;
  background: #c7a36a09;
  border: 2px dotted #c7a36ab8;
  border-radius: 20px;
  position: absolute;
  box-shadow: 0 0 0 3px #c7a36a06;
}

.flow-card.has-errors {
  border-color: #f26574b8;
  box-shadow: 0 0 0 1px #f265742e;
}

.flow-card__error-badge {
  color: #ff9ca7;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #f2657424;
  border-radius: 999px;
  justify-self: start;
  padding: .2rem .5rem;
  font-size: .7rem;
}

.flow-card--trigger {
  border-color: #efb16342;
}

.flow-card--condition {
  border-color: #7b68ee47;
}

.flow-card__type {
  color: #cfd5e3;
}

.flow-card__summary {
  gap: .25rem;
  display: grid;
}

.flow-card__inputs {
  justify-items: start;
  gap: .45rem;
  display: grid;
}

.flow-card__flow-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
  margin-top: .1rem;
  display: grid;
}

.flow-card__data-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .35rem .65rem;
  margin: .25rem -.2rem 0;
  display: grid;
}

.flow-data-port {
  color: #cfd5e3;
  align-items: center;
  min-width: 0;
  min-height: 2rem;
  padding: .18rem 0;
  font-size: .72rem;
  line-height: 1.25;
  display: flex;
  position: relative;
  overflow: visible;
}

.flow-data-port > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.flow-data-port--input .react-flow__handle-left {
  left: -.7rem !important;
}

.flow-data-port--output .react-flow__handle-right {
  right: -.7rem !important;
}

.flow-data-port--output {
  text-align: right;
  grid-column: 2;
  justify-content: flex-end;
}

.flow-card__summary span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.flow-card__footer, .flow-branches {
  justify-items: end;
  gap: .55rem;
  margin: 0;
  padding: 0;
  display: grid;
}

.flow-branches {
  justify-content: stretch;
}

.flow-port {
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #ffffff0d;
  border-radius: 999px;
  align-items: center;
  padding: .32rem .62rem;
  font-size: .72rem;
  display: inline-flex;
  position: relative;
}

.flow-port--control {
  color: #e9c187;
}

.flow-port--text {
  color: #96e5d7;
}

.flow-port--data {
  color: #8bded8;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.flow-card__inputs .react-flow__handle-left {
  left: -.9rem !important;
}

.flow-card__footer .react-flow__handle-right, .flow-branches .react-flow__handle-right {
  right: -.9rem !important;
}

.flow-port--true {
  color: #93ebbb;
}

.flow-port--false {
  color: #f3a0aa;
}

.flow-handle {
  border: 2px solid #0d1017 !important;
  width: 16px !important;
  height: 16px !important;
}

.flow-handle--control-in, .flow-handle--control-out {
  background: var(--trigger) !important;
}

.flow-handle--text-in, .flow-handle--text-out {
  background: var(--content-edge) !important;
}

.flow-handle--data {
  background: #61d7ce !important;
}

.port-manager {
  border-top: 1px solid var(--line);
  gap: .85rem;
  margin-top: .9rem;
  padding-top: .9rem;
  display: grid;
}

.port-manager__heading {
  justify-content: space-between;
  align-items: center;
  gap: .55rem;
  display: flex;
}

.port-manager__heading p, .port-group__heading span {
  color: var(--muted);
  margin: 0;
  font-size: .76rem;
  line-height: 1.4;
}

.port-manager__groups, .port-group, .port-manager__list {
  display: grid;
}

.port-manager__groups {
  gap: 1rem;
}

.port-group {
  gap: .5rem;
}

.port-group__heading {
  gap: .08rem;
  padding: 0 .12rem;
  display: grid;
}

.port-group__heading strong {
  font-size: .82rem;
}

.port-manager__list {
  gap: .62rem;
}

.port-card {
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 14px;
  gap: .58rem;
  min-width: 0;
  padding: .62rem;
  display: grid;
}

.port-card.has-errors {
  background: #f265740f;
  border-color: #f265749e;
}

.port-card__header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  display: grid;
}

.port-card__identity {
  flex-wrap: wrap;
  align-items: center;
  gap: .32rem .42rem;
  min-width: 0;
  display: flex;
}

.port-card__identity strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: .86rem;
  overflow: hidden;
}

.port-card__type {
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
  color: var(--muted);
  background: #ffffff0d;
  border-radius: 999px;
  align-items: center;
  padding: .18rem .4rem;
  font-size: .62rem;
  line-height: 1;
  display: inline-flex;
}

.port-visibility {
  min-width: 4.5rem;
  color: var(--muted);
  background: #ffffff09;
  border-color: #ffffff1a;
  padding: .42rem .58rem;
  font-size: .72rem;
}

.port-visibility.is-visible {
  color: #9de7e1;
  background: #61d7ce1c;
  border-color: #61d7ce5c;
}

.port-card__binding, .port-card__custom-settings {
  gap: .58rem;
  display: grid;
}

.port-card__binding label, .port-card__custom-settings label {
  min-width: 0;
}

.port-card__binding select, .port-card__binding input, .port-card__custom-settings select, .port-card__custom-settings input {
  width: 100%;
  max-width: none;
}

.port-card__actions {
  flex-wrap: wrap;
  gap: .45rem;
  display: flex;
}

.port-manager__issue {
  color: var(--muted);
  font-size: .75rem;
}

.port-manager__issue.is-error {
  color: #ff9ca7;
}

.message-template-variables {
  gap: .35rem;
  margin-top: .55rem;
  display: grid;
}

.flow-handle--true {
  background: var(--branch-true) !important;
}

.flow-handle--false {
  background: var(--branch-false) !important;
}

.studio-deck__tabs {
  flex-wrap: wrap;
  gap: .55rem;
  display: flex;
}

.studio-deck__tab {
  border-color: var(--line);
  color: var(--muted);
  background: #ffffff08;
  padding: .72rem .9rem;
}

.studio-deck__tab.is-active {
  background: var(--accent-soft);
  color: var(--foreground);
  border-color: #c7a36a47;
}

.studio-deck__body {
  gap: .8rem;
  min-height: 0;
  padding: .9rem;
  display: grid;
  overflow-y: auto;
}

.studio-deck__body:has( > .simulator-workspace) {
  background: #0d1015;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.studio-deck__body:has( > .studio-ai-workspace) {
  background: #0d1015;
  gap: 0;
  padding: 0;
  overflow: auto;
}

.studio-ai-workspace {
  background: #0d1015;
  grid-template-columns: minmax(180px, .38fr) minmax(360px, 1fr);
  align-content: start;
  gap: 14px 24px;
  min-height: 0;
  padding: 18px clamp(18px, 3vw, 40px) 24px;
  display: grid;
}

.studio-ai-workspace__intro {
  align-content: start;
  gap: 6px;
  max-width: 360px;
  display: grid;
}

.studio-ai-workspace__intro h3 {
  color: #f0f2f6;
  margin: 0;
  font-size: 20px;
}

.studio-ai-workspace__intro p {
  color: #939dac;
  max-width: 320px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.studio-ai-workspace__prompt {
  gap: 7px;
  max-width: 920px;
  display: grid;
}

.studio-ai-workspace__prompt > span {
  color: #aab2c0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}

.studio-ai-workspace__prompt textarea {
  resize: vertical;
  width: 100%;
  min-height: 92px;
}

.studio-ai-workspace__actions {
  grid-column: 2;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  display: flex;
}

.studio-ai-workspace__actions span {
  color: #7f8999;
  font-size: 11px;
}

.studio-ai-workspace__error, .studio-ai-workspace__message {
  border: 1px solid;
  border-radius: 8px;
  grid-column: 2;
  max-width: 920px;
  padding: 11px 13px;
  font-size: 12px;
}

.studio-ai-workspace__error {
  color: #ff9c9c;
  background: #ff5b5b0f;
}

.studio-ai-workspace__message {
  color: #9dd9b0;
  background: #57f2870f;
}

.studio-palette__body, .studio-inspector__body, .quick-add__results, .preview-chat__timeline, .preview-audit__list, .studio-deck__body {
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

.studio-palette__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.studio-inspector__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.quick-add__results::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.preview-chat__timeline::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.preview-audit__list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.studio-deck__body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.header-actions, .beta-revoke-form {
  align-items: center;
  gap: .65rem;
  display: flex;
}

.header-actions form {
  margin: 0;
}

.beta-admin-grid {
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.beta-policy-card, .beta-operator-card, .beta-plan-card, .beta-access-list {
  gap: .9rem;
  display: grid;
}

.beta-policy-card label {
  gap: .45rem;
  display: grid;
}

.beta-policy-card button {
  justify-self: start;
}

.beta-status-open {
  color: #8bd6b0;
  border-color: #53be8959;
}

.beta-identity {
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 12px;
  gap: .25rem;
  padding: .9rem;
  display: grid;
}

.beta-identity span, .beta-grant span, .beta-grant small {
  color: var(--muted);
}

.admin-plan-form {
  border-top: 1px solid var(--line);
  gap: .85rem;
  padding-top: .9rem;
  display: grid;
}

.admin-plan-form__heading {
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  display: flex;
}

.admin-plan-form__heading span {
  color: var(--muted);
  font-size: .82rem;
}

.admin-plan-form__fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  display: grid;
}

.admin-plan-form button {
  justify-self: start;
}

.beta-add-form, .beta-plan-card, .beta-access-list {
  grid-column: 1 / -1;
}

.beta-grant {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  display: flex;
}

.beta-grant__details {
  gap: .3rem;
  display: grid;
}

.beta-grant__details p {
  margin: .25rem 0 0;
}

.beta-revoke-form {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.beta-revoke-form input {
  min-width: min(300px, 100%);
}

.beta-admin-status {
  grid-column: 1 / -1;
  position: sticky;
  bottom: 1rem;
  box-shadow: 0 12px 36px #00000059;
}

.aws-admin-panel {
  gap: 1rem;
  margin-top: 1rem;
  display: grid;
}

.aws-admin-panel > p {
  max-width: 760px;
}

.aws-credential-summary {
  border: 1px solid var(--line);
  background: #ffffff05;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  display: flex;
}

.aws-credential-summary span, .aws-credential-form small {
  color: var(--muted);
}

.aws-model-control {
  align-items: end;
  gap: .75rem;
  max-width: 560px;
  display: flex;
}

.aws-model-control label {
  flex: 1;
  gap: .4rem;
  display: grid;
}

.aws-model-control label > span {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.aws-model-control select {
  width: 100%;
}

.aws-credential-form {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.aws-credential-form label:last-of-type, .aws-credential-form button {
  grid-column: 1 / -1;
}

.aws-credential-form button, .aws-admin-panel > .ghost-button {
  justify-self: start;
}

.aws-remove-form {
  justify-content: flex-start;
}

@media (max-width: 1100px) {
  .workflow-appbar {
    grid-template-columns: minmax(180px, 1fr) auto;
  }

  .workflow-appbar__context {
    display: none;
  }

  .studio-shell, .studio-shell[data-inspector-open="false"] {
    grid-template-columns: clamp(320px, 36vw, 380px) minmax(0, 1fr) 0;
    position: relative;
  }

  .studio-shell[data-library-open="false"], .studio-shell[data-library-open="false"][data-inspector-open="false"] {
    grid-template-columns: 0 minmax(0, 1fr) 0;
  }

  .studio-inspector {
    z-index: 20;
    width: min(360px, 92vw);
    position: absolute;
    top: 0;
    bottom: 52px;
    right: 0;
    box-shadow: -18px 0 44px #00000059;
  }

  .studio-shell[data-inspector-open="false"] .studio-inspector {
    display: none;
  }
}

@media (max-width: 760px) {
  .aws-credential-form, .beta-admin-grid, .admin-plan-form__fields, .studio-ai-workspace {
    grid-template-columns: 1fr;
  }

  .studio-ai-workspace__actions, .studio-ai-workspace__error, .studio-ai-workspace__message {
    grid-column: 1;
  }

  .beta-grant {
    flex-direction: column;
    align-items: stretch;
  }

  .beta-revoke-form {
    justify-content: flex-start;
  }

  .auth-grid, .inline-form, .overview-grid, .deploy-grid, .preview-grid, .preview-workspace, .workflow-settings-grid {
    grid-template-columns: 1fr;
  }

  .workflow-page {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .header-row {
    flex-wrap: wrap;
  }

  .header-row > .nav-pill {
    order: -1;
  }

  .workflow-appbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: .65rem;
  }

  .workflow-appbar__identity .eyebrow, .workflow-appbar .nav-pill:not(.active) {
    display: none;
  }

  .workflow-appbar__identity h1 {
    max-width: 42vw;
    font-size: .98rem;
  }

  .studio-shell, .studio-shell[data-inspector-open="false"], .studio-shell[data-library-open="false"], .studio-shell[data-library-open="false"][data-inspector-open="false"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-palette {
    z-index: 25;
    width: min(420px, 94vw);
    position: absolute;
    inset: 0 auto 52px 0;
    box-shadow: 18px 0 44px #0006;
  }

  .studio-shell[data-library-open="false"] .studio-palette {
    width: 0;
    box-shadow: none;
    display: grid;
  }

  .studio-canvas-panel {
    grid-column: 1;
  }

  .studio-panel__header--canvas {
    gap: .5rem;
  }

  .studio-heading--canvas {
    display: none;
  }

  .studio-shell[data-workbench-open="true"] {
    grid-template-rows: minmax(260px, 1fr) minmax(300px, 52vh);
  }

  .studio-shell[data-workbench-open="true"][data-workbench-panel="simulate"] {
    grid-template-rows: 0 minmax(0, 1fr);
  }
}

