/* Reversible, display-only code stream. Project source never executes here. */
.build-code-stream[hidden], .build-code-stream [hidden] { display: none !important; }
.build-code-stream {
  --code-dock-space: 260px;
  position: absolute; inset: 0; z-index: 6; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 14% 8%, #18314a 0, transparent 54%), radial-gradient(ellipse at 95% 70%, #153932 0, transparent 60%), #0c1823;
  color: #e5edf7; font-family: system-ui, -apple-system, sans-serif; color-scheme: dark;
}
.build-code-stream :where(*) { font-family: inherit; }
.has-build-code-stream > #outputviewmode, .has-build-code-stream > #workspaceCanvasLoading { visibility: hidden !important; pointer-events: none !important; }
.build-code-card { position: absolute; top: 80px; bottom: var(--code-dock-space); left: max(24px, calc((100% - 1140px)/2)); right: max(24px, calc((100% - 1140px)/2)); min-height: 150px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #bed7ed26; border-radius: 22px; background: #102130d9; box-shadow: 0 24px 90px #0003, inset 0 1px #fff1; backdrop-filter: blur(18px); }
.build-code-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px 16px; flex-shrink: 0; }
.build-code-heading h2 { margin: 0 0 7px; font-size: clamp(18px, 2vw, 25px); letter-spacing: -.6px; font-weight: 600; color: #f2f7ff; }
.build-code-notice { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 500; letter-spacing: .15px; color: #b8d3e7; }
.build-code-dot { width: 6px; height: 6px; border-radius: 50%; background: #8ae4c4; box-shadow: 0 0 14px #78deb73b; flex-shrink: 0; }
.build-code-time { color: #a3b8ca; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.build-code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 24px 13px; flex-shrink: 0; }
.build-code-stage { font-size: 12px; color: #9de0cc; margin: 0; }
.build-code-follow { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #95afc1; white-space: nowrap; }
.build-code-resume { border: 1px solid #bcdaeb45; border-radius: 8px; background: #aacdf317; padding: 6px 9px; color: #eef8ff; font: 11px system-ui; cursor: pointer; }
.build-code-stream button:focus-visible, .build-code-viewport:focus-visible { outline: 2px solid #9ce5cf; outline-offset: -3px; }
.build-code-tabs { flex-shrink: 0; display: flex; min-height: 37px; overflow-x: auto; overscroll-behavior: contain; border-top: 1px solid #a1c5df17; border-bottom: 1px solid #a1c5df1f; background: #09172355; padding: 0 13px; scrollbar-width: thin; }
.build-code-tab { flex-shrink: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #9fb5c7; padding: 11px 14px 10px; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.build-code-tab[aria-selected="true"] { color: #e2f6f1; background: #82becc0c; border-bottom-color: #88d6bc; }
.build-code-viewport { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-color: #536d806e transparent; scrollbar-width: thin; padding: 18px 0 25px; background: #07111c38; outline: none; }
.build-code-lines { min-width: 100%; width: max-content; direction: ltr; unicode-bidi: isolate; font: 12px/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.build-code-line { display: flex; min-height: 22px; padding-right: 24px; }
.build-code-line.is-new { background: linear-gradient(90deg, #7acfba0a, transparent 85%); }
.build-code-line-number { width: 56px; flex-shrink: 0; padding-right: 20px; box-sizing: border-box; text-align: right; color: #69859b; user-select: none; font-size: 10px; }
.build-code-line-content { white-space: pre; color: #ccdce9; }
.build-code-token-keyword { color: #c8aeef; }
.build-code-token-string { color: #a0dcb6; }
.build-code-token-number { color: #f2c991; }
.build-code-token-comment { color: #88a4b8; font-style: italic; }
.build-code-empty { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.build-code-empty-mark { font: 28px ui-monospace, monospace; color: #a9dbc9; letter-spacing: 5px; margin-bottom: 14px; }
.build-code-empty strong { font-size: 14px; font-weight: 500; color: #d9e7f1; }
.build-code-empty p { font-size: 12px; line-height: 1.6; color: #91adbf; max-width: 400px; margin: 9px 0 0; }
.build-code-footer { flex-shrink: 0; padding: 11px 24px 13px; border-top: 1px solid #a1c5df1f; background: #122330aa; }
.build-code-footer-main { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; color: #bdd0df; }
.build-code-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.build-code-counts { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.build-code-tail, .build-code-long-wait { margin: 6px 0 0; font-size: 10px; line-height: 1.45; color: #8ba6ba; }
.build-code-long-wait { color: #d6cbb1; }
@media (max-width: 620px) {
  .build-code-card { top: 72px; left: 10px; right: 10px; border-radius: 17px; }
  .build-code-heading { padding: 14px 14px 12px; align-items: flex-start; gap: 10px; }
  .build-code-heading h2 { font-size: 18px; letter-spacing: -.3px; }
  .build-code-notice { font-size: 9px; gap: 5px; }
  .build-code-time { font-size: 9px; margin-top: 5px; }
  .build-code-toolbar { padding: 0 14px 10px; gap: 6px; }
  .build-code-stage { font-size: 10px; }
  .build-code-follow { font-size: 9px; }
  .build-code-follow > span { display: none; }
  .build-code-tab { font-size: 10px; padding: 10px; max-width: 150px; }
  .build-code-lines { font-size: 10px; line-height: 1.9; }
  .build-code-line-number { width: 37px; padding-right: 11px; font-size: 9px; }
  .build-code-footer { padding: 9px 14px 10px; }
  .build-code-footer-main { flex-wrap: wrap; gap: 3px; font-size: 9px; }
  .build-code-caption { width: 100%; }
  .build-code-tail, .build-code-long-wait { font-size: 9px; }
  .build-code-empty { padding: 12px; }
  .build-code-empty-mark { font-size: 22px; margin-bottom: 8px; }
  .build-code-empty strong { font-size: 12px; }
  .build-code-empty p { font-size: 10px; }
}
@media (max-height: 650px) { .build-code-heading { padding-top: 11px; padding-bottom: 8px; } .build-code-heading h2 { font-size: 17px; } .build-code-tail { display: none; } }
@media (prefers-reduced-motion: reduce) { .build-code-stream *, .build-code-stream *::before, .build-code-stream *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.build-code-stream.is-embedded { position: relative; inset: auto; height: clamp(230px, 42dvh, 420px); width: 100%; border-radius: 14px; margin-top: 12px; background: #102130; }
.build-code-stream.is-embedded .build-code-card { position: absolute; inset: 0; min-height: 0; border-radius: 14px; border-color: transparent; }
.build-code-stream.is-embedded .build-code-heading { display: none; }
.build-code-stream.is-embedded .build-code-toolbar { padding: 12px 14px; }
.build-code-stream.is-embedded .build-code-footer { padding: 9px 14px; }
.build-code-stream.is-embedded .build-code-tail, .build-code-stream.is-embedded .build-code-long-wait { display: none; }
.build-code-stream.is-embedded .build-code-card { font-family: system-ui, -apple-system, sans-serif; }
.build-code-stream.is-embedded .build-code-lines, .build-code-stream.is-embedded .build-code-lines * { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.build-code-stream.is-embedded .build-code-stage { color: #9de0cc; }
.build-code-stream.is-embedded .build-code-empty p { color: #91adbf; }
