@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap");

:root {
  --ui-scale: 0.8;
  --workspace-panel-gap: 14px;
  --top-band-height: 168px;
  --footer-height: 28px;
  --chat-head-height: 54px;
  --action-stream-height: 88px;
  --action-stream-side-height: 148px;
  --action-stream-offset: 34px;
  --action-stream-font-size: 14.33px;
  --action-stream-label-size: 11px;
  --chat-lock-clearance: 14px;
  --message-fade-top: 74px;
  --composer-height: 210px;
  --results-panel-height: 188px;
  --files-module-header-height: 22px;
  --workspace-divider-width: 18px;
  --files-column-width: clamp(460px, 43vw, 760px);
  --font-ui: "IBM Plex Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --bg: #05070b;
  --panel: #0b0f15;
  --panel-alt: #10161f;
  --panel-soft: #0d131c;
  --line: #1f2a36;
  --line-strong: #334457;
  --text: #e6eef8;
  --muted: #90a0b2;
  --accent: #67e8f9;
  --artifact-title: color-mix(in srgb, var(--accent) 42%, #d6dee8 58%);
  --accent-soft: rgba(103, 232, 249, 0.12);
  --action-icon-button-size: 34px;
  --action-icon-svg-size: 19px;
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

html {
  zoom: var(--ui-scale);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.08), transparent 24%),
    linear-gradient(180deg, #060910 0%, #04070b 100%);
  color: var(--text);
  font-family: var(--font-ui);
}

/* Keep a non-zoom fallback for engines that ignore CSS zoom. */
@supports not (zoom: 1) {
  body {
    transform: scale(var(--ui-scale));
    transform-origin: top left;
    width: calc(100% / var(--ui-scale));
  }
}

.shell {
  width: min(1840px, 100%);
  margin: 0 auto;
  padding: 12px 18px 18px;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  grid-template-rows: var(--top-band-height) minmax(0, 1fr) var(--footer-height);
  align-items: stretch;
  gap: 10px;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .shell {
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
  }
}

.topbar {
  grid-row: 3;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--footer-height);
  height: var(--footer-height);
  max-height: var(--footer-height);
  gap: 8px 14px;
  padding-top: 1px;
  opacity: 0.86;
}

.topbar__center {
  min-width: min(62vw, 78ch);
  width: min(62vw, 78ch);
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: center;
  overflow: hidden;
}

.topbar__runtimeMeta {
  justify-content: center;
  gap: 4px 10px;
  width: auto;
  max-width: min(46vw, 58ch);
}

.topbar__title {
  color: rgba(157, 169, 183, 0.56);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.topbar__sub,
.topbar__hint {
  color: rgba(144, 160, 178, 0.5);
  font-size: 11px;
  line-height: 1.35;
}

.topbar__sub {
  display: none;
}

.topbar__meta {
  display: grid;
  gap: 0;
  min-width: 0;
  justify-self: start;
}

.topbar__hint {
  letter-spacing: 0.06em;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.topbar__session {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 0 1 auto;
}

.topbar__session.is-empty {
  visibility: hidden;
}

.topbar__sessionButton {
  appearance: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  max-width: min(32vw, 42ch);
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  cursor: copy;
  text-align: center;
  opacity: 0.78;
  transition: opacity 0.12s ease, color 0.12s ease;
}

.topbar__sessionButton:hover {
  opacity: 1;
}

.topbar__sessionButton:focus-visible {
  outline: none;
  opacity: 1;
}

.topbar__sessionLabel,
.topbar__sessionValue {
  font-size: 9px;
  line-height: 1.15;
  font-family: var(--font-mono);
}

.topbar__sessionLabel {
  flex: 0 0 auto;
  color: rgba(160, 174, 191, 0.42);
  letter-spacing: 0.06em;
}

.topbar__sessionValue {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(201, 218, 234, 0.74);
  letter-spacing: 0.025em;
}

.topbar .runtimeMeta__item {
  color: rgba(188, 199, 212, 0.46);
}

.topbar .runtimeMeta__label {
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(160, 174, 191, 0.34);
}

.topbar .runtimeMeta__value {
  font-size: 10px;
  color: rgba(201, 218, 234, 0.68);
}

.topbar .runtimeMeta__item--model .runtimeMeta__value,
.topbar .runtimeMeta__item--reasoning .runtimeMeta__value,
.topbar .runtimeMeta__item--status .runtimeMeta__value,
.topbar .runtimeMeta__item--status-live .runtimeMeta__value,
.topbar .runtimeMeta__item--status-ready .runtimeMeta__value {
  color: rgba(201, 218, 234, 0.68);
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.actionFeed {
  grid-row: 1;
  min-height: var(--top-band-height);
  height: var(--top-band-height);
  max-height: var(--top-band-height);
}

.actionBeacon {
  --action-accent: #67e8f9;
  --action-accent-soft: rgba(103, 232, 249, 0.18);
  --action-accent-glow: rgba(103, 232, 249, 0.32);
  --action-radius: 18px;
  --action-copy-row-height: 22px;
  --action-copy-row-gap: 2px;
  --action-copy-max-height: 132px;
  --action-visual-width: clamp(172px, 20vw, 210px);
  --action-aside-width: clamp(132px, 17vw, 176px);
  --action-zone-gap: 10px;
  --action-pad-top: 16px;
  --action-pad-right: 18px;
  --action-pad-bottom: 14px;
  --action-pad-left: 18px;
  position: relative;
  overflow: hidden;
  min-height: 138px;
  border: 1px solid rgba(144, 160, 178, 0.18);
  border-radius: var(--action-radius);
  background:
    radial-gradient(circle at top left, var(--action-accent-soft), transparent 26%),
    radial-gradient(circle at right center, color-mix(in srgb, var(--action-accent) 12%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(16, 22, 31, 0.96), rgba(9, 13, 19, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 24px 60px rgba(0, 0, 0, 0.24),
    0 0 44px var(--action-accent-glow);
  padding: var(--action-pad-top) var(--action-pad-right) var(--action-pad-bottom) var(--action-pad-left);
  min-height: var(--top-band-height);
  height: var(--top-band-height);
  max-height: var(--top-band-height);
}

.actionBeacon--idle {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 0 20px 50px rgba(0, 0, 0, 0.18);
}

.actionBeacon__wash {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, var(--action-accent-glow), transparent 70%);
  opacity: 0.44;
  filter: blur(10px);
}

.actionBeacon__wash--one {
  width: 180px;
  height: 180px;
  top: -54px;
  right: 10%;
  animation: actionFloat 7.5s ease-in-out infinite;
}

.actionBeacon__wash--two {
  width: 140px;
  height: 140px;
  bottom: -58px;
  left: 28%;
  animation: actionFloat 6.2s ease-in-out infinite reverse;
}

.actionBeacon__layout,
.actionBeacon__visual,
.actionBeacon__summary,
.actionBeacon__aside,
.actionBeacon__copy,
.vendorLane {
  position: relative;
  z-index: 1;
}

.actionBeacon__layout {
  position: relative;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: var(--action-visual-width) minmax(0, 0.62fr) minmax(0, 1.38fr) var(--action-aside-width);
  grid-template-areas: "visual summary copy aside";
  grid-template-rows: minmax(0, 1fr);
  row-gap: 6px;
  column-gap: var(--action-zone-gap);
  align-items: stretch;
  align-content: center;
  width: 100%;
  overflow: visible;
  min-width: 0;
}

.actionBeacon__visual {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow: visible;
  grid-area: visual;
  grid-row: 1;
  align-self: stretch;
  transform: none;
}

.actionSceneHost {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.actionScene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.actionScene--active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
  pointer-events: auto;
}

.actionScene--preparing {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.98);
  filter: blur(12px);
}

.actionScene--leaving {
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.985);
  filter: blur(12px);
  pointer-events: none;
}

.actionBeacon__visual .actionScene,
.actionBeacon__summary .actionScene,
.actionBeacon__aside .actionScene {
  display: flex;
}

.actionBeacon__visual .actionScene {
  overflow: visible;
}

.actionBeacon__summary .actionScene {
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.actionBeacon__aside .actionScene {
  align-items: flex-start;
  justify-content: flex-end;
}

.actionBeacon__visualInner {
  position: relative;
  min-height: 104px;
  height: 100%;
  width: 100%;
  overflow: visible;
}

.actionBeacon__visualInner--solo {
  min-height: 116px;
}

.actionBeacon__visual::before {
  content: "";
  position: absolute;
  inset:
    calc(-1 * var(--action-pad-top))
    -8%
    calc(-1 * var(--action-pad-bottom))
    calc(-1 * var(--action-pad-left));
  border-top-left-radius: calc(var(--action-radius) - 1px);
  border-bottom-left-radius: calc(var(--action-radius) - 1px);
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 54%, color-mix(in srgb, var(--action-accent) 14%, transparent) 0%, color-mix(in srgb, var(--action-accent) 8%, transparent) 16%, transparent 38%),
    radial-gradient(circle at 26% 50%, rgba(255, 255, 255, 0.022), transparent 26%);
  filter: blur(16px);
  opacity: 0.36;
}

.actionBeacon__aside {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  pointer-events: auto;
  isolation: isolate;
  z-index: 6;
  transform: none;
  grid-area: aside;
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
}

.actionBeacon__summary {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0 4px 0 0;
  pointer-events: none;
  z-index: 8;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  grid-area: summary;
  grid-row: auto;
  align-self: stretch;
}

.actionBeacon__summaryIdle {
  opacity: 0;
}

.actionBeacon__copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  text-align: left;
  padding: 2px 18px 0 28px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  grid-area: copy;
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  justify-content: flex-start;
  gap: 0;
}

.actionBeacon__copy--sparse {
  justify-content: center;
}

.actionBeacon__copy--single,
.actionBeacon__copy--compact {
  justify-content: center;
}

.actionBeacon__copy--shortOverlays {
  overflow: visible;
}

.actionBeacon__copy--idle {
  min-height: 0;
  opacity: 0;
}

.actionWire {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
  height: min(100%, var(--action-copy-max-height));
  max-height: var(--action-copy-max-height);
  width: 100%;
  min-width: 0;
  padding: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
  overflow: hidden;
  gap: var(--action-copy-row-gap);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 4%, #000 18%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 4%, #000 18%, #000 84%, transparent 100%);
}

.actionWire--single,
.actionWire--sparse {
  justify-content: center;
}

.actionWire--single {
  mask-image: none;
  -webkit-mask-image: none;
  overflow: visible;
}

.actionWire--sparse {
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.actionWire__row {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: var(--action-copy-row-height);
  max-height: var(--action-copy-row-height);
  height: var(--action-copy-row-height);
  min-width: 0;
  width: 100%;
  opacity: var(--wire-opacity, 1);
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.actionWire__row.is-short {
  overflow: visible;
  z-index: 4;
}

.actionWire__row.is-source-hidden {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.actionWire__row.is-live {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--wire-accent, #8de9ff) 18%, transparent));
}

.actionWire__source,
.actionWire__text {
  font-family: var(--font-mono);
}

.actionWire__source {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.12;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wire-accent, #8de9ff) 62%, rgba(236, 246, 255, 0.88));
  text-shadow: 0 0 10px color-mix(in srgb, var(--wire-accent, #8de9ff) 10%, transparent);
  opacity: 0.9;
  transform: translateY(0);
}

.actionWire__source::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-left: 9px;
  vertical-align: middle;
  background: linear-gradient(90deg, color-mix(in srgb, var(--wire-accent, #8de9ff) 42%, transparent), transparent);
  opacity: 0.72;
}

.actionWire__text {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 15.33px;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: none;
  color: color-mix(in srgb, var(--wire-accent, #8de9ff) 58%, #edf8ff 42%);
  text-shadow: 0 0 14px color-mix(in srgb, var(--wire-accent, #8de9ff) 10%, transparent);
  white-space: nowrap;
  overflow-wrap: anywhere;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.actionWire__row.is-short .actionWire__text {
  position: relative;
  overflow: visible;
  text-overflow: clip;
  width: max-content;
  max-width: none;
  z-index: 3;
  font-size: 15.33px;
}

.actionWire__text--providerSnippet {
  font-size: 14.33px;
  line-height: 1.14;
  color: color-mix(in srgb, var(--wire-accent, #8de9ff) 86%, #f5fbff 14%);
  text-shadow:
    0 0 16px color-mix(in srgb, var(--wire-accent, #8de9ff) 22%, transparent),
    0 0 28px color-mix(in srgb, var(--wire-accent, #8de9ff) 10%, transparent);
}

.actionWire__text strong {
  color: inherit;
  font-weight: 800;
  text-shadow: inherit;
}

.actionWire__source--system {
  color: rgba(211, 221, 232, 0.78);
  text-shadow: none;
}

.actionWire__source--system::after {
  background: linear-gradient(90deg, rgba(176, 188, 201, 0.28), transparent);
}

.actionStageCopy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  pointer-events: none;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.actionBeacon__summary .actionScene,
.actionBeacon__summary .actionSceneHost {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.actionBeacon__summary::before,
.actionBeacon__summary::after,
.actionStageCopy::before,
.actionStageCopy::after {
  display: none;
  content: none;
}

.actionStageCopy__label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--action-accent) 54%, #eef9ff 46%);
  text-shadow: 0 0 14px color-mix(in srgb, var(--action-accent) 16%, transparent);
  white-space: nowrap;
}

.actionStageCopy__headline {
  font-family: var(--font-mono);
  font-size: clamp(42px, 4.8vw, 60px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #effbff;
  text-shadow:
    0 0 34px color-mix(in srgb, var(--action-accent) 28%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  transform-origin: left center;
  will-change: transform, filter, opacity;
  animation:
    actionStageHeadlineIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both,
    actionStageHeadlinePulse 3.2s ease-in-out 0.64s infinite;
}

.actionStageCopy--scan .actionStageCopy__label {
  color: color-mix(in srgb, var(--action-accent) 84%, #f4fbff 16%);
  text-shadow:
    0 0 18px color-mix(in srgb, var(--action-accent) 28%, transparent),
    0 0 28px color-mix(in srgb, var(--action-accent) 12%, transparent);
}

.actionStageCopy--scan .actionStageCopy__headline {
  color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(186, 201, 220, 0.82) 0%,
    rgba(186, 201, 220, 0.82) 34%,
    color-mix(in srgb, var(--action-accent) 96%, #f8fdff 4%) 50%,
    rgba(186, 201, 220, 0.82) 66%,
    rgba(186, 201, 220, 0.82) 100%
  );
  background-size: 220% 100%;
  background-position: 150% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 22px color-mix(in srgb, var(--action-accent) 32%, transparent),
    0 0 42px color-mix(in srgb, var(--action-accent) 14%, transparent);
  animation:
    actionStageHeadlineIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both,
    actionStageHeadlinePulse 3.2s ease-in-out 0.64s infinite,
    actionStageScan 2.1s linear infinite;
}

.actionStageCopy--ownerFocus {
  gap: 6px;
}

.actionStageCopy--ownerFocus .actionStageCopy__label {
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: color-mix(in srgb, var(--action-accent) 84%, #f7fcff 16%);
  text-shadow:
    0 0 18px color-mix(in srgb, var(--action-accent) 30%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.08);
  animation:
    actionStageHeadlineIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both,
    actionStageHeadlinePulse 3.4s ease-in-out 0.64s infinite;
}

.actionStageCopy--ownerFocus .actionStageCopy__headline {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 0.88;
  letter-spacing: 0.045em;
  font-weight: 800;
  color: color-mix(in srgb, var(--action-accent) 94%, #fbfeff 6%);
  text-shadow:
    0 0 34px color-mix(in srgb, var(--action-accent) 42%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.06);
  animation:
    actionStageHeadlineIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both,
    actionStageHeadlinePulse 2.9s ease-in-out 0.64s infinite;
}

.actionBurst {
  margin: 0;
  text-transform: uppercase;
}

.actionBurst--primary {
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #f5f8ff;
  text-shadow:
    0 0 28px color-mix(in srgb, var(--action-accent) 20%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.08);
  animation: actionBurstPrimary 4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.actionBurst--steady {
  animation: none;
  opacity: 0.92;
  filter: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.actionBeacon[data-visual="result"] .actionBurst--primary {
  font-size: clamp(28px, 4.9vw, 52px);
}

.actionBurst--secondary {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--action-accent) 72%, #f0fbff 28%);
  opacity: 0.94;
  animation: actionBurstSecondary 4s cubic-bezier(0.22, 1, 0.36, 1) both 0.08s;
}

.actionTicker {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 14px;
  margin-top: 4px;
  margin-inline: auto;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.actionTicker__track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  white-space: nowrap;
  animation: actionTickerMarquee 16s linear infinite;
}

.actionTicker__item {
  font-family: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--action-accent) 82%, #eef8ff 18%);
  opacity: 0.86;
}

.actionTelemetry {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  max-width: min(100%, 720px);
}

.actionTelemetry__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.actionTelemetry__label,
.actionTelemetry__text {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.actionTelemetry__label {
  color: color-mix(in srgb, var(--feed-accent, var(--action-accent)) 74%, #edf7ff 26%);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.actionTelemetry__text {
  min-width: 0;
  color: rgba(201, 218, 234, 0.74);
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendorLane {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  position: relative;
  min-height: 42px;
  padding-top: 0;
  isolation: isolate;
  z-index: 1;
}

.vendorToggle {
  --vendor-accent: #7fcaff;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--vendor-accent) 36%, #c3cfdd 64%);
  cursor: pointer;
  opacity: 0.6;
  transition: transform 0.12s ease, color 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
  mix-blend-mode: normal;
}

.vendorToggle::before {
  display: none;
}

.vendorToggle:hover {
  color: #edf7ff;
  opacity: 0.68;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--vendor-accent) 42%, transparent));
}

.vendorToggle.is-selected {
  color: color-mix(in srgb, var(--vendor-accent) 88%, white 12%);
  opacity: 1;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--vendor-accent) 42%, transparent));
}

.vendorToggle.is-selected::before {
  display: none;
}

.vendorToggle.is-active {
  color: color-mix(in srgb, var(--vendor-accent) 92%, white 8%);
  opacity: 1;
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--vendor-accent) 58%, transparent));
}

.vendorToggle.is-active::before {
  display: none;
}

.vendorToggle:active {
  transform: scale(0.97);
}

.vendorToggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--vendor-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--vendor-accent) 58%, transparent);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 0.16s ease, opacity 0.16s ease;
}

.vendorToggle.is-selected::after,
.vendorToggle.is-active::after {
  width: 24px;
  opacity: 1;
}

.vendorToggle.is-pulse {
  animation: vendorPulse 0.42s ease-out;
}

.vendorToggle__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--vendor-accent);
  opacity: 0.72;
  filter: grayscale(0.18) saturate(0.78) brightness(0.92);
  transition: opacity 0.16s ease, filter 0.16s ease;
}

.vendorToggle__logo svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vendorToggle:hover .vendorToggle__logo,
.vendorToggle:focus-visible .vendorToggle__logo {
  opacity: 0.76;
  filter: grayscale(0.16) saturate(0.82) brightness(0.94);
}

.vendorToggle.is-selected .vendorToggle__logo,
.vendorToggle.is-active .vendorToggle__logo {
  opacity: 1;
  filter: none;
}

.actionBeacon__visual--idle::before {
  opacity: 0.22;
}

.visualToken {
  position: relative;
  position: absolute;
  left: var(--token-x);
  top: var(--token-y);
  width: var(--token-size);
  height: var(--token-size);
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: visualTokenFloat 3.6s ease-in-out infinite;
  animation-delay: var(--token-delay);
  will-change: transform, opacity;
}

.visualToken--codex {
  z-index: 2;
}

.visualToken__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: color-mix(in srgb, var(--token-accent) 88%, white 12%);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.36) 0 11%, rgba(255, 255, 255, 0.08) 20%, transparent 38%),
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--token-accent) 38%, rgba(22, 33, 46, 0.98)) 0%, color-mix(in srgb, var(--token-accent) 20%, rgba(14, 21, 31, 0.98)) 48%, rgba(7, 11, 18, 0.98) 78%, rgba(4, 7, 12, 1) 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--token-accent) 26%, rgba(255, 255, 255, 0.08)),
    0 10px 18px rgba(2, 5, 10, 0.34),
    0 0 22px color-mix(in srgb, var(--token-accent) 26%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateZ(0);
  backdrop-filter: blur(6px) saturate(1.18);
  -webkit-backdrop-filter: blur(6px) saturate(1.18);
}

.visualToken--codex .visualToken__inner {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.4) 0 10%, rgba(255, 255, 255, 0.09) 18%, transparent 36%),
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--codex-accent, var(--token-accent)) 44%, rgba(22, 33, 46, 0.99)) 0%, color-mix(in srgb, var(--codex-accent, var(--token-accent)) 24%, rgba(14, 21, 31, 0.98)) 54%, rgba(6, 10, 17, 1) 82%, rgba(4, 7, 12, 1) 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 28%, rgba(255, 255, 255, 0.1)),
    0 14px 24px rgba(2, 5, 10, 0.38),
    0 0 30px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition:
    background 560ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 560ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms ease;
}

.visualToken__inner::before,
.visualToken__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.visualToken__inner::before {
  inset: 7%;
  border: 1px solid color-mix(in srgb, var(--token-accent) 22%, rgba(255, 255, 255, 0.14));
  opacity: 0.9;
}

.visualToken__inner::after {
  inset: 16%;
  background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--token-accent) 18%, transparent) 0%, transparent 70%);
  opacity: 0.9;
}

.visualToken::before {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--token-accent) 34%, transparent) 0%,
    transparent 72%
  );
  filter: blur(12px);
  opacity: 0.42;
}

.actionBeacon__visualInner--solo .visualToken {
  animation-duration: 4.8s;
}

.visualToken--solo::before {
  inset: -30%;
  opacity: 0.56;
  filter: blur(16px);
}

.visualToken--solo .visualToken__inner {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--token-accent) 28%, rgba(255, 255, 255, 0.08)),
    0 14px 24px rgba(2, 5, 10, 0.4),
    0 0 28px color-mix(in srgb, var(--token-accent) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.visualToken__face {
  position: relative;
  width: 58%;
  height: 58%;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.visualToken--solo.visualToken--codex .visualToken__face {
  width: 62%;
  height: 62%;
}

.visualToken__face[data-codex-mood="calm"] {
  transform: rotate(-6deg) scale(1);
}

.visualToken__face[data-codex-mood="focused"] {
  transform: rotate(-4deg) scale(1.015);
}

.visualToken__face[data-codex-mood="thinking"] {
  transform: rotate(-5deg) scale(1.02);
}

.visualToken__face[data-codex-mood="proud"] {
  transform: rotate(-2deg) scale(1.03);
}

.visualToken__face[data-codex-mood="warn"] {
  transform: rotate(-3deg) scale(1.015);
}

.visualToken__face[data-codex-mood="alert"] {
  transform: rotate(-1deg) scale(1.035);
}

.visualToken__faceCore {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1.7px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 82%, white 18%),
    0 0 16px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 26%, transparent);
  opacity: 0.96;
  transition: box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.visualToken__faceCore::before {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.45px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 72%, rgba(255, 255, 255, 0.16));
  opacity: 0.88;
}

.visualToken__eyelid {
  position: absolute;
  left: 8%;
  right: 8%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 66%),
    linear-gradient(180deg, rgba(16, 22, 31, 0.96), color-mix(in srgb, var(--codex-accent, var(--token-accent)) 18%, rgba(8, 13, 20, 0.98)));
  box-shadow:
    0 0 12px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.visualToken__eyelid--upper {
  top: 2%;
  height: 22%;
  transform-origin: top center;
  transform: scaleY(0.001) translateY(-9px);
  animation: codexBlinkUpper 22s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  opacity: 0;
}

.visualToken__eyelid--lower {
  bottom: 7%;
  height: 14%;
  transform-origin: bottom center;
  transform: scaleY(0.001) translateY(6px);
  animation: codexBlinkLower 22s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  opacity: 0;
}

.visualToken__gaze {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  transform: translate(-56%, -51%);
  animation: codexGazeSweep 12.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform;
}

.visualToken__pupil {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.82) 0 15%, rgba(255, 255, 255, 0.24) 25%, transparent 38%),
    radial-gradient(circle, color-mix(in srgb, var(--codex-accent, var(--token-accent)) 92%, #c7f7ff 8%) 0%, color-mix(in srgb, var(--codex-accent, var(--token-accent)) 56%, #102231 44%) 62%, rgba(5, 10, 16, 0.96) 100%);
  box-shadow:
    0 0 16px color-mix(in srgb, var(--codex-accent, var(--token-accent)) 34%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition:
    background 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.visualToken__badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.visualToken__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--badge-accent, var(--token-accent)) 78%, #edf9ff 22%);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.24), transparent 46%),
    rgba(9, 13, 20, 0.82);
  border: 1px solid color-mix(in srgb, var(--badge-accent, var(--token-accent)) 28%, rgba(255, 255, 255, 0.12));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 6px 14px rgba(0, 0, 0, 0.24),
    0 0 14px color-mix(in srgb, var(--badge-accent, var(--token-accent)) 18%, transparent);
}

.visualToken__badge--primary {
  right: 18%;
  bottom: 18%;
}

.visualToken__badge--secondary {
  left: 17%;
  bottom: 22%;
}

.visualToken__badge svg {
  width: 62%;
  height: 62%;
  stroke-width: 1.8;
  filter: none;
}

.visualToken--solo svg {
  width: 56%;
  height: 56%;
}

.visualToken--format .visualToken__inner {
  border-radius: 14px;
}

.visualToken--result .visualToken__inner {
  box-shadow:
    0 0 28px color-mix(in srgb, var(--token-accent) 42%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.visualToken svg {
  width: 58%;
  height: 58%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateZ(0);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--token-accent) 18%, transparent));
}

.visualToken svg * {
  vector-effect: non-scaling-stroke;
}

.visualToken--format svg {
  width: 72%;
  height: 72%;
  stroke: none;
  filter: none;
}

.actionBeacon.is-live .visualToken__inner {
  box-shadow:
    0 0 34px color-mix(in srgb, var(--token-accent) 44%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.actionBeacon.is-live .visualToken--codex .visualToken__gaze {
  animation-duration: 10.4s;
}

.actionBeacon[data-status="failed"] {
  --action-accent: #ff9aa8;
  --action-accent-soft: rgba(255, 154, 168, 0.18);
  --action-accent-glow: rgba(255, 154, 168, 0.32);
}

.actionBeacon[data-status="needs_input"] {
  --action-accent: #ffd08a;
  --action-accent-soft: rgba(255, 208, 138, 0.18);
  --action-accent-glow: rgba(255, 208, 138, 0.3);
}

.actionBeacon[data-owner="claude"]:not([data-status="failed"]):not([data-status="needs_input"]) {
  --action-accent: #ff9b57;
  --action-accent-soft: rgba(255, 155, 87, 0.18);
  --action-accent-glow: rgba(255, 155, 87, 0.32);
}

.actionBeacon[data-owner="grok"]:not([data-status="failed"]):not([data-status="needs_input"]) {
  --action-accent: #bfacff;
  --action-accent-soft: rgba(191, 172, 255, 0.18);
  --action-accent-glow: rgba(191, 172, 255, 0.32);
}

.actionBeacon[data-owner="gemini"]:not([data-status="failed"]):not([data-status="needs_input"]) {
  --action-accent: #7da8ff;
  --action-accent-soft: rgba(125, 168, 255, 0.18);
  --action-accent-glow: rgba(125, 168, 255, 0.32);
}

.actionBeacon[data-owner="chatgpt"]:not([data-status="failed"]):not([data-status="needs_input"]) {
  --action-accent: #7fe0bf;
  --action-accent-soft: rgba(127, 224, 191, 0.18);
  --action-accent-glow: rgba(127, 224, 191, 0.32);
}

.actionBeacon.is-settling .actionBeacon__wash {
  opacity: 0.3;
}

.actionBeacon.is-settling .visualToken {
  animation-duration: 5.2s;
  opacity: 0.72;
}

.panel {
  border: 1px solid rgba(144, 160, 178, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.96), rgba(11, 15, 21, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 0;
}

.panel__kicker {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.panel__meta {
  color: color-mix(in srgb, var(--accent) 86%, #eef9ff 14%);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(103, 232, 249, 0.12),
    0 0 20px rgba(103, 232, 249, 0.06);
}

#resultsCount,
#inputCount {
  display: none;
}

.panel__head--chat {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--chat-head-height);
  height: var(--chat-head-height);
  max-height: var(--chat-head-height);
  gap: 12px;
  padding-bottom: 2px;
  overflow: visible;
  z-index: 8;
}

.panel__head--filesList {
  padding: 0 0 16px;
  margin-bottom: 4px;
}

.panel__head--resultsTools {
  display: block;
  position: relative;
  z-index: 18;
  overflow: visible;
  padding: 10px 18px 0;
}

.chatHead {
  grid-column: 2;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.chatBuildSlot {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  min-width: 0;
  position: relative;
  z-index: 9;
  padding-left: 0;
  transform: none;
}

.runtimeMeta,
.runtimeHints {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 14px;
  min-width: 0;
  overflow: hidden;
}

.runtimeMeta__label,
.runtimeMeta__value,
.runtimeHints__label,
.runtimeHints__text {
  line-height: 1.2;
  font-family: var(--font-mono);
}

.runtimeMeta__item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  flex: 0 1 auto;
  color: rgba(201, 218, 234, 0.52);
}

.runtimeMeta__label {
  flex: 0 0 auto;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(160, 174, 191, 0.48);
}

.runtimeMeta__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: rgba(224, 232, 240, 0.88);
}

.runtimeMeta__item--model .runtimeMeta__value {
  color: rgba(233, 242, 250, 0.92);
}

.runtimeMeta__item--reasoning .runtimeMeta__value {
  color: color-mix(in srgb, var(--accent) 58%, #dfe8f2 42%);
}

.runtimeMeta__item--status .runtimeMeta__value {
  color: rgba(205, 216, 228, 0.8);
}

.runtimeMeta__item--status-live .runtimeMeta__value {
  color: color-mix(in srgb, var(--accent) 76%, #edf8ff 24%);
}

.runtimeMeta__item--status-ready .runtimeMeta__value {
  color: rgba(201, 222, 240, 0.84);
}

.runtimeMeta__item--session {
  flex: 0 1 44ch;
  min-width: 0;
  max-width: 44ch;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-overflow: clip;
}

.runtimeMeta__item--copy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
  text-align: left;
  cursor: copy;
  opacity: 0.9;
  transition: color 0.12s ease, opacity 0.12s ease;
}

.runtimeMeta__item--copy:hover {
  opacity: 1;
}

.runtimeMeta__item--copy:focus-visible {
  outline: none;
  opacity: 1;
}

.runtimeMeta__sessionLabel {
  flex: 0 0 auto;
  color: rgba(201, 218, 234, 0.34);
}

.runtimeMeta__sessionValue {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 78%, #d6dee8 22%);
  letter-spacing: 0.04em;
}

.runtimeHints.is-empty {
  display: none;
}

.runtimeHints__row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.runtimeHints__label {
  color: rgba(103, 232, 249, 0.62);
}

.runtimeHints__text {
  max-width: 420px;
  color: rgba(144, 160, 178, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.02em;
}

.runtimeControls {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  justify-self: end;
  position: relative;
  z-index: 9;
}

.runtimeMenuWrap {
  position: relative;
  display: inline-flex;
  z-index: 10;
}

.runtimeControl {
  appearance: none;
  position: relative;
  isolation: isolate;
  align-self: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(201, 218, 234, 0.56);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.runtimeControl:hover,
.runtimeControl:focus-visible {
  background: rgba(103, 232, 249, 0.12);
  color: rgba(232, 246, 255, 0.94);
}

.runtimeControl:disabled {
  cursor: wait;
  opacity: 0.5;
}

.runtimeControl--restart.is-busy svg {
  animation: runtimeSpin 1.1s linear infinite;
}

.runtimeControl--clear.is-busy svg {
  animation: runtimePulse 1s ease-in-out infinite;
}

.runtimeControl svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.runtimeControl--clear:hover,
.runtimeControl--clear:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.runtimeControl--model.is-open,
.runtimeControl--model.is-busy {
  background: rgba(103, 232, 249, 0.14);
  color: rgba(232, 246, 255, 0.96);
}

.runtimeControl--build {
  width: 54px;
  height: 54px;
  color: rgba(231, 239, 248, 0.82);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(18, 23, 32, 0.68);
  border: 2px solid rgba(255, 116, 116, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.22),
    0 0 44px rgba(255, 76, 76, 0.62),
    0 0 86px rgba(255, 76, 76, 0.3),
    0 0 132px rgba(255, 76, 76, 0.14);
}

.runtimeControl--build::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2.5px solid rgba(255, 132, 132, 1);
  box-shadow:
    0 0 42px rgba(255, 82, 82, 0.92),
    0 0 88px rgba(255, 82, 82, 0.38),
    0 0 132px rgba(255, 82, 82, 0.18);
  opacity: 1;
  pointer-events: none;
}

.runtimeControl--build:hover,
.runtimeControl--build:focus-visible {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.2), transparent 42%),
    rgba(21, 26, 36, 0.76);
  border-color: rgba(255, 212, 212, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.24),
    0 0 56px rgba(255, 90, 90, 0.82),
    0 0 108px rgba(255, 90, 90, 0.42),
    0 0 152px rgba(255, 90, 90, 0.2);
  transform: scale(1.03);
}

.runtimeControl--build:hover::before,
.runtimeControl--build:focus-visible::before {
  border-color: rgba(255, 228, 228, 1);
  box-shadow:
    0 0 54px rgba(255, 92, 92, 1),
    0 0 116px rgba(255, 92, 92, 0.46),
    0 0 160px rgba(255, 92, 92, 0.22);
}

.runtimeControl--build.is-active {
  color: rgba(241, 250, 245, 0.98);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.2), transparent 42%),
    rgba(18, 23, 32, 0.72);
  border-color: rgba(108, 255, 170, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.24),
    0 0 44px rgba(84, 255, 154, 0.68),
    0 0 92px rgba(84, 255, 154, 0.34),
    0 0 136px rgba(84, 255, 154, 0.16);
}

.runtimeControl--build.is-active::before {
  border-color: rgba(146, 255, 190, 1);
  box-shadow:
    0 0 46px rgba(84, 255, 154, 0.96),
    0 0 102px rgba(84, 255, 154, 0.42),
    0 0 146px rgba(84, 255, 154, 0.2);
}

.runtimeControl--build.is-active:hover,
.runtimeControl--build.is-active:focus-visible {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 42%),
    rgba(22, 28, 38, 0.8);
  border-color: rgba(216, 255, 230, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 12px 24px rgba(0, 0, 0, 0.24),
    0 0 60px rgba(84, 255, 154, 0.88),
    0 0 116px rgba(84, 255, 154, 0.46),
    0 0 164px rgba(84, 255, 154, 0.24);
  transform: scale(1.03);
}

.runtimeControl--build.is-active:hover::before,
.runtimeControl--build.is-active:focus-visible::before {
  border-color: rgba(210, 255, 226, 1);
  box-shadow:
    0 0 44px rgba(84, 255, 154, 0.9),
    0 0 104px rgba(84, 255, 154, 0.34);
}

.runtimeControl--build svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}

.runtimeControl--chatAnchor {
  position: relative;
  transform: none;
  z-index: 2;
}

.runtimeControl--filesAnchor {
  position: relative;
  transform: none;
  z-index: 2;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  margin-right: 6px;
}

.runtimeControl--chatAnchor.runtimeControl--build,
.runtimeControl--filesAnchor.runtimeControl--build {
  width: 42px;
  height: 42px;
  margin-right: 0;
  color: rgba(215, 226, 238, 0.72);
  background: rgba(255, 255, 255, 0.02);
  border-width: 0;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.runtimeControl--chatAnchor.runtimeControl--build svg,
.runtimeControl--filesAnchor.runtimeControl--build svg {
  width: 22px;
  height: 22px;
}

.runtimeControl--chatAnchor.runtimeControl--build::before,
.runtimeControl--filesAnchor.runtimeControl--build::before {
  display: none;
}

.runtimeControl--chatAnchor.runtimeControl--build:hover,
.runtimeControl--chatAnchor.runtimeControl--build:focus-visible,
.runtimeControl--filesAnchor.runtimeControl--build:hover,
.runtimeControl--filesAnchor.runtimeControl--build:focus-visible {
  background: rgba(103, 232, 249, 0.12);
  color: rgba(232, 246, 255, 0.94);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(103, 232, 249, 0.08);
  transform: none;
}

.runtimeControl--filesAnchor.runtimeControl--build:hover,
.runtimeControl--filesAnchor.runtimeControl--build:focus-visible {
  transform: none;
  color: rgba(238, 245, 252, 0.92);
  background: rgba(255, 255, 255, 0.03);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(180, 194, 210, 0.08);
}

.runtimeControl--chatAnchor.runtimeControl--build:hover::before,
.runtimeControl--chatAnchor.runtimeControl--build:focus-visible::before,
.runtimeControl--filesAnchor.runtimeControl--build:hover::before,
.runtimeControl--filesAnchor.runtimeControl--build:focus-visible::before {
  display: none;
}

.runtimeControl--filesAnchor.runtimeControl--build::before,
.runtimeControl--filesAnchor.runtimeControl--build:hover::before,
.runtimeControl--filesAnchor.runtimeControl--build:focus-visible::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:hover::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:focus-visible::before {
  display: none;
}

.runtimeControl--chatAnchor.runtimeControl--build.is-active,
.runtimeControl--filesAnchor.runtimeControl--build.is-active {
  color: rgba(232, 246, 255, 0.92);
  background: rgba(255, 255, 255, 0.03);
  border-width: 0;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(255, 255, 255, 0.05);
}

.runtimeControl--filesAnchor.runtimeControl--build.is-active {
  color: rgba(219, 229, 239, 0.74);
  background: transparent;
  border-width: 0;
  border-color: transparent;
  box-shadow: none;
}

.runtimeControl--chatAnchor.runtimeControl--build.is-active::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active::before {
  display: none;
}

.runtimeControl--chatAnchor.runtimeControl--build.is-active:hover,
.runtimeControl--chatAnchor.runtimeControl--build.is-active:focus-visible,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:hover,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:focus-visible {
  background: rgba(103, 232, 249, 0.12);
  color: rgba(232, 246, 255, 0.94);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(103, 232, 249, 0.08);
  transform: none;
}

.runtimeControl--filesAnchor.runtimeControl--build.is-active:hover,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:focus-visible {
  transform: none;
  color: rgba(238, 245, 252, 0.92);
  background: rgba(255, 255, 255, 0.03);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(180, 194, 210, 0.08);
}

.runtimeControl--chatAnchor.runtimeControl--build.is-active:hover::before,
.runtimeControl--chatAnchor.runtimeControl--build.is-active:focus-visible::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:hover::before,
.runtimeControl--filesAnchor.runtimeControl--build.is-active:focus-visible::before {
  display: none;
}

.runtimeMenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 284px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(118, 229, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 28, 39, 0.98), rgba(11, 18, 27, 0.98)),
    rgba(8, 14, 22, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(103, 232, 249, 0.08);
  z-index: 60;
}

.runtimeMenu[hidden] {
  display: none;
}

.runtimeMenu__sectionTitle {
  padding: 8px 10px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(121, 228, 255, 0.62);
}

.runtimeMenu__option {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(211, 227, 241, 0.82);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.runtimeMenu__option:hover,
.runtimeMenu__option:focus-visible {
  background: rgba(103, 232, 249, 0.08);
  color: rgba(235, 247, 255, 0.96);
}

.runtimeMenu__option.is-active {
  background: rgba(103, 232, 249, 0.12);
  color: rgba(235, 247, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.18);
}

.runtimeMenu__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.runtimeMenu__label {
  font-size: 13px;
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runtimeMenu__meta {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(156, 175, 194, 0.72);
  letter-spacing: 0.03em;
}

.runtimeMenu__check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 0 rgba(103, 232, 249, 0.92), 0 0 0 rgba(103, 232, 249, 0);
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.runtimeMenu__option.is-active .runtimeMenu__check {
  border-color: rgba(103, 232, 249, 0.74);
  box-shadow: inset 0 0 0 5px rgba(103, 232, 249, 0.96), 0 0 18px rgba(103, 232, 249, 0.28);
}

.outputSelector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.outputSelector--inline {
  margin-top: 0;
}

.outputSelector--composer {
  position: relative;
  margin-top: 0;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.outputSelector--rail {
  position: relative;
  margin-top: 0;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  grid-column: 1;
  justify-self: start;
  justify-content: flex-start;
  margin-left: 6px;
}

.outputSelector__trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(201, 218, 234, 0.62);
  cursor: pointer;
  opacity: 1;
  transition: color 0.12s ease, opacity 0.12s ease, filter 0.12s ease;
}

.outputSelector__trigger:hover,
.outputSelector__trigger:focus-visible,
.outputSelector__trigger.is-open {
  color: rgba(232, 244, 252, 0.94);
}

.outputSelector__trigger:disabled {
  cursor: default;
  opacity: 0.42;
}

.outputSelector__triggerVisual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.outputSelector__trigger .formatIcon {
  filter: none;
  opacity: 1;
}

.outputSelector__trigger.is-active .formatIcon,
.outputSelector__trigger.is-active .formatIcon svg,
.outputSelector__trigger .formatIcon--selectorCurrent,
.outputSelector__trigger .formatIcon--selectorCurrent svg {
  filter: none !important;
  opacity: 1 !important;
}

.outputSelector__trigger .formatIcon--selectorCurrent {
  width: 40px;
  height: 40px;
}

.outputSelector__placeholder {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(162, 176, 191, 0.68);
}

.outputSelector__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -6px;
  right: auto;
  min-width: 0;
  width: 72px;
  padding: 6px;
  border: 1px solid rgba(118, 229, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 28, 39, 0.98), rgba(11, 18, 27, 0.98)),
    rgba(8, 14, 22, 0.98);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(103, 232, 249, 0.08);
  z-index: 60;
}

.outputSelector--composer .outputSelector__trigger {
  width: 38px;
  height: 38px;
  min-height: 38px;
}

.outputSelector--composer .outputSelector__triggerVisual {
  width: 38px;
  height: 38px;
}

.outputSelector--composer .outputSelector__trigger .formatIcon--selectorCurrent {
  width: 28px;
  height: 28px;
}

.outputSelector--composer .outputSelector__menu {
  top: auto;
  bottom: calc(100% + 10px);
  left: -4px;
  right: auto;
  width: 56px;
  padding: 5px;
  border-radius: 14px;
}

.outputSelector.is-open .outputSelector__menu {
  animation: outputSelectorReveal 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: top left;
}

.outputSelector--composer.is-open .outputSelector__menu {
  animation: outputSelectorRevealUp 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: bottom left;
}

.outputSelector__menu[hidden] {
  display: none;
}

.outputSelector__menuOption {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(211, 227, 241, 0.82);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.outputSelector--composer .outputSelector__menuOption {
  min-height: 42px;
}

.outputSelector__menuOption:hover,
.outputSelector__menuOption:focus-visible {
  background: rgba(103, 232, 249, 0.08);
  color: rgba(235, 247, 255, 0.96);
  transform: translateY(1px);
}

.outputSelector__menuOption.is-active {
  background: rgba(103, 232, 249, 0.12);
  color: rgba(235, 247, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.18);
}

.outputSelector__menuLead {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.outputSelector__menuCopy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.outputSelector__menuLabel {
  font-size: 13px;
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.outputSelector__menuMeta {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(156, 175, 194, 0.72);
  letter-spacing: 0.08em;
}

.outputSelector__menuOption .formatIcon {
  width: 32px;
  height: 32px;
  filter: grayscale(1) saturate(0.05) brightness(0.88);
  opacity: 0.34;
}

.outputSelector__menuOption:hover .formatIcon,
.outputSelector__menuOption:focus-visible .formatIcon,
.outputSelector__menuOption.is-active .formatIcon {
  filter: none;
  opacity: 1;
}

@keyframes outputSelectorReveal {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes outputSelectorRevealUp {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.outputSelector--rail .outputSelector__option {
  width: 52px;
  height: 52px;
}

.outputSelector--rail .outputSelector__option {
  opacity: 0.9;
  filter: none;
}

.outputSelector--rail .outputSelector__option.is-active {
  filter: none;
}

.outputSelector--rail .outputSelector__option.is-active .formatIcon {
  filter: none;
  opacity: 1;
}

.outputSelector--rail .formatIcon {
  filter: grayscale(1) saturate(0.05) brightness(0.88);
  opacity: 0.74;
}

.outputSelector--rail .outputSelector__option:hover .formatIcon,
.outputSelector--rail .outputSelector__option:focus-visible .formatIcon {
  filter: none;
  opacity: 1;
}

.outputSelector__option {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  cursor: pointer;
  opacity: 0.42;
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.12s ease;
}

.outputSelector__option:hover {
  opacity: 0.82;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}

.outputSelector__option.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(103, 232, 249, 0.26));
}

.outputSelector__option::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(103, 232, 249, 0.36);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 0.16s ease, opacity 0.16s ease;
}

.outputSelector__option.is-active::after {
  width: 20px;
  opacity: 1;
}

.outputSelector__option.is-pulse {
  animation: vendorPulse 0.42s ease-out;
}

.formatIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.12s ease;
}

.formatIcon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.formatIcon--selector {
  width: 30px;
  height: 30px;
}

.formatIcon--result {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
}

.formatIcon--fileRow {
  width: 24px;
  height: 24px;
  opacity: 0.62;
  filter: grayscale(0.18) brightness(0.9) drop-shadow(0 0 8px rgba(103, 232, 249, 0.04));
  transition: opacity 0.14s ease, filter 0.18s ease;
}

.fileRow__thumb {
  position: relative;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.06), transparent 60%),
    rgba(15, 20, 28, 0.72);
  border: 1px solid rgba(103, 232, 249, 0.06);
  transition: background 0.14s ease, border-color 0.14s ease, box-shadow 0.18s ease;
}

.fileRow__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 40% 38%, rgba(103, 232, 249, 0.42), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 74%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.fileRow__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.fileRow__thumb--image img {
  opacity: 0.74;
  filter: saturate(0.82) brightness(0.78);
}

.fileRow__thumb .formatIcon {
  width: 100%;
  height: 100%;
}

.outputSelector__option:hover .formatIcon,
.outputSelector__option:focus-visible .formatIcon,
.resultSpotlight:hover .formatIcon,
.resultSpotlight:focus-visible .formatIcon {
  transform: translateY(-1px) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.14));
}

.workspaceGrid {
  grid-row: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    var(--workspace-divider-width)
    minmax(0, var(--files-column-width));
  grid-template-areas: "chat divider files";
  column-gap: 0;
  row-gap: var(--workspace-panel-gap);
  align-items: stretch;
  min-height: 0;
  height: 100%;
}

.workspaceDivider {
  grid-area: divider;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  height: 100%;
  background: transparent;
  border: none;
  color: rgba(172, 188, 206, 0.5);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.72;
  transition: opacity 0.14s ease, filter 0.14s ease, color 0.14s ease;
}

.workspaceDivider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(144, 160, 178, 0.22) 10%, rgba(144, 160, 178, 0.22) 90%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.workspaceDivider:hover,
.workspaceDivider:focus-visible,
.workspaceGrid.is-resizing-columns .workspaceDivider {
  outline: none;
  opacity: 1;
  color: rgba(232, 242, 251, 0.94);
  filter: drop-shadow(0 0 12px rgba(103, 232, 249, 0.14));
}

.workspaceDivider__grip {
  position: relative;
  align-self: center;
  display: block;
  width: 3px;
  height: 44px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(150, 164, 181, 0.18) 0%,
      rgba(182, 198, 216, 0.7) 50%,
      rgba(150, 164, 181, 0.18) 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 12px rgba(103, 232, 249, 0.06);
}

.workspaceGrid.is-resizing-columns,
.workspaceGrid.is-resizing-columns * {
  cursor: ew-resize;
}

.tenantRail {
  grid-area: nav;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  padding: 10px 10px 12px;
  overflow: hidden;
}

.tenantRail__head {
  padding: 2px 2px 10px;
}

.tenantRail__list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 173, 186, 0.3) transparent;
}

.tenantRail__list::-webkit-scrollbar {
  width: 8px;
}

.tenantRail__list::-webkit-scrollbar-track {
  background: transparent;
}

.tenantRail__list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(162, 173, 186, 0.26);
  background-clip: padding-box;
}

.tenantGroup {
  display: grid;
  gap: 6px;
}

.tenantGroup__title {
  color: rgba(185, 199, 214, 0.76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.tenantGroup__items {
  display: grid;
  gap: 6px;
}

.tenantLink {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.015);
  color: inherit;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.tenantLink:hover,
.tenantLink:focus-visible {
  outline: none;
  border-color: rgba(103, 232, 249, 0.18);
  background: rgba(103, 232, 249, 0.045);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.08);
  transform: translateY(-1px);
}

.tenantLink.is-active {
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(103, 232, 249, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 22px rgba(103, 232, 249, 0.1);
}

.tenantLink__tenant {
  color: rgba(216, 229, 240, 0.88);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-ui);
}

.tenantLink__workspace {
  color: rgba(156, 170, 186, 0.74);
  font-size: 10px;
  line-height: 1.2;
  font-family: var(--font-ui);
}

.chatPanel {
  grid-area: chat;
  --chat-build-accent-a: rgba(239, 68, 68, 0.24);
  --chat-build-accent-b: rgba(220, 38, 38, 0.18);
  position: relative;
  display: grid;
  grid-template-rows: var(--chat-head-height) minmax(0, 1fr) var(--composer-height);
  min-height: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.94), rgba(10, 12, 16, 0.98));
  transition: box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.chatPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 14%, var(--chat-build-accent-a), transparent 18%),
    radial-gradient(circle at 60% 72%, var(--chat-build-accent-b), transparent 18%);
  background-size: auto, auto;
  opacity: 0.72;
  mix-blend-mode: screen;
  transition: background 220ms ease, opacity 220ms ease;
}

.chatPanel > * {
  position: relative;
  z-index: 1;
}

.chatPanel > .panel__head--chat {
  z-index: 12;
}

.chatPanel.is-file-target {
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.22);
}

.chatPanel.is-build-enabled {
  --chat-build-accent-a: rgba(74, 222, 128, 0.2);
  --chat-build-accent-b: rgba(34, 197, 94, 0.16);
}

.chatPanel.is-build-disabled {
  --chat-build-accent-a: rgba(239, 68, 68, 0.24);
  --chat-build-accent-b: rgba(220, 38, 38, 0.18);
}

.chatViewport {
  position: relative;
  display: block;
  min-height: 0;
  height: 100%;
  padding-top: 0;
}

.chatViewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--message-fade-top);
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(10, 12, 16, 0.98) 0%,
      rgba(10, 12, 16, 0.76) 18%,
      rgba(10, 12, 16, 0.34) 44%,
      rgba(10, 12, 16, 0.08) 68%,
      rgba(10, 12, 16, 0) 100%
    );
}

.actionStream {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 3px;
  pointer-events: auto;
  min-height: var(--action-stream-height);
  height: var(--action-stream-height);
  max-height: var(--action-stream-height);
  margin: var(--action-stream-offset) 0 0;
  padding: 10px 16px 8px 14px;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 173, 186, 0.26) transparent;
}

.actionStream--side {
  min-height: var(--action-stream-side-height);
  height: var(--action-stream-side-height);
  max-height: var(--action-stream-side-height);
  margin: 14px 0 0;
  padding: 8px 14px 10px 14px;
  border-top: 1px solid rgba(144, 160, 178, 0.1);
  border-bottom: 1px solid rgba(144, 160, 178, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.18), rgba(8, 12, 18, 0.05)),
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.04), transparent 36%);
}

.actionStream::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.actionStream::after {
  display: none;
}

.actionStream > * {
  position: relative;
  z-index: 1;
}

.actionStream__cursor {
  width: 10px;
  height: 12px;
  margin-top: 1px;
  background: color-mix(in srgb, var(--stream-accent, #8de9ff) 84%, #f4fbff 16%);
  border: 1px solid color-mix(in srgb, var(--stream-accent, #8de9ff) 62%, #ffffff 38%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--stream-accent, #8de9ff) 20%, transparent),
    0 0 12px color-mix(in srgb, var(--stream-accent, #8de9ff) 46%, transparent);
  animation: c64CursorBlink 0.95s steps(1, end) infinite;
  will-change: opacity;
}

.actionStream__cursorLine {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 12px;
  padding: 0 0 4px;
  font-family: var(--font-mono);
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.96) 0%, rgba(8, 12, 18, 0.88) 72%, rgba(8, 12, 18, 0) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.actionStream__label {
  color: color-mix(in srgb, var(--stream-accent, #8de9ff) 76%, #f3fbff 24%);
  font-size: var(--action-stream-label-size);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px color-mix(in srgb, var(--stream-accent, #8de9ff) 24%, transparent);
  white-space: nowrap;
}

.actionStream__cursorLine--idle {
  opacity: 0.34;
}

.actionStream__cursorLine--pending {
  opacity: 0.86;
}

.actionStream__cursorLine--idle .actionStream__cursor {
  animation-duration: 2.2s;
}

.actionStream__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 6px;
  row-gap: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 1;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.actionStream__row.is-live {
  opacity: 1;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--stream-accent, #8de9ff) 22%, transparent));
  animation: actionStreamTyping 2.8s ease-in-out infinite;
}

.actionStream__row.is-cognitive {
  align-items: flex-start;
}

.actionStream__row.is-cognitive,
.actionStream__row.is-command {
  row-gap: 2px;
  padding-bottom: 3px;
}

.actionStream__row.is-api {
  align-items: flex-start;
}

.actionStream__prompt,
.actionStream__headline,
.actionStream__subline {
  font-size: var(--action-stream-font-size);
  line-height: 1.22;
  font-family: var(--font-mono);
}

.actionStream__prompt {
  grid-column: 1;
  grid-row: 1;
  color: color-mix(in srgb, var(--stream-accent, #8de9ff) 72%, #eefcff 28%);
  letter-spacing: 0.03em;
  text-shadow: 0 0 10px color-mix(in srgb, var(--stream-accent, #8de9ff) 22%, transparent);
}

.actionStream__headline {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: rgba(221, 234, 244, 0.9);
  letter-spacing: 0.02em;
  font-weight: 500;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actionStream__subline {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  color: rgba(181, 194, 208, 0.74);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.12;
  max-height: 1.12em;
}

.actionStream__row.is-cognitive .actionStream__headline,
.actionStream__row.is-command .actionStream__headline {
  white-space: normal;
  line-height: 1.42;
  overflow-wrap: anywhere;
  max-height: 4.26em;
}

.actionStream__row.is-cognitive .actionStream__subline,
.actionStream__row.is-command .actionStream__subline {
  white-space: normal;
  line-height: 1.38;
  overflow-wrap: anywhere;
  max-height: 4.14em;
}

.actionStream__row.is-cognitive .actionStream__subline {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.actionStream__row.is-command .actionStream__subline {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.actionStream__headline strong,
.actionStream__subline strong {
  color: inherit;
  font-weight: 800;
  text-shadow: inherit;
}

.actionStream__row.is-command .actionStream__headline,
.actionStream__row.is-command .actionStream__subline {
  color: color-mix(in srgb, var(--stream-accent, #8de9ff) 48%, #eaf7ff 52%);
}

.actionStream__row.is-api .actionStream__headline {
  color: color-mix(in srgb, var(--stream-accent, #8de9ff) 62%, #f2fbff 38%);
}

.actionStream__row.is-api .actionStream__subline {
  color: color-mix(in srgb, var(--stream-accent, #8de9ff) 46%, rgba(234, 244, 255, 0.76));
}

.actionStream::-webkit-scrollbar {
  width: 8px;
}

.actionStream::-webkit-scrollbar-track {
  background: transparent;
}

.actionStream::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(162, 173, 186, 0.26);
  background-clip: padding-box;
}

.actionStream::-webkit-scrollbar-thumb:hover {
  background: rgba(190, 201, 214, 0.42);
  background-clip: padding-box;
}

.actionStreamResize {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: rgba(171, 186, 203, 0.64);
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  opacity: 0.82;
  transition: opacity 0.14s ease, filter 0.14s ease, color 0.14s ease;
}

.actionStreamResize:hover,
.actionStreamResize:focus-visible,
.fileSurface--console.is-resizing-console .actionStreamResize {
  opacity: 1;
  color: rgba(232, 242, 251, 0.92);
  filter: drop-shadow(0 0 12px rgba(103, 232, 249, 0.18));
  outline: none;
}

.actionStreamResize__grip,
.filesModuleResize__grip {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(150, 164, 181, 0.18) 0%,
      rgba(182, 198, 216, 0.7) 50%,
      rgba(150, 164, 181, 0.18) 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 12px rgba(103, 232, 249, 0.06);
}

.fileSurface--console.is-resizing-console,
.fileSurface--console.is-resizing-console * {
  cursor: ns-resize;
}

.messageList {
  display: block;
  min-height: 0;
  height: 100%;
  overflow: auto;
  position: relative;
  scroll-padding-bottom: var(--message-scroll-padding-bottom, 20px);
  scroll-padding-top: calc(var(--message-fade-top) + 18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 173, 186, 0.38) transparent;
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.08) 14px,
    rgba(0, 0, 0, 0.42) 44px,
    rgba(0, 0, 0, 0.78) 72px,
    #000 calc(var(--message-fade-top) + 18px),
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.08) 14px,
    rgba(0, 0, 0, 0.42) 44px,
    rgba(0, 0, 0, 0.78) 72px,
    #000 calc(var(--message-fade-top) + 18px),
    #000 100%
  );
}

.messageList::before,
.messageList::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.messageList::before {
  height: min(46%, 320px);
  background:
    linear-gradient(180deg, rgba(8, 14, 18, 0.03) 0%, rgba(8, 14, 18, 0.14) 18%, rgba(8, 14, 18, 0.58) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 22px,
      rgba(103, 232, 249, 0.028) 22px 23px,
      transparent 23px 46px
    );
  background-position: 0 0, 0 0;
  opacity: 0.14;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 54%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 54%, transparent 100%);
  animation: matrixRainFall 11.5s linear infinite;
}

.messageList::after {
  left: 10px;
  right: 10px;
  height: min(38%, 272px);
  background:
    radial-gradient(circle at 18% 0%, rgba(103, 232, 249, 0.08), transparent 28%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(103, 232, 249, 0.038) 28px 29px,
      transparent 29px 56px
    );
  background-position: 0 0, 0 0;
  opacity: 0.09;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.54) 52%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.54) 52%, transparent 100%);
  animation: matrixRainFallAlt 17s linear infinite;
}

.messageList__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 100%;
  max-width: 100%;
  padding: 6px 14px var(--message-scroll-padding-bottom, 20px);
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

.messageList__bottom {
  height: 1px;
  scroll-margin-bottom: var(--message-scroll-padding-bottom, 20px);
}

.messageList::-webkit-scrollbar,
.fileSurface__list::-webkit-scrollbar,
.composer__input::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.messageList::-webkit-scrollbar-track,
.fileSurface__list::-webkit-scrollbar-track,
.composer__input::-webkit-scrollbar-track {
  background: transparent;
}

.messageList::-webkit-scrollbar-thumb,
.fileSurface__list::-webkit-scrollbar-thumb,
.composer__input::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(162, 173, 186, 0.34);
  background-clip: padding-box;
}

.messageList::-webkit-scrollbar-thumb:hover,
.fileSurface__list::-webkit-scrollbar-thumb:hover,
.composer__input::-webkit-scrollbar-thumb:hover {
  background: rgba(190, 201, 214, 0.48);
  background-clip: padding-box;
}

.message {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(28, 32, 38, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.message--codex {
  align-self: stretch;
  background: rgba(28, 32, 38, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
}

.message--pending {
  border-color: rgba(103, 232, 249, 0.12);
  background:
    linear-gradient(180deg, rgba(28, 34, 42, 0.74), rgba(23, 28, 35, 0.68)),
    radial-gradient(circle at left center, rgba(103, 232, 249, 0.04), transparent 42%);
}

.message--pending .message__body {
  min-height: 0;
}

.message--user {
  width: fit-content;
  max-width: 78%;
  min-width: 25%;
  margin-left: auto;
  background: rgba(52, 56, 64, 0.84);
  border-color: rgba(255, 255, 255, 0.1);
}

.message__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.message__headerRight {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.message__body {
  min-width: 0;
}

.message__time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
  font-family: var(--font-ui);
}

.message__time {
  white-space: nowrap;
}

.message__text {
  white-space: pre-wrap;
  line-height: 1.55;
  font-size: 15.33px;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.005em;
  color: rgba(236, 241, 248, 0.95);
}

.message__text strong {
  color: color-mix(in srgb, var(--codex-blue) 74%, rgba(241, 248, 255, 0.96));
  font-weight: 800;
}

.message__pendingState {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.message__pendingState::before {
  content: none;
}

.message__pendingLabel {
  display: inline-flex;
  gap: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15.33px;
  line-height: 1.55;
  text-transform: none;
}

.message__pendingLabel::before,
.message__pendingLabel::after {
  content: none;
}

.message__pendingGlyph {
  display: inline-block;
  color: rgba(231, 239, 246, 0.94);
  text-shadow:
    0 0 10px rgba(103, 232, 249, 0.14),
    0 0 22px rgba(103, 232, 249, 0.05);
  will-change: color, text-shadow;
  transition: none;
}

.message__pendingGlyph--dot {
  margin-left: 0;
  margin-right: 0;
}

.message__pendingState::after {
  content: none;
}

.message__refs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: flex-start;
}

.message__receipts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.message__receipt {
  --receipt-accent: #8de9ff;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--receipt-accent) 10%, rgba(255, 255, 255, 0.08));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 23, 29, 0.3), rgba(13, 17, 23, 0.18)),
    radial-gradient(circle at 76% 50%, color-mix(in srgb, var(--receipt-accent) 8%, transparent), transparent 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 8px 20px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.message__receiptHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  min-width: 0;
}

.message__receiptHeader,
.message__receiptBody {
  position: relative;
  z-index: 1;
}

.message__receiptBackdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.message__receiptBackdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--receipt-accent) 12%, transparent), transparent 38%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.01) 0%, rgba(7, 10, 15, 0.04) 100%);
  opacity: 0.58;
}

.message__receiptBackdropLogo {
  position: absolute;
  inset: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--receipt-accent) 58%, rgba(255, 255, 255, 0.02));
  opacity: 0.22;
  transform: none;
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, var(--receipt-accent) 16%, transparent))
    drop-shadow(0 0 32px color-mix(in srgb, var(--receipt-accent) 8%, transparent));
  mix-blend-mode: screen;
}

.message__receiptBackdropLogo svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateZ(0);
}

.message__receiptBackdropLogo svg * {
  vector-effect: non-scaling-stroke;
}

.message__receiptHeading {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.message__receiptHeading,
.message__receiptProvider,
.message__receiptStatus,
.message__receiptMeta,
.message__receiptBody {
  font-family: var(--font-mono);
}

.message__receiptProvider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--receipt-accent) 84%, #fbfdff 16%);
  text-shadow: none;
}

.message__receiptStatus {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(188, 201, 216, 0.8);
}

.message__receiptMeta {
  font-size: 12.67px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(165, 184, 206, 0.82);
  margin-left: auto;
  text-align: right;
  overflow-wrap: anywhere;
}

.message__receiptBody {
  font-size: 13.67px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--receipt-accent) 34%, #f4f8fc 66%);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message__receiptMeta strong,
.message__receiptBody strong {
  color: inherit;
  font-weight: 800;
}

.composer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 17, 23, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 14px 12px;
  min-height: var(--composer-height);
  height: var(--composer-height);
  max-height: var(--composer-height);
}

.composer__field {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 0;
  height: 100%;
  padding: 12px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(43, 48, 58, 0.48), rgba(25, 30, 37, 0.38)),
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.04), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 30px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}


.composer__field:focus-within {
  border-color: rgba(103, 232, 249, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 0 1px rgba(103, 232, 249, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(46, 52, 62, 0.54), rgba(27, 32, 40, 0.42)),
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.06), transparent 34%);
}

.promptChips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  max-height: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.promptChips:empty {
  display: none;
}

.artifactCard {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(100%, 420px);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(103, 232, 249, 0.14);
  background: rgba(14, 20, 28, 0.76);
  border-radius: 14px;
  padding: 8px 12px 8px 10px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    transform 0.14s ease,
    background 0.14s ease;
}

.artifactCard__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.artifactCard__link--static {
  cursor: default;
}

.artifactCard:hover,
.artifactCard:focus-visible {
  outline: none;
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(103, 232, 249, 0.12);
}

.artifactCard--message {
  max-width: min(100%, 360px);
}

.artifactCard--prompt {
  max-width: min(100%, 292px);
  padding: 6px 10px 6px 8px;
  padding-right: 30px;
  flex: 0 0 auto;
}

.artifactCard--prompt .artifactCard__thumb {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.artifactCard--prompt .artifactCard__name {
  font-size: 11px;
}

.artifactCard--prompt .artifactCard__path {
  font-size: 9px;
}

.artifactCard--prompt .artifactCard__remove {
  top: 5px;
  right: 6px;
}

.artifactCard__thumb {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.12), transparent 62%),
    rgba(18, 24, 32, 0.92);
  border: 1px solid rgba(103, 232, 249, 0.12);
}

.artifactCard__thumb--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artifactCard__thumb .formatIcon {
  width: 100%;
  height: 100%;
}

.formatIcon--artifactCard svg {
  width: 100%;
  height: 100%;
  display: block;
}

.artifactCard__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.artifactCard__name {
  color: var(--artifact-title);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  font-family: var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artifactCard__path {
  color: rgba(186, 196, 210, 0.7);
  font-size: 10px;
  line-height: 1.2;
  font-family: var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artifactCard__remove {
  appearance: none;
  position: absolute;
  top: 7px;
  right: 8px;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 22, 0.72);
  color: rgba(215, 225, 239, 0.72);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.artifactCard__remove:hover,
.artifactCard__remove:focus-visible {
  outline: none;
  background: rgba(103, 232, 249, 0.14);
  color: rgba(231, 244, 250, 0.96);
}

.composer__input {
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: none;
  resize: none;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(234, 239, 246, 0.95);
  padding: 0 58px 54px 0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 173, 186, 0.34) transparent;
}

.composer__input::-webkit-resizer {
  display: none;
}

.composer__placeholder {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 72px;
  color: rgba(201, 208, 218, 0.58);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composer__placeholder[hidden] {
  display: none;
}

.composer__input:focus {
  outline: none;
}

.composer__footer {
  position: absolute;
  left: 14px;
  right: 64px;
  bottom: 12px;
  display: block;
  min-height: 42px;
  padding-right: 0;
  pointer-events: none;
}

.composerTools {
  position: relative;
  display: block;
  width: 100%;
  min-height: 42px;
  pointer-events: auto;
}

.runtimeControl--composerAnchor {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 3;
}

.runtimeControl--composerAnchor.runtimeControl--build {
  width: 42px;
  height: 42px;
  color: rgba(232, 239, 247, 0.82);
  background: rgba(19, 24, 33, 0.34);
  border-width: 2px;
  border-color: rgba(255, 96, 96, 0.92);
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.runtimeControl--composerAnchor.runtimeControl--build svg {
  width: 21px;
  height: 21px;
}

.runtimeControl--composerAnchor.runtimeControl--build::before,
.runtimeControl--composerAnchor.runtimeControl--build.is-active::before,
.runtimeControl--composerAnchor.runtimeControl--build:hover::before,
.runtimeControl--composerAnchor.runtimeControl--build:focus-visible::before,
.runtimeControl--composerAnchor.runtimeControl--build.is-active:hover::before,
.runtimeControl--composerAnchor.runtimeControl--build.is-active:focus-visible::before {
  display: none;
}

.runtimeControl--composerAnchor.runtimeControl--build:hover,
.runtimeControl--composerAnchor.runtimeControl--build:focus-visible {
  transform: translateX(-50%);
  color: rgba(238, 245, 252, 0.92);
  background: rgba(24, 30, 40, 0.46);
  border-color: rgba(255, 170, 170, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(255, 92, 92, 0.18);
}

.runtimeControl--composerAnchor.runtimeControl--build.is-active {
  color: rgba(238, 245, 252, 0.92);
  background: rgba(20, 26, 35, 0.34);
  border-width: 2px;
  border-color: rgba(102, 255, 170, 0.96);
  box-shadow: none;
}

.runtimeControl--composerAnchor.runtimeControl--build.is-active:hover,
.runtimeControl--composerAnchor.runtimeControl--build.is-active:focus-visible {
  transform: translateX(-50%);
  color: rgba(238, 245, 252, 0.96);
  background: rgba(24, 30, 40, 0.46);
  border-color: rgba(200, 255, 222, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(84, 255, 154, 0.16);
}

.outputSelector--composer {
  position: absolute;
  left: 0;
  bottom: 0;
}

.composerTool {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(214, 224, 237, 0.52);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.14s ease, background 0.14s ease, opacity 0.14s ease, transform 0.14s ease;
}

.composerTool:hover,
.composerTool:focus-visible {
  outline: none;
  color: rgba(232, 247, 251, 0.92);
  background: rgba(103, 232, 249, 0.08);
}

.composerTool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.composerTool svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composerSend {
  appearance: none;
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(52, 60, 72, 0.78);
  color: rgba(193, 203, 216, 0.66);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.14s ease,
    background 0.14s ease,
    color 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    opacity 0.14s ease;
}

.composerSend:hover:not(:disabled),
.composerSend:focus-visible {
  transform: translateY(-1px);
  outline: none;
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(231, 239, 246, 0.92);
}

.composerSend:disabled {
  cursor: default;
  opacity: 0.82;
}

.composerSend.is-ready {
  background: rgba(248, 249, 252, 0.98);
  border-color: transparent;
  color: rgba(93, 98, 108, 0.96);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.composerSend.is-ready:hover:not(:disabled),
.composerSend.is-ready:focus-visible {
  background: rgba(255, 255, 255, 1);
  color: rgba(77, 83, 94, 1);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(103, 232, 249, 0.16);
}

.composerSend__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.composerSend__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filesColumn {
  grid-area: files;
  --surface-accent: #67e8f9;
  --surface-accent-soft: rgba(103, 232, 249, 0.14);
  --surface-accent-glow: rgba(103, 232, 249, 0.24);
  --surface-accent-strength: 0.18;
  position: relative;
  display: block;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.filesLayout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  height: 100%;
}

.filesLayout.is-reordering {
  user-select: none;
}

.filesModule {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.filesModule::before,
.filesModule::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.filesModule::before {
  top: 0;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.4), transparent);
}

.filesModule::after {
  bottom: 0;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.4), transparent);
}

.filesModule.is-drop-before::before,
.filesModule.is-drop-after::after {
  opacity: 1;
}

.filesModule.is-dragging {
  opacity: 0.52;
  transform: scale(0.992);
}

.filesModule.is-sized {
  flex: 0 1 var(--files-module-size);
}

.filesModule.is-resizing,
.filesModule.is-resizing * {
  cursor: ns-resize;
}

.filesModule--results {
  flex: 0 1 var(--results-panel-height);
}

.filesModule--drop {
  flex: 1 1 248px;
  min-height: 208px;
}

.filesModule--console {
  flex: 0 0 auto;
}

.filesModule--files {
  flex: 0 1 176px;
  min-height: 116px;
}

.filesModule__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--files-module-header-height);
  height: var(--files-module-header-height);
  margin: 8px 16px 0;
  padding: 0 2px 0 0;
  opacity: 0.42;
  transition: opacity 0.14s ease;
}

.filesModule:hover .filesModule__header,
.filesModule:focus-within .filesModule__header,
.filesLayout.is-reordering .filesModule__header {
  opacity: 0.82;
}

.filesModule__label {
  color: rgba(162, 176, 193, 0.54);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filesModule__handle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(196, 209, 224, 0.62);
  cursor: grab;
  transition: background 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

.filesModule__handle:hover,
.filesModule__handle:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(238, 245, 252, 0.92);
}

.filesModule__handle:active {
  cursor: grabbing;
}

.filesModule__handleGrip {
  display: block;
  width: 14px;
  height: 10px;
  background:
    radial-gradient(circle, currentColor 0 1px, transparent 1.6px) 0 0 / 7px 5px repeat;
  opacity: 0.82;
}

.filesModule__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 16px;
  margin: 0 16px;
}

.filesModuleResize {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 16px;
  background: transparent;
  border: none;
  color: rgba(171, 186, 203, 0.48);
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  opacity: 0.74;
  transition: opacity 0.14s ease, filter 0.14s ease, color 0.14s ease;
}

.filesModuleResize:hover,
.filesModuleResize:focus-visible,
.filesModule.is-resizing .filesModuleResize {
  outline: none;
  opacity: 1;
  color: rgba(232, 242, 251, 0.9);
  filter: drop-shadow(0 0 10px rgba(103, 232, 249, 0.14));
}

.filesSection {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.resultsPanel {
  align-self: stretch;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

.inputPanel {
  align-self: stretch;
}

.filesControlBar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-height: 54px;
  height: 54px;
  max-height: 54px;
  padding: 0;
  overflow: visible;
  isolation: isolate;
}

.filesControlBar::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  bottom: 8px;
  width: 196px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  filter: blur(16px);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.filesControlBar.is-build-off::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 104, 104, 0.12) 0%, rgba(255, 104, 104, 0.06) 20%, rgba(255, 104, 104, 0.025) 34%, transparent 56%),
    linear-gradient(90deg, rgba(255, 104, 104, 0.045) 0%, rgba(255, 104, 104, 0.016) 34%, transparent 68%);
  transform: translateX(-1px);
}

.filesControlBar.is-build-on::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 50%, rgba(84, 255, 154, 0.12) 0%, rgba(84, 255, 154, 0.06) 20%, rgba(84, 255, 154, 0.025) 34%, transparent 56%),
    linear-gradient(90deg, rgba(84, 255, 154, 0.045) 0%, rgba(84, 255, 154, 0.016) 34%, transparent 68%);
  transform: translateX(-1px);
}

.filesControlBar__inner {
  position: relative;
  z-index: 4;
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0;
  width: 100%;
  min-width: 0;
  padding: 0 8px 2px;
}

.inputPanel::before,
.resultsPanel::before,
.inputPanel::after,
.resultsPanel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.inputPanel::before,
.resultsPanel::before {
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 8%, var(--surface-accent-soft), transparent 24%),
    radial-gradient(circle at 82% 84%, var(--surface-accent-glow), transparent 22%);
  opacity: 0.34;
  filter: blur(20px);
}

.inputPanel::after,
.resultsPanel::after {
  inset: 1px;
  border-radius: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.035) 48%, transparent 100%);
  opacity: 0;
  transform: translateX(-28%);
}

.inputPanel.is-live::after,
.resultsPanel.is-live::after {
  opacity: 0.44;
  animation: panelSweep 2.8s ease-in-out infinite;
}

.resultsPanel.has-results::before {
  opacity: 0.46;
}

.activityPanel {
  padding-bottom: 14px;
}

.fileSurface,
.resultSurface {
  margin: 2px 16px 10px;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}

.fileSurface {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 0;
  border: none;
  background: transparent;
  outline: none;
  transition: background 0.12s ease, box-shadow 0.18s ease;
}

.fileSurface.is-dragging {
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--surface-accent) 10%, transparent), transparent 42%),
    rgba(103, 232, 249, 0.03);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface-accent) 20%, transparent);
}

.fileSurface:focus-within {
  box-shadow: none;
}

.resultSurface {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  min-height: 0;
  height: auto;
  max-height: none;
  position: relative;
  padding-bottom: 6px;
  overflow: hidden;
}

.filesModule--results > .resultSurface,
.filesModule--drop > .fileSurface {
  flex: 1 1 auto;
}

.fileSurface--drop {
  flex: 1 1 auto;
}

.fileSurface--drop,
.fileSurface--list {
  flex: 1 1 auto;
  height: 100%;
}

.fileSurface--console {
  height: auto;
  overflow: visible;
}

.fileSurface--console .actionStream--side {
  margin-top: 0;
}

.fileSurface::before,
.resultSurface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--surface-accent) 6%, transparent), transparent 18%),
    radial-gradient(circle at 24% 86%, color-mix(in srgb, var(--surface-accent) 4%, transparent), transparent 18%);
  opacity: 0.48;
  transition: opacity 0.18s ease;
}

.inputPanel.is-live .fileSurface::before,
.resultsPanel.is-live .resultSurface::before {
  opacity: 0.72;
}

.dropZone {
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  gap: 8px;
  pointer-events: auto;
  user-select: none;
  border: 1px dashed rgba(144, 160, 178, 0.1);
  border-radius: 14px;
  background: rgba(9, 13, 19, 0.14);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.dropZone:hover,
.dropZone:focus-visible {
  border-color: rgba(144, 160, 178, 0.16);
  background: rgba(10, 14, 20, 0.24);
}

.fileSurface.is-dragging .dropZone {
  background: color-mix(in srgb, var(--surface-accent) 10%, transparent);
  transform: scale(0.995);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--surface-accent) 14%, transparent),
    0 0 0 1px color-mix(in srgb, var(--surface-accent) 12%, transparent);
}

.fileSurface--drop.has-files .dropZone {
  min-height: 220px;
}

.dropZone__title {
  position: relative;
  display: inline-block;
  color: color-mix(in srgb, var(--accent) 8%, #98a7b8 92%);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
  text-shadow: none;
  transition: color 0.14s ease, text-shadow 0.18s ease;
}

.dropZone__title::before,
.dropZone__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: color-mix(in srgb, var(--accent) 84%, #f3fbff 16%);
  opacity: 0;
  filter: blur(0.3px);
}

.dropZone__title::before {
  animation: none;
}

.dropZone__title::after {
  animation: none;
}

.dropZone__sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font-ui);
}

.fileSurface__stack {
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  flex: 1 1 auto;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 14px;
}

.fileSurface__list,
.resultSurface__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fileSurface__listWrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 10px;
  height: auto;
  max-height: none;
}

.fileSurface__listPanel {
  min-height: 0;
  flex: 0 0 auto;
  margin-top: auto;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(144, 160, 178, 0.1);
  padding-top: 14px;
}

.fileSurface__list {
  min-height: 0;
  flex: 0 1 auto;
  max-height: 100%;
  overflow: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(162, 173, 186, 0.34) transparent;
}

.resultSurface__list {
  padding: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.fileRow,
.resultRow {
  display: grid;
  gap: 6px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(144, 160, 178, 0.1);
  opacity: 0.64;
  transition: opacity 0.14s ease;
}

.fileSurface__list > .fileRow:first-child,
.resultSurface__list > .resultRow:first-child {
  border-top: none;
  padding-top: 0;
}

.fileRow {
  cursor: default;
}

.fileRow:hover,
.fileRow:focus-within,
.resultRow:hover,
.resultRow:focus-within {
  opacity: 1;
}

.fileSurface__list:hover .fileRow,
.fileSurface__list:focus-within .fileRow {
  opacity: 0.46;
  filter: saturate(0.82);
}

.fileRow__head,
.resultRow__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.fileRow__main,
.resultRow__main {
  min-width: 0;
}

.fileRow__side,
.resultRow__side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.fileRow__name,
.resultRow__name {
  color: rgba(201, 218, 234, 0.34);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  font-family: var(--font-ui);
  letter-spacing: 0.004em;
  word-break: break-word;
  transition: color 0.14s ease, text-shadow 0.18s ease;
}

.fileRow__title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fileRow__dragHandle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  min-width: 14px;
  color: rgba(144, 160, 178, 0.34);
  cursor: grab;
  flex: 0 0 14px;
  transition: color 0.14s ease, opacity 0.14s ease;
}

.fileRow__dragHandle svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.fileRow:active .fileRow__dragHandle {
  cursor: grabbing;
}

.fileRow__titleLink {
  color: inherit;
  text-decoration: none;
}

.fileRow__titleLink:hover,
.fileRow__titleLink:focus-visible {
  outline: none;
}

.fileRow__title .fileRow__name {
  min-width: 0;
}

.fileRow__meta,
.resultRow__meta,
.fileRow__stamp,
.resultRow__stamp {
  color: rgba(144, 160, 178, 0.28);
  font-size: 12px;
  line-height: 1.5;
  font-family: var(--font-ui);
  transition: color 0.14s ease;
}

.fileRow__stamp,
.resultRow__stamp {
  white-space: nowrap;
}

.rowIconActions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.iconButton {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--action-icon-button-size);
  height: var(--action-icon-button-size);
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(144, 160, 178, 0.3);
  cursor: pointer;
  text-decoration: none;
  opacity: 0.34;
  transition: color 0.12s ease, opacity 0.12s ease, transform 0.12s ease, background 0.12s ease;
}

.iconButton:hover {
  color: var(--accent);
  opacity: 1;
  background: rgba(103, 232, 249, 0.08);
}

.iconButton:focus-visible {
  outline: none;
  color: var(--accent);
  opacity: 1;
  background: rgba(103, 232, 249, 0.1);
}

.iconButton:active {
  transform: scale(0.96);
}

.fileRow:hover .iconButton,
.fileRow:focus-within .iconButton,
.fileRow__titleLink:hover ~ .fileRow__side .iconButton,
.fileRow__titleLink:focus-visible ~ .fileRow__side .iconButton {
  color: rgba(176, 193, 210, 0.7);
  opacity: 0.72;
}

.fileSurface__list:hover .fileRow .iconButton,
.fileSurface__list:focus-within .fileRow .iconButton {
  color: rgba(176, 193, 210, 0.7);
  opacity: 0.72;
}

.fileRow:hover .iconButton:hover,
.fileRow:hover .iconButton:focus-visible,
.fileRow:focus-within .iconButton:hover,
.fileRow:focus-within .iconButton:focus-visible,
.fileRow__titleLink:hover ~ .fileRow__side .iconButton:hover,
.fileRow__titleLink:hover ~ .fileRow__side .iconButton:focus-visible,
.fileRow__titleLink:focus-visible ~ .fileRow__side .iconButton:hover,
.fileRow__titleLink:focus-visible ~ .fileRow__side .iconButton:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.iconButton svg {
  width: var(--action-icon-svg-size);
  height: var(--action-icon-svg-size);
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iconButton--accent {
  color: #dffaff;
  background: rgba(103, 232, 249, 0.08);
}

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

.resultCarousel__viewport {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.resultCarousel__track {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.resultCarousel__slide {
  display: flex;
  align-items: stretch;
  flex: 0 0 100%;
  min-width: 0;
}

.resultCarousel.is-animating .resultCarousel__track {
  will-change: transform;
  pointer-events: none;
}

.resultCarousel.is-forward .resultCarousel__track {
  animation: resultCarouselSlideForward 760ms cubic-bezier(0.2, 0.88, 0.24, 1.04) both;
}

.resultCarousel.is-backward .resultCarousel__track {
  transform: translateX(-100%);
  animation: resultCarouselSlideBackward 760ms cubic-bezier(0.2, 0.88, 0.24, 1.04) both;
}

.resultSpotlight {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
  min-height: 0;
  padding: 10px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(144, 160, 178, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008));
  cursor: zoom-in;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}

.resultSpotlight:hover,
.resultSpotlight:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012));
  border-color: rgba(144, 160, 178, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.resultSpotlight:focus-visible {
  outline: none;
}

.resultSpotlight__glyph {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  flex: 0 0 64px;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.resultSpotlight__main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.resultSpotlight__name {
  color: rgba(201, 218, 234, 0.76);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  font-family: var(--font-ui);
  letter-spacing: 0.004em;
  word-break: break-word;
  transition: color 0.14s ease, text-shadow 0.18s ease;
}

.dropZone:hover .dropZone__title,
.dropZone:focus-visible .dropZone__title,
.fileSurface.is-dragging .dropZone__title,
.fileSurface__list:hover .fileRow .fileRow__name,
.fileSurface__list:focus-within .fileRow .fileRow__name,
.fileSurface__list:hover .fileRow .fileRow__meta,
.fileSurface__list:focus-within .fileRow .fileRow__meta,
.fileSurface__list:hover .fileRow .fileRow__stamp,
.fileSurface__list:focus-within .fileRow .fileRow__stamp,
.fileRow__titleLink:hover .fileRow__name,
.fileRow__titleLink:focus-visible .fileRow__name,
.fileRow__titleLink:hover .formatIcon,
.fileRow__titleLink:focus-visible .formatIcon,
.fileRow:hover .fileRow__name,
.fileRow:focus-within .fileRow__name,
.fileRow:hover .fileRow__meta,
.fileRow:focus-within .fileRow__meta,
.fileRow:hover .fileRow__stamp,
.fileRow:focus-within .fileRow__stamp,
.resultSpotlight:hover .resultSpotlight__name,
.resultSpotlight:focus-visible .resultSpotlight__name {
  color: color-mix(in srgb, var(--accent) 82%, #f2fbff 18%);
  text-shadow:
    0 0 10px rgba(103, 232, 249, 0.34),
    0 0 22px rgba(103, 232, 249, 0.22),
    0 0 38px rgba(103, 232, 249, 0.12);
}

.fileRow:hover .fileRow__thumb,
.fileRow:focus-within .fileRow__thumb,
.fileRow__titleLink:hover .fileRow__thumb,
.fileRow__titleLink:focus-visible .fileRow__thumb,
.fileRow__thumb:hover,
.fileRow__thumb:focus-visible {
  background:
    radial-gradient(circle at top left, rgba(103, 232, 249, 0.18), transparent 60%),
    rgba(18, 24, 32, 0.96);
  border-color: rgba(103, 232, 249, 0.24);
  box-shadow:
    0 0 0 1px rgba(103, 232, 249, 0.12),
    0 0 24px rgba(103, 232, 249, 0.14);
}

.fileRow:hover .fileRow__thumb::after,
.fileRow:focus-within .fileRow__thumb::after,
.fileRow__titleLink:hover .fileRow__thumb::after,
.fileRow__titleLink:focus-visible .fileRow__thumb::after,
.fileRow__thumb:hover::after,
.fileRow__thumb:focus-visible::after {
  opacity: 0.96;
}

.fileRow:hover .fileRow__thumb img,
.fileRow:focus-within .fileRow__thumb img,
.fileRow__titleLink:hover .fileRow__thumb img,
.fileRow__titleLink:focus-visible .fileRow__thumb img,
.fileRow__thumb:hover img,
.fileRow__thumb:focus-visible img {
  filter: brightness(1.18) saturate(1.16) contrast(1.06);
  transform: scale(1.03);
  opacity: 1;
}

.fileRow:hover .formatIcon--fileRow,
.fileRow:focus-within .formatIcon--fileRow,
.fileSurface__list:hover .fileRow .formatIcon--fileRow,
.fileSurface__list:focus-within .fileRow .formatIcon--fileRow,
.fileRow__titleLink:hover .formatIcon--fileRow,
.fileRow__titleLink:focus-visible .formatIcon--fileRow,
.fileRow__thumb:hover .formatIcon--fileRow,
.fileRow__thumb:focus-visible .formatIcon--fileRow {
  opacity: 1;
  filter: none drop-shadow(0 0 16px rgba(103, 232, 249, 0.24));
}

.fileSurface__list:hover .fileRow:hover,
.fileSurface__list:focus-within .fileRow:focus-within {
  opacity: 1;
  filter: none;
}

.fileSurface__list:hover .fileRow:hover .fileRow__name,
.fileSurface__list:focus-within .fileRow:focus-within .fileRow__name,
.fileSurface__list:hover .fileRow:hover .fileRow__meta,
.fileSurface__list:focus-within .fileRow:focus-within .fileRow__meta,
.fileSurface__list:hover .fileRow:hover .fileRow__stamp,
.fileSurface__list:focus-within .fileRow:focus-within .fileRow__stamp {
  color: color-mix(in srgb, var(--accent) 94%, #f6fcff 6%);
  text-shadow:
    0 0 12px rgba(103, 232, 249, 0.42),
    0 0 26px rgba(103, 232, 249, 0.24),
    0 0 42px rgba(103, 232, 249, 0.14);
}

.fileSurface__list:hover .fileRow:hover .formatIcon--fileRow,
.fileSurface__list:focus-within .fileRow:focus-within .formatIcon--fileRow {
  filter: none drop-shadow(0 0 22px rgba(103, 232, 249, 0.42));
}

.dropZone:hover .dropZone__title::before,
.dropZone:focus-visible .dropZone__title::before,
.fileSurface.is-dragging .dropZone__title::before {
  animation: dropZoneGhostA 4.4s ease-in-out infinite;
}

.dropZone:hover .dropZone__title::after,
.dropZone:focus-visible .dropZone__title::after,
.fileSurface.is-dragging .dropZone__title::after {
  animation: dropZoneGhostB 5.1s ease-in-out infinite;
}

.resultSpotlight__meta,
.resultSpotlight__history {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-family: var(--font-ui);
}

.resultSpotlight__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.resultNav {
  width: 42px;
  height: 42px;
  align-self: center;
  color: rgba(214, 224, 237, 0.74);
  background: rgba(255, 255, 255, 0.02);
}

.resultNav--outer {
  justify-self: center;
}

.resultNav--placeholder {
  visibility: hidden;
  pointer-events: none;
}

.resultNav[disabled] {
  opacity: 0.24;
  pointer-events: none;
}

.resultNav svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.resultAction,
.resultSpotlight__actions .iconButton {
  color: rgba(214, 224, 237, 0.72);
  background: rgba(255, 255, 255, 0.02);
}

.resultAction:hover,
.resultAction:focus-visible,
.resultSpotlight__actions .iconButton:hover,
.resultSpotlight__actions .iconButton:focus-visible,
.resultNav:hover,
.resultNav:focus-visible {
  color: #e8f7fb;
  background: rgba(103, 232, 249, 0.08);
}

.resultSpotlight:hover .formatIcon--result,
.resultSpotlight:focus-visible .formatIcon--result {
  transform: none;
  filter: none;
}

.emptyState {
  border: 1px dashed rgba(144, 160, 178, 0.18);
  border-radius: 14px;
  color: var(--muted);
  padding: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.emptyState--surface {
  border: none;
  background: transparent;
  padding: 24px 18px;
}

@keyframes actionFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -8px, 0) scale(1.08);
  }
}

@keyframes resultCarouselSlideForward {
  0% {
    transform: translateX(0%);
  }

  68% {
    transform: translateX(-102%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes resultCarouselSlideBackward {
  0% {
    transform: translateX(-100%);
  }

  32% {
    transform: translateX(2%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes actionBurstPrimary {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    filter: blur(6px);
  }

  18% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    filter: blur(0);
  }

  68% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
    filter: blur(4px);
  }
}

@keyframes actionBurstSecondary {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  24% {
    opacity: 0.95;
    transform: translateY(0);
  }

  72% {
    opacity: 0.9;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes actionTickerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes actionStreamDrop {
  0% {
    opacity: 0;
    transform: translateY(-7px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes c64CursorBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes actionStreamTyping {
  0%,
  100% {
    opacity: 0.84;
    filter: none;
  }

  48% {
    opacity: 1;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--stream-accent) 24%, transparent));
  }
}

@keyframes actionStageHeadlineIn {
  0% {
    opacity: 0;
    transform: translateY(9px) scale(0.96);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes actionStageHeadlinePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    text-shadow:
      0 0 28px color-mix(in srgb, var(--action-accent) 24%, transparent),
      0 1px 0 rgba(255, 255, 255, 0.08);
    filter: none;
  }

  48% {
    transform: translateY(-1px) scale(1.02);
    text-shadow:
      0 0 36px color-mix(in srgb, var(--action-accent) 34%, transparent),
      0 0 56px color-mix(in srgb, var(--action-accent) 12%, transparent),
      0 1px 0 rgba(255, 255, 255, 0.1);
    filter: saturate(1.08);
  }
}

@keyframes actionStreamCursor {
  0%,
  48% {
    opacity: 0.95;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes matrixRainFall {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 0 0, 0 168px;
  }
}

@keyframes matrixRainFallAlt {
  0% {
    background-position: 0 0, 0 -80px;
  }

  100% {
    background-position: 0 0, 0 152px;
  }
}

@keyframes visualTokenFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(0.985);
    opacity: 0.86;
  }

  40% {
    transform: translate(-50%, -50%) translate3d(2px, -5px, 0) scale(1.015);
    opacity: 1;
  }

  75% {
    transform: translate(-50%, -50%) translate3d(-1px, -8px, 0) scale(1);
    opacity: 0.94;
  }
}

@keyframes codexGazeSweep {
  0%,
  12%,
  100% {
    transform: translate(-56%, -51%);
  }

  20%,
  30% {
    transform: translate(-66%, -52%);
  }

  40%,
  54% {
    transform: translate(-46%, -49%);
  }

  66%,
  78% {
    transform: translate(-35%, -50%);
  }

  88% {
    transform: translate(-58%, -48%);
  }
}

@keyframes codexBlinkUpper {
  0%,
  69%,
  84%,
  100% {
    transform: scaleY(0.001) translateY(-9px);
    opacity: 0;
  }

  72%,
  87% {
    transform: scaleY(0.2) translateY(-3px);
    opacity: 0.16;
  }

  73.2%,
  88.2% {
    transform: scaleY(0.62) translateY(0);
    opacity: 0.44;
  }

  74.3%,
  89.1% {
    transform: scaleY(0.001) translateY(-9px);
    opacity: 0;
  }
}

@keyframes codexBlinkLower {
  0%,
  69%,
  84%,
  100% {
    transform: scaleY(0.001) translateY(6px);
    opacity: 0;
  }

  72%,
  87% {
    transform: scaleY(0.1) translateY(2px);
    opacity: 0.08;
  }

  73.2%,
  88.2% {
    transform: scaleY(0.22) translateY(0);
    opacity: 0.14;
  }

  74.3%,
  89.1% {
    transform: scaleY(0.001) translateY(6px);
    opacity: 0;
  }
}

@keyframes vendorPulse {
  0% {
    transform: scale(0.94);
    filter: drop-shadow(0 0 0 color-mix(in srgb, var(--vendor-accent) 0%, transparent));
  }

  45% {
    transform: scale(1.14);
    filter: drop-shadow(0 0 22px color-mix(in srgb, var(--vendor-accent) 72%, transparent));
  }

  100% {
    transform: scale(1);
  }
}

@keyframes runtimeSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes runtimePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes panelSweep {
  0% {
    opacity: 0;
    transform: translateX(-30%);
  }

  18% {
    opacity: 0.38;
  }

  52% {
    opacity: 0.24;
  }

  100% {
    opacity: 0;
    transform: translateX(24%);
  }
}

@keyframes dropZoneGhostA {
  0%, 14%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  18% {
    opacity: 0.22;
    transform: translate3d(-0.6px, 0, 0);
  }

  22% {
    opacity: 0.1;
    transform: translate3d(0.8px, 0, 0);
  }

  28% {
    opacity: 0;
    transform: translate3d(1.4px, 0, 0);
  }
}

@keyframes dropZoneGhostB {
  0%, 48%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  52% {
    opacity: 0.18;
    transform: translate3d(0.8px, 0, 0);
  }

  56% {
    opacity: 0.08;
    transform: translate3d(-0.7px, 0, 0);
  }

  62% {
    opacity: 0;
    transform: translate3d(-1.2px, 0, 0);
  }
}

@keyframes messagePendingScan {
  0% {
    background-position: 140% 50%;
  }

  100% {
    background-position: -100% 50%;
  }
}

@keyframes messagePendingScanStrong {
  0% {
    background-position: 150% 50%;
  }

  100% {
    background-position: -90% 50%;
  }
}

@keyframes actionStageScan {
  0% {
    background-position: 150% 50%;
  }

  100% {
    background-position: -90% 50%;
  }
}

@keyframes messagePendingBeam {
  0% {
    transform: translateX(-120%);
    opacity: 0.18;
  }

  18% {
    opacity: 0.2;
  }

  46% {
    transform: translateX(0%);
    opacity: 0.82;
  }

  64% {
    transform: translateX(48%);
    opacity: 0.42;
  }

  100% {
    transform: translateX(120%);
    opacity: 0.06;
  }
}

@keyframes messagePendingBeamStrong {
  0% {
    transform: translateX(-120%);
    opacity: 0.12;
  }

  18% {
    opacity: 0.28;
  }

  48% {
    transform: translateX(0%);
    opacity: 0.96;
  }

  72% {
    transform: translateX(44%);
    opacity: 0.42;
  }

  100% {
    transform: translateX(120%);
    opacity: 0.04;
  }
}


@keyframes actionStageScanBeam {
  0% {
    transform: translateX(-120%);
    opacity: 0.14;
  }

  18% {
    opacity: 0.3;
  }

  48% {
    transform: translateX(0%);
    opacity: 0.96;
  }

  72% {
    transform: translateX(44%);
    opacity: 0.42;
  }

  100% {
    transform: translateX(120%);
    opacity: 0.04;
  }
}

@media (max-width: 900px) {
  :root {
    --top-band-height: 146px;
    --results-panel-height: 188px;
  }

  .actionBeacon {
    --action-copy-row-height: 20px;
    --action-copy-row-gap: 2px;
    --action-copy-max-height: 120px;
  }

  .workspaceGrid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "chat"
      "files";
  }

  .workspaceDivider {
    display: none;
  }

  .chatPanel {
    min-height: 0;
    height: 100%;
  }

  .fileSurface {
    height: 100%;
    min-height: 0;
  }

  .filesColumn {
    height: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --top-band-height: 128px;
    --footer-height: 38px;
    --chat-head-height: 50px;
    --action-stream-height: 72px;
    --action-stream-side-height: 124px;
    --action-stream-offset: 34px;
    --action-stream-font-size: 13.33px;
    --action-stream-label-size: 10px;
    --chat-lock-clearance: 12px;
    --composer-height: 196px;
    --results-panel-height: 176px;
  }

  .shell {
    padding: 12px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta hint"
      "session session";
    align-items: start;
  }

  .topbar__meta {
    grid-area: meta;
  }

  .topbar__hint {
    grid-area: hint;
  }

  .topbar__center {
    grid-area: session;
    width: 100%;
    min-width: 0;
  }

  .topbar__session {
    width: 100%;
  }

  .topbar__sessionButton {
    max-width: min(100%, 64ch);
  }

  .runtimeMeta {
    gap: 6px 10px;
  }

  .runtimeMeta__item {
    gap: 4px;
  }

  .runtimeMeta__label {
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .runtimeMeta__value {
    font-size: 10px;
  }

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

  .chatHead {
    grid-column: 2;
  }

  .runtimeControls {
    grid-column: 3;
  }

  .actionBeacon {
    --action-pad-top: 13px;
    --action-pad-right: 14px;
    --action-pad-bottom: 14px;
    --action-pad-left: 14px;
    padding: var(--action-pad-top) var(--action-pad-right) var(--action-pad-bottom) var(--action-pad-left);
  }

  .actionBeacon__layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px;
    height: auto;
    align-content: center;
  }

  .actionBeacon__visual {
    position: relative;
    min-height: 76px;
    grid-column: 1;
    grid-row: 1;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .actionBeacon__aside {
    position: relative;
    grid-column: 1;
    grid-row: 4;
    min-width: 0;
    justify-content: flex-start;
    padding: 0;
    top: auto;
    right: auto;
    width: 100%;
    transform: none;
  }

  .actionBeacon__summary {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    min-height: 0;
    left: auto;
    right: auto;
    top: auto;
  }

  .actionBeacon__copy {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    width: min(100%, calc(100% - 12px));
    max-width: 100%;
    min-height: 0;
    padding: 4px 12px 4px 14px;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .actionWire {
    max-height: var(--action-copy-max-height);
    height: auto;
  }

  .actionWire__row {
    width: 100%;
    gap: 10px;
  }

  .actionWire__text {
    font-size: 14.33px;
    line-height: 1.18;
  }

  .actionStageCopy {
    width: 144px;
    min-height: 0;
    padding: 6px 0 10px;
  }

  .actionStageCopy__headline {
    font-size: clamp(22px, 8vw, 28px);
  }

  .actionBurst--primary {
    font-size: clamp(24px, 10vw, 34px);
  }

  .filesColumn {
    height: auto;
  }

  .resultCarousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .resultNav {
    width: 36px;
    height: 36px;
  }

  .composer__field {
    padding: 12px 12px 14px;
  }

  .composer__input {
    min-height: 0;
  }

  .composerTool,
  .outputSelector__option {
    width: 32px;
    height: 32px;
  }

  .filesControlBar__inner {
    padding: 0 0 2px;
  }
}
