/* src/webui/styles.css */
:root {
  color-scheme: light;
  --bg-a: #f4f5f3;
  --bg-b: #ecefed;
  --panel: #eff6f7;
  --panel-strong: #e5f0f2;
  --panel-soft: #dcebee;
  --panel-border: #bfd1d7;
  --panel-border-strong: #8ea8b2;
  --panel-border-deep: #2c3f4a;
  --panel-highlight: transparent;
  --ink: #0d1020;
  --muted: #4b616b;
  --field-bg: #f7faf9;
  --blue: #d5e7eb;
  --blue-deep: #80bbc7;
  --violet: #456874;
  --violet-deep: #18222c;
  --rose: #e63d7a;
  --shadow: 0 8px 20px rgba(12, 16, 31, 0.06);
  --workflow-card-bg: rgba(255, 255, 255, 0.88);
  --workflow-card-bg-subtle: rgba(247, 252, 252, 0.92);
  --workflow-card-border: rgba(142, 168, 178, 0.42);
  --workflow-title-ink: #10202a;
  --workflow-badge-ink: #f8fcfc;
  --workflow-badge-bg:
    linear-gradient(
      135deg,
      #345766,
      #80bbc7);
  --workflow-graph-edge: #9eb4c1;
  --workflow-graph-loop: #d38a17;
  --workflow-graph-node-bg: rgba(255, 255, 255, 0.98);
  --workflow-graph-node-text: #1e293b;
  --workflow-graph-node-muted: #64748b;
  font-family:
    "Space Grotesk",
    "Avenir Next",
    "Segoe UI",
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg-a: #0f151c;
    --bg-b: #131c25;
    --panel: #18222c;
    --panel-strong: #1d2833;
    --panel-soft: #141d26;
    --panel-border: #2d3f4c;
    --panel-border-strong: #4d6975;
    --panel-border-deep: #9ecdd7;
    --ink: #edf3f5;
    --muted: #9fb1b8;
    --field-bg: #111922;
    --blue: #23343d;
    --blue-deep: #80bbc7;
    --violet: #80bbc7;
    --violet-deep: #80bbc7;
    --shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    --workflow-card-bg: rgba(20, 29, 38, 0.94);
    --workflow-card-bg-subtle: rgba(16, 24, 32, 0.96);
    --workflow-card-border: rgba(128, 187, 199, 0.26);
    --workflow-title-ink: #edf3f5;
    --workflow-badge-ink: #0e171d;
    --workflow-badge-bg:
      linear-gradient(
        135deg,
        #a7d9e3,
        #7ab5c1);
    --workflow-graph-edge: #5f7b89;
    --workflow-graph-loop: #f3b24b;
    --workflow-graph-node-bg: rgba(24, 34, 44, 0.98);
    --workflow-graph-node-text: #edf3f5;
    --workflow-graph-node-muted: #9fb1b8;
  }
}
:root[data-theme-mode=light] {
  color-scheme: light;
  --bg-a: #f4f5f3;
  --bg-b: #ecefed;
  --panel: #eff6f7;
  --panel-strong: #e5f0f2;
  --panel-soft: #dcebee;
  --panel-border: #bfd1d7;
  --panel-border-strong: #8ea8b2;
  --panel-border-deep: #2c3f4a;
  --ink: #0d1020;
  --muted: #4b616b;
  --field-bg: #f7faf9;
  --blue: #d5e7eb;
  --blue-deep: #80bbc7;
  --violet: #456874;
  --violet-deep: #18222c;
  --shadow: 0 8px 20px rgba(12, 16, 31, 0.06);
  --workflow-card-bg: rgba(255, 255, 255, 0.88);
  --workflow-card-bg-subtle: rgba(247, 252, 252, 0.92);
  --workflow-card-border: rgba(142, 168, 178, 0.42);
  --workflow-title-ink: #10202a;
  --workflow-badge-ink: #f8fcfc;
  --workflow-badge-bg:
    linear-gradient(
      135deg,
      #345766,
      #80bbc7);
  --workflow-graph-edge: #9eb4c1;
  --workflow-graph-loop: #d38a17;
  --workflow-graph-node-bg: rgba(255, 255, 255, 0.98);
  --workflow-graph-node-text: #1e293b;
  --workflow-graph-node-muted: #64748b;
}
:root[data-theme-mode=dark] {
  color-scheme: dark;
  --bg-a: #0f151c;
  --bg-b: #131c25;
  --panel: #18222c;
  --panel-strong: #1d2833;
  --panel-soft: #141d26;
  --panel-border: #2d3f4c;
  --panel-border-strong: #4d6975;
  --panel-border-deep: #9ecdd7;
  --ink: #edf3f5;
  --muted: #9fb1b8;
  --field-bg: #111922;
  --blue: #23343d;
  --blue-deep: #80bbc7;
  --violet: #80bbc7;
  --violet-deep: #80bbc7;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  --workflow-card-bg: rgba(20, 29, 38, 0.94);
  --workflow-card-bg-subtle: rgba(16, 24, 32, 0.96);
  --workflow-card-border: rgba(128, 187, 199, 0.26);
  --workflow-title-ink: #edf3f5;
  --workflow-badge-ink: #0e171d;
  --workflow-badge-bg:
    linear-gradient(
      135deg,
      #a7d9e3,
      #7ab5c1);
  --workflow-graph-edge: #5f7b89;
  --workflow-graph-loop: #f3b24b;
  --workflow-graph-node-bg: rgba(24, 34, 44, 0.98);
  --workflow-graph-node-text: #edf3f5;
  --workflow-graph-node-muted: #9fb1b8;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  margin: 0;
  min-height: 100%;
}
body {
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      var(--bg-a),
      var(--bg-b));
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.03;
}
h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.08;
}
button,
input,
select,
textarea {
  font: inherit;
}
.shell {
  min-height: 100vh;
  padding: 1.25rem;
}
.shellHome {
  display: grid;
  grid-template-columns: minmax(19rem, 24rem) minmax(0, 1fr);
  gap: 1.25rem;
  height: calc(100vh - 2.5rem);
  overflow: hidden;
}
.shellSetup {
  display: block;
}
.sidebar,
.chatStage,
.setupStage {
  min-width: 0;
}
.sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  align-content: stretch;
  min-height: 0;
  overflow: hidden;
}
.panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  outline: 1px solid var(--panel-highlight);
  outline-offset: -1px;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}
.brandCard,
.chatHero,
.chatPanel,
.formPanel,
.sessionPanel,
.setupHero {
  padding: 1.15rem;
}
.brandCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(243, 252, 252, 0.84));
}
.brandCopy {
  padding-top: 0.15rem;
  padding-right: 7.25rem;
}
.brandMark {
  display: block;
  width: clamp(3.6rem, 8vw, 5.25rem);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(128, 187, 199, 0.24));
}
.brandTitle {
  max-width: 12ch;
}
.themeControl {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: calc(100% - 8.5rem);
}
.themeButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  color: var(--muted);
}
.themeButton:hover {
  background: var(--panel-soft);
  border-color: var(--panel-border);
  color: var(--ink);
}
.themeButton:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--blue-deep) 52%, transparent);
  outline-offset: 2px;
}
.themeIcon {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}
.brandTitleLine {
  display: block;
  white-space: nowrap;
}
.brandTitleAccent {
  color: var(--violet);
}
.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--violet-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede,
.muted,
.hint,
label span,
.infoLabel {
  color: var(--muted);
}
.lede {
  margin-top: 0.45rem;
  line-height: 1.65;
}
.sectionHeader,
.chatHero,
.chatHeroActions,
.composerActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.chatHero,
.setupHero {
  align-items: start;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(243, 252, 252, 0.9));
}
.chatHeroActions {
  flex-wrap: wrap;
}
.setupHero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.setupHeroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sessionPanel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  background: var(--panel-strong);
  min-height: 0;
}
.sessionFacts {
  display: grid;
  gap: 0.8rem;
}
.factCard {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--panel-border-strong);
}
.chatStage {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}
.chatPanelSingleScroll {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  overflow: hidden;
}
.chatLog {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
  gap: 0.9rem;
  margin-right: -0.7rem;
  padding-right: 0.7rem;
  padding-bottom: 0.2rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--panel-border-strong) transparent;
}
.chatLog::-webkit-scrollbar {
  width: 10px;
}
.chatLog::-webkit-scrollbar-track {
  background: transparent;
}
.chatLog::-webkit-scrollbar-thumb {
  background: var(--panel-border-strong);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
.composerDocked {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  bottom: 0;
  z-index: 1;
  margin: 0 -1.15rem -1.15rem;
  padding: 0.95rem 1.15rem 1.15rem;
  border-top: 1px solid var(--panel-border);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0.9) 18%,
      rgba(255, 255, 255, 0.96) 100%);
  backdrop-filter: blur(18px);
}
.setupStage {
  max-width: 1120px;
  margin: 0 auto;
}
.setupGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.formPanel {
  display: grid;
  gap: 0.8rem;
  background: var(--panel-strong);
}
label {
  display: grid;
  gap: 0.35rem;
}
label span,
.infoLabel {
  font-size: 0.83rem;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--panel-border-strong);
  border-radius: 1rem;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  background: var(--field-bg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
textarea {
  min-height: 7rem;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(128, 187, 199, 0.56);
  box-shadow: 0 0 0 4px rgba(184, 236, 239, 0.34);
}
button {
  border: none;
  cursor: pointer;
}
.primaryButton,
.ghostButton,
.linkButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(12, 16, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.primaryButton::before,
.ghostButton::before,
.linkButton::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}
.primaryButton::after,
.ghostButton::after,
.linkButton::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.primaryButton {
  padding: 0.86rem 1rem;
  color: #f7fbfb;
  background:
    linear-gradient(
      135deg,
      #12182a 0%,
      #1f3144 56%,
      #7fb9c5 100%);
  border: 1px solid rgba(140, 198, 211, 0.22);
  box-shadow: 0 14px 34px rgba(12, 16, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ghostButton,
.linkButton {
  padding: 0.72rem 0.95rem;
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.7),
      rgba(228, 238, 241, 0.52));
  border: 1px solid rgba(128, 187, 199, 0.2);
  box-shadow: 0 10px 24px rgba(12, 16, 31, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.dangerButton {
  color: #d94778;
}
.stopButton {
  min-width: 7.25rem;
}
.stopButtonSymbol {
  font-size: 0.88rem;
  line-height: 1;
}
.primaryButton:hover,
.ghostButton:hover,
.linkButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(12, 16, 31, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.checkboxRow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}
.checkboxRow input {
  width: auto;
}
.disabledRow {
  opacity: 0.52;
}
.infoList {
  display: grid;
  gap: 0.75rem;
}
.infoList > div {
  display: grid;
  gap: 0.2rem;
}
.message {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--panel-border-strong);
}
.message.user {
  background:
    linear-gradient(
      135deg,
      rgba(184, 236, 239, 0.4),
      rgba(128, 187, 199, 0.22));
}
.message.assistant {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.97),
      rgba(243, 252, 252, 0.92));
}
.message.system {
  background: rgba(13, 16, 32, 0.04);
}
.message.system {
  padding: 0.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.message.system .messageTopline {
  margin-bottom: 0.15rem;
}
.message.system .messageText {
  max-width: 70ch;
}
.message.streaming {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(243, 252, 252, 0.94)),
    linear-gradient(
      90deg,
      rgba(184, 236, 239, 0.14),
      rgba(69, 104, 116, 0.08));
}
.messageTopline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}
.messageRole {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
.messageBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: end;
}
.messageBadge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1px solid var(--panel-border);
}
.phaseBadge {
  color: var(--violet-deep);
  background: rgba(128, 187, 199, 0.16);
}
.quietBadge {
  color: var(--muted);
}
.workbench {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(
      135deg,
      rgba(184, 236, 239, 0.16),
      rgba(69, 104, 116, 0.08));
  border: 1px solid var(--panel-border);
  animation: workbenchBreath 2.8s ease-in-out infinite;
}
.compactWorkbench {
  padding: 0.82rem 0.95rem;
}
.workMeta {
  display: grid;
  gap: 0.2rem;
}
.workGlyph {
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
}
.workGlyphCore {
  position: relative;
  z-index: 1;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      var(--blue-deep),
      var(--violet));
  animation: workCorePulse 2s ease-in-out infinite;
}
.workGlyphRing {
  position: absolute;
  border-radius: 999px;
}
.workGlyphRingA {
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--blue-deep);
  border-right-color: color-mix(in srgb, var(--blue-deep) 36%, transparent);
  animation: workSpin 1s linear infinite;
}
.workGlyphRingB {
  inset: 0.48rem;
  border: 1.5px solid transparent;
  border-bottom-color: color-mix(in srgb, var(--violet) 80%, transparent);
  border-left-color: color-mix(in srgb, var(--violet) 28%, transparent);
  animation: workSpinReverse 1.5s linear infinite;
}
.progressTicker {
  display: grid;
  gap: 0.45rem;
}
.progressTickerEntry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.62rem 0.78rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--panel-border);
  font-size: 0.93rem;
}
.progressTickerEntry.info .progressDot {
  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-deep));
}
.progressTickerEntry.success .progressDot {
  background:
    linear-gradient(
      135deg,
      #1cc98a,
      #08956b);
}
.progressTickerEntry.error .progressDot {
  background:
    linear-gradient(
      135deg,
      #ff7f9a,
      #d94778);
}
.progressDot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(184, 236, 239, 0.18);
}
.streamPreview {
  display: grid;
  gap: 0.32rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(13, 16, 32, 0.03);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.messageText {
  white-space: pre-wrap;
  line-height: 1.7;
}
.messageText.placeholder {
  color: var(--muted);
  font-style: italic;
}
.markdownBody {
  display: grid;
  gap: 0.7rem;
}
.markdownBody > :first-child {
  margin-top: 0;
}
.markdownBody > :last-child {
  margin-bottom: 0;
}
.markdownBody p,
.markdownBody ul,
.markdownBody ol,
.markdownBody blockquote,
.markdownBody pre,
.markdownBody table,
.markdownBody hr {
  margin: 0;
}
.markdownBody h1,
.markdownBody h2,
.markdownBody h3,
.markdownBody h4,
.markdownBody h5,
.markdownBody h6 {
  margin: 0;
  line-height: 1.2;
}
.markdownBody h1 {
  font-size: 1.45rem;
}
.markdownBody h2 {
  font-size: 1.25rem;
}
.markdownBody h3 {
  font-size: 1.08rem;
}
.markdownBody ul,
.markdownBody ol {
  padding-left: 1.4rem;
}
.markdownBody li + li {
  margin-top: 0.24rem;
}
.markdownBody a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  word-break: break-word;
}
.markdownBody code {
  padding: 0.12rem 0.36rem;
  border-radius: 0.45rem;
  background: rgba(13, 16, 32, 0.08);
  font-family:
    "IBM Plex Mono",
    "SFMono-Regular",
    Consolas,
    monospace;
  font-size: 0.92em;
}
.markdownBody pre {
  overflow: auto;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(13, 16, 32, 0.06);
}
.markdownBody pre code {
  padding: 0;
  background: transparent;
}
.markdownBody blockquote {
  padding-left: 0.9rem;
  border-left: 3px solid rgba(128, 187, 199, 0.38);
  color: var(--muted);
}
.markdownBody hr {
  border: 0;
  border-top: 1px solid var(--panel-border);
}
.notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  max-width: 24rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  color: #f7fbfb;
  background:
    linear-gradient(
      135deg,
      rgba(13, 16, 32, 0.96),
      rgba(69, 104, 116, 0.96),
      rgba(128, 187, 199, 0.94));
  box-shadow: 0 12px 30px rgba(12, 16, 31, 0.24);
}
.panel,
.brandCard,
.chatHero,
.setupHero,
.sessionPanel,
.formPanel,
.factCard,
.composerDocked,
.message,
.message.user,
.message.assistant,
.message.system,
.message.streaming,
.workbench,
.progressTickerEntry,
.streamPreview,
.workflowCard,
.workflowGraphWrap {
  background: var(--panel);
  box-shadow: none;
}
.panel {
  backdrop-filter: none;
  outline: none;
}
.sessionPanel {
  background: var(--panel);
}
.panel::before,
.primaryButton::before,
.ghostButton::before,
.linkButton::before,
.primaryButton::after,
.ghostButton::after,
.linkButton::after {
  content: none;
}
.brandCard,
.chatHero,
.setupHero,
.sessionPanel,
.formPanel,
.factCard,
.composerDocked,
.message,
.workbench,
.progressTickerEntry,
.streamPreview,
.workflowCard,
.workflowGraphWrap {
  border-color: var(--panel-border);
}
.composerDocked {
  backdrop-filter: none;
}
.brandTitleAccent,
.messageRole,
.markdownBody a {
  color: var(--blue-deep);
}
.primaryButton,
.ghostButton,
.linkButton {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.primaryButton {
  background: var(--violet-deep);
  border: 1px solid var(--panel-border-deep);
  color: #f3f7f8;
}
.ghostButton,
.linkButton {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  color: var(--ink);
}
.primaryButton:hover,
.ghostButton:hover,
.linkButton:hover {
  box-shadow: none;
  filter: brightness(0.96);
}
.composerButtonGroup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.resetChatButton {
  background: transparent;
}
.sessionFacts {
  gap: 0;
  border-top: 1px solid var(--panel-border);
}
.factCard {
  padding: 0.9rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.factCard + .factCard {
  border-top: 1px solid var(--panel-border);
}
.message,
.message.user,
.message.assistant,
.message.system,
.message.streaming,
.progressTickerEntry,
.workbench,
.streamPreview {
  background: var(--panel-soft);
  border-color: transparent;
}
.composerDocked {
  background: var(--panel);
  border-top-color: var(--panel-border);
}
.sessionPanel .sectionHeader .primaryButton {
  padding: 0.72rem 0.96rem;
  border-radius: 1.35rem;
  background: var(--panel-soft);
  border-color: var(--panel-border-strong);
  color: var(--ink);
}
.sessionPanel .sectionHeader .primaryButton:hover {
  filter: brightness(0.98);
}
.message.user,
.workbench,
.phaseBadge {
  background: var(--panel-strong);
}
.message.system,
.streamPreview,
.markdownBody code,
.markdownBody pre {
  background: var(--panel-strong);
}
.message.system {
  background: transparent;
  border-color: transparent;
}
.message.system .messageText,
.message.system .markdownBody,
.message.system .markdownBody p {
  background: transparent;
}
.messageBadge.quietBadge {
  color: var(--muted);
  background: var(--panel);
}
.progressTickerEntry.info .progressDot,
.workflowBadge {
  background: var(--blue-deep);
}
.progressTickerEntry.success .progressDot {
  background: #1f8f64;
}
.progressTickerEntry.error .progressDot {
  background: #c94d72;
}
.notice {
  background: var(--violet-deep);
  color: #f3f7f8;
  box-shadow: none;
}
@keyframes workCorePulse {
  0%, 100% {
    opacity: 0.75;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-deep) 14%, transparent), 0 0 6px color-mix(in srgb, var(--blue-deep) 28%, transparent);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-deep) 22%, transparent), 0 0 13px color-mix(in srgb, var(--blue-deep) 52%, transparent);
  }
}
@keyframes workSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes workSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes workbenchBreath {
  0%, 100% {
    border-color: var(--panel-border);
    box-shadow: none;
  }
  50% {
    border-color: color-mix(in srgb, var(--blue-deep) 50%, var(--panel-border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-deep) 8%, transparent);
  }
}
@media (max-width: 1120px) {
  .shellHome {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .setupGrid {
    grid-template-columns: 1fr;
  }
  .chatStage {
    min-height: auto;
    height: auto;
    overflow: visible;
  }
  .chatPanelSingleScroll {
    height: auto;
    overflow: visible;
  }
  .sidebar {
    overflow: visible;
  }
  .brandTitle {
    max-width: none;
  }
  .brandTitleLine {
    white-space: normal;
  }
}
@media (max-width: 720px) {
  .shell {
    padding: 0.85rem;
  }
  .brandCard {
    grid-template-columns: 1fr;
  }
  .brandCopy {
    padding-right: 0;
    padding-top: 0;
  }
  .themeControl {
    position: static;
    margin-top: 0.9rem;
    max-width: none;
  }
  .chatHero,
  .sectionHeader,
  .chatHeroActions,
  .composerActions,
  .messageTopline {
    flex-direction: column;
    align-items: stretch;
  }
  .workbench {
    grid-template-columns: 1fr;
  }
  .messageBadges {
    justify-content: start;
  }
  .primaryButton,
  .ghostButton,
  .linkButton {
    width: 100%;
  }
}
.workflowCard {
  margin-top: 0.75rem;
  border-radius: 12px;
  background: var(--workflow-card-bg);
  border: 1px solid var(--workflow-card-border);
  box-shadow: 0 12px 28px rgba(12, 16, 31, 0.12);
  overflow: hidden;
}
.workflowHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
}
.workflowHeaderLeft {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.workflowBadge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--workflow-badge-ink);
  background: var(--workflow-badge-bg);
}
.workflowTitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--workflow-title-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workflowHeader .primaryButton {
  flex-shrink: 0;
  width: auto;
}
.workflowGraphWrap {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--workflow-card-border);
  overflow-x: auto;
  background: var(--workflow-card-bg-subtle);
  max-height: 640px;
  overflow-y: auto;
}
.workflowGraph {
  display: block;
}
.workflowDiagram {
  margin: 0;
  color: var(--workflow-title-ink);
}
/*# sourceMappingURL=styles.css.map */
