/* Preserve semantic, copyable list items; paint only their native-marker position. */
.markdown-response {
  --reply-bullet-chrome: linear-gradient(110deg, #354956 8%, #596072 24%, #986057 38%, #797097 52%, #507d88 68%, #7d624b 84%, #354956);
}
.dark .markdown-response {
  --reply-bullet-chrome: linear-gradient(110deg, #bfccd4, #b49ac7, #ddb080, #85c9cc, #d7b4d0, #bfccd4);
}
.markdown-response ul > li {
  position: relative;
}
.markdown-response ul > li::marker {
  color: transparent;
}
.markdown-response ul > li::before {
  content: '';
  position: absolute;
  inset-inline-start: -1.03em;
  top: .76em;
  width: .38em;
  height: .38em;
  border-radius: 50%;
  background: var(--reply-bullet-chrome);
  background-size: 240% 100%;
  animation: reply-bullet-glint 8s linear infinite;
  pointer-events: none;
  user-select: none;
}
/* Ordered markers remain semantic, copyable lists with the same chrome material. */
.markdown-response ol > li {position:relative;}
.markdown-response ol > li::marker {color:transparent;}
.markdown-response ol > li::before {
  content:counter(list-item) '.';position:absolute;inset-inline-end:calc(100% + .38em);
  white-space:nowrap;color:transparent;background:var(--reply-bullet-chrome);background-size:240% 100%;
  background-clip:text;-webkit-background-clip:text;animation:reply-bullet-glint 8s linear infinite;
  font-variant-numeric:tabular-nums;pointer-events:none;
}
.markdown-response strong,.markdown-response .reply-number,.markdown-response .reply-project {
  background:var(--reply-bullet-chrome);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;animation:reply-bullet-glint 8s linear infinite;
}
/* Keep the richer text fully readable; only its travelling reflection is 34%. */
.markdown-response strong {
  background-image:var(--zeus-reply-bold-glare),var(--zeus-reply-bold-chrome);
  background-size:240% 100%,100% 100%;
}
.reply-project {font-weight:600;}
@keyframes reply-bullet-glint {
  to { background-position: 240% 0; }
}

/* Completion keeps the chrome reflection and slows its movement. */
#sanctum #send .composer-stop-icon { display:none; }
#sanctum #send[data-action="cancel"] .brand-symbol { display:none; }
#sanctum #send[data-action="cancel"] .composer-stop-icon { display:block;width:26px;height:26px;overflow:visible; }
.composer-stop-icon path { fill:none;stroke-linecap:round;stroke-linejoin:round; }
.composer-stop-edge { stroke:#222831;stroke-width:3.8; }
.composer-stop-silver { stroke:url(#composer-stop-silver);stroke-width:2.2; }
#sanctum #send[data-action="cancel"]:active { transform:scale(.94); }
@media(forced-colors:active) {
  .composer-stop-edge { stroke:ButtonText; }
  .composer-stop-silver { stroke:ButtonFace; }
}

#trace.is-manifesting #manifest-label,
#trace.is-manifested #manifest-label {
  background: linear-gradient(100deg, var(--muted) 15%, #88bfc3 33%, #c4a5dc 42%, #ead1a4 50%, var(--ink) 60%, var(--muted) 80%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: manifest-glint var(--zeus-manifest-glare) linear infinite;
}
#trace.is-manifested #manifest-label {animation-duration:var(--zeus-manifested-glare);}

body.user-reduced-motion .markdown-response ul > li::before {
  animation: none;
  background-position: 40% 0;
}
body.user-reduced-motion .markdown-response ol > li::before,
body.user-reduced-motion .markdown-response strong,
body.user-reduced-motion .markdown-response .reply-number,
body.user-reduced-motion .markdown-response .reply-project {animation:none;}
body.user-reduced-motion #trace #manifest-label {
  animation: none;
  background-position: 40% 0;
}
@media (prefers-reduced-motion: reduce) {
  .markdown-response ul > li::before,
  .markdown-response ol > li::before,
  .markdown-response strong,.markdown-response .reply-number,.markdown-response .reply-project,
  #trace.is-manifesting #manifest-label,
  #trace.is-manifested #manifest-label {
    animation: none;
    background-position: 40% 0;
  }
}
@media (forced-colors: active) {
  .markdown-response ul > li::marker { color: CanvasText; }
  .markdown-response ol > li::marker {color:CanvasText;}
  .markdown-response ol > li::before {display:none;}
  .markdown-response strong,.markdown-response .reply-number,.markdown-response .reply-project {background:none;color:CanvasText;-webkit-text-fill-color:currentColor;}
  .markdown-response ul > li::before { display: none; }
  #trace.is-manifesting #manifest-label,
  #trace.is-manifested #manifest-label {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
    animation: none;
  }
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .markdown-response strong,.markdown-response .reply-number,.markdown-response .reply-project {background:none;color:var(--ink);-webkit-text-fill-color:currentColor;animation:none;}
  #trace.is-manifesting #manifest-label,
  #trace.is-manifested #manifest-label {
    background: none;
    color: var(--muted);
    -webkit-text-fill-color: currentColor;
  }
}

/* Decorative animation stops outside the viewport and in background windows. */
.zeus-motion-offscreen,.zeus-motion-offscreen *,
.zeus-motion-offscreen::before,.zeus-motion-offscreen::after,
.zeus-motion-offscreen *::before,.zeus-motion-offscreen *::after,
.zeus-motion-background *,.zeus-motion-background *::before,.zeus-motion-background *::after {
  animation-play-state: paused !important;
}

/* A fixed edge mask clips one composited moving texture. No per-frame gradient repaint. */
#sanctum .composer::before,#sanctum .composer::after{display:none;animation:none}
.composer-chrome{position:absolute;inset:-1px;padding:1.6px;border-radius:inherit;overflow:hidden;pointer-events:none;mask:linear-gradient(var(--zeus-mask-opaque) 0 0) content-box,linear-gradient(var(--zeus-mask-opaque) 0 0);mask-composite:exclude}
.composer-chrome>i{position:absolute;inset:0 auto 0 0;width:300%;background:var(--zeus-chrome-edge);background-size:50% 100%;animation:composer-chrome-flow var(--zeus-chrome-flow) linear infinite}
@keyframes composer-chrome-flow{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.zeus-motion-offscreen .composer-chrome>i,body.zeus-motion-background .composer-chrome>i{animation-play-state:paused}
body.user-reduced-motion .composer-chrome>i{animation:none}
@media(prefers-reduced-motion:reduce){.composer-chrome>i{animation:none}}

/* Shared legacy notices stay above the composer and use the reply typography. */
#message{font-family:var(--serif);font-size:var(--zeus-type-body);font-weight:var(--zeus-weight-body,400);line-height:1.7;letter-spacing:normal;color:var(--ink);margin:var(--zeus-space-3) 0;min-height:0;overflow-wrap:anywhere}
#message:empty{display:none}
