:root {
  color-scheme:dark;
  --bg:#080c14;
  --panel:#0e1420;
  --line:#ffffff0d;
  --muted:#79869c;
  --text:#e9edf5;
  --cyan:#5ee1ee;
  --violet:#ac8dff;
  --mouse-x:50%;
  --mouse-y:35%;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:14px;
  -webkit-font-smoothing:antialiased
}

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer;
  color:inherit
}

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

button {
  position:relative;
  overflow:hidden
}

button,a {
  touch-action:manipulation
}

a {
  color:var(--cyan);
  text-decoration:none
}

svg {
  width:20px;
  height:20px;
  flex-shrink:0;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}

button:focus-visible,a:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:4px
}

input:focus,textarea:focus,select:focus {
  outline:none;
  border-color:#57d7e55c;
  box-shadow:0 0 0 3px #5ee1ee09
}

input,textarea,select {
  color:var(--text);
  background:#080e18;
  border:1px solid #ffffff12;
  border-radius:9px;
  padding:12px 13px;
  width:100%;
  transition:border-color .2s,box-shadow .2s
}

input::placeholder,textarea::placeholder {
  color:#536177
}

textarea {
  resize:vertical
}

select {
  color-scheme:dark
}

label {
  font-size:12px;
  color:#b0bacc;
  display:block
}

label input,label select,label textarea {
  margin-top:8px
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-weight:570;
  letter-spacing:-.035em
}

small {
  color:var(--muted);
  font-size:11px
}

.ambient {
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:-1;
  background:radial-gradient(ellipse at var(--mouse-x) var(--mouse-y),#0e303016,transparent 35%)
}

.orb {
  position:absolute;
  width:850px;
  height:850px;
  border-radius:50%;
  filter:blur(130px);
  opacity:.12
}

.orb-one {
  background:#12646a;
  top:-430px;
  left:8%
}

.orb-two {
  background:#482064;
  bottom:-620px;
  right:-80px
}

.ambient-grid {
  position:absolute;
  inset:0;
  background-image:radial-gradient(#ffffff12 .65px,transparent .65px);
  background-size:24px 24px;
  mask-image:linear-gradient(transparent 15%,#000 90%);
  opacity:.18
}

.boot {
  height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  color:var(--muted)
}

.boot img {
  width:60px
}

.shell {
  height:100dvh;
  display:grid;
  grid-template-columns:242px minmax(0,1fr)
}

.sidebar {
  background:#080c14e8;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:27px 17px 15px;
  min-height:0;
  z-index:5
}

.brand {
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 9px 26px
}

.brand img {
  width:44px;
  height:35px;
  object-fit:contain
}

.brand-name {
  font-size:16px;
  letter-spacing:-.6px;
  font-weight:650
}

.brand-name span {
  font-weight:400;
  color:#7cd9e7
}

.brand small {
  display:block;
  font-size:9px;
  letter-spacing:2.5px;
  margin-top:4px;
  color:#5d6e85
}

.workspace-switch {
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  background:linear-gradient(120deg,#19253080,#15172880);
  border:1px solid #b5ceff13;
  border-radius:10px;
  text-align:left;
  width:100%;
  margin-bottom:24px
}

.workspace-icon {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  background:#5ee1ee0d;
  border:1px solid #5ee1ee16;
  border-radius:8px;
  color:var(--cyan)
}

.workspace-switch strong {
  font-size:12px;
  display:block;
  font-weight:550
}

.workspace-switch small {
  font-size:10px;
  display:block;
  margin-top:3px
}

.workspace-switch>svg {
  width:13px;
  margin-left:auto;
  color:var(--muted)
}

.new-chat {
  border:1px solid #5ee1ee3b;
  background:linear-gradient(100deg,#143a4270,#28204760);
  color:#bdf5f8;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 13px;
  border-radius:9px;
  width:100%;
  text-align:left;
  box-shadow:0 0 18px #2bdde206
}

.new-chat svg {
  width:17px
}

.new-chat kbd {
  margin-left:auto;
  font-size:10px;
  color:#627d8c;
  border:1px solid #8dc4dc20;
  border-radius:4px;
  padding:2px 4px
}

.nav-list {
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:21px
}

.nav-button,.history-button {
  background:transparent;
  border:1px solid transparent;
  border-radius:8px;
  padding:11px 12px;
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
  color:#8390a6;
  width:100%;
  font-size:12px;
  transition:.2s
}

.nav-button svg {
  width:17px;
  height:17px
}

.nav-button:hover,.history-button:hover {
  color:#d7e1ef;
  background:#ffffff04
}

.nav-button.active {
  color:#a4f0f2;
  background:linear-gradient(90deg,#4bc8d30e,#6e50a307);
  border-color:#54d7e715
}

.nav-button.active:before {
  content:"";
  width:2px;
  background:var(--cyan);
  height:15px;
  position:absolute;
  left:0;
  border-radius:3px;
  box-shadow:0 0 8px #5ee1ee
}

.nav-button .count {
  margin-left:auto;
  color:#577181;
  background:#80a6b609;
  font:10px ui-monospace,monospace;
  padding:2px 6px;
  border-radius:4px
}

.section-label {
  font-size:9px;
  letter-spacing:1.7px;
  color:#536079;
  text-transform:uppercase
}

.history-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:35px 12px 10px
}

.icon-button {
  display:inline-grid;
  place-items:center;
  background:transparent;
  border:1px solid transparent;
  border-radius:7px;
  width:31px;
  height:31px;
  padding:5px;
  color:#758398
}

.icon-button:hover {
  border-color:#ffffff14;
  background:#ffffff06;
  color:#d7e5f6
}

.icon-button svg {
  width:16px;
  height:16px
}

.history {
  overflow:auto;
  flex:1;
  min-height:80px
}

.history-button {
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  padding:10px 12px
}

.history-button.active {
  background:#ffffff07;
  color:#d6dfed
}

.history-empty {
  font-size:11px;
  line-height:1.8;
  color:#46546a;
  padding:8px 12px
}

.sidebar-bottom {
  margin-top:18px
}

.private-card {
  border:1px solid #ffffff0b;
  border-radius:9px;
  padding:13px 12px;
  margin-bottom:16px;
  background:linear-gradient(125deg,#1c303017,#33224917)
}

.private-card .line {
  display:flex;
  gap:7px;
  color:#99abbd;
  font-size:11px;
  align-items:center
}

.private-card svg {
  width:13px;
  color:#70c3ba
}

.private-card p {
  font-size:10px;
  line-height:1.7;
  color:#53637a;
  margin-top:7px
}

.profile {
  border-top:1px solid var(--line);
  padding:15px 7px 0;
  display:flex;
  align-items:center;
  gap:10px
}

.avatar {
  display:grid;
  place-items:center;
  border-radius:9px;
  border:1px solid #ad91fa2c;
  background:linear-gradient(140deg,#30264b,#172839);
  width:31px;
  height:31px;
  font-size:11px;
  color:#c2b0f2
}

.profile strong {
  font-size:11px;
  font-weight:500;
  display:block;
  max-width:140px;
  overflow:hidden;
  text-overflow:ellipsis
}

.profile small {
  font-size:9px;
  display:block;
  margin-top:4px
}

.profile>button {
  margin-left:auto
}

.main {
  display:flex;
  min-width:0;
  flex-direction:column;
  min-height:0
}

.topbar {
  height:78px;
  flex-shrink:0;
  border-bottom:1px solid var(--line);
  padding:0 31px;
  display:flex;
  align-items:center;
  gap:15px;
  background:#080c1455
}

.breadcrumb {
  display:flex;
  align-items:center;
  gap:10px;
  color:#5e6b7f;
  font-size:11px
}

.breadcrumb span:last-child {
  color:#bec8d8
}

.breadcrumb svg {
  width:12px
}

.topbar-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:15px
}

.pill {
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-size:10px;
  border:1px solid #ffffff12;
  padding:6px 9px;
  border-radius:20px;
  color:#8998ae;
  background:#ffffff02;
  white-space:nowrap
}

.dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#657083;
  display:inline-block;
  flex-shrink:0
}

.dot.green {
  background:#70d0a5;
  box-shadow:0 0 8px #70d0a544
}

.dot.amber {
  background:#d8b67c
}

.pill.connected {
  color:#a2d9bd;
  border-color:#6dcd9d20;
  background:#6dcd9d05
}

.divider {
  width:1px;
  height:18px;
  background:var(--line)
}

.text-button {
  background:none;
  border:0;
  font-size:11px;
  color:#93a1b7;
  padding:8px;
  display:flex;
  gap:7px;
  align-items:center
}

.text-button:hover {
  color:var(--cyan)
}

.text-button svg {
  width:14px
}

.primary {
  border:1px solid #74c5f340;
  background:linear-gradient(110deg,#1b7181,#6650a9);
  color:#eefcfd;
  box-shadow:0 0 24px #6c50c419;
  border-radius:8px;
  padding:10px 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:500;
  font-size:12px
}

.primary:hover {
  filter:brightness(1.18);
  box-shadow:0 0 25px #7462cf33
}

.secondary {
  border:1px solid #ffffff13;
  border-radius:8px;
  background:#ffffff04;
  padding:10px 14px;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#b4c0d1
}

.secondary:hover {
  border-color:#5ee1ee30;
  background:#5ee1ee08
}

.primary svg,.secondary svg {
  width:15px;
  height:15px
}

.main-content {
  display:flex;
  flex:1;
  min-height:0;
  position:relative
}

.chat-column {
  display:flex;
  flex-direction:column;
  min-width:0;
  flex:1;
  position:relative
}

.chat-toolbar {
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 34px;
  flex-shrink:0
}

.agent-picker {
  display:flex;
  align-items:center;
  gap:9px
}

.agent-picker .agent-mark {
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid #5ee1ee24;
  border-radius:7px;
  background:#5ee1ee09;
  color:#70d5de
}

.agent-mark svg {
  width:14px
}

.agent-picker select {
  font-size:12px;
  background:none;
  border:none;
  padding:5px 22px 5px 0;
  width:auto;
  max-width:260px;
  box-shadow:none
}

.toolbar-icons {
  display:flex;
  gap:5px
}

.chat-scroll {
  flex:1;
  min-height:0;
  overflow:auto;
  scroll-behavior:smooth
}

.welcome {
  max-width:790px;
  margin:0 auto;
  padding:7vh 40px 30px;
  text-align:center;
  position:relative
}

.welcome-emblem {
  height:109px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:26px
}

.welcome-emblem:before {
  content:"";
  width:200px;
  height:130px;
  position:absolute;
  background:radial-gradient(ellipse,#25dce71b,#8a48c90b 50%,transparent 72%);
  filter:blur(13px)
}

.welcome-emblem:after {
  content:"";
  position:absolute;
  width:147px;
  height:147px;
  border:1px solid #4fd2e00b;
  border-radius:50%;
  box-shadow:0 0 0 25px #4fd2e004,0 0 0 50px #4fd2e002
}

.welcome-emblem img {
  position:relative;
  z-index:1;
  width:141px;
  height:118px;
  object-fit:contain;
  filter:drop-shadow(0 0 20px #5b69ed28)
}

.eyebrow {
  font-size:9px;
  letter-spacing:2.7px;
  color:#65a1ae;
  text-transform:uppercase
}

.welcome h1 {
  font-size:clamp(31px,3.05vw,49px);
  line-height:1.18;
  margin-top:17px;
  letter-spacing:-2.2px;
  color:#e8edf7
}

.gradient-text {
  background:linear-gradient(100deg,#78e6ed 15%,#b69afa 85%);
  background-clip:text;
  color:transparent
}

.welcome>.subline {
  font-size:12px;
  line-height:1.9;
  color:#738198;
  margin:19px auto 0;
  max-width:400px
}

.welcome-chips {
  display:flex;
  justify-content:center;
  gap:17px;
  margin:24px 0 32px;
  color:#68778e;
  font-size:9px
}

.welcome-chips span {
  display:flex;
  gap:6px;
  align-items:center
}

.welcome-chips svg {
  width:12px;
  height:12px;
  color:#80a1b1
}

.suggestions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:11px;
  text-align:left;
  margin-top:27px
}

.suggestion {
  background:linear-gradient(130deg,#18252b40,#18152525);
  border:1px solid #ffffff0c;
  border-radius:11px;
  padding:16px;
  text-align:left;
  min-height:127px;
  transition:.2s
}

.suggestion:hover {
  transform:translateY(-3px);
  border-color:#7c9fca30;
  box-shadow:0 8px 30px #00000020
}

.suggestion svg {
  width:17px;
  height:17px;
  color:#75bcc7;
  margin-bottom:17px
}

.suggestion:nth-child(2) svg {
  color:#aa92de
}

.suggestion:nth-child(3) svg {
  color:#c0b6a0
}

.suggestion strong {
  font-size:11px;
  display:block;
  font-weight:500;
  color:#c7d1e0
}

.suggestion p {
  font-size:10px;
  line-height:1.7;
  color:#5e6c82;
  margin-top:6px
}

.suggestion .arrow {
  position:absolute;
  right:13px;
  top:17px;
  width:12px;
  color:#4c596e
}

.composer-wrap {
  padding:18px 35px 19px;
  max-width:910px;
  width:100%;
  margin:0 auto
}

.composer {
  border:1px solid #6ab7cf2b;
  border-radius:15px;
  background:linear-gradient(135deg,#17242e99,#161a2a99);
  box-shadow:0 7px 40px #00000012,0 0 30px #5ee1ee03;
  position:relative
}

.composer:focus-within {
  border-color:#72c3d14a;
  box-shadow:0 0 25px #3fc5e407
}

.composer textarea {
  resize:none;
  background:none;
  border:none;
  box-shadow:none!important;
  min-height:70px;
  max-height:200px;
  padding:19px 19px 8px;
  font-size:12px;
  line-height:1.7;
  border-radius:15px
}

.composer-footer {
  display:flex;
  align-items:center;
  gap:9px;
  padding:6px 12px 12px
}

.composer-footer .icon-button {
  color:#728198
}

.composer-tag {
  font-size:10px;
  border:1px solid #ffffff0b;
  background:#ffffff03;
  border-radius:6px;
  padding:5px 8px;
  color:#7c8ba2;
  display:flex;
  gap:5px;
  align-items:center
}

.composer-tag svg {
  width:11px;
  height:11px
}

.composer-footer .hint {
  margin-left:auto;
  color:#46566c;
  font-size:9px
}

.send-button {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:linear-gradient(135deg,#4ab4c3,#8b72c6);
  color:#fff;
  border:1px solid #b7e9ff30;
  box-shadow:0 0 16px #56c6e019
}

.send-button svg {
  width:17px
}

.composer-note {
  font-size:9px;
  text-align:center;
  color:#455268;
  margin-top:12px;
  line-height:1.6
}

.composer-note span {
  color:#6a7f94
}

.attachments {
  display:flex;
  gap:7px;
  padding:10px 15px 0;
  flex-wrap:wrap
}

.attachment {
  font-size:10px;
  color:#a9c3d2;
  border:1px solid #5ee1ee1b;
  border-radius:6px;
  padding:5px 7px;
  display:flex;
  gap:7px;
  align-items:center
}

.attachment button {
  background:none;
  border:0;
  color:var(--muted);
  padding:0
}

.context-panel {
  width:274px;
  flex-shrink:0;
  border-left:1px solid var(--line);
  padding:26px 22px;
  background:#0c10196b;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:24px
}

.panel-heading {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#a1afc2
}

.panel-heading svg {
  width:14px;
  color:#65768c
}

.context-section {
  padding-bottom:21px;
  border-bottom:1px solid var(--line)
}

.context-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:1.4px;
  color:#58687f;
  margin:21px 0 13px
}

.context-label small {
  font-size:8px;
  letter-spacing:0
}

.selection-card {
  border:1px solid #65cbd721;
  border-radius:10px;
  background:linear-gradient(130deg,#193b4035,#24233730);
  padding:13px
}

.selection-card .agent-avatar {
  width:30px;
  height:30px;
  background:#5ee1ee0b;
  border:1px solid #5ee1ee21;
  color:#86dfdf;
  display:grid;
  place-items:center;
  border-radius:9px
}

.selection-card header {
  display:flex;
  align-items:center;
  gap:9px
}

.selection-card strong {
  font-size:11px;
  font-weight:500
}

.selection-card small {
  font-size:9px;
  display:block;
  margin-top:4px
}

.selection-card p {
  font-size:10px;
  color:#738198;
  line-height:1.8;
  margin-top:11px
}

.tiny-label {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid #b1a0ee1a;
  padding:4px 6px;
  border-radius:4px;
  font-size:8px;
  color:#9c90c4;
  margin-top:12px
}

.property {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  color:#8392aa;
  line-height:1.6;
  margin-top:12px
}

.property svg {
  width:13px;
  height:13px;
  color:#586b83
}

.property small {
  margin-left:auto;
  font-size:9px
}

.tools-list {
  display:flex;
  flex-wrap:wrap;
  gap:7px
}

.tool-chip {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:9px;
  padding:6px 8px;
  border:1px solid #ffffff0c;
  border-radius:6px;
  background:#ffffff02;
  color:#778aa0
}

.tool-chip svg {
  width:11px;
  height:11px
}

.empty-tools {
  font-size:10px;
  color:#596a80;
  line-height:1.8
}

.connect-link {
  font-size:10px;
  color:#87cbd4;
  background:none;
  border:0;
  padding:11px 0 0;
  display:flex;
  align-items:center;
  gap:5px
}

.connect-link svg {
  width:11px;
  height:11px
}

.context-bottom {
  margin-top:auto
}

.connection-status {
  padding:12px 0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  color:#71839a
}

.connection-status svg {
  width:15px;
  color:#707e99
}

.context-footnote {
  font-size:9px;
  line-height:1.9;
  color:#49596f
}

.messages {
  max-width:790px;
  margin:0 auto;
  padding:24px 35px;
  display:flex;
  flex-direction:column;
  gap:28px
}

.message-row {
  display:flex;
  gap:13px;
  align-items:flex-start
}

.message-avatar {
  width:28px;
  height:28px;
  flex-shrink:0;
  border:1px solid #ffffff12;
  background:#1b2433;
  border-radius:8px;
  display:grid;
  place-items:center;
  font-size:10px;
  color:#a8b7cd
}

.message-avatar.ai {
  background:#142a31;
  border-color:#5ee1ee22;
  color:#75dce6
}

.message-avatar svg {
  width:16px
}

.message-body {
  min-width:0;
  flex:1
}

.message-author {
  font-size:10px;
  color:#8d9db4;
  margin-bottom:9px;
  display:flex;
  align-items:center;
  gap:7px
}

.message-content {
  font-size:13px;
  line-height:1.9;
  color:#c3cede;
  overflow-wrap:anywhere;
  white-space:pre-wrap
}

.message-content pre {
  background:#070c14;
  border:1px solid #ffffff0e;
  border-radius:9px;
  padding:15px;
  overflow:auto;
  white-space:pre;
  font:11px/1.8 ui-monospace,SFMono-Regular,monospace;
  margin:12px 0
}

.message-content code {
  font:11px ui-monospace,monospace;
  background:#ffffff07;
  border-radius:4px;
  padding:2px 4px
}

.message-content pre code {
  background:none;
  padding:0
}

.message-content a {
  text-decoration:underline
}

.message-tools {
  display:flex;
  gap:5px;
  margin-top:8px
}

.message-tools button {
  width:24px;
  height:24px
}

.message-tools svg {
  width:12px
}

.message-error {
  color:#dcb28a;
  border-left:2px solid #b88b5f;
  border-radius:3px;
  padding:10px 13px;
  background:#c59a6307;
  font-size:11px;
  line-height:1.8;
  margin-top:12px
}

.activity-inline {
  border:1px solid #ffffff0c;
  border-radius:8px;
  padding:9px 11px;
  margin:10px 0;
  font-size:10px;
  color:#8d9cb1;
  display:flex;
  align-items:center;
  gap:7px
}

.activity-inline svg {
  width:12px;
  color:#8dc8bf
}

.cursor:after {
  content:"";
  display:inline-block;
  width:5px;
  height:13px;
  background:#6adbe5;
  margin-left:4px;
  vertical-align:middle;
  animation:blink 1s infinite
}

.approval-card {
  padding:15px;
  border:1px solid #d1b07a40;
  background:#b28b3910;
  border-radius:10px;
  font-size:12px;
  margin:16px 0
}

.approval-card h3 {
  font-size:12px;
  color:#dfc498;
  margin-bottom:10px
}

.approval-card pre {
  max-height:160px;
  overflow:auto;
  font:10px/1.7 monospace;
  white-space:pre-wrap;
  color:#b7b1a4
}

.approval-actions {
  display:flex;
  gap:8px;
  margin-top:12px
}

.page {
  padding:36px 38px;
  overflow:auto;
  flex:1;
  min-width:0
}

.page-head {
  display:flex;
  align-items:flex-start;
  gap:20px;
  justify-content:space-between;
  margin-bottom:29px
}

.page h1 {
  font-size:29px;
  letter-spacing:-1px;
  margin:12px 0
}

.page .intro {
  font-size:12px;
  color:#76869e;
  line-height:1.9;
  max-width:540px
}

.tabs {
  display:flex;
  gap:6px;
  border-bottom:1px solid var(--line);
  margin-bottom:25px;
  flex-wrap:wrap
}

.tab {
  border:0;
  border-bottom:2px solid transparent;
  background:none;
  padding:12px 15px;
  color:#65758b;
  font-size:11px;
  border-radius:6px 6px 0 0
}

.tab.active {
  color:#92d9e2;
  border-bottom-color:#68c9d4;
  background:linear-gradient(0deg,#5ee1ee08,transparent)
}

.cards {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:16px
}

.resource-card {
  padding:21px;
  border:1px solid #ffffff10;
  background:linear-gradient(125deg,#1b293141,#201b3233);
  border-radius:13px;
  transition:.2s;
  position:relative;
  min-height:224px;
  display:flex;
  flex-direction:column
}

.resource-card:hover {
  border-color:#96bfd329;
  box-shadow:0 0 35px #6589cc06
}

.resource-card header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px
}

.resource-icon {
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid #a0b8e525;
  border-radius:11px;
  background:#72a5c50a;
  color:#9bd9e0
}

.resource-icon.violet {
  color:#bba0ee;
  border-color:#9b75e526;
  background:#8b65b60a
}

.resource-card h3 {
  font-size:15px;
  margin-top:20px;
  letter-spacing:-.3px
}

.resource-card p {
  font-size:11px;
  line-height:1.8;
  color:#6c7d96;
  margin-top:9px
}

.resource-url {
  font:10px ui-monospace,monospace;
  color:#687c8d;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin-top:10px
}

.resource-card footer {
  display:flex;
  gap:7px;
  align-items:center;
  margin-top:auto;
  padding-top:20px
}

.resource-card footer .secondary {
  font-size:10px;
  padding:7px 10px
}

.resource-card footer .icon-button {
  margin-left:auto
}

.add-card {
  min-height:224px;
  border:1px dashed #ffffff19;
  border-radius:13px;
  background:#ffffff01;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  justify-content:center;
  color:#6e829b
}

.add-card:hover {
  border-color:#65c9d344;
  color:#91d7df;
  background:#5ee1ee03
}

.add-card svg {
  width:26px;
  height:26px
}

.add-card strong {
  font-size:12px;
  font-weight:500
}

.add-card small {
  font-size:10px
}

.info-banner {
  padding:14px 17px;
  border:1px solid #61c2cf1b;
  background:#61c2cf05;
  border-radius:9px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:24px;
  color:#7d9ba9;
  font-size:11px;
  line-height:1.8
}

.info-banner svg {
  width:15px;
  height:15px;
  margin-top:2px
}

.page-empty {
  padding:60px;
  text-align:center;
  color:var(--muted);
  border:1px dashed #ffffff10;
  border-radius:12px
}

.page-empty svg {
  width:30px;
  height:30px;
  color:#7587b3;
  margin-bottom:18px
}

.page-empty h3 {
  color:#b5c1d3;
  font-size:17px;
  margin-bottom:9px
}

.page-empty p {
  font-size:12px;
  line-height:1.8
}

.activity-table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:11px
}

.activity-table th {
  color:#5b6e86;
  font-size:9px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-weight:500;
  padding:14px;
  border-bottom:1px solid var(--line)
}

.activity-table td {
  padding:17px 14px;
  border-bottom:1px solid #ffffff06;
  color:#9aabc2
}

.activity-table .run-title {
  color:#c7d2e3;
  max-width:270px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.settings-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:18px
}

.settings-card {
  border:1px solid #ffffff10;
  border-radius:12px;
  padding:23px;
  background:#ffffff02
}

.settings-card h3 {
  font-size:15px;
  margin-bottom:19px
}

.setting-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:20px;
  font-size:12px;
  color:#b1bed0
}

.setting-line small {
  display:block;
  line-height:1.7;
  margin-top:6px
}

.switch {
  width:33px;
  height:19px;
  appearance:none;
  border-radius:20px;
  background:#253046;
  position:relative;
  border:1px solid #ffffff15;
  cursor:pointer;
  padding:0;
  margin:0
}

.switch:after {
  content:"";
  width:12px;
  height:12px;
  border-radius:50%;
  background:#6b7b92;
  position:absolute;
  left:3px;
  top:2px;
  transition:.2s
}

.switch:checked {
  background:#5ee1ee35;
  border-color:#5ee1ee40
}

.switch:checked:after {
  transform:translateX(13px);
  background:#9aebee
}

.login-required {
  height:100dvh;
  display:grid;
  place-items:center;
  padding:25px
}

.login-splash {
  text-align:center;
  max-width:440px
}

.login-splash img {
  width:145px
}

.login-splash h1 {
  margin:22px 0 13px;
  font-size:32px
}

.login-splash p {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  margin-bottom:22px
}

.login-splash .primary {
  min-width:180px
}

dialog {
  background:#101823f7;
  color:var(--text);
  border:1px solid #7aa7d630;
  border-radius:18px;
  padding:0;
  width:min(490px,calc(100% - 32px));
  max-height:88dvh;
  box-shadow:0 30px 150px #0009;
  backdrop-filter:blur(28px)
}

dialog::backdrop {
  background:#02050bbd;
  backdrop-filter:blur(8px)
}

.modal-header {
  padding:25px 27px 0;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px
}

.modal-header h2 {
  font-size:21px;
  margin:8px 0 0
}

.modal-header .eyebrow {
  font-size:8px
}

.modal-body {
  padding:20px 27px 27px
}

.modal-body>p {
  font-size:12px;
  line-height:1.9;
  color:#8697ae;
  margin-bottom:21px
}

.form-stack {
  display:flex;
  flex-direction:column;
  gap:17px
}

.form-stack .primary {
  min-height:41px;
  margin-top:4px
}

.form-note {
  font-size:10px;
  color:#697d94;
  line-height:1.9
}

.form-error {
  font-size:11px;
  line-height:1.8;
  color:#e9af9e;
  padding:10px 12px;
  border:1px solid #dd81672c;
  border-radius:8px;
  background:#c9583a0b
}

.form-success {
  font-size:11px;
  color:#a4c9bd;
  line-height:1.9
}

.code-input {
  text-align:center;
  font:23px ui-monospace,monospace;
  letter-spacing:6px;
  text-transform:uppercase;
  padding:16px
}

.login-emblem {
  display:flex;
  justify-content:center;
  margin:4px 0 20px
}

.login-emblem img {
  width:88px;
  height:70px;
  object-fit:contain
}

.form-stack .full-width {
  width:100%
}

.check-row {
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.8
}

.check-row input {
  width:14px;
  flex-shrink:0;
  margin:3px 0 0;
  accent-color:#65c9d2
}

.check-row span {
  font-size:11px;
  color:#9aacbf
}

.check-row small {
  display:block;
  font-size:10px
}

.form-stack hr {
  border:0;
  border-top:1px solid var(--line);
  width:100%;
  margin:3px 0
}

.toasts {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:1000;
  display:flex;
  flex-direction:column;
  gap:9px;
  max-width:min(500px,90%);
  pointer-events:none
}

.toast {
  padding:12px 17px;
  border:1px solid #7eb7cd32;
  border-radius:9px;
  background:#14212ff5;
  color:#bdcfdf;
  box-shadow:0 10px 40px #0008;
  font-size:12px;
  line-height:1.7;
  animation:enter .25s
}

.ripple {
  position:absolute;
  background:radial-gradient(circle,#9ae9fa3b,transparent 65%);
  width:180px;
  height:180px;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(0);
  pointer-events:none;
  animation:ripple .65s ease-out;
  z-index:2
}

.glow-active button:not(:disabled):hover:after {
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  background:radial-gradient(160px circle at var(--pointer-x,50%) var(--pointer-y,50%),#8cdbff0c,transparent 80%);
  border-radius:inherit
}

.mobile-menu {
  display:none
}

.backdrop {
  display:none
}

.muted {
  color:var(--muted)
}

.mono {
  font-family:ui-monospace,monospace
}

.search-box {
  position:relative;
  margin-bottom:14px
}

.search-box input {
  padding-left:35px;
  font-size:12px
}

.search-box svg {
  position:absolute;
  left:12px;
  top:13px;
  width:14px;
  color:var(--muted)
}

.search-results {
  display:flex;
  flex-direction:column;
  max-height:350px;
  overflow:auto
}

.search-results button {
  padding:13px;
  border:0;
  border-bottom:1px solid var(--line);
  background:none;
  text-align:left;
  font-size:12px;
  color:#b1c1d7
}

.search-results button:hover {
  background:#5ee1ee06
}

.search-results small {
  display:block;
  margin-top:6px
}

.model-option {
  font:11px ui-monospace,monospace
}

.preview-note {
  font-size:10px;
  color:#937fc1;
  display:flex;
  gap:6px;
  align-items:center
}

.preview-note svg {
  width:13px
}

.spinner {
  width:13px;
  height:13px;
  border:1px solid #65c9d333;
  border-top-color:#65c9d3;
  border-radius:50%;
  animation:spin .9s linear infinite
}

.hidden {
  display:none!important
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}

@keyframes blink {
  50% {
    opacity:0
  }
}

@keyframes enter {
  from {
    opacity:0;
    transform:translateY(5px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

@keyframes ripple {
  to {
    transform:translate(-50%,-50%) scale(1.8);
    opacity:0
  }
}

@media(min-width:1600px) {
  .welcome {
    padding-top:10vh
  }
  .context-panel {
    width:304px;
    padding:28px
  }
  .shell {
    grid-template-columns:260px minmax(0,1fr)
  }
  .welcome h1 {
    font-size:51px
  }
}

@media(max-width:1180px) {
  .context-panel {
    display:none
  }
  .welcome {
    padding-top:6vh
  }
  .chat-column {
    max-width:100%
  }
  .topbar {
    padding:0 25px
  }
  .page {
    padding:30px
  }
}

@media(max-height:850px) and (min-width:800px) {
  .welcome {
    padding-top:2vh
  }
  .welcome-emblem {
    height:80px;
    margin-bottom:14px
  }
  .welcome-emblem img {
    height:90px;
    width:110px
  }
  .welcome h1 {
    font-size:37px
  }
  .welcome-chips {
    margin:20px 0
  }
  .suggestions {
    margin-top:17px
  }
  .suggestion {
    min-height:107px;
    padding:13px
  }
  .suggestion svg {
    margin-bottom:11px
  }
  .composer-wrap {
    padding-top:10px
  }
  .context-panel {
    gap:16px
  }
  .context-section {
    padding-bottom:15px
  }
}

@media(max-width:800px) {
  .shell {
    grid-template-columns:210px minmax(0,1fr)
  }
  .sidebar {
    padding:24px 12px 14px
  }
  .brand {
    gap:6px;
    padding-left:4px
  }
  .brand-name {
    font-size:14px
  }
  .brand img {
    width:36px
  }
  .brand small {
    font-size:8px
  }
  .welcome {
    padding:4vh 23px 23px
  }
  .welcome h1 {
    font-size:33px;
    letter-spacing:-1.5px
  }
  .welcome>.subline {
    font-size:11px
  }
  .suggestions {
    gap:8px
  }
  .suggestion {
    padding:12px
  }
  .suggestion p {
    font-size:9px
  }
  .suggestion strong {
    font-size:10px
  }
  .composer-wrap {
    padding:15px 22px
  }
  .chat-toolbar {
    padding:0 24px
  }
  .topbar {
    padding:0 22px;
    height:68px
  }
  .topbar-actions {
    gap:8px
  }
  .breadcrumb {
    font-size:10px
  }
  .topbar-actions .divider,.topbar-actions>.text-button {
    display:none
  }
  .page {
    padding:25px 22px
  }
  .page-head {
    flex-wrap:wrap
  }
  .page-head h1 {
    font-size:26px
  }
}

@media(max-width:800px) {
  .shell {
    display:block
  }
  .sidebar {
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    width:242px;
    transform:translateX(-100%);
    transition:transform .25s;
    box-shadow:20px 0 80px #0005
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .backdrop.open {
    display:block;
    position:fixed;
    inset:0;
    background:#0008;
    z-index:4
  }
  .main {
    height:100dvh
  }
  .mobile-menu {
    display:inline-grid
  }
  .topbar {
    padding:0 16px;
    height:62px;
    gap:9px
  }
  .topbar-actions .pill {
    display:none
  }
  .breadcrumb {
    font-size:11px
  }
  .breadcrumb span:first-child,.breadcrumb>svg:first-of-type {
    display:none
  }
  .primary {
    font-size:11px;
    padding:9px 12px
  }
  .welcome {
    padding:3vh 22px 20px
  }
  .welcome-emblem {
    height:89px;
    margin-bottom:19px
  }
  .welcome-emblem img {
    width:122px;
    height:100px
  }
  .welcome h1 {
    font-size:35px
  }
  .welcome>.subline {
    max-width:310px
  }
  .welcome-chips {
    gap:14px;
    font-size:8px;
    margin:20px 0 23px
  }
  .suggestions {
    grid-template-columns:1fr;
    gap:8px;
    text-align:left
  }
  .suggestion {
    min-height:0;
    padding:14px 15px 14px 45px
  }
  .suggestion>svg:not(.arrow) {
    position:absolute;
    top:17px;
    left:15px;
    width:16px;
    margin:0
  }
  .suggestion strong {
    font-size:11px
  }
  .suggestion p {
    margin-top:4px;
    font-size:10px;
    line-height:1.5
  }
  .suggestion .arrow {
    top:24px
  }
  .chat-toolbar {
    height:54px;
    padding:0 19px
  }
  .agent-picker select {
    font-size:11px;
    max-width:195px
  }
  .composer-wrap {
    padding:11px 15px 13px
  }
  .composer textarea {
    padding:14px 15px 5px;
    min-height:65px;
    font-size:12px
  }
  .composer-footer .hint {
    display:none
  }
  .composer-footer .send-button {
    margin-left:auto
  }
  .composer-note {
    font-size:8px;
    margin-top:9px
  }
  .messages {
    padding:20px 20px;
    gap:23px
  }
  .message-content {
    font-size:12px
  }
  .page {
    padding:25px 19px
  }
  .tabs {
    gap:0
  }
  .tab {
    font-size:10px;
    padding:11px
  }
  .cards {
    grid-template-columns:1fr
  }
  .activity-table th:nth-child(2),.activity-table td:nth-child(2) {
    display:none
  }
  .activity-table th,.activity-table td {
    padding:12px 7px
  }
  .activity-table .run-title {
    max-width:140px
  }
  .modal-body {
    padding:18px 23px 24px
  }
  .modal-header {
    padding:23px 23px 0
  }
  .settings-grid {
    grid-template-columns:1fr
  }
  .context-label {
    font-size:9px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    scroll-behavior:auto!important;
    transition:none!important
  }
  .ripple {
    display:none
  }
  .ambient {
    background:none
  }
}

.new-chat {
  font-size:12px;
  white-space:nowrap
}

.new-chat kbd {
  font-size:9px;
  white-space:nowrap
}

@media(max-width:800px) {
  .sidebar:not(.open) {
    visibility:hidden
  }
  .sidebar.open {
    visibility:visible
  }
}

@media(max-width:800px) {
  .chat-toolbar {
    gap:8px
  }
  .agent-picker {
    min-width:0;
    flex:1
  }
  .agent-picker select {
    width:100%;
    max-width:180px;
    min-width:0;
    text-overflow:ellipsis
  }
  .toolbar-icons {
    flex-shrink:0;
    gap:0
  }
  .toolbar-icons .preview-note {
    display:none
  }
}

body.no-effects .ambient {
  display:none
}

body.no-effects .ripple {
  display:none
}

/* Workspace reports, execution records, and goal controls. */
.run-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 12px;margin-bottom:10px}
.run-controls label{display:flex;align-items:center;gap:10px;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.run-controls select{width:auto;max-width:190px;padding:7px 28px 7px 10px;font-size:12px;text-transform:none;letter-spacing:normal}
.run-controls>small{margin-left:auto;color:var(--muted);font-size:11px}
.goal-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 12px;padding:15px 18px;border:1px solid #5ee1ee24;border-radius:12px;background:linear-gradient(120deg,#5ee1ee08,#ac8dff08)}
.goal-banner strong{font-size:12px}.goal-banner small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.goal-banner p{font-size:12px;line-height:1.6;margin:7px 0 0;white-space:pre-wrap}.goal-banner>div:last-child{display:flex;gap:8px;flex-shrink:0}
.goal-banner .primary,.goal-banner .secondary{font-size:11px;padding:9px 12px}.reporting-tab.selected{color:var(--cyan);background:#5ee1ee0d;border-radius:8px}
.workspace-report{position:fixed;z-index:40;top:0;right:0;bottom:0;width:min(470px,100vw);padding:26px;overflow-y:auto;overscroll-behavior:contain;border-left:1px solid var(--line);background:var(--panel);box-shadow:-20px 0 70px #0006}
.workspace-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.workspace-report h2{font-size:22px;margin:5px 0 20px;letter-spacing:-.03em}.workspace-report h3{font-size:14px;margin:0 0 12px}.workspace-report p,.workspace-report li{font-size:13px;line-height:1.8}.report-actions{display:flex;gap:10px;align-items:center;margin:0 0 22px}.report-actions button{font-size:12px;padding:10px 14px}.report-updated{font-size:11px!important;color:var(--muted)}
.report-empty{margin-top:50px;color:var(--muted)}.report-empty h3{color:var(--text)}.report-summary,.report-section{padding:20px 0;border-top:1px solid var(--line)}.report-summary p{color:var(--text);white-space:pre-wrap}.report-section ul{padding-left:20px;color:var(--muted)}.report-findings{display:grid;gap:14px}.finding-card{border:1px solid var(--line);border-radius:14px;padding:18px;background:linear-gradient(135deg,#5ee1ee05,#ac8dff05)}
.finding-card>header{display:flex;justify-content:space-between;margin-bottom:14px}.finding-number{color:var(--cyan);font-size:11px;letter-spacing:.08em}.confidence-label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.finding-card p{white-space:pre-wrap}.finding-meaning{color:var(--muted)}.finding-meaning strong{display:block;color:var(--text);font-size:11px;margin-bottom:4px}.finding-evidence>summary{font-size:11px;color:var(--cyan);cursor:pointer;padding:6px 0}.finding-evidence figure{margin:12px 0 0}.finding-evidence figcaption{font-size:10px;color:var(--muted)}.finding-evidence blockquote{margin:7px 0;padding:10px 12px;border-left:2px solid #5ee1ee55;background:#5ee1ee05;font:11px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.criterion{padding:12px 0;border-bottom:1px solid var(--line)}.criterion>strong{font-size:12px}.report-verification{font-size:10px!important;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.report-goal-state{font-size:11px;color:var(--muted);padding:15px 0}
.command-log,.run-execution{margin:12px 0;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.command-log:hover,.run-execution:hover{border-color:#5ee1ee44;box-shadow:0 0 20px #5ee1ee08}.command-log>summary,.run-execution>summary{display:flex;align-items:center;gap:12px;min-height:54px;padding:14px 16px;list-style:none;cursor:pointer}.command-log>summary::-webkit-details-marker,.run-execution>summary::-webkit-details-marker{display:none}.command-log>summary:focus-visible,.run-execution>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:-3px}.log-arrow{display:flex;flex:0 0 16px;color:var(--cyan);transition:transform .16s ease}.log-arrow svg{width:16px;height:16px}.command-log[open]>summary>.log-arrow,.run-execution[open]>summary>.log-arrow{transform:rotate(90deg)}.command-log>summary strong{font-size:12px}.command-status{color:var(--muted);font-size:11px}.command-log[data-status=running] .command-status{color:var(--cyan)}.command-log[data-status=completed] .command-status{color:#70ceab}.command-log[data-status=error],.command-log[data-status=denied]{border-color:#f8717144}.command-log>summary>small{margin-left:auto;color:var(--muted);font-size:10px;white-space:nowrap}.command-details{padding:0 16px 16px;border-top:1px solid var(--line)}.command-details>p{font-size:12px;line-height:1.7}.log-label{display:block;margin:14px 0 7px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.command-details pre,.assistant-record pre,.trace-event pre{max-width:100%;max-height:350px;overflow:auto;margin:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}.log-error{color:#f7a4ad!important}.execution-list{margin-top:20px}.run-execution-title{display:grid;flex:1;gap:5px;min-width:0}.run-execution-title strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.run-execution-title small{font-size:11px;color:var(--muted)}.run-log-body{padding:0 16px 16px;border-top:1px solid var(--line)}.run-log-body>.secondary{margin-top:16px}.assistant-record,.trace-view{margin-top:16px}.assistant-record>summary,.trace-view>summary{font-size:12px;color:var(--cyan);cursor:pointer;padding:10px 0}.trace-event{margin:8px 0;border:1px solid var(--line);border-radius:8px}.trace-event>summary{cursor:pointer;padding:10px;font-size:11px}.trace-event>summary small{color:var(--muted);margin-left:10px}.trace-event pre{margin:0 10px 10px}.trace-view>.secondary{margin-top:10px}.activity-storage{display:flex;gap:14px;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.activity-storage>span{display:flex;gap:10px;align-items:center}.workspace-setting{display:grid;gap:8px;margin-top:20px}
body[data-background=plain] .ambient{display:none}body[data-background=grid] .ambient .orb{display:none}body[data-background=grid] .ambient-grid{opacity:.3}body[data-background=plain] .main,body[data-background=grid] .main{background:var(--bg)}
:root[data-theme=light]{color-scheme:light;--bg:#f3f6fc;--panel:#ffffff;--line:#172a461a;--muted:#596b82;--text:#14243a;--cyan:#087c90;--violet:#7145c3}
:root[data-theme=light] body{background:var(--bg);color:var(--text)}
:root[data-theme=light] :is(.sidebar,.topbar,.context-panel,.composer,.resource-card,.settings-card,.workspace-switch,.private-card,.selection-card,.modal-header,.modal-body){background:#ffffffde;color:var(--text);border-color:var(--line)}
:root[data-theme=light] :is(.shell,.main,.chat-column,.main-content,.page){background:transparent;color:var(--text)}
:root[data-theme=light] :is(input,textarea,select){background:#f7f9fd;color:var(--text);border-color:#bdcadd;color-scheme:light}
:root[data-theme=light] :is(label,.message-author,.message-content,.nav-button,.history-button,.text-button,.composer-tag,.resource-card h3,.resource-card p,.settings-card h3,.setting-line,.selection-card p,.property,.intro,.workspace-switch strong,.brand-name,.brand-name span,.page-head h1,.welcome h1,.topbar,.section-label,.connection-status,.agent-picker select){color:var(--text)}
:root[data-theme=light] :is(.secondary,.workspace-switch,.workspace-icon,.composer-tag,.tab,.suggestion,.add-card,.info-banner,.pill,.search-results button){background:#eef3fa;color:#263d59;border-color:var(--line)}
:root[data-theme=light] .primary{color:#fff;background:linear-gradient(110deg,#087f9b,#7651ce)}
:root[data-theme=light] .message-avatar{background:#e7edf8;color:#304861;border-color:var(--line)}
:root[data-theme=light] .message-avatar.ai{background:#dff5f2;color:#086c71}
:root[data-theme=light] .message-content pre{background:#edf2f9;color:#162c43}
:root[data-theme=light] .nav-button.active{background:linear-gradient(110deg,#dff5f4,#eae5fb);color:#125466}
:root[data-theme=light] .ambient{opacity:.4}:root[data-theme=light] .ambient-grid{opacity:.12}
:root[data-theme=light] dialog{background:#fff;color:var(--text);border-color:#b9cadb}
:root[data-theme=light] .toast{background:#fff;color:var(--text);border-color:#bccddd}
:root[data-theme=light] .log-error{color:#b02e48!important}
@media(max-width:800px){.run-controls{gap:10px}.run-controls>small{display:none}.goal-banner{align-items:flex-start;flex-direction:column}.workspace-report{padding:20px}.activity-storage{align-items:flex-start;flex-direction:column;gap:7px}.run-execution>summary{gap:8px;padding:12px}.run-execution>summary .pill{font-size:10px}.topbar .reporting-tab{display:inline-flex!important}.workspace-report{box-shadow:-12px 0 50px #0008}}
@media(prefers-reduced-motion:reduce){.log-arrow{transition:none}}
:root[data-theme=light] .command-log[data-status=completed] .command-status{color:#176b50}
:root[data-theme=light] .command-log[data-status=running] .command-status,:root[data-theme=light] .eyebrow{color:#08758a}
:root[data-theme=light] .new-chat{background:linear-gradient(110deg,#e2f4f5,#eee8fc);color:#214d62;border-color:#bcd3df}
:root[data-theme=light] .private-card,:root[data-theme=light] .private-card .line,:root[data-theme=light] .private-card p{color:#53657b}

/* Per-account sessions and device controls. */
.session-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.session-card-heading svg{width:20px;height:20px;color:var(--cyan,#83d8e5)}.session-card-heading h3{margin:0}.sessions-card .workspace-id{font-family:monospace;font-size:11px;overflow-wrap:anywhere}.device-sessions{display:grid;gap:12px;margin:22px 0}.device-session{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:16px;border:1px solid var(--border,#27313d);border-radius:12px;background:var(--panel,#101622);align-items:start}.device-session-icon svg{width:24px;height:24px;color:var(--cyan,#83d8e5)}.device-session strong{display:block;font-size:14px;margin-bottom:8px}.device-session dl{display:grid;grid-template-columns:75px 1fr;gap:6px;margin:12px 0 0;font-size:11px;line-height:1.5}.device-session dt{color:var(--muted,#8b99ad)}.device-session dd{margin:0;overflow-wrap:anywhere}.session-footnote{margin-top:20px}html[data-theme=light] .device-session{background:#f2f6fb;border-color:#d8e0ea}@media(max-width:560px){.device-session{grid-template-columns:28px minmax(0,1fr)}.device-session>button{grid-column:2;justify-self:start}.device-session dl{grid-template-columns:1fr;gap:2px}.device-session dd{margin-bottom:6px}}

/* Removal controls */
.removal-error{color:#ff9da8;background:#9c253325;border:1px solid #ff6b7d55;padding:12px;border-radius:10px;margin:16px 0}.removal-error[hidden]{display:none}.activity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.activity-toolbar .activity-storage{margin:0}.activity-entry{border:1px solid var(--line);border-radius:12px;overflow:hidden}.activity-entry .run-execution{border:0;margin:0}.activity-entry-actions{display:flex;justify-content:flex-end;padding:0 16px 14px}.removed-agent-note{margin:10px 16px;color:var(--muted);font-size:13px;line-height:1.6}@media(max-width:640px){.activity-toolbar{align-items:flex-start;flex-direction:column}.activity-entry-actions{justify-content:flex-start}}

.syntax-code {
  --syntax-key: #93c5fd;
  --syntax-string: #86efac;
  --syntax-number: #fbbf24;
  --syntax-keyword: #c4b5fd;
  --syntax-variable: #67e8f9;
  --syntax-comment: #94a3b8;
  --syntax-punctuation: #cbd5e1;
  --syntax-flag: #f9a8d4;
  tab-size: 2;
}

.syntax-code code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.syntax-key {
  color: var(--syntax-key);
}

.syntax-string {
  color: var(--syntax-string);
}

.syntax-number {
  color: var(--syntax-number);
}

.syntax-keyword {
  color: var(--syntax-keyword);
}

.syntax-variable {
  color: var(--syntax-variable);
}

.syntax-comment {
  color: var(--syntax-comment);
}

.syntax-punctuation {
  color: var(--syntax-punctuation);
}

.syntax-flag {
  color: var(--syntax-flag);
}

[data-theme="light"] .syntax-code {
  --syntax-key: #1d4ed8;
  --syntax-string: #166534;
  --syntax-number: #92400e;
  --syntax-keyword: #6d28d9;
  --syntax-variable: #0e7490;
  --syntax-comment: #64748b;
  --syntax-punctuation: #334155;
  --syntax-flag: #a21caf;
}

.finding-evidence pre {
  max-height: 240px;
  overflow: auto;
}

/* Twilight background */

body[data-background="twilight"] {
  --bg: #2b3d53;
  --panel: #34455f;
  --text: #f4f7ff;
  --muted: #c6d1e2;
  --line: rgba(204, 220, 255, 0.2);
  --cyan: #85e7f5;
  --violet: #c7b1ff;

  --twilight-surface: rgba(44, 59, 83, 0.86);
  --twilight-chrome: rgba(34, 49, 71, 0.76);
  --twilight-input: rgba(30, 45, 67, 0.72);
  --twilight-code: #24364e;
  --twilight-shadow: rgba(9, 18, 36, 0.18);

  color: var(--text);
  background-color: var(--bg);

  background-image:
    radial-gradient(
      700px 460px at var(--mouse-x, 50%) var(--mouse-y, 35%),
      rgba(126, 223, 255, 0.12),
      transparent 75%
    ),
    radial-gradient(
      ellipse at 0% 10%,
      rgba(69, 188, 219, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 100% 10%,
      rgba(167, 139, 250, 0.2),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 90% 100%,
      rgba(224, 141, 191, 0.12),
      transparent 60%
    ),
    linear-gradient(
      120deg,
      #2b3d53 0%,
      #39425d 55%,
      #51465f 100%
    );

  background-attachment: fixed;
}

/* Lighter navigation and surrounding panels. */

body[data-background="twilight"] :is(
  .sidebar,
  .topbar,
  .context-panel
) {
  background: var(--twilight-chrome);
  border-color: var(--line);
}

/* Cards, findings, activity and goal status. */

body[data-background="twilight"] :is(
  .settings-card,
  .selection-card,
  .private-card,
  .goal-banner,
  .workspace-report,
  .activity-entry,
  .command-log
) {
  color: var(--text);
  background: var(--twilight-surface);
  border-color: var(--line);
  box-shadow:
    0 12px 34px var(--twilight-shadow),
    inset 0 1px 0 rgba(225, 235, 255, 0.05);
}

/* Message composer. */

body[data-background="twilight"] #composer {
  color: var(--text);
  background: linear-gradient(
    135deg,
    var(--twilight-surface),
    var(--panel)
  );
  border-color: var(--line);
  box-shadow:
    0 16px 42px var(--twilight-shadow),
    0 0 30px rgba(130, 151, 255, 0.06);
}

body[data-background="twilight"] .run-controls {
  border-color: var(--line);
}

/* Form controls and readable placeholders. */

body[data-background="twilight"] :is(
  input,
  select,
  textarea
) {
  color: var(--text);
  background-color: var(--twilight-input);
  border-color: var(--line);
}

body[data-background="twilight"] #prompt {
  color: var(--text);
  background: transparent;
}

body[data-background="twilight"] :is(
  input,
  textarea
)::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

/* Command output. */

body[data-background="twilight"] pre {
  color: var(--text);
  background: var(--twilight-code);
  border-color: var(--line);
}

/* Dialogs. */

body[data-background="twilight"] #modal {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 28px 90px var(--twilight-shadow);
}

/* Cyan–violet buttons. */

body[data-background="twilight"] .primary {
  color: #ffffff;
  background: linear-gradient(
    110deg,
    #328daa,
    #8061c8
  );
  border-color: rgba(186, 218, 255, 0.35);
  box-shadow: 0 5px 18px rgba(111, 125, 218, 0.18);
}

body[data-background="twilight"] .primary:hover {
  filter: brightness(1.1);
  box-shadow:
    0 5px 22px rgba(111, 125, 218, 0.28),
    0 0 22px rgba(105, 212, 240, 0.12);
}

body[data-background="twilight"] :is(
  .secondary,
  .text-button,
  .icon-button
):hover {
  background-color: rgba(174, 197, 255, 0.12);
}

body[data-background="twilight"] :is(
  button,
  input,
  select,
  textarea,
  a
):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Twilight also works with the existing Daylight theme. */

html[data-theme="light"] body[data-background="twilight"] {
  --bg: #eef2fb;
  --panel: #ffffff;
  --text: #25334b;
  --muted: #4b5d76;
  --line: rgba(61, 83, 122, 0.2);
  --cyan: #08738b;
  --violet: #7150bb;

  --twilight-surface: rgba(255, 255, 255, 0.82);
  --twilight-chrome: rgba(244, 247, 255, 0.86);
  --twilight-input: rgba(235, 240, 251, 0.9);
  --twilight-code: #edf1fa;
  --twilight-shadow: rgba(62, 79, 121, 0.1);

  background-image:
    radial-gradient(
      ellipse at 0% 10%,
      rgba(123, 221, 242, 0.23),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 100% 10%,
      rgba(183, 157, 247, 0.2),
      transparent 65%
    ),
    linear-gradient(
      120deg,
      #edf5ff,
      #f0edff 55%,
      #fff0f8
    );
}

/* Mouse glow layer */

.im-mouse-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.im-mouse-layer[hidden] {
  display: none;
}

.im-mouse-layer * {
  pointer-events: none;
}

/* Large, soft glow */

.im-mouse-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  opacity: 0;

  background: radial-gradient(
    circle,
    rgba(105, 216, 245, 0.14),
    rgba(164, 134, 238, 0.08) 36%,
    transparent 70%
  );

  transition: opacity 180ms ease;
  will-change: transform;
}

/* Subtle circle around the pointer */

.im-mouse-light::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;

  border: 1px solid rgba(144, 226, 247, 0.3);
  border-radius: 50%;

  transform: translate(-50%, -50%);

  box-shadow: 0 0 16px rgba(124, 194, 255, 0.09);

  transition:
    transform 140ms ease,
    border-color 140ms ease;
}

/* Circle contracts slightly when clicking */

.im-mouse-layer.is-pressed .im-mouse-light::after {
  transform: translate(-50%, -50%) scale(0.78);
  border-color: rgba(191, 173, 255, 0.8);
}

/* Highlight follows the card under the pointer */

.im-card-light {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  opacity: 0;

  background: radial-gradient(
    300px circle at
      var(--pointer-x, 50%)
      var(--pointer-y, 50%),
    rgba(123, 219, 245, 0.075),
    transparent 75%
  );

  box-shadow:
    inset 0 0 0 1px rgba(160, 205, 249, 0.18);

  transition: opacity 140ms ease;
  will-change: transform;
}

/* Daylight theme */

html[data-theme="light"] .im-mouse-light {
  background: radial-gradient(
    circle,
    rgba(53, 166, 211, 0.12),
    rgba(137, 98, 220, 0.07) 36%,
    transparent 70%
  );
}

html[data-theme="light"] .im-mouse-light::after {
  border-color: rgba(30, 116, 159, 0.34);
}

html[data-theme="light"] .im-card-light {
  background: radial-gradient(
    300px circle at
      var(--pointer-x, 50%)
      var(--pointer-y, 50%),
    rgba(58, 152, 198, 0.06),
    transparent 75%
  );

  box-shadow:
    inset 0 0 0 1px rgba(85, 115, 177, 0.22);
}

/* Respect accessibility and touch devices */

@media
  (prefers-reduced-motion: reduce),
  (hover: none),
  (pointer: coarse) {
  .im-mouse-layer {
    display: none;
  }
}


/* Muted Twilight — darker colors sampled from your reference. */

html[data-theme="dark"] body[data-background="twilight"] {
  --bg: #202a3d;
  --panel: #1d2536;
  --text: #edf1f7;
  --muted: #b1bdcf;
  --line: rgba(163, 185, 218, 0.16);
  --cyan: #70d8e9;
  --violet: #b59aee;

  --twilight-surface: rgba(25, 34, 51, 0.94);
  --twilight-chrome: rgba(17, 25, 39, 0.88);
  --twilight-input: rgba(13, 21, 35, 0.78);
  --twilight-code: #101624;
  --twilight-shadow: rgba(2, 6, 15, 0.24);

  background-color: #202a3d;

  /* Static background; the separate mouse layer supplies the glow. */
  background-image:
    linear-gradient(
      180deg,
      transparent 12%,
      rgba(7, 12, 20, 0.14) 100%
    ),
    linear-gradient(
      90deg,
      #1d3043 0%,
      #2a2847 50%,
      #342b3e 100%
    );

  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Darker cards, like the panel in photo 2. */

html[data-theme="dark"]
body[data-background="twilight"]
:is(
  .settings-card,
  .selection-card,
  .private-card,
  .workspace-report
) {
  background: linear-gradient(
    135deg,
    rgba(30, 41, 58, 0.96),
    rgba(15, 18, 32, 0.97)
  );

  border-color: var(--line);

  box-shadow:
    0 14px 36px rgba(2, 6, 15, 0.2),
    inset 0 1px 0 rgba(210, 225, 255, 0.025);
}

/* Original soft mouse glow. */

.im-mouse-layer {
  z-index: 80;
  pointer-events: none;
}

.im-mouse-layer * {
  pointer-events: none !important;
}

.im-mouse-light {
  /* Keep 480px: the tracking script centers it using a 240px offset. */
  width: 480px;
  height: 480px;
  border: 0;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    #67e8f916,
    #818cf80a 35%,
    transparent 68%
  );

  box-shadow: none;
  filter: none;
  transition: opacity 0.2s ease;
}

/* Remove the hard cursor circle and its click outline. */

.im-mouse-light::before,
.im-mouse-light::after {
  content: none !important;
  display: none !important;
}

/* Subtle card highlight from your supplied reference CSS. */

.im-card-light {
  box-sizing: border-box;
  border: 1px solid #67e8f955;

  background: radial-gradient(
    350px circle at
      var(--pointer-x, 50%)
      var(--pointer-y, 50%),
    #67e8f913,
    transparent 70%
  );

  box-shadow: 0 0 28px #22d3ee0c;
  transition: opacity 0.18s ease;
}

/* Complete dark preset.
   Settings: Theme = Midnight, Background = Deep dark.
*/

html[data-theme="dark"] body[data-background="plain"] {
  color-scheme: dark;

  --bg: #070a10;
  --panel: #101722;
  --panel-soft: #0c121c;
  --panel-raised: #151e2b;
  --text: #e6edf6;
  --muted: #99a9bf;
  --line: #243044;
  --cyan: #77d8e8;
  --violet: #b29ef4;

  color: var(--text);
  background: var(--bg);
  background-image: none;
}

/* Main layout */

html[data-theme="dark"] body[data-background="plain"]
:is(#app, .shell, .main) {
  color: var(--text);
  background: var(--bg);
  background-image: none;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.sidebar, .topbar, .context-panel) {
  color: var(--text);
  background: #0a0f17;
  background-image: none;
  border-color: var(--line);
}

/* Cards, findings and activity */

html[data-theme="dark"] body[data-background="plain"]
:is(
  .settings-card,
  .selection-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner
) {
  color: var(--text);
  background: var(--panel);
  background-image: none;
  border-color: var(--line);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}

html[data-theme="dark"] body[data-background="plain"]
:is(.workspace-report, #workspace-report) {
  color: var(--text);
  background: #0c121c;
  background-image: none;
  border-color: var(--line);
  box-shadow: -16px 0 50px rgba(0, 0, 0, .25);
}

/* Text */

html[data-theme="dark"] body[data-background="plain"]
:is(h1, h2, h3, h4, strong) {
  color: #edf3fb;
}

html[data-theme="dark"] body[data-background="plain"]
:is(
  small,
  .muted,
  .form-note,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label,
  .activity-storage
) {
  color: var(--muted);
}

html[data-theme="dark"] body[data-background="plain"]
.eyebrow {
  color: #82b6c5;
}

html[data-theme="dark"] body[data-background="plain"]
a {
  color: var(--cyan);
}

html[data-theme="dark"] body[data-background="plain"]
a:hover {
  color: #b3f0fa;
}

/* Chat composer */

html[data-theme="dark"] body[data-background="plain"]
#composer {
  color: var(--text);
  background: #101722;
  background-image: none;
  border-color: #2a384c;
  box-shadow:
    0 16px 45px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}

html[data-theme="dark"] body[data-background="plain"]
.run-controls {
  color: var(--muted);
  background: #0d141f;
  background-image: none;
  border-color: var(--line);
}

html[data-theme="dark"] body[data-background="plain"]
#composer #prompt {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

/* Form controls and menus */

html[data-theme="dark"] body[data-background="plain"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select
) {
  color: var(--text);
  background-color: #0a1019;
  border-color: #2a384c;
  caret-color: var(--cyan);
}

html[data-theme="dark"] body[data-background="plain"]
:is(input, textarea)::placeholder {
  color: #71829a;
  opacity: 1;
}

html[data-theme="dark"] body[data-background="plain"]
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #70cddd;
}

html[data-theme="dark"] body[data-background="plain"]
option {
  color: var(--text);
  background: #101722;
}

html[data-theme="dark"] body[data-background="plain"]
:is([role="menu"], [role="listbox"]) {
  color: var(--text);
  background: #111a27;
  border-color: #2a384c;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .4);
}

/* Buttons */

html[data-theme="dark"] body[data-background="plain"]
.secondary {
  color: #d4deed;
  background: #141e2b;
  border-color: #2b3b50;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="plain"]
.secondary:hover:not(:disabled) {
  color: #f0f6ff;
  background: #1b293a;
  border-color: #48617d;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.text-button, .icon-button) {
  color: #aabbd0;
  background: transparent;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.text-button, .icon-button):hover:not(:disabled) {
  color: #d8f4fa;
  background: rgba(119, 216, 232, .075);
}

html[data-theme="dark"] body[data-background="plain"]
:is(.primary, .send-button) {
  color: #ffffff;
  background: linear-gradient(120deg, #216d82, #6050a2);
  border-color: rgba(151, 179, 235, .32);
  box-shadow: 0 5px 18px rgba(42, 57, 110, .18);
}

html[data-theme="dark"] body[data-background="plain"]
:is(.primary, .send-button):hover:not(:disabled) {
  background: linear-gradient(120deg, #287f96, #705db6);
  border-color: rgba(167, 199, 255, .5);
}

html[data-theme="dark"] body[data-background="plain"]
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Selected navigation and tabs */

html[data-theme="dark"] body[data-background="plain"]
:is(
  .sidebar button.selected,
  .sidebar button.active,
  .sidebar button[aria-current="page"],
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #b5edf5;
  background: rgba(80, 160, 183, .1);
  border-color: rgba(119, 216, 232, .28);
}

/* Command output and execution history */

html[data-theme="dark"] body[data-background="plain"]
:is(.command-log, .trace-event, .assistant-record) {
  color: var(--text);
  background: #0c121c;
  border-color: #253247;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.command-log, .run-execution, .trace-event, .assistant-record) > summary {
  color: #b8c9dd;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary:hover {
  background: rgba(132, 166, 211, .045);
}

html[data-theme="dark"] body[data-background="plain"]
:is(.command-details, .run-log-body, .trace-rows) {
  color: #c4d1e2;
  background: #0a1019;
  border-color: var(--line);
}

html[data-theme="dark"] body[data-background="plain"]
pre {
  color: #d0dcee;
  background: #070c13;
  border-color: #243044;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="plain"]
pre code {
  color: inherit;
  background: transparent;
}

html[data-theme="dark"] body[data-background="plain"]
:not(pre) > code {
  color: #9de2ef;
  background: #162131;
  border-radius: 5px;
}

/* Existing syntax highlighting */

html[data-theme="dark"] body[data-background="plain"]
:is(.hljs-string, .token.string) {
  color: #a4d6a0;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.hljs-keyword, .token.keyword) {
  color: #c5a6f7;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.hljs-number, .token.number, .token.boolean) {
  color: #eab986;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.hljs-comment, .token.comment) {
  color: #8293a9;
}

html[data-theme="dark"] body[data-background="plain"]
:is(.hljs-attr, .token.property) {
  color: #92c9ed;
}

/* Success and error states */

html[data-theme="dark"] body[data-background="plain"]
.command-log[data-status="completed"] .command-status {
  color: #91d5b2;
}

html[data-theme="dark"] body[data-background="plain"]
.command-log[data-status="running"] .command-status {
  color: #8bd9ec;
}

html[data-theme="dark"] body[data-background="plain"]
:is(
  .log-error,
  .command-log[data-status="failed"] .command-status,
  .command-log[data-status="error"] .command-status
) {
  color: #f0a3ad;
}

/* Tables and separators */

html[data-theme="dark"] body[data-background="plain"]
:is(hr, th, td) {
  border-color: var(--line);
}

html[data-theme="dark"] body[data-background="plain"]
th {
  color: #9cadc4;
  background: #0b111a;
}

html[data-theme="dark"] body[data-background="plain"]
tbody tr:hover {
  background: rgba(136, 163, 202, .035);
}

/* Dialogs and notifications */

html[data-theme="dark"] body[data-background="plain"]
dialog#modal {
  color: var(--text);
  background: #101722;
  border-color: #2b394d;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .65);
}

html[data-theme="dark"] body[data-background="plain"]
dialog#modal::backdrop {
  background: rgba(2, 5, 10, .78);
  backdrop-filter: blur(5px);
}

html[data-theme="dark"] body[data-background="plain"]
:is(.toast, [role="tooltip"]) {
  color: #dce7f5;
  background: #162131;
  border-color: #33465e;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .4);
}

/* Keyboard focus and selection */

html[data-theme="dark"] body[data-background="plain"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #78cddd;
  outline-offset: 3px;
}

html[data-theme="dark"] body[data-background="plain"]
::selection {
  color: #f0f8ff;
  background: #36516d;
}

/* Scrollbars */

html[data-theme="dark"] body[data-background="plain"],
html[data-theme="dark"] body[data-background="plain"] * {
  scrollbar-color: #344259 #0a0f17;
  scrollbar-width: thin;
}

html[data-theme="dark"] body[data-background="plain"]
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html[data-theme="dark"] body[data-background="plain"]
::-webkit-scrollbar-track {
  background: #0a0f17;
}

html[data-theme="dark"] body[data-background="plain"]
::-webkit-scrollbar-thumb {
  background: #344259;
  border: 2px solid #0a0f17;
  border-radius: 10px;
}

/* OBSIDIAN
   Theme: Midnight
   Background: Obsidian · full black
*/

html[data-theme="dark"] body[data-background="obsidian"] {
  color-scheme: dark;

  --bg: #0b0b0b;
  --panel: #131415;
  --panel-soft: #101112;
  --panel-raised: #191b1c;
  --text: #dedfe1;
  --muted: #969b9f;
  --line: #292c2e;
  --cyan: #79bfae;
  --violet: #aaa2bf;

  color: var(--text);
  background: #0b0b0b;
  background-image: none;
}

/* Canvas */

html[data-theme="dark"] body[data-background="obsidian"]
:is(#app, .shell, .main) {
  color: var(--text);
  background: #0b0b0b;
  background-image: none;
  box-shadow: none;
}

/* Navigation and surrounding panels */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.sidebar, .topbar, .context-panel) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #242729;
  box-shadow: none;
}

/* Cards */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  .settings-card,
  .selection-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner
) {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #2a2d2f;
  box-shadow: none;
}

/* Findings drawer */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.workspace-report, #workspace-report) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #292c2e;
  box-shadow: -12px 0 36px rgba(0, 0, 0, .25);
}

/* Headings and supporting text */

html[data-theme="dark"] body[data-background="obsidian"]
:is(h1, h2, h3, h4) {
  color: #e3e5e7;
  background: none;
  -webkit-text-fill-color: currentColor;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  small,
  .muted,
  .form-note,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label,
  .activity-storage
) {
  color: #969b9f;
}

html[data-theme="dark"] body[data-background="obsidian"]
.eyebrow {
  color: #83a49a;
}

html[data-theme="dark"] body[data-background="obsidian"]
a {
  color: #8bc4b5;
}

html[data-theme="dark"] body[data-background="obsidian"]
a:hover {
  color: #b2d9cd;
}

/* Chat composer */

html[data-theme="dark"] body[data-background="obsidian"]
#composer {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #323638;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
.run-controls {
  color: #a0a6aa;
  background: #111314;
  background-image: none;
  border-color: #292c2e;
}

html[data-theme="dark"] body[data-background="obsidian"]
#composer #prompt {
  color: #dedfe1;
  background: transparent;
  box-shadow: none;
}

/* Inputs and dropdowns */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select
) {
  color: #dedfe1;
  background: #0e1011;
  border-color: #303537;
  caret-color: #8bc4b5;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(input, textarea)::placeholder {
  color: #747c81;
  opacity: 1;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #69a892;
}

html[data-theme="dark"] body[data-background="obsidian"]
option {
  color: #dedfe1;
  background: #151819;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is([role="menu"], [role="listbox"]) {
  color: #dedfe1;
  background: #151819;
  border-color: #303537;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

/* Flat charcoal buttons */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.primary, .secondary, .send-button) {
  color: #dce3df;
  background: #1b2421;
  background-image: none;
  border-color: #35453e;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
.secondary {
  color: #c9cdd0;
  background: #1a1d1f;
  border-color: #323739;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.primary, .send-button):hover:not(:disabled) {
  color: #e5f0eb;
  background: #24372f;
  border-color: #4b6a5c;
}

html[data-theme="dark"] body[data-background="obsidian"]
.secondary:hover:not(:disabled) {
  background: #24292b;
  border-color: #454e52;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.text-button, .icon-button) {
  color: #a0a8ad;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.text-button, .icon-button):hover:not(:disabled) {
  color: #d4ded9;
  background: #1c2420;
}

html[data-theme="dark"] body[data-background="obsidian"]
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Active navigation */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  .sidebar button.selected,
  .sidebar button.active,
  .sidebar button[aria-current="page"],
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #a5cbbb;
  background: #17231e;
  border-color: #344c40;
  box-shadow: none;
}

/* Command panels */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.command-log, .trace-event, .assistant-record) {
  color: #c6cdd1;
  background: #111314;
  border-color: #292e31;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary {
  color: #b9c0c4;
  background: transparent;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary:hover {
  background: #191d1f;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.command-details, .run-log-body, .trace-rows) {
  color: #bfc7cb;
  background: #0e1011;
  border-color: #292e31;
}

/* Code and output */

html[data-theme="dark"] body[data-background="obsidian"]
pre {
  color: #c5ced3;
  background: #090b0c;
  border-color: #272d30;
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
pre code {
  color: inherit;
  background: transparent;
}

html[data-theme="dark"] body[data-background="obsidian"]
:not(pre) > code {
  color: #a5cbbb;
  background: #1b2220;
  border-radius: 4px;
}

/* Muted syntax colors */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.hljs-string, .token.string) {
  color: #a0bfa4;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.hljs-keyword, .token.keyword) {
  color: #b7a9cb;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.hljs-number, .token.number, .token.boolean) {
  color: #c7b193;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.hljs-comment, .token.comment) {
  color: #7e898f;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.hljs-attr, .token.property) {
  color: #9bb6c5;
}

/* Status text */

html[data-theme="dark"] body[data-background="obsidian"]
.command-log[data-status="completed"] .command-status {
  color: #91bda5;
}

html[data-theme="dark"] body[data-background="obsidian"]
.command-log[data-status="running"] .command-status {
  color: #a0beb8;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  .log-error,
  .command-log[data-status="failed"] .command-status,
  .command-log[data-status="error"] .command-status
) {
  color: #cc9c9c;
}

/* Activity tables */

html[data-theme="dark"] body[data-background="obsidian"]
:is(hr, th, td) {
  border-color: #272c2e;
}

html[data-theme="dark"] body[data-background="obsidian"]
th {
  color: #949da2;
  background: #101314;
}

html[data-theme="dark"] body[data-background="obsidian"]
tbody tr:hover {
  background: #14191a;
}

/* Dialogs */

html[data-theme="dark"] body[data-background="obsidian"]
dialog#modal {
  color: #dedfe1;
  background: #141617;
  background-image: none;
  border-color: #343a3d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
}

html[data-theme="dark"] body[data-background="obsidian"]
dialog#modal::backdrop {
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.toast, [role="tooltip"]) {
  color: #cdd5d8;
  background: #1a2022;
  border-color: #343e42;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* Restrained mouse effect */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.im-pointer-aura, .im-mouse-light) {
  background: radial-gradient(
    circle,
    rgba(150, 180, 165, .045),
    rgba(150, 180, 165, .015) 35%,
    transparent 68%
  );
  box-shadow: none;
  filter: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.im-pointer-card, .im-card-light) {
  border-color: rgba(130, 165, 145, .2);
  background: radial-gradient(
    350px circle at
      var(--px, var(--pointer-x, 50%))
      var(--py, var(--pointer-y, 50%)),
    rgba(130, 165, 145, .035),
    transparent 70%
  );
  box-shadow: none;
}

html[data-theme="dark"] body[data-background="obsidian"]
.is-pressed :is(.im-pointer-card, .im-card-light) {
  border-color: rgba(140, 185, 158, .4);
}

/* Focus and selection */

html[data-theme="dark"] body[data-background="obsidian"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #81b69f;
  outline-offset: 3px;
}

html[data-theme="dark"] body[data-background="obsidian"]
::selection {
  color: #e6efea;
  background: #344c40;
}

/* Neutral scrollbars */

html[data-theme="dark"] body[data-background="obsidian"],
html[data-theme="dark"] body[data-background="obsidian"] * {
  scrollbar-color: #3b4347 #101314;
  scrollbar-width: thin;
}

html[data-theme="dark"] body[data-background="obsidian"]
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html[data-theme="dark"] body[data-background="obsidian"]
::-webkit-scrollbar-track {
  background: #101314;
}

html[data-theme="dark"] body[data-background="obsidian"]
::-webkit-scrollbar-thumb {
  background: #3b4347;
  border: 2px solid #101314;
  border-radius: 8px;
}

/* OBSIDIAN — uniform black surfaces */

html[data-theme="dark"]:has(body[data-background="obsidian"]) {
  background: #070707;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-background="obsidian"] {
  --bg: #070707;
  --panel: #0b0b0b;
  --panel-soft: #090909;
  --panel-raised: #111111;
  --text: #cccccc;
  --muted: #929292;
  --line: #242424;
  --cyan: #a0b7af;
  --violet: #aaaaaa;

  color: #cccccc !important;
  background: #070707 !important;
}

/* Same black across the entire page */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  #app,
  .shell,
  .main,
  .sidebar,
  .topbar,
  .context-panel,
  .chat-column,
  .chat-toolbar,
  .chat-scroll,
  .welcome,
  .composer-wrap,
  .composer-footer,
  .workspace-report,
  #workspace-report
) {
  background: #070707 !important;
  background-image: none !important;
  border-color: #242424 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Cards, controls and dialogs */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  .workspace-switch,
  .new-chat,
  .suggestion,
  .selection-card,
  .settings-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner,
  .command-log,
  .trace-event,
  .assistant-record,
  #composer,
  .run-controls,
  dialog#modal
) {
  color: #cccccc !important;
  background: #0b0b0b !important;
  background-image: none !important;
  border-color: #242424 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Remove colored button gradients */

html[data-theme="dark"] body[data-background="obsidian"]
:is(button, .primary, .secondary, .send-button) {
  color: #bfbfbf !important;
  background: #0d0d0d !important;
  background-image: none !important;
  border-color: #292929 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
button:hover:not(:disabled) {
  color: #e0e0e0 !important;
  background: #151515 !important;
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.icon-button, .text-button, .nav-button, .history-button) {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  .nav-button.active,
  .nav-button.selected,
  .history-button.active,
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #d2d2d2 !important;
  background: #111111 !important;
  background-image: none !important;
  border-color: #303030 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
.nav-button.active::before {
  background: #83978f !important;
  box-shadow: none !important;
}

/* Inputs and dropdowns */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select,
  option
) {
  color: #cccccc !important;
  background-color: #090909 !important;
  border-color: #292929 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
#composer #prompt {
  background: transparent !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(input, textarea)::placeholder {
  color: #777777 !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is([role="menu"], [role="listbox"], .toast, [role="tooltip"]) {
  color: #cccccc !important;
  background: #101010 !important;
  background-image: none !important;
  border-color: #303030 !important;
  box-shadow: none !important;
}

/* Remove the colored heading gradient */

html[data-theme="dark"] body[data-background="obsidian"]
:is(h1, h2, h3, h4, h1 span, .gradient-text) {
  color: #cccccc !important;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #cccccc !important;
  text-shadow: none !important;
}

/* Remove the welcome logo halo and decorative rings */

html[data-theme="dark"] body[data-background="obsidian"]
.welcome-emblem {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
.welcome-emblem::before,
html[data-theme="dark"] body[data-background="obsidian"]
.welcome-emblem::after {
  content: none !important;
  display: none !important;
}

/* Monochrome logos for this preset */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.brand img, .welcome-emblem img) {
  filter: grayscale(1) brightness(.75) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.brand, .brand strong, .brand span) {
  color: #bdbdbd !important;
  text-shadow: none !important;
}

/* Neutral icon tiles and badges */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.workspace-icon, .agent-mark, .count, .pill, .badge, .avatar) {
  background: #101010 !important;
  background-image: none !important;
  border-color: #292929 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.workspace-icon, .agent-mark, .suggestion svg) {
  color: #a0a0a0 !important;
}

/* Supporting text */

html[data-theme="dark"] body[data-background="obsidian"]
:is(
  small,
  .muted,
  .form-note,
  .eyebrow,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label
) {
  color: #929292 !important;
}

/* Command details and code */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.command-details, .run-log-body, .trace-rows) {
  background: #090909 !important;
  border-color: #242424 !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
pre {
  background: #050505 !important;
  border-color: #242424 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
pre code {
  background: transparent !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:not(pre) > code {
  background: #151515 !important;
}

/* Very subtle neutral mouse glow */

html[data-theme="dark"] body[data-background="obsidian"]
:is(.im-pointer-aura, .im-mouse-light) {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, .025),
    transparent 68%
  ) !important;
  box-shadow: none !important;
  filter: none !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(.im-pointer-card, .im-card-light) {
  background: radial-gradient(
    350px circle at
      var(--px, var(--pointer-x, 50%))
      var(--py, var(--pointer-y, 50%)),
    rgba(255, 255, 255, .025),
    transparent 70%
  ) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: none !important;
}

/* Dialog backdrop and keyboard focus */

html[data-theme="dark"] body[data-background="obsidian"]
dialog#modal::backdrop {
  background: rgba(0, 0, 0, .85) !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #858585 !important;
  outline-offset: 3px;
}

/* Neutral scrollbars */

html[data-theme="dark"] body[data-background="obsidian"],
html[data-theme="dark"] body[data-background="obsidian"] * {
  scrollbar-color: #353535 #070707 !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
::-webkit-scrollbar-track {
  background: #070707 !important;
}

html[data-theme="dark"] body[data-background="obsidian"]
::-webkit-scrollbar-thumb {
  background: #353535 !important;
  border-color: #070707 !important;
}

/* Collapsible goal */

.goal-disclosure {
  width: 100%;
  min-width: 0;
  flex-shrink: 0;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.goal-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.goal-disclosure > summary::-webkit-details-marker {
  display: none;
}

.goal-disclosure > summary > span:nth-child(2) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goal-disclosure > summary > small {
  flex-shrink: 0;
  color: var(--muted);
}

.goal-disclosure-arrow {
  display: inline-block;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  transform: rotate(0deg);
}

.goal-disclosure[open] > summary .goal-disclosure-arrow {
  transform: rotate(90deg);
}

.goal-disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
}

.goal-disclosure .goal-banner {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.goal-disclosure .goal-banner > div {
  min-width: 0;
}

.goal-disclosure .goal-banner p {
  max-height: 160px;
  overflow: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.goal-disclosure > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
}

/* Let the chat resize when the goal is collapsed. */

.chat-column,
.chat-scroll {
  min-height: 0;
}

.chat-scroll,
#workspace-report {
  overflow-anchor: none;
  scroll-behavior: auto !important;
  overscroll-behavior: contain;
}

/* Findings summary and discussion stay in separate regions. */

#workspace-report.findings-with-chat {
  display: flex;
  flex-direction: column;
  width: min(540px, 100vw);
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: var(--panel, #101010);
}

[data-findings-summary] {
  flex: 0 1 42%;
  min-height: 130px;
  overflow: auto;
  padding: 24px;
  overflow-anchor: none;
  scroll-behavior: auto;
}

.fc-findings-header,
.fc-header,
.fc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

[data-findings-discussion] {
  flex: 1;
  min-height: 280px;
  display: flex;
}

.findings-chat {
  --fc-text: #ffffff;
  --fc-muted: #a0a0a0;
  --fc-line: #303030;

  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--fc-text);
  background: var(--panel);
}

html[data-theme="light"] .findings-chat {
  --fc-text: #182230;
  --fc-muted: #596779;
  --fc-line: #cbd2dd;
}

.fc-header select {
  min-width: 0;
  max-width: 55%;
  padding: 7px;
}

.fc-meta,
.fc-empty,
.fc-actions small {
  margin: 0;
  font-size: 12px;
  color: var(--fc-muted);
}

.fc-history {
  flex: 1;
  min-height: 100px;
  overflow: auto;
  overflow-anchor: none;
}

.fc-message {
  padding: 10px 0;
  border-bottom: 1px solid var(--fc-line);
}

.fc-message > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: var(--fc-muted);
}

.fc-content,
.fc-main-text,
.fc-notes p {
  color: var(--fc-text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.65;
}

.fc-main,
.fc-coordination {
  flex-shrink: 0;
  font-size: 12px;
}

.fc-main summary,
.fc-coordination summary {
  cursor: pointer;
  color: var(--fc-muted);
}

.fc-main-text,
.fc-notes {
  max-height: 130px;
  overflow: auto;
  margin-top: 8px;
}

.fc-notes p {
  padding: 8px 0;
  border-bottom: 1px solid var(--fc-line);
}

.fc-error {
  color: #dca5a5;
  font-size: 12px;
}

.fc-error:empty {
  display: none;
}

.fc-approval {
  max-height: 180px;
  overflow: auto;
}

.fc-approval[hidden],
.fc-stop[hidden] {
  display: none !important;
}

.fc-approval pre {
  max-height: 100px;
  overflow: auto;
  white-space: pre-wrap;
}

.fc-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.fc-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.fc-share input {
  width: auto;
}

.fc-form textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  max-height: 180px;
  padding: 10px;
}

.fc-actions button,
.fc-approval button {
  padding: 8px 12px;
  cursor: pointer;
}

.fc-actions small {
  flex: 1;
}

.fc-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

html[data-theme="dark"] body[data-background]
.findings-chat :is(textarea, select) {
  color: #ffffff !important;
}

/* Append at the end of public/style.css. */
#composer > .run-controls {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 20px;
  gap: 12px 16px;
  flex-wrap: wrap;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

#composer > .run-controls > label {
  align-items: center;
  min-width: 0;
  margin: 0;
}

#composer > .run-controls > small {
  display: block;
  flex: 1 1 160px;
  min-width: 0;
  margin: 0;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  #composer > .run-controls {
    padding: 10px 14px;
  }

  #composer > .run-controls > small {
    flex-basis: 100%;
    text-align: left;
  }
}

/* Append at the very end of public/style.css, after the spacing fix. */
#composer #prompt,
#composer #prompt:focus,
#composer #prompt:focus-visible {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 18px 20px 10px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Keep keyboard focus visible around the complete composer. */
#composer:has(#prompt:focus-visible) {
  outline: 2px solid var(--cyan, #08738b) !important;
  outline-offset: -2px;
}

@media (max-width: 600px) {
  #composer #prompt {
    padding-inline: 14px;
  }
}

/* INFINITYMIND_COMPOSER_MODELS_V1 */
#composer .composer-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
#composer .composer-model-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-left: auto;
  min-width: 0;
}
#composer .composer-model-controls .composer-tag {
  flex: 0 0 auto;
  white-space: nowrap;
}
#composer .composer-model-field {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
}
#composer #composer-model {
  box-sizing: border-box;
  width: clamp(130px, 22vw, 240px);
  min-width: 0;
  max-width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 5px 26px 5px 10px;
  font: inherit;
  font-size: 11px;
  text-overflow: ellipsis;
  border-radius: 8px;
}
#composer .composer-model-controls .send-button {
  flex: 0 0 auto;
  margin-left: 0;
}
@media (max-width: 600px) {
  #composer .composer-footer { gap: 6px; padding-inline: 10px; }
  #composer .composer-model-controls { gap: 6px; }
  #composer .composer-model-controls .composer-tag { padding: 5px 6px; font-size: 9px; }
  #composer #composer-model { width: clamp(90px, 29vw, 160px); font-size: 10px; }
}

/* INFINITYMIND_RUN_DEBUG_V1 */
#live-message .run-diagnostics {
  margin: 12px 0 16px;
  border: 1px solid var(--line, #a1abc740);
  border-radius: 12px;
  color: inherit;
  font-size: 12px;
  overflow: hidden;
}
#live-message .run-diagnostics > summary { cursor: pointer; padding: 12px 14px; line-height: 1.5; }
#live-message .run-diagnostics > summary strong { margin-right: 10px; }
#live-message .run-diagnostics > summary span { opacity: .8; overflow-wrap: anywhere; }
#live-message .run-debug-body { padding: 0 14px 14px; }
#live-message .run-debug-model { margin: 0 0 10px; overflow-wrap: anywhere; }
#live-message .run-debug-events { list-style: none; margin: 0 0 12px; padding: 0; max-height: min(220px, 22vh); overflow: auto; }
#live-message .run-debug-events li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 10px; padding: 6px 0; overflow-wrap: anywhere; }
#live-message .run-debug-events time { font-family: monospace; opacity: .65; }
#live-message .run-debug-events small { display: block; opacity: .7; font-size: 10px; margin-top: 3px; }
#live-message .run-debug-body button { font-size: 11px; }

/* INFINITYMIND_MARKDOWN_BASE_V2 */
.md-rendered { white-space: normal; overflow-wrap: anywhere; line-height: 1.65; }
.md-rendered > :first-child { margin-top: 0; }
.md-rendered > :last-child { margin-bottom: 0; }
.md-rendered p { margin: .65em 0; }
.md-rendered h1, .md-rendered h2, .md-rendered h3, .md-rendered h4, .md-rendered h5, .md-rendered h6 { margin: 1em 0 .4em; line-height: 1.3; color: inherit; }
.md-rendered h1 { font-size: 1.6em; }
.md-rendered h2 { font-size: 1.35em; }
.md-rendered h3 { font-size: 1.15em; }
.md-rendered ul, .md-rendered ol { margin: .65em 0; padding-left: 1.65em; }
.md-rendered li > p { margin: .2em 0; }
.md-rendered li > input[type="checkbox"] { width: auto; }
.md-rendered blockquote { margin: .75em 0; border-left: 3px solid currentColor; padding: .1em 1em; opacity: .85; }
.md-rendered hr { margin: 1em 0; opacity: .25; }
.md-rendered code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.md-rendered a { text-decoration: underline; text-underline-offset: 3px; }
.md-table { max-width: 100%; overflow: auto; margin: .8em 0; }
.md-table table { border-collapse: collapse; width: 100%; }
.md-table th, .md-table td { border: 1px solid color-mix(in srgb, currentColor 25%, transparent); padding: .4em .65em; text-align: left; }
.md-details { margin: .65em 0; min-width: 0; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 8px; overflow: hidden; white-space: normal; }
.md-details > summary { cursor: pointer; padding: 8px 12px; font-size: 12px; user-select: none; }
.md-details > summary:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.md-details > .md-rendered { padding: 0 12px 12px; }
.md-details pre { margin: 0; padding: 12px; max-height: 360px; overflow: auto; white-space: pre; }
.md-details .md-note { padding: 0 12px; font-size: 12px; opacity: .7; }
.md-response { border: 0; margin: 0; }
.md-response > summary { padding: 4px 0 8px; opacity: .65; }
.md-response > .md-rendered { padding: 0; }
.command-output .md-rendered { padding: 12px; }

.command-output.command-markdown { white-space: normal; padding: 0; }
.raw-tool-output { margin: 8px 12px; }
.fc-content > .md-response { font-size: 12px; }

/* INFINITYMIND_FINDINGS_HIGHLIGHT_V1 */
.md-rendered code.im-syntax { color: var(--text); white-space: pre; tab-size: 2; }
.md-rendered .im-syntax .token { display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; line-height: inherit; white-space: inherit; width: auto; height: auto; min-width: 0; min-height: 0; }
.md-rendered .im-syntax .comment,
.md-rendered .im-syntax .prolog,
.md-rendered .im-syntax .doctype { color: #a4b2c8; }
.md-rendered .im-syntax .keyword,
.md-rendered .im-syntax .atrule,
.md-rendered .im-syntax .selector { color: #c9acff; }
.md-rendered .im-syntax .string,
.md-rendered .im-syntax .attr-value { color: #9ee2bc; }
.md-rendered .im-syntax .number,
.md-rendered .im-syntax .boolean,
.md-rendered .im-syntax .constant { color: #ffca91; }
.md-rendered .im-syntax .function,
.md-rendered .im-syntax .class-name { color: #89d9f0; }
.md-rendered .im-syntax .property,
.md-rendered .im-syntax .tag,
.md-rendered .im-syntax .attr-name { color: #ffb6cd; }
.md-rendered .im-syntax .operator,
.md-rendered .im-syntax .punctuation { color: #c4cede; }
html[data-theme=light] .md-rendered .im-syntax .comment,
html[data-theme=light] .md-rendered .im-syntax .prolog,
html[data-theme=light] .md-rendered .im-syntax .doctype { color: #53647a; }
html[data-theme=light] .md-rendered .im-syntax .keyword,
html[data-theme=light] .md-rendered .im-syntax .atrule,
html[data-theme=light] .md-rendered .im-syntax .selector { color: #7341a6; }
html[data-theme=light] .md-rendered .im-syntax .string,
html[data-theme=light] .md-rendered .im-syntax .attr-value { color: #17633d; }
html[data-theme=light] .md-rendered .im-syntax .number,
html[data-theme=light] .md-rendered .im-syntax .boolean,
html[data-theme=light] .md-rendered .im-syntax .constant { color: #925007; }
html[data-theme=light] .md-rendered .im-syntax .function,
html[data-theme=light] .md-rendered .im-syntax .class-name { color: #0c647f; }
html[data-theme=light] .md-rendered .im-syntax .property,
html[data-theme=light] .md-rendered .im-syntax .tag,
html[data-theme=light] .md-rendered .im-syntax .attr-name { color: #a32c56; }
html[data-theme=light] .md-rendered .im-syntax .operator,
html[data-theme=light] .md-rendered .im-syntax .punctuation { color: #45546b; }
.findings-diagnostics { margin: 18px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.findings-diagnostics > summary { cursor: pointer; color: var(--text); }
.findings-diagnostics p { margin: 8px 0; }
.findings-diagnostics ul { margin: 8px 0; padding-left: 18px; }

/* INFINITYMIND_TOOL_HIGHLIGHT_V1 */

code.im-syntax { color: var(--text); white-space: pre; tab-size: 2; }
.im-syntax .token { display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; line-height: inherit; white-space: inherit; width: auto; height: auto; min-width: 0; min-height: 0; }
.im-syntax .comment,
.im-syntax .prolog,
.im-syntax .doctype { color: #a4b2c8; }
.im-syntax .keyword,
.im-syntax .atrule,
.im-syntax .selector { color: #c9acff; }
.im-syntax .string,
.im-syntax .attr-value { color: #9ee2bc; }
.im-syntax .number,
.im-syntax .boolean,
.im-syntax .constant { color: #ffca91; }
.im-syntax .function,
.im-syntax .class-name { color: #89d9f0; }
.im-syntax .property,
.im-syntax .tag,
.im-syntax .attr-name { color: #ffb6cd; }
.im-syntax .operator,
.im-syntax .punctuation { color: #c4cede; }
html[data-theme=light] .im-syntax .comment,
html[data-theme=light] .im-syntax .prolog,
html[data-theme=light] .im-syntax .doctype { color: #53647a; }
html[data-theme=light] .im-syntax .keyword,
html[data-theme=light] .im-syntax .atrule,
html[data-theme=light] .im-syntax .selector { color: #7341a6; }
html[data-theme=light] .im-syntax .string,
html[data-theme=light] .im-syntax .attr-value { color: #17633d; }
html[data-theme=light] .im-syntax .number,
html[data-theme=light] .im-syntax .boolean,
html[data-theme=light] .im-syntax .constant { color: #925007; }
html[data-theme=light] .im-syntax .function,
html[data-theme=light] .im-syntax .class-name { color: #0c647f; }
html[data-theme=light] .im-syntax .property,
html[data-theme=light] .im-syntax .tag,
html[data-theme=light] .im-syntax .attr-name { color: #a32c56; }
html[data-theme=light] .im-syntax .operator,
html[data-theme=light] .im-syntax .punctuation { color: #45546b; }

.tool-syntax-block > code.im-syntax { display: block; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.command-output.tool-syntax-block { white-space: pre-wrap; }
.assistant-record > .md-rendered { padding: 0 12px 12px; }

/* INFINITYMIND_FLOATING_OUTLINE_FIX_V1 */
/* These are decorative pointer overlays; normal card borders stay in place. */
.im-pointer-fx .im-pointer-card,
.im-mouse-layer .im-card-light {
  display: none !important;
}







/* INFINITYMIND_FINDINGS_FLOW_V1 */
.im-findings-unread { position:relative; border-color:var(--cyan,#fff)!important; box-shadow:0 0 0 1px var(--cyan,#fff),0 0 18px #73d6f144!important; }
.im-findings-unread-dot { width:8px;height:8px;display:inline-block;border-radius:50%;background:var(--cyan,#fff);box-shadow:0 0 10px var(--cyan,#fff); }
.im-findings-cadence {display:grid;gap:5px;padding:12px 0;font-size:12px;line-height:1.6;color:var(--text);}
.im-findings-cadence span {display:block;color:var(--muted);}
.im-findings-table-wrap {overflow:auto;margin:18px 0;}
.im-findings-table {width:100%;border-collapse:collapse;font-size:12px;line-height:1.6;}
.im-findings-table th,.im-findings-table td {text-align:left;vertical-align:top;padding:12px 8px;border-bottom:1px solid var(--line);}
.im-findings-table td:first-child {min-width:160px;}
.im-findings-table small {display:block;overflow-wrap:anywhere;color:var(--muted);}
.im-findings-table p {margin:5px 0;overflow-wrap:anywhere;}
.im-findings-table figure,.im-fg-details figure {margin:10px 0;max-width:100%;}
.im-findings-table figcaption,.im-fg-details figcaption {font-size:10px;overflow-wrap:anywhere;color:var(--muted);}
.im-findings-table pre,.im-fg-details pre {max-width:100%;max-height:200px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;}
.chat-column.im-findings-graph-open > .chat-scroll,.chat-column.im-findings-graph-open > .composer-wrap {display:none!important;}
.main-content:has(.im-fg-panel) > .context-panel {display:none!important;}
.im-fg-panel {display:flex;flex-direction:column;flex:1;min-width:0;min-height:400px;overflow:hidden;background:var(--bg);color:var(--text);}
.im-fg-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line);}
.im-fg-toolbar>strong {margin-right:auto;}
.im-fg-toolbar button {font-size:11px;padding:7px 10px;}
.im-fg-body {display:flex;flex:1;min-height:320px;overflow:hidden;}
.im-fg-viewport {position:relative;overflow:hidden;flex:1;min-width:0;touch-action:none;cursor:grab;background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:24px 24px;}
.im-fg-world {position:absolute;inset:0 auto auto 0;width:1px;height:1px;transform-origin:0 0;}
.im-fg-panel svg.im-fg-edges {position:absolute;left:-12000px;top:-12000px;width:30000px!important;height:30000px!important;overflow:visible;pointer-events:none;}
.im-fg-edges > g {transform:translate(12000px,12000px);}
.im-fg-edges path {fill:none;stroke:var(--muted,#c0cedd);stroke-width:1.6;stroke-dasharray:5 4;}
.im-fg-edges text {fill:var(--muted,#c0cedd);stroke:none;font-size:10px;font-family:inherit;text-anchor:middle;}
.im-fg-edges .im-fg-user-edge path {stroke:var(--cyan,#91e0eb);stroke-width:2;stroke-dasharray:none;}
.im-fg-node {position:absolute;display:grid;gap:5px;text-align:left;width:235px;min-height:85px;padding:12px;border:1px solid var(--line)!important;border-radius:10px;background:var(--panel,#202936)!important;color:var(--text)!important;box-shadow:0 5px 18px #0003;cursor:grab;white-space:normal;touch-action:none;}
.im-fg-node strong {font-size:12px;line-height:1.5;}
.im-fg-node small {font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--cyan);}
.im-fg-node span {font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.im-fg-node[data-fg-type="Finding"] {border-color:var(--cyan)!important;}
.im-fg-node[data-fg-type="Withdrawn"] {opacity:.7;border-style:dashed!important;}
.im-fg-node[aria-pressed="true"] {outline:2px solid var(--cyan)!important;outline-offset:3px;}
.im-fg-details {width:280px;flex:0 0 280px;border-left:1px solid var(--line);padding:16px;overflow:auto;background:var(--panel);font-size:12px;line-height:1.7;}
.im-fg-details h3 {font-size:14px;}
.im-fg-status {padding:0 16px;border-bottom:1px solid var(--line);}
.im-fg-status .im-findings-cadence {display:flex;flex-wrap:wrap;gap:6px 14px;font-size:10px;padding:8px 0;}
.im-fg-status p {font-size:10px;}
.im-fg-link-controls {display:flex;gap:8px;flex-wrap:wrap;align-items:end;padding:10px 16px;border-bottom:1px solid var(--line);}
.im-fg-link-controls[hidden] {display:none!important;}
.im-fg-link-controls label {display:grid;gap:4px;flex:1;min-width:130px;font-size:11px;}
.im-fg-link-controls select {width:100%;max-width:350px;}
.im-fg-empty {padding:30px;max-width:500px;font-size:13px;line-height:1.8;}
@media(max-width:900px){.im-fg-body{flex-direction:column;}.im-fg-viewport{min-height:320px;}.im-fg-details{width:100%;flex:0 0 150px;border-left:0;border-top:1px solid var(--line);}.im-fg-panel{overflow:auto;}.im-fg-toolbar{padding:10px;}}
@media(prefers-reduced-motion:reduce){.im-findings-unread{animation:none!important;}}

/* INFINITYMIND_THEME_LOGO_V3_BEGIN */
/* Coloured themes keep the original blue artwork, even when their UI is dark. */
:root[data-theme] body :is(#app, #modal)
:is(.brand img, .welcome-emblem img, .login-emblem img, .login-splash > img, .boot img) {
  filter: none !important;
}
/* Graphite artwork belongs only to the black Obsidian palettes. */
:root[data-theme="dark"] body:is(
  [data-dark-style^="obsidian"],
  [data-dark-style="midnight"][data-background="obsidian"],
  :not([data-dark-style])[data-background="obsidian"]
) :is(#app, #modal)
:is(.brand img, .welcome-emblem img, .login-emblem img, .login-splash > img, .boot img) {
  filter: grayscale(1) brightness(.85) contrast(1.05)
    drop-shadow(0 0 1px rgba(255, 255, 255, .16)) !important;
}
/* INFINITYMIND_THEME_LOGO_V3_END */


/* INFINITYMIND_PRIVATE_ACCOUNTS_V1 */
.im-login-page{position:relative;min-height:100dvh;display:grid;place-items:center;padding:40px 24px;background:radial-gradient(ellipse at 10% 20%,#243e53aa,transparent 65%),radial-gradient(ellipse at 85% 12%,#48306688,transparent 65%),linear-gradient(135deg,#202d42,#211b2d);color:#eff4ff}
.im-login-card{width:min(100%,510px);padding:38px;border:1px solid #3c465c;border-radius:20px;background:#1e2636;box-shadow:0 24px 70px #06091430}
.im-login-card .im-login-brand{padding:0;margin-bottom:30px;gap:3px;align-items:center;text-decoration:none;color:#eff4ff}
.im-login-card .im-login-brand img{width:80px;height:52px;filter:none!important}
.im-login-card .brand-name{font-size:22px;letter-spacing:-.6px}
.im-login-card .brand-name span{color:#68d9f0}
.im-login-card .eyebrow{color:#75e5f6;font-size:11px;letter-spacing:2px;margin:0 0 14px}
.im-login-card h1{font-size:clamp(26px,4vw,34px);line-height:1.18;letter-spacing:-1px;margin:0 0 20px;color:#f2f6ff}
.im-login-description{color:#c0cbde;line-height:1.65;margin-bottom:28px;overflow-wrap:anywhere}
.im-login-card label{color:#dce6f6;font-size:14px}
.im-login-card input{background:#131b29;color:#f5f8ff;border-color:#49556d;min-height:54px}
.im-login-card input::placeholder{color:#98a9c3;opacity:1}
.im-login-card input:focus-visible{outline:2px solid #7be1f6;outline-offset:3px}
.im-login-card .primary{background:linear-gradient(100deg,#26afcc,#9560e9);color:#fff;justify-content:center;min-height:54px;font-size:15px}
.im-login-card .text-button{color:#8ceafa}
.im-login-card .form-note{color:#b2c2d9}
.im-login-card footer{border-top:1px solid #3b465b;margin-top:28px;padding-top:22px;color:#b9c8de;font-size:13px;line-height:1.6}
.im-profile-button{padding:0;background:none!important;box-shadow:none!important;border:0!important;border-radius:12px;flex:none;cursor:pointer}
.im-profile-button:focus-visible{outline:2px solid var(--cyan,#80e0ed);outline-offset:3px}
.im-user-avatar{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid currentColor;border-radius:11px;background:color-mix(in srgb,currentColor 10%,transparent);font-size:12px;font-weight:600;color:#7ee8f5}
.im-user-avatar svg{width:19px;height:19px;stroke:currentColor!important}
.im-user-avatar[data-color=blue]{color:#98beff}
.im-user-avatar[data-color=violet]{color:#c6a6ff}
.im-user-avatar[data-color=green]{color:#80e7b2}
.im-user-avatar[data-color=rose]{color:#ffadcb}
.im-user-avatar-large{width:64px;height:64px;border-radius:18px;font-size:22px}
.im-user-avatar-large svg{width:34px;height:34px}
.im-profile-preview{margin:18px 0 22px}
.im-account-profile .form-stack,.im-account-memory .form-stack{gap:16px}
.im-account-profile .primary,.im-account-memory .primary{justify-content:center}
.im-account-memory textarea{width:100%;min-height:200px;resize:vertical;line-height:1.65}
.im-account-actions{display:flex;flex-wrap:wrap;gap:16px}
.im-account-memory .form-note{overflow-wrap:anywhere}
:root[data-theme=light] .im-user-avatar[data-color=cyan]{color:#006980}
:root[data-theme=light] .im-user-avatar[data-color=blue]{color:#244fac}
:root[data-theme=light] .im-user-avatar[data-color=violet]{color:#7040ac}
:root[data-theme=light] .im-user-avatar[data-color=green]{color:#146c41}
:root[data-theme=light] .im-user-avatar[data-color=rose]{color:#a83058}
@media(max-width:560px){.im-login-page{padding:24px 14px}.im-login-card{padding:28px 22px}.im-login-card .brand-name{font-size:20px}}


/* INFINITYMIND_RUN_FINDINGS_V1 */
.im-run-updates{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.im-run-updates h3,.im-validated-heading{font-size:15px;margin:0 0 9px}
.im-validated-heading{margin-top:28px;padding-top:18px;border-top:1px solid var(--line)}
.im-run-update{border:1px solid var(--line);border-radius:10px;margin:12px 0;background:var(--panel,#202936);overflow:hidden}
.im-run-update>summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px;cursor:pointer;list-style:none;font-size:12px}
.im-run-update>summary::after{content:'+';margin-left:auto;font-size:16px;color:var(--muted)}
.im-run-update[open]>summary::after{content:'−'}
.im-run-update>summary small{width:100%;padding-left:15px;color:var(--muted);font-size:10px}
.im-run-update>summary span{color:var(--muted)}
.im-update-preview{font-size:12px;line-height:1.7;margin:0;padding:0 13px 12px;overflow-wrap:anywhere;color:var(--muted)}
.im-run-update>[data-update-body]{padding:0 13px 13px}
.im-run-update:not([open])>:not(summary){display:none}
.im-run-conclusion{font-size:12px;line-height:1.75;overflow-wrap:anywhere;margin-top:8px}
.im-run-conclusion h4,.im-update-tool h4,[data-update-body]>h4{font-size:11px;letter-spacing:.03em;margin:12px 0 8px}
.im-update-tool{border:1px solid var(--line);border-radius:8px;margin:10px 0;overflow:hidden;background:var(--bg,#10151d)}
.im-update-tool>summary{display:flex;align-items:center;gap:8px;padding:11px;cursor:pointer;font-size:11px}
.im-update-tool>summary span:last-child{margin-left:auto;color:var(--muted)}
.im-update-tool-body{padding:0 11px 12px}
.im-update-code{margin:8px 0;max-height:330px;max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px!important;border:1px solid var(--line);border-radius:8px;background:var(--bg,#10151d);font-size:11px;line-height:1.75;tab-size:2}
.im-update-code code{white-space:inherit;background:transparent!important;padding:0!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.im-update-source{display:block;margin-top:8px;color:var(--muted);font-size:9px;overflow-wrap:anywhere}
.im-update-input{font-size:11px;margin:10px 0}
.im-fg-run-detail{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.im-fg-details:has(.im-fg-run-detail){width:360px;flex-basis:360px}
.im-progress-dot,.im-activity-unread-dot{display:inline-block;width:6px!important;height:6px!important;border-radius:50%!important;flex:none;background:#9aa5b5!important;border:0!important;vertical-align:middle}
.im-progress-dot[data-status=completed]{background:#56df96!important}
.im-progress-dot[data-status=error],.im-progress-dot[data-status=failed]{background:#f18e96!important}
.im-progress-dot[data-status=denied]{background:#e9bf70!important}
.im-activity-unread-dot{margin-left:auto;background:#56df96!important}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-findings-unread-dot,
:root[data-theme=dark] body :is(#app,#workspace-report) .im-activity-unread-dot{background:#56df96!important;box-shadow:0 0 7px #56df9655!important}
:root[data-theme=dark] body #app .reporting-tab.im-findings-unread{animation:none;box-shadow:none!important}
:root[data-theme=dark] body #app .command-log[data-status=completed] .command-status::before{content:'';display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#56df96!important;vertical-align:middle}
:root[data-theme=dark] body #app .dot.green{background:#56df96!important;box-shadow:0 0 5px #56df9633}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-update-code .im-syntax .token:is(.string,.attr-value){color:#93e5ae!important;-webkit-text-fill-color:#93e5ae!important}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-update-code .im-syntax .token:is(.keyword,.boolean){color:#c5a3ff!important;-webkit-text-fill-color:#c5a3ff!important}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-update-code .im-syntax .token:is(.property,.attr-name){color:#8dd9f3!important;-webkit-text-fill-color:#8dd9f3!important}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-update-code .im-syntax .token.number{color:#efc486!important;-webkit-text-fill-color:#efc486!important}
:root[data-theme=dark] body :is(#app,#workspace-report) .im-update-code .im-syntax .token.comment{color:#a3b2c3!important;-webkit-text-fill-color:#a3b2c3!important}
@media(max-width:900px){.im-fg-details:has(.im-fg-run-detail){width:100%;flex-basis:220px}}


/* INFINITYMIND_REFERENCE_CURSOR_V1_BEGIN */
/* Native cursor: dark rounded arrow, white edge, compact blue glow. */
@media (any-hover: hover) and (any-pointer: fine) {
  :root { --im-reference-cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22glow%22%20x%3D%22-100%25%22%20y%3D%22-100%25%22%20width%3D%22300%25%22%20height%3D%22300%25%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeDropShadow%20dx%3D%220%22%20dy%3D%220%22%20stdDeviation%3D%224%22%20flood-color%3D%22%2359baff%22%20flood-opacity%3D%22.65%22%2F%3E%3CfeDropShadow%20dx%3D%220%22%20dy%3D%220%22%20stdDeviation%3D%221.8%22%20flood-color%3D%22%2384d6ff%22%20flood-opacity%3D%22.9%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M11.2%2011.2%20C10.2%2010.7%209.6%2011.5%2010%2012.8%20L14.2%2026%20C14.7%2027.5%2016.5%2027.5%2017%2026.1%20L18.9%2020.5%20L24.7%2018.8%20C26.4%2018.3%2026.5%2016.7%2024.9%2016%20L12.2%2011.4%20Z%22%20fill%3D%22%2315212c%22%20stroke%3D%22%23f5f9ff%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%20filter%3D%22url(%23glow)%22%2F%3E%3C%2Fsvg%3E") 11 11; }
  html, body { cursor: var(--im-reference-cursor), auto; }
  body :is(button:not(.im-fg-node), a[href], summary, select,
    [role="button"]:not(.im-fg-node), label[for], .im-photo-upload,
    input[type="button"], input[type="submit"], input[type="reset"],
    input[type="checkbox"], input[type="radio"], input[type="range"],
    input[type="file"], input[type="color"]):not(:disabled):not([aria-disabled="true"]),
  body input:not(:disabled)::file-selector-button {
    cursor: var(--im-reference-cursor), pointer !important;
  }
  body :is(textarea, [contenteditable="true"],
    input:not([type]), input[type="text"], input[type="email"],
    input[type="password"], input[type="search"], input[type="url"],
    input[type="tel"], input[type="number"]) { cursor: text !important; }
  body :is(button, input, select, textarea):disabled,
  body [aria-disabled="true"] { cursor: not-allowed !important; }
  /* The image contains its own glow; retire the previous trailing halo. */
  body :is(.im-pointer-fx, .im-mouse-layer) { display: none !important; }
}
/* INFINITYMIND_REFERENCE_CURSOR_V1_END */


/* INFINITYMIND_FINDINGS_OVERVIEW_V1_BEGIN */
.im-findings-tldr{padding:20px;border:1px solid color-mix(in srgb,var(--cyan,#85dfb7) 45%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--panel) 94%,var(--cyan,#85dfb7));margin:18px 0 22px;color:var(--text)}
.im-findings-tldr>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.im-findings-tldr h3{margin:0;font-size:17px}.im-findings-tldr>header>span{color:var(--muted);font-size:11px}.im-findings-tldr p{font-size:13px;line-height:1.65;margin:8px 0}.im-findings-tldr ul{padding-left:19px;margin:12px 0}.im-findings-tldr li{margin:10px 0;font-size:13px;line-height:1.65}.im-findings-tldr li span{display:block;color:var(--muted);margin-top:3px}.im-fo-recorded{padding-top:12px;margin-top:14px;border-top:1px solid var(--line)}.im-fo-recorded>small{font-size:10px;color:var(--muted)}.im-fo-attention{color:#ebc98d}.im-findings-tldr>.text-button{padding:8px 0;color:var(--cyan)}
.im-findings-page{flex:1;min-width:0;overflow:auto;max-width:none;padding:30px 34px 50px}.im-fo-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.im-fo-page-header h1{margin:0 0 9px;font-size:28px;letter-spacing:-.035em}.im-fo-page-header .eyebrow{margin:0 0 10px}.im-fo-conversation{display:grid;gap:8px;font-size:12px;color:var(--muted);max-width:480px;margin:0 0 22px}.im-fo-conversation select{color:var(--text);width:100%}.im-fo-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);overflow-x:auto;padding:0 0 12px}.im-fo-tabs button{white-space:nowrap;padding:10px 14px;font-size:12px;min-height:40px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted)}.im-fo-tabs button[aria-selected="true"]{background:color-mix(in srgb,var(--panel) 83%,#4baf7e)!important;color:var(--text)!important;border-color:#67ae8b!important;box-shadow:inset 0 -2px #79dbac}.im-fo-tabs button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.im-fo-content{padding-top:6px;min-height:250px}.im-fo-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.im-fo-stats article{display:grid;gap:8px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.im-fo-stats strong{font-size:24px;font-weight:600;color:var(--text)}.im-fo-stats span{font-size:11px;color:var(--muted);line-height:1.5}.im-fo-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 28px}.im-fo-shortcuts button{font-size:12px}.im-fo-section{padding:14px 0 24px}.im-fo-section>h2{font-size:18px;margin:8px 0 12px}.im-fo-run,.im-fo-finding{border:1px solid var(--line);border-radius:12px;margin:12px 0;background:var(--panel);overflow:hidden}.im-fo-run>summary{display:flex;gap:10px;align-items:center;flex-wrap:wrap;list-style:none;padding:16px;font-size:12px;cursor:pointer}.im-fo-run>summary:after{content:'+';margin-left:auto;color:var(--muted);font-size:20px}.im-fo-run[open]>summary:after{content:'−'}.im-fo-run>summary>p{flex-basis:100%;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.im-fo-run>summary>small{font-size:10px;color:var(--muted)}.im-fo-run-body{padding:0 16px 16px}.im-fo-run-body h4{font-size:12px;margin:14px 0 9px}.im-fo-run-body>.form-note{margin-top:12px}.im-fo-tool,.im-fo-event{border:1px solid var(--line);border-radius:8px;margin-top:12px;overflow:hidden}.im-fo-tool>summary,.im-fo-event>summary{display:flex;align-items:center;gap:9px;padding:12px;font-size:12px;cursor:pointer}.im-fo-tool>summary small,.im-fo-event>summary small{margin-left:auto;font-size:10px;color:var(--muted)}.im-fo-tool>div{padding:0 12px 14px}.im-fo-tool details>summary{font-size:11px;cursor:pointer}.im-findings-page pre{max-width:100%;max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:14px;background:var(--bg);color:var(--text);font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.im-fo-event>pre{margin:0 12px 12px}.im-fo-finding>summary{padding:16px;cursor:pointer;font-size:13px}.im-fo-finding>summary>small{display:block;margin:5px 0 0 18px;font-size:11px;color:var(--muted)}.im-fo-finding>div{padding:0 16px 16px;font-size:13px;line-height:1.7}.im-fo-finding figure{margin:16px 0 0}.im-fo-finding figcaption{font-size:11px;color:var(--muted)}.im-fo-empty{padding:35px 0;color:var(--muted)}.im-fo-empty h2{font-size:20px;color:var(--text)}.im-fo-graph-host{height:calc(100vh - 295px);min-height:480px;border:1px solid var(--line);border-radius:12px;margin-top:15px;overflow:hidden}.im-fo-graph-host .im-fg-toolbar{padding:10px}.im-fo-graph-host .im-fg-toolbar [data-fg-action="close"]{display:none}.im-fo-graph-host .im-fg-details{width:245px;flex-basis:245px}.nav-button[data-view="findings"]>.im-findings-unread-dot{margin-left:auto}
:root[data-theme="dark"] body[data-dark-style][data-background] #app .im-fo-tabs button[aria-selected="true"]{background:#304c40!important;color:#e9fff1!important;border-color:#608f75!important}
@media(max-width:1000px){.im-findings-page{padding:26px 22px}.im-fo-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.im-fo-graph-host .im-fg-body{flex-direction:column}.im-fo-graph-host .im-fg-details{width:100%;max-height:170px;flex:0 0 145px}.im-fo-graph-host .im-fg-viewport{min-height:300px}.im-fo-graph-host{height:650px}.im-fo-page-header h1{font-size:25px}}
@media(max-width:540px){.im-findings-page{padding:22px 16px}.im-fo-page-header{flex-direction:column;gap:10px}.im-fo-tabs{gap:3px}.im-fo-tabs button{padding:10px}.im-fo-stats{gap:8px}.im-fo-stats article{padding:14px}.im-fo-shortcuts button{flex:1 1 150px}.im-fo-run>summary>small{flex-basis:100%;padding-left:16px}.im-findings-tldr{padding:16px}}
.im-fo-header-tools{display:grid;gap:10px;min-width:245px;max-width:320px;width:34%;justify-items:stretch}.im-fo-header-tools>.text-button{justify-self:end;font-size:11px;padding:0;min-height:24px}.im-fo-header-tools .im-fo-conversation{margin:0;max-width:none;font-size:10px;gap:5px}.im-fo-header-tools select{min-height:38px;padding:9px 12px;font-size:12px}.im-fo-page-header{align-items:center;min-height:96px;margin-bottom:18px}.im-fo-page-header .form-note{margin-bottom:0}
@media(max-width:780px){.im-fo-page-header{flex-direction:column;align-items:stretch;gap:14px}.im-fo-header-tools{width:100%;max-width:none;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:end}.im-fo-header-tools>.text-button{grid-column:2;grid-row:1;margin-bottom:10px}.im-fo-header-tools>.im-fo-conversation{grid-column:1;grid-row:1}}
:root[data-theme="dark"] :is(.im-findings-page,.im-findings-tldr){--muted:#bac7d3}
[data-fo-graph-pagination]{margin-top:16px}
/* INFINITYMIND_FINDINGS_OVERVIEW_V1_END */


/* INFINITYMIND_ACCOUNT_CENTER_V1_BEGIN */
.im-account-top{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}
.im-credit-pill{white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:11px;line-height:1.4}
.im-credit-empty{border-color:#d7a56b!important}
.im-profile-menu{position:relative;flex-shrink:0}
.im-profile-menu>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:5px 8px 5px 5px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:12px;max-width:220px}
.im-profile-menu>summary::-webkit-details-marker{display:none}
.im-profile-menu>summary>span:not(.im-user-avatar){max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.im-profile-menu>summary>svg{width:12px;height:12px}
.im-profile-menu nav{position:absolute;right:0;top:calc(100% + 9px);z-index:90;display:grid;width:260px;gap:3px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 14px 45px #0005}
.im-profile-menu nav>strong{font-size:13px;padding:3px 8px}
.im-profile-menu nav>small{font-size:11px;overflow-wrap:anywhere;padding:3px 8px 10px;color:var(--muted)}
.im-profile-menu nav button{display:block;text-align:left;padding:9px 10px;font-size:12px;width:100%;border-radius:7px}
.topbar:has(.im-profile-menu[open]){position:relative;z-index:55;overflow:visible}
.im-user-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.im-account-top .im-user-avatar{width:30px;height:30px;font-size:11px;overflow:hidden}
.im-account-mode>.page-head,.im-account-mode>.settings-grid{display:none!important}
.im-account-center{width:100%;max-width:1280px;margin:auto;padding-bottom:28px}
.im-account-center>header{margin-bottom:24px}
.im-account-center>header h1{font-size:28px;letter-spacing:-.8px;margin:8px 0 12px}
.im-account-center>header .eyebrow{font-size:10px;letter-spacing:2px}
.im-account-tabs{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.im-account-tabs button{font-size:12px;line-height:1.4;padding:9px 13px;border:1px solid var(--line);border-radius:9px}
.im-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.im-account-center .settings-card{min-width:0;padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:14px}
.im-account-center h3{font-size:16px;margin:0 0 18px}
.im-account-center label{font-size:12px;min-width:0}
.im-account-center .form-stack{display:grid;gap:16px;margin-top:20px}
.im-account-center :is(input:not([type=checkbox]),textarea,select){width:100%;min-width:0;box-sizing:border-box}
.im-account-center input[type=checkbox]{width:auto;min-height:0}
.im-account-center textarea{resize:vertical;line-height:1.65}
.im-account-center .form-note{font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.im-center-narrow{max-width:700px}
.im-center-photo{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.im-center-photo .im-user-avatar-large{width:76px;height:76px;border-radius:50%;overflow:hidden;flex:none;font-size:24px}
.im-photo-upload{display:inline-flex;align-items:center;cursor:pointer;font-size:12px}
.im-center-check{display:flex;align-items:center;gap:8px;line-height:1.5}
.im-account-center fieldset{border:1px solid var(--line);border-radius:9px;padding:14px;display:grid;gap:10px}
.im-account-center legend{font-size:12px;padding:0 5px}
.im-center-item{display:grid;gap:8px;border-bottom:1px solid var(--line);padding:16px 0;font-size:12px;overflow-wrap:anywhere}
.im-center-item>span,.im-center-item>small{color:var(--muted);font-size:11px}
.im-center-item>p{white-space:pre-wrap;max-height:180px;overflow:auto;line-height:1.7}
.im-center-item button{justify-self:start}
.im-key-reveal{padding:15px;border:1px solid #72b891;border-radius:10px;margin-bottom:20px;font-size:12px}
.im-key-reveal textarea{font-family:ui-monospace,monospace;font-size:12px;min-height:90px;margin:12px 0}
.im-credit-total{font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-.8px;margin:0 0 15px}
.im-order-price{font-size:22px;font-weight:600;margin:12px 0}
.im-credit-history{margin-top:20px}
.im-center-table{overflow:auto}.im-center-table table{width:100%;border-collapse:collapse;font-size:12px}
.im-center-table th,.im-center-table td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid var(--line);line-height:1.6}
.im-rate-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin-top:20px}
.im-rate-form label{display:grid;gap:8px}.im-rate-form button{min-height:42px}
:root[data-theme=dark] body[data-dark-style][data-background] #app .im-profile-menu nav button{background:transparent!important;color:var(--text)!important;border:0!important}
:root[data-theme=dark] body[data-dark-style][data-background] #app .im-profile-menu nav button:hover{background:#355a46!important}
:root[data-theme=dark] body[data-dark-style][data-background] #app :is(.im-account-tabs button[aria-current=page],.im-credit-pill){background:#294b3b!important;border-color:#638c72!important;color:#daf6e7!important}
:root[data-theme=dark] body[data-dark-style][data-background] #app .im-credit-pill.im-credit-empty{background:#51412e!important;border-color:#bd9565!important;color:#ffe7c8!important}
:root[data-theme=dark] body[data-dark-style][data-background] #app .im-account-center .im-photo-upload{background:#3c5148!important;border:1px solid #718c7b!important;color:#f2fff7!important;border-radius:8px;padding:9px 13px}
:root[data-theme=light] .im-profile-menu nav{background:#fff}
:root[data-theme=light] .im-account-tabs button[aria-current=page]{background:#dcf5e7;border-color:#519870;color:#175839}
:root[data-theme=light] .im-credit-pill{background:#e6f6ed;color:#195634;border-color:#9cbaa7}
@media(max-width:1100px){.topbar:has(.im-account-top) .topbar-actions>.text-button[data-action=guide],.topbar:has(.im-account-top) .topbar-actions>.pill:not(.connected),.topbar:has(.im-account-top) .topbar-actions>.divider{display:none}.im-center-grid{grid-template-columns:1fr}}
@media(max-width:720px){.topbar:has(.im-account-top){gap:8px;padding:12px}.topbar:has(.im-account-top) .breadcrumb{display:none}.topbar:has(.im-account-top) .topbar-actions{gap:8px;flex:1;min-width:0}.topbar:has(.im-account-top) .topbar-actions>.pill.connected{display:none}.im-profile-menu>summary>span:not(.im-user-avatar),.im-profile-menu>summary>svg{display:none}.im-profile-menu>summary{padding:4px;border-radius:50%}.im-credit-pill{font-size:10px;padding:7px 8px}.im-profile-menu nav{position:fixed;top:68px;right:12px;max-width:calc(100vw - 24px)}.im-account-center>header h1{font-size:25px}.im-account-center .settings-card{padding:18px}.im-account-tabs{gap:6px}.im-account-tabs button{padding:8px;font-size:11px}.im-rate-form{grid-template-columns:1fr}.im-credit-total{font-size:27px}}
/* INFINITYMIND_ACCOUNT_CENTER_V1_END */


/* INFINITYMIND_DARK_COLORS_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors]{--im-color-green:#8fe6b4;--im-color-purple:#cfb4ff;--im-color-cyan:#8dd9f3;--im-color-amber:#f2cb8c;--im-color-red:#ffacbd;}
/* Give models a consistent identity in the composer, context, cards and forms. */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(#composer-model,#agent-model,select[name="model"],input[name="model"]){background:#241d34!important;color:#dfcaff!important;-webkit-text-fill-color:#dfcaff!important;border-color:#786094!important;box-shadow:inset 0 1px 0 #ffffff05!important;opacity:1;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(#composer-model,#agent-model,select[name="model"],input[name="model"]):focus-visible{outline-color:#cfb4ff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(#composer-model,#agent-model,select[name="model"]):disabled{background:#201c2a!important;color:#c6b5e0!important;-webkit-text-fill-color:#c6b5e0!important;border-color:#594a6e!important;opacity:1;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-context-model .context-label,.im-context-model .context-label small,.im-context-model .property:first-of-type,.im-context-model .mono,.im-model-name,.selection-card .tiny-label,.resource-icon.violet,.nav-button[data-view="agents"] svg,.welcome-chips span:nth-child(2)){color:var(--im-color-purple)!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-model .property:has(.mono) svg{color:var(--im-color-purple)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.selection-card .tiny-label,.resource-icon.violet){background:#292139!important;border-color:#68527e!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .agent-avatar{background:#1e3c2c!important;color:var(--im-color-green)!important;border-color:#467e5a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.agent-avatar svg,.context-panel .panel-heading svg,.connect-link,.connect-link svg,.nav-button[data-view="connections"] svg){color:var(--im-color-green)!important;}
/* Green indicates real saved updates or success. Other outcomes stay distinct. */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"],.im-progress-dot[data-status="success"]){background:#65e39b!important;box-shadow:0 0 0 3px #65e39b0e,0 0 8px #65e39b26!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.pill.connected,.connection-status:has(.dot.green)){color:var(--im-color-green)!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .pill.connected{background:#1c3729!important;border-color:#3a7250!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.connection-status:has(.dot.green) svg,.pill.connected svg){color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{color:#bdf4d2!important;background:#203e2d!important;border-color:#4a9563!important;box-shadow:0 0 0 1px #65e39b0a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.reporting-tab.im-findings-unread svg,.nav-button[data-view="findings"] svg,.im-findings-tldr h3,.im-validated-heading,.finding-number,.finding-evidence>summary,.finding-card>header strong){color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.finding-card,.im-fo-finding){border-left-color:#56a675!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-fo-finding>summary>strong{color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(180deg,#247a53,#1b6242)!important;color:#f4fff8!important;-webkit-text-fill-color:currentColor!important;border-color:#4ba172!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:linear-gradient(180deg,#2b885d,#216e4a)!important;border-color:#8bd8a8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] #workspace-report .fc-actions button[type="submit"]:disabled{background:#293c32!important;color:#c1d1c6!important;border-color:#4c6958!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#402d25!important;border-color:#99704b!important;color:#ffd9ac!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button) svg{color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"]){background:#213c2e!important;border-color:#4b7b5c!important;color:#d9f7e3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg){color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#65e39b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-fo-tabs button[data-fo-tab="debug"]{color:var(--im-color-cyan)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-fo-tabs button[data-fo-tab="graph"]{color:var(--im-color-purple)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-progress-dot[data-status="failed"],.im-progress-dot[data-status="error"]){background:var(--im-color-red)!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-progress-dot[data-status="denied"],.im-progress-dot[data-status="waiting_for_approval"],.dot.amber){background:var(--im-color-amber)!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-progress-dot[data-status="running"],.im-progress-dot[data-status="checking"]){background:var(--im-color-cyan)!important;box-shadow:0 0 7px #8dd9f32b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-progress-dot[data-status="interrupted"],.im-progress-dot[data-status="cancelled"]){background:#aebbc7!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.command-log[data-status="completed"] .command-status,.im-context-event[data-status="completed"]){color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.command-log[data-status="running"] .command-status,.im-context-event[data-status="running"]){color:var(--im-color-cyan)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.command-log[data-status="error"] .command-status,.im-context-event[data-status="failed"],.log-error,.form-error,.fc-error){color:var(--im-color-red)!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event[data-status="attention"]{color:var(--im-color-amber)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event{gap:8px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event::before{content:'';flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#9caebc;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event[data-status="completed"]::before{background:#65e39b;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event[data-status="running"]::before{background:var(--im-color-cyan);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event[data-status="failed"]::before{background:var(--im-color-red);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event[data-status="attention"]::before{background:var(--im-color-amber);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event svg{color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .im-context-event>span{color:inherit!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-run-update,.im-fo-run,.im-update-tool,.im-fo-tool)>summary:has(>.im-progress-dot[data-status="completed"])>span:not(.im-progress-dot){color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-run-update,.im-fo-run,.im-update-tool,.im-fo-tool)>summary:has(>.im-progress-dot:is([data-status="failed"],[data-status="error"]))>span:not(.im-progress-dot){color:var(--im-color-red)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(.im-run-update,.im-fo-run,.im-update-tool,.im-fo-tool)>summary:has(>.im-progress-dot:is([data-status="interrupted"],[data-status="cancelled"]))>span:not(.im-progress-dot){color:#b1c1cf!important;}
/* Workflow state is read from the saved goal; an idle or paused goal never appears complete. */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure{--im-goal-accent:#b2c0cb;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure:is([data-goal-status="running"],[data-goal-status="completed"]){--im-goal-accent:var(--im-color-green);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure[data-goal-status="checking"]{--im-goal-accent:var(--im-color-cyan);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure:is([data-goal-status="paused"],[data-goal-status="blocked"],[data-goal-status="awaiting_review"],[data-goal-status="limit_reached"]){--im-goal-accent:var(--im-color-amber);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure[data-goal-status="failed"]{--im-goal-accent:var(--im-color-red);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure>summary>span:nth-child(2){color:var(--im-goal-accent)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure>summary>span:nth-child(2)::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:9px;background:var(--im-goal-accent);vertical-align:middle;box-shadow:0 0 7px color-mix(in srgb,var(--im-goal-accent) 20%,transparent);}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-disclosure>summary>small{color:var(--im-goal-accent)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-banner:is([data-goal-status="running"],[data-goal-status="completed"])>div>strong{color:var(--im-color-green)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-banner[data-goal-status="checking"]>div>strong{color:var(--im-color-cyan)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) .goal-banner:is([data-goal-status="paused"],[data-goal-status="blocked"],[data-goal-status="awaiting_review"],[data-goal-status="limit_reached"])>div>strong{color:var(--im-color-amber)!important;}
/* Keep real token colours visible despite older monochrome theme overrides. */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(pre,.im-update-code,.tool-syntax-block){background:var(--im-dark-input,#111820)!important;color:#d5e5dc!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs){background:transparent!important;color:#d5e5dc!important;-webkit-text-fill-color:currentColor!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) code.language-plain{color:#b5dfc3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :not(pre)>code:not(.im-syntax){color:var(--im-color-green)!important;-webkit-text-fill-color:currentColor!important;background:#23382c!important;border-color:#3b5d47!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.comment,.token.prolog,.token.doctype,.token.cdata,.hljs-comment,.hljs-quote){color:#a6b6c8!important;-webkit-text-fill-color:#a6b6c8!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.keyword,.token.atrule,.token.selector,.token.boolean,.hljs-keyword,.hljs-selector-tag,.hljs-literal){color:#cfb4ff!important;-webkit-text-fill-color:#cfb4ff!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.string,.token.attr-value,.token.char,.token.regex,.hljs-string,.hljs-regexp){color:#98e8b3!important;-webkit-text-fill-color:#98e8b3!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.function,.token.class-name,.token.builtin,.hljs-title,.hljs-built_in,.hljs-type){color:#8dd9f3!important;-webkit-text-fill-color:#8dd9f3!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.property,.token.tag,.token.attr-name,.token.key,.hljs-attr,.hljs-attribute,.hljs-name){color:#9fd8f5!important;-webkit-text-fill-color:#9fd8f5!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.number,.token.constant,.token.symbol,.hljs-number,.hljs-symbol){color:#f2cb8c!important;-webkit-text-fill-color:#f2cb8c!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.variable,.token.parameter,.token.interpolation,.hljs-variable,.hljs-params){color:#f4bfd7!important;-webkit-text-fill-color:#f4bfd7!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.operator,.token.punctuation,.hljs-operator,.hljs-punctuation){color:#c4cfdc!important;-webkit-text-fill-color:#c4cfdc!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.inserted,.hljs-addition){color:#98e8b3!important;-webkit-text-fill-color:#98e8b3!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-colors] :is(#app,#modal,#workspace-report) :is(code.im-syntax,code[class*="language-"],code.hljs) :is(.token.deleted,.hljs-deletion){color:#ffacbd!important;-webkit-text-fill-color:#ffacbd!important;background:transparent!important;filter:none!important;text-shadow:none!important;}
/* INFINITYMIND_DARK_COLORS_V1_END */


/* INFINITYMIND_FINDINGS_CLEAN_FLOW_V1_BEGIN */
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow]{--flow-line:#77a49d;--flow-reply:#b7a2df;--flow-evidence:#7dcb9b;--flow-sequence:#8ba6b8;--flow-manual:#c4a3ef;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-toolbar{gap:8px;padding:12px 16px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-toolbar>strong{font-size:14px;letter-spacing:-.02em;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-toolbar button{min-height:32px;font-size:11px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-status{padding:10px 16px;border-bottom:1px solid var(--line);}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-flow-guide{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;font-size:12px;color:var(--muted);}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-flow-guide>span{color:var(--text);font-weight:600;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-flow-guide>span:nth-of-type(2){color:#9fd6b7;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-flow-guide>span:nth-of-type(3){color:#cbb3ef;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-flow-guide small{flex-basis:100%;font-size:11px;line-height:1.6;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-status .im-findings-cadence{font-size:10px;gap:3px 12px;padding:7px 0 0;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-status .im-findings-cadence>strong{display:none;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-viewport{min-height:420px;background-image:radial-gradient(color-mix(in srgb,var(--line) 55%,transparent) .8px,transparent .8px);background-size:26px 26px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-world{isolation:isolate;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] svg.im-fg-edges{position:absolute;overflow:visible;z-index:0;pointer-events:none;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] svg.im-fg-edges>g{transform:none!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge path{fill:none!important;stroke:var(--flow-line)!important;stroke-width:1.6;stroke-dasharray:none;opacity:.8;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge-sequence path{stroke:var(--flow-sequence)!important;stroke-width:1.4;opacity:.65;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge-reply path{stroke:var(--flow-reply)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge-evidence path{stroke:var(--flow-evidence)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge-update path{stroke:var(--flow-reply)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .im-fg-edge-manual path{stroke:var(--flow-manual)!important;stroke-dasharray:5 4;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges .is-related path{stroke-width:2.4;opacity:1;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker path{stroke:none!important;fill:var(--flow-line)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker .im-fg-arrow-sequence{fill:var(--flow-sequence)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker .im-fg-arrow-reply,:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker .im-fg-arrow-update{fill:var(--flow-reply)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker .im-fg-arrow-evidence{fill:var(--flow-evidence)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-edges marker .im-fg-arrow-manual{fill:var(--flow-manual)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type]{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;min-height:0;min-width:0;overflow:hidden;border:1px solid var(--line)!important;border-radius:12px;background:var(--panel)!important;color:var(--text)!important;box-shadow:0 3px 14px #00000018!important;z-index:1;touch-action:none;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Finding"]{border-color:#4f8f68!important;border-top:3px solid #71c994!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Update"]{border-top:3px solid #a98bd7!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Conclusion"]{border-top:3px solid #9f84c5!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Commands"]{border-top:3px solid #638e94!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Withdrawn"]{border-color:#89714f!important;border-style:dashed!important;opacity:.8;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node.is-selected{outline:2px solid var(--cyan)!important;outline-offset:4px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-node-select{display:flex;flex-direction:column;gap:7px;flex:0 0 125px;width:100%;min-width:0;min-height:0;padding:13px 15px 9px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;text-align:left;white-space:normal;color:var(--text)!important;cursor:grab;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-node-select:hover{background:color-mix(in srgb,var(--panel-raised) 65%,transparent)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-node-select:active{cursor:grabbing;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-kind{display:flex;align-items:center;gap:7px;font-size:9px!important;line-height:1.3;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)!important;white-space:nowrap;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-kind i{width:6px;height:6px;border-radius:50%;background:#9bacbb;flex:none;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-status="completed"] .im-fg-node-kind i,:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Finding"] .im-fg-node-kind i{background:#71dda3;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node:is([data-fg-status="failed"],[data-fg-status="error"]) .im-fg-node-kind i{background:#f2a6b2;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node:is([data-fg-status="paused"],[data-fg-status="withdrawn"]) .im-fg-node-kind i{background:#ebc58d;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-select>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.45;letter-spacing:-.015em;color:var(--text)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-node-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.5;white-space:normal;color:var(--muted)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-expand{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:36px;flex:0 0 36px;min-height:0;padding:8px 15px;font-size:11px;line-height:1.3;color:var(--cyan)!important;background:transparent!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0;box-shadow:none!important;text-align:left;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-expand:hover{background:var(--panel-raised)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-expand>span{font-size:16px;color:currentColor!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra{padding:0 15px 12px;overflow:auto;flex:1;min-height:0;touch-action:pan-y;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra[hidden]{display:none!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra p{font-size:11px;line-height:1.65;margin:10px 0;overflow-wrap:anywhere;color:var(--text);}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra ul{padding:0;list-style:none;margin:10px 0;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra li{padding:7px 0;border-bottom:1px solid var(--line);}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra li>strong{display:block;font-size:11px;line-height:1.5;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra li>span{display:block;font-size:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:var(--muted)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra .text-button{padding:7px 0;font-size:11px;white-space:normal;background:transparent!important;border:0!important;color:var(--cyan)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details{width:310px;flex:0 0 310px;font-size:12px;line-height:1.65;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details[hidden]{display:none!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details>header{display:flex;align-items:start;justify-content:space-between;gap:12px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details>header small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--cyan)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details h3{font-size:15px;line-height:1.5;margin:5px 0 12px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details .im-fg-run-detail h4{font-size:12px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details pre{max-height:260px;font-size:11px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-link-controls{gap:12px;padding:12px 16px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node button:focus-visible{outline:2px solid var(--cyan)!important;outline-offset:-3px;}
:root[data-theme="light"] body #app .im-fg-panel[data-clean-flow]{--flow-line:#426f66;--flow-reply:#7e58a4;--flow-evidence:#397950;--flow-sequence:#526f89;--flow-manual:#8a54b5;}
@media(max-width:900px){:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-body{flex-direction:column;}:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-details{width:100%;flex:0 0 260px;border-left:0;border-top:1px solid var(--line);}:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-viewport{min-height:430px;}:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-toolbar{padding:10px;}:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-status{padding:9px 12px;}}
/* INFINITYMIND_FINDINGS_CLEAN_FLOW_V1_END */


/* INFINITYMIND_CONVERSATION_RENAME_V1_BEGIN */
#app .history .im-history-item{position:relative;isolation:isolate;min-width:0;margin:2px 0;}
#app .history .im-history-item>.history-button{padding-right:45px;min-height:41px;margin:0;}
#app .history .im-history-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#app .history .im-history-item>.im-history-rename{position:absolute;right:5px;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:7px;border-radius:8px;color:var(--muted);background:transparent;border:1px solid transparent;box-shadow:none;}
#app .history .im-history-item>.im-history-rename svg{width:15px;height:15px;}
#app .history .im-history-item>.im-history-rename:hover,#app .history .im-history-item>.im-history-rename:focus-visible{color:var(--cyan);border-color:var(--line);background:var(--panel-raised);}
#modal #im-conversation-rename-form{gap:12px;}
#modal #im-conversation-name{width:100%;box-sizing:border-box;min-height:46px;}
#modal .im-conversation-rename-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px;}
#modal .im-conversation-rename-actions button{min-height:42px;padding:10px 18px;}
@media(hover:hover) and (pointer:fine){#app .history .im-history-item>.im-history-rename{opacity:0;}#app .history .im-history-item:hover>.im-history-rename,#app .history .im-history-item:focus-within>.im-history-rename{opacity:1;}}
@media(pointer:coarse){#app .history .im-history-item>.history-button{min-height:46px;padding-right:49px;}#app .history .im-history-item>.im-history-rename{width:38px;height:38px;}}
@media(prefers-reduced-motion:no-preference){#app .history .im-history-item>.im-history-rename{transition:opacity .12s ease,color .12s ease;}}
/* INFINITYMIND_CONVERSATION_RENAME_V1_END */


/* INFINITYMIND_FINDINGS_CARD_RESIZE_V1_BEGIN */
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-resize{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:26px;height:26px;min-width:0;min-height:0;margin:0;padding:5px;border:0!important;border-radius:6px 0 9px 0;background:var(--panel)!important;color:var(--flow-line)!important;box-shadow:none!important;cursor:nwse-resize!important;touch-action:none;z-index:3;opacity:.85;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-resize svg{width:15px;height:15px;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-resize:hover,:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-resize:focus-visible{color:var(--cyan)!important;background:var(--panel-raised)!important;opacity:1;outline:2px solid var(--cyan);outline-offset:-2px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node.is-resizing{outline:2px solid var(--flow-line)!important;outline-offset:3px;z-index:4;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node .im-fg-expand{padding-right:36px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node-extra{padding-bottom:34px;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-node:has(.im-fg-node-extra[hidden]) .im-fg-node-select{flex:1 1 auto;}
/* INFINITYMIND_FINDINGS_CARD_RESIZE_V1_END */


/* INFINITYMIND_BLUE_ACCENT_V1_BEGIN */
#app .brand .brand-name>span,.im-login-brand .brand-name>span{text-transform:uppercase!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]){--im-color-green:#9bdaf2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(180deg,#29465e,#20364b)!important;color:#edf7ff!important;-webkit-text-fill-color:currentColor!important;border-color:#4e718d!important;box-shadow:inset 0 1px 0 #ffffff0a,0 2px 8px #07132126!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:linear-gradient(180deg,#345975,#294961)!important;border-color:#82b1ce!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]:disabled{background:#243140!important;color:#a6bacb!important;border-color:#3e5368!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#402d25!important;border-color:#99704b!important;color:#ffd9ac!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"],.im-account-tabs button[aria-current="page"]){background:#203448!important;border-color:#496b86!important;color:#ddecf9!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg,.brand .brand-name span){color:#98d6ef!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#88cbe8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.pill.connected,.im-credit-pill){background:#20364b!important;border-color:#496d86!important;color:#c3e7fa!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-credit-pill.im-credit-empty{background:#51412e!important;border-color:#bd9565!important;color:#ffe7c8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-account-center .im-photo-upload{background:#29445a!important;border-color:#53758e!important;color:#edf7ff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .agent-avatar{background:#20364b!important;border-color:#4e718b!important;color:#9bdaf2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"],.im-progress-dot[data-status="success"]){background:#8bd2f3!important;box-shadow:0 0 0 3px #8bd2f30b,0 0 8px #8bd2f31c!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-context-event[data-status="completed"]::before{background:#8bd2f3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .command-log[data-status="completed"] .command-status::before{background:#8bd2f3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .context-panel .property:not(:has(.mono)) svg{color:#9bdaf2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(button,a,input,textarea,select,summary):focus-visible{outline-color:#8bcbe8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#6caed5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .switch:checked{background:#315f80!important;border-color:#89bfdf!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{background:#20364b!important;border-color:#547f9b!important;color:#c7eafb!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.finding-card,.im-fo-finding){border-left-color:#75aacb!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) :not(pre)>code:not(.im-syntax){background:#23364a!important;border-color:#3f607d!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-fg-panel[data-clean-flow]{--flow-evidence:#8dc7e7;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-fg-panel[data-clean-flow] .im-fg-node[data-fg-type="Finding"]{border-color:#4f7894!important;border-top-color:#8bc8ec!important;}
:root[data-theme="dark"] body[data-dark-style][data-background]:is([data-dark-style="midnight"],[data-dark-style="midnight-classic"],[data-background="dark-blue"]):not([data-background="dark-forest"],[data-background="dark-amethyst"],[data-background="dark-warm"],[data-background="graphite-glow"],[data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-fg-panel[data-clean-flow] .im-fg-node:is([data-fg-status="completed"],[data-fg-type="Finding"]) .im-fg-node-kind i{background:#8bd2f3!important;}
/* INFINITYMIND_BLUE_ACCENT_V1_END */


/* INFINITYMIND_SIDEBAR_SETTINGS_REMOVED_V1_BEGIN */
#app .sidebar .sidebar-bottom>button.nav-button[data-action="settings"]{display:none!important;}
/* INFINITYMIND_SIDEBAR_SETTINGS_REMOVED_V1_END */


/* INFINITYMIND_PROFILE_LOGOUT_V1_BEGIN */
.im-profile-menu nav .im-profile-signout{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);}
.im-profile-menu nav .im-profile-signout>.im-profile-logout{display:flex;align-items:center;gap:10px;width:100%;text-align:left;}
.im-profile-menu nav .im-profile-logout svg{width:16px;height:16px;flex:none;}
.im-local-login-option{margin:20px 0 0;padding-top:20px;border-top:1px solid var(--line);}
.im-local-login-option button{width:100%;min-height:44px;}
/* INFINITYMIND_PROFILE_LOGOUT_V1_END */


/* INFINITYMIND_ALL_THEMES_V2_BEGIN */
/* Every earlier palette is isolated so the older Midnight/Daylight backgrounds stay available. */
/* Black surfaces and white interface text/icons, following the supplied references. */
:root[data-theme="dark"]:has(body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])) {
  background: #101010;
  color-scheme: dark;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) {
  --bg: #101010;
  --panel: #222222;
  --panel-soft: #171717;
  --panel-raised: #2c2c2c;
  --text: #ffffff;
  --muted: #ffffff;
  --line: #444444;
  --cyan: #ffffff;
  --violet: #ffffff;
  --im-dark-input: #151515;
  --im-dark-control-border: #767676;
  color: var(--text) !important;
  background: var(--bg) !important;
}

/* These selectors also override the old preset's forced black surfaces. */
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app, #app .shell, #app .main, #app .main-content, #app .chat-column,
    #app .chat-scroll, #app .welcome, #app .composer-wrap, #app .page) {
  color: var(--text) !important;
  background: var(--bg) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app .sidebar, #app .topbar, #app .context-panel, #app .chat-toolbar,
    #workspace-report, .workspace-report) {
  color: var(--text) !important;
  background: var(--panel-soft) !important;
  border-color: var(--line) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app .workspace-switch, #app .suggestion, #app .selection-card,
    #app .settings-card, #app .private-card, #app .resource-card,
    #app .agent-card, #app .connection-card, #app .activity-entry,
    #app .finding-card, #app .goal-banner, #app .goal-disclosure,
    #app .command-log, #app .trace-event, #app .assistant-record,
    #composer, .findings-chat, .findings-diagnostics, dialog#modal) {
  color: var(--text) !important;
  background: var(--panel) !important;
  border-color: var(--line) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#composer .run-controls, #composer .composer-footer, #app .command-details,
    #app .run-log-body, #app .trace-rows, #modal .modal-header, #modal .modal-body,
    #workspace-report .command-details) {
  color: var(--text) !important;
  background: transparent !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(h1, h2, h3, h4, h5, h6, h1 span, .gradient-text, .brand-name,
    .brand-name span, .message-author, .message-content, .setting-line,
    .workspace-switch strong, .resource-card p, .selection-card p, label) {
  color: var(--text) !important;
  -webkit-text-fill-color: currentColor !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(small, .muted, .form-note, .intro, .subline, .history-empty,
    .preview-note, .section-label, .history-heading, .context-label,
    .private-card p, .empty-tools, .context-footnote, .composer-note,
    .composer-note span, .eyebrow, .hint, .report-empty, .report-updated,
    .report-verification, .finding-meaning, .confidence-label, .log-label,
    .activity-storage, .breadcrumb, .breadcrumb span, .resource-url) {
  color: var(--muted) !important;
  opacity: 1;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, option) {
  color: var(--text) !important;
  background-color: var(--im-dark-input) !important;
  border-color: var(--im-dark-control-border) !important;
  caret-color: #ffffff;
  color-scheme: dark;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) #composer #prompt {
  color: var(--text) !important;
  background: transparent !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(input, textarea)::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #ffffff;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(button, .primary, .secondary, .send-button) {
  color: var(--text) !important;
  background: #282828 !important;
  border-color: var(--im-dark-control-border) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app .new-chat, #app .primary, #modal .primary, #workspace-report .primary, #composer .send-button) {
  color: #ffffff !important;
  background: #303030 !important;
  border-color: #929292 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.text-button, .icon-button, .nav-button, .history-button) {
  color: #ffffff !important;
  background: transparent !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.text-button, .nav-button, .history-button) {
  border-color: transparent !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.brand img, .welcome-emblem img) {
  filter: grayscale(1) brightness(0) invert(1) !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
button:hover:not(:disabled) {
  color: #ffffff !important;
  background: #3b3b3b !important;
  border-color: #929292 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app .nav-button.active, #app .nav-button.selected, #app .history-button.active,
    #app .reporting-tab.selected, #app [role="tab"][aria-selected="true"]) {
  color: #ffffff !important;
  background: #303030 !important;
  border-color: #858585 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .nav-button.active::before {
  background: #ffffff !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) button:disabled {
  opacity: .65;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.workspace-icon, .agent-mark, .count, .pill, .badge, .avatar, .message-avatar) {
  color: #ffffff !important;
  background: #282828 !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.suggestion svg, .agent-picker svg, .connect-link, a) {
  color: #ffffff !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.command-log, .run-execution, .trace-event, .assistant-record, .goal-disclosure) > summary {
  color: var(--text) !important;
  background: #2a2a2a !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.command-log, .run-execution, .trace-event, .assistant-record, .goal-disclosure) > summary:hover {
  background: #383838 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) pre {
  color: #ffffff !important;
  background: #111111 !important;
  border-color: #555555 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) pre code {
  color: inherit;
  background: transparent !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) :not(pre) > code {
  color: #ffffff;
  background: #303030 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.comment, .prolog, .doctype, .cdata) { color: #b2c0d3; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.keyword, .atrule, .selector) { color: #ddcbff; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.string, .attr-value) { color: #b6e5bf; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.number, .boolean, .constant) { color: #f3cea1; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.function, .class-name) { color: #a9e3f3; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.property, .tag, .attr-name) { color: #fac2d4; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .im-syntax
:is(.operator, .punctuation) { color: #d8e2ee; }

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
.command-log[data-status="completed"] .command-status { color: #ffffff; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
.command-log[data-status="running"] .command-status { color: #ffffff; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.log-error, .form-error, .command-log[data-status="error"] .command-status) { color: #ffffff !important; }

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is([role="menu"], [role="listbox"], .toast, [role="tooltip"]) {
  color: var(--text) !important;
  background: #292929 !important;
  border-color: #888888 !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) dialog#modal::backdrop {
  background: rgba(0, 0, 0, .6) !important;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 3px;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) ::selection {
  color: #ffffff;
  background: #555555;
}

:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]),
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) * {
  scrollbar-color: #808080 #171717 !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) ::-webkit-scrollbar-track { background: #171717 !important; }
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) ::-webkit-scrollbar-thumb { background: #808080 !important; border-color: #171717 !important; }

/* All interface copy is white. Code tokens retain syntax highlighting. */
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(#app, #modal, #workspace-report)
*:not(pre *, code *, .im-syntax, .im-syntax *) {
  color: #ffffff !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) svg {
  color: #ffffff !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.dot.green, .dot.amber) {
  background: #ffffff !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .switch {
  background: #242424 !important;
  border-color: #767676 !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .switch:checked {
  background: #555555 !important;
  border-color: #b0b0b0 !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .switch::after {
  background: #ffffff !important;
}
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="obsidian-white"], [data-dark-style="midnight"][data-background="obsidian"]) .spinner {
  border-color: #ffffff40 !important;
  border-top-color: #ffffff !important;
}

/* Readable charcoal colors for the existing Obsidian dark preset. */
:root[data-theme="dark"]:has(body[data-dark-style="charcoal"]) {
  background: #20252d;
  color-scheme: dark;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] {
  --bg: #20252d;
  --panel: #2d3541;
  --panel-soft: #272f3a;
  --panel-raised: #374252;
  --text: #f1f5fa;
  --muted: #bdc8d7;
  --line: #59687c;
  --cyan: #a2dcf3;
  --violet: #d1c2f7;
  --im-dark-input: #252e3a;
  --im-dark-control-border: #8191a8;
  color: var(--text) !important;
  background: var(--bg) !important;
}

/* These selectors also override the old preset's forced black surfaces. */
:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#app, #app .shell, #app .main, #app .main-content, #app .chat-column,
    #app .chat-scroll, #app .welcome, #app .composer-wrap, #app .page) {
  color: var(--text) !important;
  background: var(--bg) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#app .sidebar, #app .topbar, #app .context-panel, #app .chat-toolbar,
    #workspace-report, .workspace-report) {
  color: var(--text) !important;
  background: var(--panel-soft) !important;
  border-color: var(--line) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#app .workspace-switch, #app .suggestion, #app .selection-card,
    #app .settings-card, #app .private-card, #app .resource-card,
    #app .agent-card, #app .connection-card, #app .activity-entry,
    #app .finding-card, #app .goal-banner, #app .goal-disclosure,
    #app .command-log, #app .trace-event, #app .assistant-record,
    #composer, .findings-chat, .findings-diagnostics, dialog#modal) {
  color: var(--text) !important;
  background: var(--panel) !important;
  border-color: var(--line) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#composer .run-controls, #composer .composer-footer, #app .command-details,
    #app .run-log-body, #app .trace-rows, #modal .modal-header, #modal .modal-body,
    #workspace-report .command-details) {
  color: var(--text) !important;
  background: transparent !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(h1, h2, h3, h4, h5, h6, h1 span, .gradient-text, .brand-name,
    .brand-name span, .message-author, .message-content, .setting-line,
    .workspace-switch strong, .resource-card p, .selection-card p, label) {
  color: var(--text) !important;
  -webkit-text-fill-color: currentColor !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(small, .muted, .form-note, .intro, .subline, .history-empty,
    .preview-note, .section-label, .history-heading, .context-label,
    .private-card p, .empty-tools, .context-footnote, .composer-note,
    .composer-note span, .eyebrow, .hint, .report-empty, .report-updated,
    .report-verification, .finding-meaning, .confidence-label, .log-label,
    .activity-storage, .breadcrumb, .breadcrumb span, .resource-url) {
  color: var(--muted) !important;
  opacity: 1;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, option) {
  color: var(--text) !important;
  background-color: var(--im-dark-input) !important;
  border-color: var(--im-dark-control-border) !important;
  caret-color: #c9ebff;
  color-scheme: dark;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] #composer #prompt {
  color: var(--text) !important;
  background: transparent !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(input, textarea)::placeholder {
  color: #b0bed0 !important;
  opacity: 1 !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #acd9f5;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(button, .primary, .secondary, .send-button) {
  color: var(--text) !important;
  background: #374455 !important;
  border-color: var(--im-dark-control-border) !important;
  background-image: none !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#app .new-chat, #app .primary, #modal .primary, #workspace-report .primary, #composer .send-button) {
  color: #ffffff !important;
  background: #3f627f !important;
  border-color: #a2c4df !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.text-button, .icon-button, .nav-button, .history-button) {
  color: #d5dfec !important;
  background: transparent !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.text-button, .nav-button, .history-button) {
  border-color: transparent !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.brand img, .welcome-emblem img) {
  filter: grayscale(1) brightness(1.15) !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
button:hover:not(:disabled) {
  color: #ffffff !important;
  background: #45576d !important;
  border-color: #a2c4df !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(#app .nav-button.active, #app .nav-button.selected, #app .history-button.active,
    #app .reporting-tab.selected, #app [role="tab"][aria-selected="true"]) {
  color: #f2f9ff !important;
  background: #3b526b !important;
  border-color: #91b6d2 !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] .nav-button.active::before {
  background: #b2e1ff !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] button:disabled {
  opacity: .65;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.workspace-icon, .agent-mark, .count, .pill, .badge, .avatar, .message-avatar) {
  color: #dce8f6 !important;
  background: #374455 !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.suggestion svg, .agent-picker svg, .connect-link, a) {
  color: #b3dff9 !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.command-log, .run-execution, .trace-event, .assistant-record, .goal-disclosure) > summary {
  color: var(--text) !important;
  background: #343f4e !important;
  border-color: var(--line) !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.command-log, .run-execution, .trace-event, .assistant-record, .goal-disclosure) > summary:hover {
  background: #43536a !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] pre {
  color: #edf3fc !important;
  background: #202934 !important;
  border-color: #66768b !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] pre code {
  color: inherit;
  background: transparent !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] :not(pre) > code {
  color: #e2edfa;
  background: #3c495c !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.comment, .prolog, .doctype, .cdata) { color: #b2c0d3; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.keyword, .atrule, .selector) { color: #ddcbff; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.string, .attr-value) { color: #b6e5bf; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.number, .boolean, .constant) { color: #f3cea1; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.function, .class-name) { color: #a9e3f3; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.property, .tag, .attr-name) { color: #fac2d4; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] .im-syntax
:is(.operator, .punctuation) { color: #d8e2ee; }

:root[data-theme="dark"] body[data-dark-style="charcoal"]
.command-log[data-status="completed"] .command-status { color: #b5e6c5; }
:root[data-theme="dark"] body[data-dark-style="charcoal"]
.command-log[data-status="running"] .command-status { color: #b1e2fb; }
:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(.log-error, .form-error, .command-log[data-status="error"] .command-status) { color: #ffc1c8 !important; }

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is([role="menu"], [role="listbox"], .toast, [role="tooltip"]) {
  color: var(--text) !important;
  background: #354153 !important;
  border-color: #8c9fb8 !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] dialog#modal::backdrop {
  background: rgba(14, 20, 29, .55) !important;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #b3e1ff !important;
  outline-offset: 3px;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"] ::selection {
  color: #ffffff;
  background: #526f91;
}

:root[data-theme="dark"] body[data-dark-style="charcoal"],
:root[data-theme="dark"] body[data-dark-style="charcoal"] * {
  scrollbar-color: #8091a8 #272f3a !important;
}
:root[data-theme="dark"] body[data-dark-style="charcoal"] ::-webkit-scrollbar-track { background: #272f3a !important; }
:root[data-theme="dark"] body[data-dark-style="charcoal"] ::-webkit-scrollbar-thumb { background: #8091a8 !important; border-color: #272f3a !important; }

/* Original layered black preset. */
/* OBSIDIAN
   Theme: Midnight
   Background: Obsidian · full black
*/

html[data-theme="dark"] body[data-dark-style="obsidian-classic"] {
  color-scheme: dark;

  --bg: #0b0b0b;
  --panel: #131415;
  --panel-soft: #101112;
  --panel-raised: #191b1c;
  --text: #dedfe1;
  --muted: #969b9f;
  --line: #292c2e;
  --cyan: #79bfae;
  --violet: #aaa2bf;

  color: var(--text);
  background: #0b0b0b;
  background-image: none;
}

/* Canvas */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(#app, .shell, .main) {
  color: var(--text);
  background: #0b0b0b;
  background-image: none;
  box-shadow: none;
}

/* Navigation and surrounding panels */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.sidebar, .topbar, .context-panel) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #242729;
  box-shadow: none;
}

/* Cards */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(
  .settings-card,
  .selection-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner
) {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #2a2d2f;
  box-shadow: none;
}

/* Findings drawer */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.workspace-report, #workspace-report) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #292c2e;
  box-shadow: -12px 0 36px rgba(0, 0, 0, .25);
}

/* Headings and supporting text */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(h1, h2, h3, h4) {
  color: #e3e5e7;
  background: none;
  -webkit-text-fill-color: currentColor;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(
  small,
  .muted,
  .form-note,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label,
  .activity-storage
) {
  color: #969b9f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.eyebrow {
  color: #83a49a;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
a {
  color: #8bc4b5;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
a:hover {
  color: #b2d9cd;
}

/* Chat composer */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
#composer {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #323638;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.run-controls {
  color: #a0a6aa;
  background: #111314;
  background-image: none;
  border-color: #292c2e;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
#composer #prompt {
  color: #dedfe1;
  background: transparent;
  box-shadow: none;
}

/* Inputs and dropdowns */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select
) {
  color: #dedfe1;
  background: #0e1011;
  border-color: #303537;
  caret-color: #8bc4b5;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(input, textarea)::placeholder {
  color: #747c81;
  opacity: 1;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #69a892;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
option {
  color: #dedfe1;
  background: #151819;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is([role="menu"], [role="listbox"]) {
  color: #dedfe1;
  background: #151819;
  border-color: #303537;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

/* Flat charcoal buttons */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.primary, .secondary, .send-button) {
  color: #dce3df;
  background: #1b2421;
  background-image: none;
  border-color: #35453e;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.secondary {
  color: #c9cdd0;
  background: #1a1d1f;
  border-color: #323739;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.primary, .send-button):hover:not(:disabled) {
  color: #e5f0eb;
  background: #24372f;
  border-color: #4b6a5c;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.secondary:hover:not(:disabled) {
  background: #24292b;
  border-color: #454e52;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.text-button, .icon-button) {
  color: #a0a8ad;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.text-button, .icon-button):hover:not(:disabled) {
  color: #d4ded9;
  background: #1c2420;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Active navigation */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(
  .sidebar button.selected,
  .sidebar button.active,
  .sidebar button[aria-current="page"],
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #a5cbbb;
  background: #17231e;
  border-color: #344c40;
  box-shadow: none;
}

/* Command panels */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.command-log, .trace-event, .assistant-record) {
  color: #c6cdd1;
  background: #111314;
  border-color: #292e31;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary {
  color: #b9c0c4;
  background: transparent;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary:hover {
  background: #191d1f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.command-details, .run-log-body, .trace-rows) {
  color: #bfc7cb;
  background: #0e1011;
  border-color: #292e31;
}

/* Code and output */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
pre {
  color: #c5ced3;
  background: #090b0c;
  border-color: #272d30;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
pre code {
  color: inherit;
  background: transparent;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:not(pre) > code {
  color: #a5cbbb;
  background: #1b2220;
  border-radius: 4px;
}

/* Muted syntax colors */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.hljs-string, .token.string) {
  color: #a0bfa4;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.hljs-keyword, .token.keyword) {
  color: #b7a9cb;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.hljs-number, .token.number, .token.boolean) {
  color: #c7b193;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.hljs-comment, .token.comment) {
  color: #7e898f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.hljs-attr, .token.property) {
  color: #9bb6c5;
}

/* Status text */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.command-log[data-status="completed"] .command-status {
  color: #91bda5;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.command-log[data-status="running"] .command-status {
  color: #a0beb8;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(
  .log-error,
  .command-log[data-status="failed"] .command-status,
  .command-log[data-status="error"] .command-status
) {
  color: #cc9c9c;
}

/* Activity tables */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(hr, th, td) {
  border-color: #272c2e;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
th {
  color: #949da2;
  background: #101314;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
tbody tr:hover {
  background: #14191a;
}

/* Dialogs */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
dialog#modal {
  color: #dedfe1;
  background: #141617;
  background-image: none;
  border-color: #343a3d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
dialog#modal::backdrop {
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.toast, [role="tooltip"]) {
  color: #cdd5d8;
  background: #1a2022;
  border-color: #343e42;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* Restrained mouse effect */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.im-pointer-aura, .im-mouse-light) {
  background: radial-gradient(
    circle,
    rgba(150, 180, 165, .045),
    rgba(150, 180, 165, .015) 35%,
    transparent 68%
  );
  box-shadow: none;
  filter: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(.im-pointer-card, .im-card-light) {
  border-color: rgba(130, 165, 145, .2);
  background: radial-gradient(
    350px circle at
      var(--px, var(--pointer-x, 50%))
      var(--py, var(--pointer-y, 50%)),
    rgba(130, 165, 145, .035),
    transparent 70%
  );
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
.is-pressed :is(.im-pointer-card, .im-card-light) {
  border-color: rgba(140, 185, 158, .4);
}

/* Focus and selection */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #81b69f;
  outline-offset: 3px;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
::selection {
  color: #e6efea;
  background: #344c40;
}

/* Neutral scrollbars */

html[data-theme="dark"] body[data-dark-style="obsidian-classic"],
html[data-theme="dark"] body[data-dark-style="obsidian-classic"] * {
  scrollbar-color: #3b4347 #101314;
  scrollbar-width: thin;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
::-webkit-scrollbar-track {
  background: #101314;
}

html[data-theme="dark"] body[data-dark-style="obsidian-classic"]
::-webkit-scrollbar-thumb {
  background: #3b4347;
  border: 2px solid #101314;
  border-radius: 8px;
}

/* Original uniform deep-black preset, including the details inherited from layered black. */
/* OBSIDIAN
   Theme: Midnight
   Background: Obsidian · full black
*/

html[data-theme="dark"] body[data-dark-style="obsidian-deep"] {
  color-scheme: dark;

  --bg: #0b0b0b;
  --panel: #131415;
  --panel-soft: #101112;
  --panel-raised: #191b1c;
  --text: #dedfe1;
  --muted: #969b9f;
  --line: #292c2e;
  --cyan: #79bfae;
  --violet: #aaa2bf;

  color: var(--text);
  background: #0b0b0b;
  background-image: none;
}

/* Canvas */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(#app, .shell, .main) {
  color: var(--text);
  background: #0b0b0b;
  background-image: none;
  box-shadow: none;
}

/* Navigation and surrounding panels */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.sidebar, .topbar, .context-panel) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #242729;
  box-shadow: none;
}

/* Cards */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  .settings-card,
  .selection-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner
) {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #2a2d2f;
  box-shadow: none;
}

/* Findings drawer */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.workspace-report, #workspace-report) {
  color: var(--text);
  background: #101112;
  background-image: none;
  border-color: #292c2e;
  box-shadow: -12px 0 36px rgba(0, 0, 0, .25);
}

/* Headings and supporting text */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(h1, h2, h3, h4) {
  color: #e3e5e7;
  background: none;
  -webkit-text-fill-color: currentColor;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  small,
  .muted,
  .form-note,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label,
  .activity-storage
) {
  color: #969b9f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.eyebrow {
  color: #83a49a;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
a {
  color: #8bc4b5;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
a:hover {
  color: #b2d9cd;
}

/* Chat composer */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
#composer {
  color: var(--text);
  background: #141617;
  background-image: none;
  border-color: #323638;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.run-controls {
  color: #a0a6aa;
  background: #111314;
  background-image: none;
  border-color: #292c2e;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
#composer #prompt {
  color: #dedfe1;
  background: transparent;
  box-shadow: none;
}

/* Inputs and dropdowns */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select
) {
  color: #dedfe1;
  background: #0e1011;
  border-color: #303537;
  caret-color: #8bc4b5;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(input, textarea)::placeholder {
  color: #747c81;
  opacity: 1;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
  accent-color: #69a892;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
option {
  color: #dedfe1;
  background: #151819;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is([role="menu"], [role="listbox"]) {
  color: #dedfe1;
  background: #151819;
  border-color: #303537;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

/* Flat charcoal buttons */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.primary, .secondary, .send-button) {
  color: #dce3df;
  background: #1b2421;
  background-image: none;
  border-color: #35453e;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.secondary {
  color: #c9cdd0;
  background: #1a1d1f;
  border-color: #323739;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.primary, .send-button):hover:not(:disabled) {
  color: #e5f0eb;
  background: #24372f;
  border-color: #4b6a5c;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.secondary:hover:not(:disabled) {
  background: #24292b;
  border-color: #454e52;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.text-button, .icon-button) {
  color: #a0a8ad;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.text-button, .icon-button):hover:not(:disabled) {
  color: #d4ded9;
  background: #1c2420;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Active navigation */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  .sidebar button.selected,
  .sidebar button.active,
  .sidebar button[aria-current="page"],
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #a5cbbb;
  background: #17231e;
  border-color: #344c40;
  box-shadow: none;
}

/* Command panels */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.command-log, .trace-event, .assistant-record) {
  color: #c6cdd1;
  background: #111314;
  border-color: #292e31;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary {
  color: #b9c0c4;
  background: transparent;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.command-log, .run-execution, .trace-event, .assistant-record)
> summary:hover {
  background: #191d1f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.command-details, .run-log-body, .trace-rows) {
  color: #bfc7cb;
  background: #0e1011;
  border-color: #292e31;
}

/* Code and output */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
pre {
  color: #c5ced3;
  background: #090b0c;
  border-color: #272d30;
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
pre code {
  color: inherit;
  background: transparent;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:not(pre) > code {
  color: #a5cbbb;
  background: #1b2220;
  border-radius: 4px;
}

/* Muted syntax colors */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.hljs-string, .token.string) {
  color: #a0bfa4;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.hljs-keyword, .token.keyword) {
  color: #b7a9cb;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.hljs-number, .token.number, .token.boolean) {
  color: #c7b193;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.hljs-comment, .token.comment) {
  color: #7e898f;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.hljs-attr, .token.property) {
  color: #9bb6c5;
}

/* Status text */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.command-log[data-status="completed"] .command-status {
  color: #91bda5;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.command-log[data-status="running"] .command-status {
  color: #a0beb8;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  .log-error,
  .command-log[data-status="failed"] .command-status,
  .command-log[data-status="error"] .command-status
) {
  color: #cc9c9c;
}

/* Activity tables */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(hr, th, td) {
  border-color: #272c2e;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
th {
  color: #949da2;
  background: #101314;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
tbody tr:hover {
  background: #14191a;
}

/* Dialogs */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
dialog#modal {
  color: #dedfe1;
  background: #141617;
  background-image: none;
  border-color: #343a3d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
dialog#modal::backdrop {
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.toast, [role="tooltip"]) {
  color: #cdd5d8;
  background: #1a2022;
  border-color: #343e42;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

/* Restrained mouse effect */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.im-pointer-aura, .im-mouse-light) {
  background: radial-gradient(
    circle,
    rgba(150, 180, 165, .045),
    rgba(150, 180, 165, .015) 35%,
    transparent 68%
  );
  box-shadow: none;
  filter: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.im-pointer-card, .im-card-light) {
  border-color: rgba(130, 165, 145, .2);
  background: radial-gradient(
    350px circle at
      var(--px, var(--pointer-x, 50%))
      var(--py, var(--pointer-y, 50%)),
    rgba(130, 165, 145, .035),
    transparent 70%
  );
  box-shadow: none;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.is-pressed :is(.im-pointer-card, .im-card-light) {
  border-color: rgba(140, 185, 158, .4);
}

/* Focus and selection */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #81b69f;
  outline-offset: 3px;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::selection {
  color: #e6efea;
  background: #344c40;
}

/* Neutral scrollbars */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"],
html[data-theme="dark"] body[data-dark-style="obsidian-deep"] * {
  scrollbar-color: #3b4347 #101314;
  scrollbar-width: thin;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::-webkit-scrollbar-track {
  background: #101314;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::-webkit-scrollbar-thumb {
  background: #3b4347;
  border: 2px solid #101314;
  border-radius: 8px;
}

/* OBSIDIAN — uniform black surfaces */

html[data-theme="dark"]:has(body[data-dark-style="obsidian-deep"]) {
  background: #070707;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"] {
  --bg: #070707;
  --panel: #0b0b0b;
  --panel-soft: #090909;
  --panel-raised: #111111;
  --text: #cccccc;
  --muted: #929292;
  --line: #242424;
  --cyan: #a0b7af;
  --violet: #aaaaaa;

  color: #cccccc !important;
  background: #070707 !important;
}

/* Same black across the entire page */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  #app,
  .shell,
  .main,
  .sidebar,
  .topbar,
  .context-panel,
  .chat-column,
  .chat-toolbar,
  .chat-scroll,
  .welcome,
  .composer-wrap,
  .composer-footer,
  .workspace-report,
  #workspace-report
) {
  background: #070707 !important;
  background-image: none !important;
  border-color: #242424 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Cards, controls and dialogs */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  .workspace-switch,
  .new-chat,
  .suggestion,
  .selection-card,
  .settings-card,
  .private-card,
  .agent-card,
  .connection-card,
  .activity-entry,
  .finding-card,
  .goal-banner,
  .command-log,
  .trace-event,
  .assistant-record,
  #composer,
  .run-controls,
  dialog#modal
) {
  color: #cccccc !important;
  background: #0b0b0b !important;
  background-image: none !important;
  border-color: #242424 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Remove colored button gradients */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(button, .primary, .secondary, .send-button) {
  color: #bfbfbf !important;
  background: #0d0d0d !important;
  background-image: none !important;
  border-color: #292929 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
button:hover:not(:disabled) {
  color: #e0e0e0 !important;
  background: #151515 !important;
  border-color: #3a3a3a !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.icon-button, .text-button, .nav-button, .history-button) {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  .nav-button.active,
  .nav-button.selected,
  .history-button.active,
  .reporting-tab.selected,
  [role="tab"][aria-selected="true"]
) {
  color: #d2d2d2 !important;
  background: #111111 !important;
  background-image: none !important;
  border-color: #303030 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.nav-button.active::before {
  background: #83978f !important;
  box-shadow: none !important;
}

/* Inputs and dropdowns */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select,
  option
) {
  color: #cccccc !important;
  background-color: #090909 !important;
  border-color: #292929 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
#composer #prompt {
  background: transparent !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(input, textarea)::placeholder {
  color: #777777 !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is([role="menu"], [role="listbox"], .toast, [role="tooltip"]) {
  color: #cccccc !important;
  background: #101010 !important;
  background-image: none !important;
  border-color: #303030 !important;
  box-shadow: none !important;
}

/* Remove the colored heading gradient */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(h1, h2, h3, h4, h1 span, .gradient-text) {
  color: #cccccc !important;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #cccccc !important;
  text-shadow: none !important;
}

/* Remove the welcome logo halo and decorative rings */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.welcome-emblem {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.welcome-emblem::before,
html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
.welcome-emblem::after {
  content: none !important;
  display: none !important;
}

/* Monochrome logos for this preset */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.brand img, .welcome-emblem img) {
  filter: grayscale(1) brightness(.75) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.brand, .brand strong, .brand span) {
  color: #bdbdbd !important;
  text-shadow: none !important;
}

/* Neutral icon tiles and badges */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.workspace-icon, .agent-mark, .count, .pill, .badge, .avatar) {
  background: #101010 !important;
  background-image: none !important;
  border-color: #292929 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.workspace-icon, .agent-mark, .suggestion svg) {
  color: #a0a0a0 !important;
}

/* Supporting text */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(
  small,
  .muted,
  .form-note,
  .eyebrow,
  .report-empty,
  .report-updated,
  .report-verification,
  .log-label
) {
  color: #929292 !important;
}

/* Command details and code */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.command-details, .run-log-body, .trace-rows) {
  background: #090909 !important;
  border-color: #242424 !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
pre {
  background: #050505 !important;
  border-color: #242424 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
pre code {
  background: transparent !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:not(pre) > code {
  background: #151515 !important;
}

/* Very subtle neutral mouse glow */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.im-pointer-aura, .im-mouse-light) {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, .025),
    transparent 68%
  ) !important;
  box-shadow: none !important;
  filter: none !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(.im-pointer-card, .im-card-light) {
  background: radial-gradient(
    350px circle at
      var(--px, var(--pointer-x, 50%))
      var(--py, var(--pointer-y, 50%)),
    rgba(255, 255, 255, .025),
    transparent 70%
  ) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: none !important;
}

/* Dialog backdrop and keyboard focus */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
dialog#modal::backdrop {
  background: rgba(0, 0, 0, .85) !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
:is(button, a, input, textarea, select, summary):focus-visible {
  outline: 2px solid #858585 !important;
  outline-offset: 3px;
}

/* Neutral scrollbars */

html[data-theme="dark"] body[data-dark-style="obsidian-deep"],
html[data-theme="dark"] body[data-dark-style="obsidian-deep"] * {
  scrollbar-color: #353535 #070707 !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::-webkit-scrollbar-track {
  background: #070707 !important;
}

html[data-theme="dark"] body[data-dark-style="obsidian-deep"]
::-webkit-scrollbar-thumb {
  background: #353535 !important;
  border-color: #070707 !important;
}

/* The newer graphite logo remains separate from the earlier white-logo version. */
:root[data-theme="dark"] body:is([data-dark-style="obsidian"], [data-dark-style="charcoal"], [data-dark-style="midnight-classic"], [data-dark-style="midnight"][data-background="obsidian"])
:is(.brand img, .welcome-emblem img, .login-emblem img, .login-splash > img) {
  filter: grayscale(1) brightness(.85) contrast(1.05)
    drop-shadow(0 0 1px rgba(255, 255, 255, .16)) !important;
}
:root[data-theme="dark"] body[data-dark-style="obsidian-white"]
:is(.brand img, .welcome-emblem img, .login-emblem img, .login-splash > img) {
  filter: grayscale(1) brightness(0) invert(1) !important;
}
/* INFINITYMIND_ALL_THEMES_V2_END */


/* INFINITYMIND_DARK_POLISH_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="midnight"]{
 --bg:#161d2b!important;--panel:#202a3b!important;--panel-soft:#1a2332!important;--panel-raised:#2a3547!important;
 --text:#edf2fa!important;--muted:#adbbcf!important;--line:#354256!important;--cyan:#88cbe8!important;
 --im-dark-input:#131b28!important;--im-dark-control-border:#4a5b74!important;--im-polish-glow:#5085c010!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="midnight-classic"]{
 --bg:#1b2030!important;--panel:#252b3f!important;--panel-soft:#202638!important;--panel-raised:#2f374e!important;
 --text:#edf0ff!important;--muted:#b2bcd3!important;--line:#3c455c!important;--cyan:#94d3e6!important;
 --im-dark-input:#181e2c!important;--im-dark-control-border:#536079!important;--im-polish-glow:#9270ca14!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="charcoal"]{
 --bg:#1d2229!important;--panel:#272e37!important;--panel-soft:#222830!important;--panel-raised:#303a45!important;
 --text:#f0f4f8!important;--muted:#b3becb!important;--line:#3c4653!important;--cyan:#9cbbcd!important;
 --im-dark-input:#191f26!important;--im-dark-control-border:#546171!important;--im-polish-glow:#709ca508!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="obsidian"]{
 --bg:#15191a!important;--panel:#202729!important;--panel-soft:#1a2022!important;--panel-raised:#2a3336!important;
 --text:#f0f6f4!important;--muted:#b3c3be!important;--line:#354347!important;--cyan:#8de4b5!important;
 --im-dark-input:#131a1d!important;--im-dark-control-border:#4d6267!important;--im-polish-glow:#70c4a508!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="obsidian-white"]{
 --bg:#191b1e!important;--panel:#26292d!important;--panel-soft:#202327!important;--panel-raised:#30353c!important;
 --text:#f7f8fc!important;--muted:#bfc5cf!important;--line:#3e454f!important;--cyan:#e7edf6!important;
 --im-dark-input:#181c22!important;--im-dark-control-border:#586372!important;--im-polish-glow:#b6c4d008!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="obsidian-classic"]{
 --bg:#1b1d22!important;--panel:#272a32!important;--panel-soft:#21242b!important;--panel-raised:#313640!important;
 --text:#f2f3f8!important;--muted:#bac1cf!important;--line:#3e4553!important;--cyan:#a2bcc9!important;
 --im-dark-input:#171b22!important;--im-dark-control-border:#586477!important;--im-polish-glow:#8897c40a!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="obsidian-deep"]{
 --bg:#121a1c!important;--panel:#1d282b!important;--panel-soft:#172124!important;--panel-raised:#28363a!important;
 --text:#eff8f5!important;--muted:#b0c5bf!important;--line:#34494e!important;--cyan:#85deb2!important;
 --im-dark-input:#101a1d!important;--im-dark-control-border:#4b6468!important;--im-polish-glow:#69c39e08!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-dark-style="midnight"][data-background="obsidian"]{
 --bg:#15191a!important;--panel:#202729!important;--panel-soft:#1a2022!important;--panel-raised:#2a3336!important;
 --text:#f0f6f4!important;--muted:#b3c3be!important;--line:#354347!important;--cyan:#8de4b5!important;
 --im-dark-input:#131a1d!important;--im-dark-control-border:#4d6267!important;--im-polish-glow:#70c4a508!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-background="dark-blue"]{
 --bg:#162432!important;--panel:#203446!important;--panel-soft:#1a2c3c!important;--panel-raised:#2a4257!important;
 --text:#edf7ff!important;--muted:#bbcedf!important;--line:#36536a!important;--cyan:#a0d8ff!important;
 --im-dark-input:#12202d!important;--im-dark-control-border:#52758f!important;--im-polish-glow:#4aa9e510!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-background="dark-forest"]{
 --bg:#17231f!important;--panel:#22332b!important;--panel-soft:#1d2b24!important;--panel-raised:#2b4036!important;
 --text:#edf8f1!important;--muted:#b1cdbd!important;--line:#385446!important;--cyan:#98ddb6!important;
 --im-dark-input:#13201a!important;--im-dark-control-border:#527560!important;--im-polish-glow:#73cc9c0c!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-background="dark-amethyst"]{
 --bg:#241f30!important;--panel:#30293d!important;--panel-soft:#2a2435!important;--panel-raised:#3b334b!important;
 --text:#f6efff!important;--muted:#c9bedc!important;--line:#4d425f!important;--cyan:#d8b6ff!important;
 --im-dark-input:#1f1a2b!important;--im-dark-control-border:#6d5b87!important;--im-polish-glow:#bc88e50c!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish][data-background="dark-warm"]{
 --bg:#28221e!important;--panel:#352d27!important;--panel-soft:#2e2722!important;--panel-raised:#41372f!important;
 --text:#fff4e8!important;--muted:#d5c5b4!important;--line:#54473b!important;--cyan:#f0c493!important;
 --im-dark-input:#221c18!important;--im-dark-control-border:#77624f!important;--im-polish-glow:#e7b0700c!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}

:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] .ambient{display:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#app .shell,#app .main,#app .main-content,#app .chat-column,#app .chat-scroll,#app .welcome,#app .composer-wrap,#app .page){background:var(--bg)!important;color:var(--text)!important;background-image:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app .main-content,#app .welcome){background-image:radial-gradient(ellipse at 95% 0,var(--im-polish-glow),transparent 65%)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app .sidebar,#app .topbar,#app .context-panel,#app .chat-toolbar,#workspace-report){background:var(--panel-soft)!important;border-color:var(--line)!important;background-image:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app .settings-card,#app .resource-card,#app .selection-card,#app .agent-card,#app .connection-card,#app .activity-entry,#app .workspace-switch,#app .command-log,#app .run-execution,#app .trace-event,#app .assistant-record,#app .im-fg-node,#app .im-fg-details,#app .im-fo-stats article,#app .im-fo-finding,#app .im-fo-run,#app .im-findings-tldr,#app .goal-banner,#app .goal-disclosure,#composer,#modal,#workspace-report .im-run-update,#workspace-report .findings-diagnostics){background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important;background-image:none!important;box-shadow:0 1px 0 #ffffff04,0 8px 26px #0000000d!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card{border-radius:16px;padding:24px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card h3{font-weight:600;letter-spacing:-.025em;margin-bottom:20px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-grid{gap:20px;align-items:start;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card .workspace-setting{gap:9px;margin-top:20px;color:var(--muted);font-size:12px;line-height:1.5;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card .setting-line{gap:18px;align-items:center;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card .setting-line small{margin-top:5px;font-size:11px;line-height:1.65;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),textarea,select,option){background:var(--im-dark-input)!important;color:var(--text)!important;border-color:var(--im-dark-control-border)!important;color-scheme:dark;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(input,select,textarea){border-radius:10px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card :is(select,input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"])){min-height:45px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app #composer #prompt{background:transparent!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(input,textarea)::placeholder{color:var(--muted)!important;opacity:.85;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(small,.form-note,.intro,.subline,.empty-tools,.context-footnote,.context-label,.section-label,.history-heading,.resource-url,.log-label,.fc-meta,.fc-empty,.im-update-source,.im-findings-tldr li span){color:var(--muted)!important;-webkit-text-fill-color:currentColor!important;opacity:1;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.modal-header,.modal-body,.composer-footer,.run-controls,.command-details,.run-log-body,.trace-rows){background:transparent!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(pre,.im-update-code){background:var(--im-dark-input)!important;color:var(--text)!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) pre code{background:transparent!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) button:where(:not(.primary,.new-chat,.send-button)){background:var(--panel-raised)!important;color:var(--text)!important;border-color:var(--im-dark-control-border)!important;background-image:none!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) button:where(:not(.primary,.new-chat,.send-button)):hover:not(:disabled){background:color-mix(in srgb,var(--panel-raised) 83%,var(--text))!important;border-color:var(--muted)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.icon-button,.text-button,.nav-button,.history-button,.im-profile-button){background:transparent!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.nav-button,.history-button){border-color:transparent!important;border-radius:10px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"]){background:#214034!important;color:#e5f8ed!important;border-color:#3f6b56!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .nav-button.active::before{background:#70dca3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app :is(.nav-button.active svg,.reporting-tab.selected svg){color:#8de8b9!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(180deg,#27845c,#216e4c)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;border:1px solid #4fa278!important;border-radius:10px;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:linear-gradient(180deg,#2d8b63,#267d57)!important;border-color:#75c99a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #workspace-report .fc-actions button[type="submit"]:disabled{background:#2b4037!important;color:#b9c9c0!important;border-color:#486354!important;box-shadow:none!important;cursor:not-allowed;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--cyan)!important;outline-offset:3px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"]){background:#71e3a5!important;box-shadow:0 0 0 3px #71e3a50e!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .pill.connected{background:#203c30!important;border-color:#39674e!important;color:#c4eed5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .reporting-tab.im-findings-unread{background:#244333!important;border-color:#4b8964!important;color:#d2f7df!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app :is(.workspace-icon,.count,.badge,.message-avatar){background:var(--panel-raised)!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .im-profile-menu nav button{background:transparent!important;border:0!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .im-profile-menu nav button:hover{background:var(--panel-raised)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .im-profile-menu>summary{background:var(--panel)!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #workspace-report .fc-optional{--fc-text:var(--text);--fc-muted:var(--muted);--fc-line:var(--line);background:var(--panel)!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.log-error,.form-error,.fc-error){color:#ffbdc5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(.dot.amber,.im-progress-dot[data-status="waiting_for_approval"]){background:#efc478!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish],:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] *{scrollbar-color:var(--im-dark-control-border) var(--panel-soft)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] ::-webkit-scrollbar-track{background:var(--panel-soft)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] ::-webkit-scrollbar-thumb{background:var(--im-dark-control-border)!important;border-color:var(--panel-soft)!important;}
@media(max-width:560px){:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-card{padding:20px;border-radius:14px;}:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] #app .settings-grid{gap:16px;}}
@media(prefers-reduced-motion:no-preference){:root[data-theme="dark"] body[data-dark-style][data-background][data-im-dark-polish] :is(#app,#modal,#workspace-report) :is(button,input,textarea,select){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;}}
/* INFINITYMIND_DARK_POLISH_V1_END */


/* INFINITYMIND_FINDINGS_COLUMNS_V1_BEGIN */
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] .im-fg-toolbar{flex-wrap:wrap;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel[data-clean-flow] [data-fg-action="latest"]{white-space:nowrap;}
/* INFINITYMIND_FINDINGS_COLUMNS_V1_END */


/* INFINITYMIND_GRAPH_SCROLLBARS_V1_BEGIN */
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-viewport{overflow:clip!important;min-height:0!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-viewport>.im-fg-scrollbar{position:absolute!important;display:block!important;z-index:50;box-sizing:border-box;touch-action:none;cursor:default;background:color-mix(in srgb,var(--panel) 94%,transparent)!important;outline-offset:-2px;user-select:none;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar[data-fg-scroll-axis="y"]{top:0;right:0;bottom:16px;width:16px;border-left:1px solid var(--line)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar[data-fg-scroll-axis="x"]{left:0;right:16px;bottom:0;height:16px;border-top:1px solid var(--line)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scroll-thumb{position:absolute;display:block;border:0!important;border-radius:5px;background:color-mix(in srgb,var(--muted) 62%,transparent)!important;pointer-events:auto;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar[data-fg-scroll-axis="y"] .im-fg-scroll-thumb{left:4px;width:7px;min-height:0;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar[data-fg-scroll-axis="x"] .im-fg-scroll-thumb{top:4px;height:7px;min-width:0;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar:is(:hover,:focus-visible,.is-dragging) .im-fg-scroll-thumb{background:var(--cyan)!important;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar[aria-disabled="true"] .im-fg-scroll-thumb{opacity:.35;}
:root[data-theme] body[data-dark-style][data-background] #app .im-fg-panel .im-fg-scrollbar:focus-visible{outline:2px solid var(--cyan)!important;}
/* INFINITYMIND_GRAPH_SCROLLBARS_V1_END */


/* INFINITYMIND_CLASSIC_BLACK_V2_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"]{--bg:#080808!important;--panel:#191919!important;--panel-soft:#111111!important;--panel-raised:#252525!important;--text:#eeeeee!important;--muted:#a6a6a6!important;--line:#343434!important;--cyan:#8de4b5!important;--im-dark-input:#101010!important;--im-dark-control-border:#505050!important;--im-polish-glow:transparent!important;color-scheme:dark;background:#080808!important;color:var(--text)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] .ambient{opacity:0!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#app .shell,#app .main,#app .main-content,#app .chat-column,#app .chat-scroll,#app .welcome,#app .composer-wrap,#app .page){background:#080808!important;background-image:none!important;color:var(--text)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .sidebar{background:#171717!important;background-image:none!important;border-color:#343434!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .topbar{background:#151515!important;background-image:none!important;border-color:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .chat-toolbar{background:#0c0c0c!important;background-image:none!important;border-color:#262626!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .context-panel{background:#151515!important;background-image:none!important;border-color:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.settings-card,.resource-card,.selection-card,.agent-card,.connection-card,.activity-entry,.workspace-switch,.suggestion,.command-log,.run-execution,.trace-event,.assistant-record,.im-fg-node,.im-fg-details,.im-fo-stats article,.im-fo-finding,.im-fo-run,.im-findings-tldr,.goal-banner,.goal-disclosure,.im-run-update,.findings-diagnostics){background:#191919!important;background-image:none!important;border-color:#343434!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app :is(#composer,.goal-disclosure,.goal-banner,.command-log,.run-execution){background:#111111!important;background-image:none!important;border-color:#2b2b2b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#modal,#workspace-report){background:#171717!important;background-image:none!important;border-color:#3d3d3d!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.modal-header,.modal-body,.composer-footer,.run-controls,.command-details,.run-log-body,.trace-rows){background:transparent!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([name="model"]),textarea,select:not(#composer-model):not(#agent-model):not([name="model"])){background:#101010!important;border-color:#4c4c4c!important;color:var(--text)!important;color-scheme:dark;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app #composer #prompt{background:transparent!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(180deg,#247a53,#1b6242)!important;color:#f4fff8!important;-webkit-text-fill-color:currentColor!important;border-color:#4ba172!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:linear-gradient(180deg,#2b885d,#216e4a)!important;border-color:#8bd8a8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #workspace-report .fc-actions button[type="submit"]:disabled{background:#293c32!important;color:#c1d1c6!important;border-color:#4c6958!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#382b24!important;border-color:#80684c!important;color:#f2d3aa!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"],.im-account-tabs button[aria-current="page"]){background:#213c2e!important;border-color:#4b7b5c!important;color:#d9f7e3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg){color:#8fe6b4!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#65e39b!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(.pill.connected,.im-credit-pill){background:#203e2d!important;border-color:#4d795e!important;color:#d0f1dd!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .reporting-tab{background:#172b20!important;border-color:#35563e!important;color:#9ae0b5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{background:#234d34!important;border-color:#4a9563!important;color:#c7f5d8!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .im-credit-pill.im-credit-empty{background:#3a3023!important;border-color:#8f744c!important;color:#f2d5a5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app :is(.workspace-icon,.count,.badge,.message-avatar,.agent-avatar){background:#292929!important;border-color:#484848!important;color:#dedede!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .agent-avatar{background:#1e3c2c!important;border-color:#467e5a!important;color:#8fe6b4!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app #composer .run-controls>small{color:#9edeb7!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#42b982!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) .switch:checked{background:#247b56!important;border-color:#87dfb2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .brand .brand-name, :root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .brand .brand-name>span{color:#e5e5e5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app :is(.brand img,.welcome-emblem img){filter:grayscale(1) brightness(.92) contrast(1.05)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .welcome-emblem{background:#0c0c0c!important;border-color:#242424!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .welcome-emblem::before,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .welcome-emblem::after{background:none!important;box-shadow:none!important;opacity:0!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] :is(#app,#modal,#workspace-report) :is(pre,.im-update-code,.tool-syntax-block){background:#0d0d0d!important;border-color:#313131!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .im-profile-menu>summary{background:#242424!important;border-color:#4b4b4b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .im-profile-menu nav{background:#1d1d1d!important;border-color:#454545!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-black"] #app .im-profile-menu nav button:hover{background:#303030!important;}
/* INFINITYMIND_CLASSIC_BLACK_V2_END */


/* INFINITYMIND_THEME_RESTORE_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(180deg,#247a53,#1b6242)!important;color:#f4fff8!important;-webkit-text-fill-color:currentColor!important;border-color:#4ba172!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:linear-gradient(180deg,#2b885d,#216e4a)!important;border-color:#8bd8a8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) #workspace-report .fc-actions button[type="submit"]:disabled{background:#293c32!important;color:#c1d1c6!important;border-color:#4c6958!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#382b24!important;border-color:#80684c!important;color:#f2d3aa!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"],.im-account-tabs button[aria-current="page"]){background:#213c2e!important;border-color:#4b7b5c!important;color:#d9f7e3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg){color:#8fe6b4!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#65e39b!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.pill.connected,.im-credit-pill){background:#203e2d!important;border-color:#4d795e!important;color:#d0f1dd!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .reporting-tab{background:#172b20!important;border-color:#35563e!important;color:#9ae0b5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{background:#234d34!important;border-color:#4a9563!important;color:#c7f5d8!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .im-credit-pill.im-credit-empty{background:#3a3023!important;border-color:#8f744c!important;color:#f2d5a5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .agent-avatar{background:#1e3c2c!important;border-color:#467e5a!important;color:#8fe6b4!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) #app #composer .run-controls>small{color:#9edeb7!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#42b982!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) .switch:checked{background:#247b56!important;border-color:#87dfb2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"]){background:#71e3a5!important;box-shadow:0 0 0 3px #71e3a50e!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style^="obsidian"],[data-dark-style="classic-black"],[data-dark-style="midnight"][data-background="obsidian"]) #app :is(.command-log[data-status="completed"] .command-status,.connection-status:has(.dot.green)){color:#a4eac2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]){--bg:#26354c!important;--panel:#172131!important;--panel-soft:#141e2d!important;--panel-raised:#233246!important;--text:#e9edf5!important;--muted:#a7b6cd!important;--line:#a6c4ec26!important;--cyan:#85e7f5!important;--violet:#c7b1ff!important;--im-dark-input:#111b2c!important;--im-dark-control-border:#61758e!important;--im-polish-glow:transparent!important;color-scheme:dark;color:var(--text)!important;background:radial-gradient(ellipse at 0% 5%,#3891bd14,transparent 58%),radial-gradient(ellipse at 100% 10%,#a78bfa12,transparent 62%),linear-gradient(120deg,#22364b 0%,#2b3048 55%,#3b2e47 100%)!important;background-attachment:fixed!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) .ambient{display:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#app .shell,#app .main,#app .main-content,#app .chat-column,#app .chat-scroll,#app .welcome,#app .composer-wrap,#app .page){color:var(--text)!important;background:transparent!important;background-image:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .main{background:radial-gradient(ellipse at 0% 5%,#3891bd14,transparent 58%),radial-gradient(ellipse at 100% 10%,#a78bfa12,transparent 62%),linear-gradient(120deg,#22364b 0%,#2b3048 55%,#3b2e47 100%)!important;background-attachment:fixed!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app :is(.sidebar,.context-panel){background:#121c2bef!important;background-image:none!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app :is(.topbar,.chat-toolbar){background:#131e2deb!important;background-image:none!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.settings-card,.resource-card,.selection-card,.private-card,.agent-card,.connection-card,.activity-entry,.workspace-switch,.suggestion,.command-log,.run-execution,.trace-event,.assistant-record,.im-fg-node,.im-fg-details,.im-fo-stats article,.im-fo-finding,.im-fo-run,.im-findings-tldr,.goal-banner,.goal-disclosure,.im-run-update,.findings-diagnostics){background:#141d2de8!important;background-image:none!important;color:var(--text)!important;border-color:var(--line)!important;box-shadow:0 10px 28px #090d1c18,inset 0 1px 0 #ffffff04!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app #composer{background:#172234f0!important;background-image:none!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#modal,#workspace-report){background:#172131!important;background-image:none!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.modal-header,.modal-body,.composer-footer,.run-controls,.command-details,.run-log-body,.trace-rows){background:transparent!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),textarea,select,option){background:#111b2c!important;border-color:#61758e!important;color:var(--text)!important;color-scheme:dark;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app #composer #prompt{background:transparent!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(pre,.im-update-code,.tool-syntax-block){background:#101a2a!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #workspace-report .fc-actions button[type="submit"]{background:linear-gradient(110deg,#25627a,#554475)!important;color:#e9fbff!important;-webkit-text-fill-color:currentColor!important;border-color:#6b9cbb!important;box-shadow:inset 0 1px 0 #ffffff10,0 4px 14px #10192f22!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled){background:linear-gradient(110deg,#2a738c,#68528d)!important;border-color:#a5d5ea!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled{background:#29384b!important;color:#adb9cd!important;border-color:#52647e!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#42312b!important;border-color:#a28461!important;color:#f3d2a5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"],.im-account-tabs button[aria-current="page"]){background:linear-gradient(110deg,#1c3546,#29283f)!important;color:#c5f1f7!important;border-color:#527287!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg){color:#85e7f5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#85e7f5!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.pill.connected,.im-credit-pill,.reporting-tab){background:#203243!important;border-color:#4e7188!important;color:#c0e7f0!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{background:#29485c!important;border-color:#6ba3bb!important;color:#d9f5ff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) .im-credit-pill.im-credit-empty{background:#423728!important;color:#f2d6ac!important;border-color:#a28965!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"]){background:#85e7f5!important;box-shadow:0 0 0 3px #85e7f50d!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app :is(.command-log[data-status="completed"] .command-status,.connection-status:has(.dot.green)){color:#a2e4ef!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(.workspace-icon,.message-avatar,.agent-avatar){background:#203445!important;border-color:#4b6d80!important;color:#85e7f5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) .switch:checked{background:#28677a!important;border-color:#81cfdf!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) :is(#app,#modal,#workspace-report) :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#70d1e0!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app :is(#composer-model,#agent-model,select[name="model"],.runtime-badge){background:#2c233f!important;border-color:#8f75b8!important;color:#d8c2fa!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app #composer .run-controls>small{color:#a7b6cd!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .im-profile-menu>summary{background:#1e2d40!important;border-color:#5b718a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .im-profile-menu nav{background:#1a2639!important;border-color:#526984!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .im-profile-menu nav button:hover{background:#2b3c55!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .brand .brand-name,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app .brand .brand-name>span{color:#90dce9!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style]:is([data-dark-style="midnight-original"],[data-dark-style="midnight"][data-background="twilight"]) #app :is(.brand img,.welcome-emblem img){filter:none!important;}
/* INFINITYMIND_THEME_RESTORE_V1_END */


/* INFINITYMIND_CLASSIC_CHARCOAL_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"]{--bg:#080808!important;--panel:#191919!important;--panel-soft:#111111!important;--panel-raised:#252525!important;--text:#eeeeee!important;--muted:#a6a6a6!important;--line:#343434!important;--cyan:#d3d3d3!important;--im-dark-input:#101010!important;--im-dark-control-border:#505050!important;--im-polish-glow:transparent!important;color-scheme:dark;background:#080808!important;color:var(--text)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] .ambient{opacity:0!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#app .shell,#app .main,#app .main-content,#app .chat-column,#app .chat-scroll,#app .welcome,#app .composer-wrap,#app .page){background:#080808!important;background-image:none!important;color:var(--text)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar{background:#171717!important;background-image:none!important;border-color:#343434!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .topbar{background:#151515!important;background-image:none!important;border-color:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .chat-toolbar{background:#0c0c0c!important;background-image:none!important;border-color:#262626!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .context-panel{background:#151515!important;background-image:none!important;border-color:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.settings-card,.resource-card,.selection-card,.agent-card,.connection-card,.activity-entry,.workspace-switch,.suggestion,.command-log,.run-execution,.trace-event,.assistant-record,.im-fg-node,.im-fg-details,.im-fo-stats article,.im-fo-finding,.im-fo-run,.im-findings-tldr,.goal-banner,.goal-disclosure,.im-run-update,.findings-diagnostics){background:#191919!important;background-image:none!important;border-color:#343434!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app :is(#composer,.goal-disclosure,.goal-banner,.command-log,.run-execution){background:#111111!important;background-image:none!important;border-color:#2b2b2b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#modal,#workspace-report){background:#171717!important;background-image:none!important;border-color:#3d3d3d!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.modal-header,.modal-body,.composer-footer,.run-controls,.command-details,.run-log-body,.trace-rows){background:transparent!important;border-color:var(--line)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([name="model"]),textarea,select:not(#composer-model):not(#agent-model):not([name="model"])){background:#101010!important;border-color:#4c4c4c!important;color:var(--text)!important;color-scheme:dark;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer #prompt{background:transparent!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #workspace-report .fc-actions button[type="submit"]{background:#303030!important;background-image:none!important;color:#f0f0f0!important;-webkit-text-fill-color:currentColor!important;border-color:#626262!important;box-shadow:inset 0 1px 0 #ffffff08!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #workspace-report .fc-actions button[type="submit"]:hover:not(:disabled){background:#3a3a3a!important;border-color:#8a8a8a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button):disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #workspace-report .fc-actions button[type="submit"]:disabled{background:#232323!important;color:#969696!important;border-color:#444444!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#382b24!important;border-color:#80684c!important;color:#f2d3aa!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.nav-button.active,.history-button.active,.reporting-tab.selected,.im-fo-tabs button[aria-selected="true"],.im-account-tabs button[aria-current="page"]){background:#303030!important;background-image:none!important;border-color:#6c6c6c!important;color:#f1f1f1!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.nav-button.active svg,.reporting-tab.selected svg){color:#e5e5e5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .nav-button.active::before{background:#d6d6d6!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.pill.connected,.im-credit-pill,.reporting-tab.im-findings-unread){background:#242424!important;border-color:#515151!important;color:#e3e3e3!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .im-credit-pill.im-credit-empty{background:#3a3023!important;border-color:#8f744c!important;color:#f2d5a5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app :is(.workspace-icon,.count,.badge,.message-avatar,.agent-avatar){background:#292929!important;border-color:#484848!important;color:#dedede!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .brand .brand-name, :root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .brand .brand-name>span{color:#e5e5e5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .brand img{filter:grayscale(1) brightness(.95)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(pre,.im-update-code,.tool-syntax-block){background:#0d0d0d!important;border-color:#313131!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .im-profile-menu>summary{background:#242424!important;border-color:#4b4b4b!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .im-profile-menu nav{background:#1d1d1d!important;border-color:#454545!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .im-profile-menu nav button:hover{background:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer .run-controls>small{color:#a6a6a6!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.dot.green,.im-findings-unread-dot,.im-activity-unread-dot,.im-progress-dot[data-status="completed"]){background:#71e3a5!important;box-shadow:0 0 0 3px #71e3a50e!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app :is(.command-log[data-status="completed"] .command-status,.connection-status:has(.dot.green)){color:#a4eac2!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(#composer-model,#agent-model,select[name="model"],.runtime-badge){background:#2b223c!important;border-color:#8970ad!important;color:#d8c3f5!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button) svg{color:#efefef!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .reporting-tab{background:transparent!important;background-image:none!important;border-color:transparent!important;color:#e3e3e3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .reporting-tab.im-findings-unread{background:#242424!important;border-color:#515151!important;color:#e3e3e3!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .brand .brand-name,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .brand .brand-name>span{color:#e5e5e5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .im-profile-menu nav{background:#1d1d1d!important;border-color:#454545!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .im-profile-menu nav button:hover{background:#303030!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app :is(.brand img,.welcome-emblem img){filter:grayscale(1) brightness(.92) contrast(1.05)!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .welcome-emblem{background:#0c0c0c!important;border-color:#242424!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .welcome-emblem::before,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .welcome-emblem::after{background:none!important;box-shadow:none!important;opacity:0!important;}
/* INFINITYMIND_CLASSIC_CHARCOAL_V1_END */


/* INFINITYMIND_CLASSIC_CHARCOAL_GREEN_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button,[data-workspace-action="goal-continue"],[data-workspace-action="goal-resume"]){background:linear-gradient(180deg,#247a53,#1b6242)!important;color:#f4fff8!important;-webkit-text-fill-color:currentColor!important;border-color:#4ba172!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button,[data-workspace-action="goal-continue"],[data-workspace-action="goal-resume"]):hover:not(:disabled){background:linear-gradient(180deg,#2b885d,#216e4a)!important;border-color:#8bd8a8!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button,[data-workspace-action="goal-continue"],[data-workspace-action="goal-resume"]):disabled{background:#293c32!important;color:#c1d1c6!important;border-color:#4c6958!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) :is(.primary,.new-chat,.send-button,[data-workspace-action="goal-continue"],[data-workspace-action="goal-resume"]) svg{color:inherit!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .send-button[data-action="stop"]{background:#382b24!important;border-color:#80684c!important;color:#f2d3aa!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="charcoal"]{
 --bg:#1d2229!important;--panel:#272e37!important;--panel-soft:#222830!important;--panel-raised:#303a45!important;
 --text:#f0f4f8!important;--muted:#b3becb!important;--line:#3c4653!important;--cyan:#9cbbcd!important;
 --im-dark-input:#191f26!important;--im-dark-control-border:#546171!important;--im-polish-glow:#709ca508!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="obsidian-classic"]{
 --bg:#1b1d22!important;--panel:#272a32!important;--panel-soft:#21242b!important;--panel-raised:#313640!important;
 --text:#f2f3f8!important;--muted:#bac1cf!important;--line:#3e4553!important;--cyan:#a2bcc9!important;
 --im-dark-input:#171b22!important;--im-dark-control-border:#586477!important;--im-polish-glow:#8897c40a!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="obsidian-white"]{
 --bg:#191b1e!important;--panel:#26292d!important;--panel-soft:#202327!important;--panel-raised:#30353c!important;
 --text:#f7f8fc!important;--muted:#bfc5cf!important;--line:#3e454f!important;--cyan:#e7edf6!important;
 --im-dark-input:#181c22!important;--im-dark-control-border:#586372!important;--im-polish-glow:#b6c4d008!important;
 color-scheme:dark;background:var(--bg)!important;color:var(--text)!important;
}
/* INFINITYMIND_CLASSIC_CHARCOAL_GREEN_V1_END */


/* INFINITYMIND_CHARCOAL_NEW_CONVERSATION_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .new-chat{background:#303030!important;background-image:none!important;border-color:#626262!important;color:#f0f0f0!important;-webkit-text-fill-color:currentColor!important;box-shadow:inset 0 1px 0 #ffffff08!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .new-chat:hover:not(:disabled){background:#3a3a3a!important;background-image:none!important;border-color:#8a8a8a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .new-chat:disabled{background:#232323!important;background-image:none!important;color:#969696!important;border-color:#444444!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .new-chat svg{color:inherit!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .new-chat kbd{background:#ffffff08!important;border-color:#ffffff18!important;color:#afb4b4!important;}
/* INFINITYMIND_CHARCOAL_NEW_CONVERSATION_V1_END */


/* INFINITYMIND_CHARCOAL_MATCHED_GREEN_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]{background:linear-gradient(180deg,#3f7a56,#306044)!important;border-color:#629f76!important;color:#f6fff9!important;-webkit-text-fill-color:currentColor!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #081b141a!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]:hover:not(:disabled){background:linear-gradient(180deg,#47865e,#376e4d)!important;border-color:#9dccab!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]:disabled{background:#293c32!important;color:#c1d1c6!important;border-color:#4c6958!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"] svg{color:#fff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]::before{background:#fff!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button[data-action="stop"]{background:#382b24!important;border-color:#80684c!important;color:#f2d3aa!important;}
/* INFINITYMIND_CHARCOAL_MATCHED_GREEN_V1_END */


/* INFINITYMIND_CHARCOAL_WHITE_CONTROLS_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer-model,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #agent-model,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app select[name="model"],:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app input[name="model"]{background:#2c2c2c!important;background-image:none!important;border-color:#c8c8c8!important;color:#f5f5f5!important;-webkit-text-fill-color:currentColor!important;box-shadow:inset 0 1px 0 #ffffff08!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer-model:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #agent-model:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app select[name="model"]:hover:not(:disabled),:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app input[name="model"]:hover:not(:disabled){background:#383838!important;background-image:none!important;border-color:#fff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"]:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer-model:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #agent-model:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app select[name="model"]:focus-visible,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app input[name="model"]:focus-visible{outline:2px solid #fff!important;outline-color:#fff!important;outline-offset:3px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer-model:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #agent-model:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app select[name="model"]:disabled,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app input[name="model"]:disabled{background:#222!important;background-image:none!important;color:#a6a6a6!important;border-color:#5c5c5c!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-continue"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app [data-workspace-action="goal-resume"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #composer-model svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app #agent-model svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app select[name="model"] svg,:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app input[name="model"] svg{color:#fff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .sidebar .nav-button.active[data-view="chat"]::before{background:#fff!important;box-shadow:none!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app .send-button[data-action="stop"]{background:#2c2c2c!important;background-image:none!important;border-color:#c8c8c8!important;color:#f5f5f5!important;-webkit-text-fill-color:currentColor!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #app :is(#composer-model,#agent-model,select[name="model"]) option{background:#242424!important;background-image:none!important;color:#f5f5f5!important;-webkit-text-fill-color:currentColor!important;}
/* INFINITYMIND_CHARCOAL_WHITE_CONTROLS_V1_END */


/* INFINITYMIND_CHARCOAL_GOAL_SAVE_WHITE_V1_BEGIN */
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #modal #workspace-goal-form button[type="submit"]{background:#2c2c2c!important;background-image:none!important;border-color:#c8c8c8!important;color:#f5f5f5!important;-webkit-text-fill-color:currentColor!important;box-shadow:inset 0 1px 0 #ffffff08!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #modal #workspace-goal-form button[type="submit"]:hover:not(:disabled){background:#383838!important;background-image:none!important;border-color:#fff!important;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #modal #workspace-goal-form button[type="submit"]:focus-visible{outline:2px solid #fff!important;outline-color:#fff!important;outline-offset:3px;}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] #modal #workspace-goal-form button[type="submit"]:disabled{background:#222!important;background-image:none!important;color:#a6a6a6!important;border-color:#5c5c5c!important;box-shadow:none!important;}
/* INFINITYMIND_CHARCOAL_GOAL_SAVE_WHITE_V1_END */


/* INFINITYMIND_FINDINGS_ANALYST_V1_BEGIN */
.im-analyst{margin:8px 0 22px;padding:0 0 18px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.im-analyst-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.im-analyst-label>small,.im-analyst-points>li>small{color:var(--muted);font-size:11px}
.im-analyst-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.im-analyst-controls>label:first-child{display:flex;flex:1 1 260px;gap:6px;flex-direction:column;font-size:12px;color:var(--muted)}
.im-analyst-controls select{max-width:100%;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);color:var(--text)}
.im-analyst-auto{display:flex;align-items:center;gap:7px;font-size:12px;min-height:36px}
.im-analyst-auto input{width:auto;margin:0}.im-analyst-controls button{white-space:nowrap}
:root[data-theme="dark"] body[data-dark-style][data-background][data-dark-style="classic-charcoal"] :is(#app,#modal,#workspace-report) .im-analyst-auto input[type="checkbox"]{accent-color:#eee!important}
.im-analyst-cost{font-size:11px!important;margin:8px 0 14px!important}.im-analyst-status{font-size:12px;color:var(--cyan)}
.im-analyst-headline{margin-top:14px!important}.im-analyst-points{padding-left:20px!important;display:block!important}
.im-analyst-points>li{display:list-item!important;margin:12px 0}.im-analyst-points p{margin:3px 0!important}
.im-analyst-evidence{display:flex;gap:8px;flex-wrap:wrap}.im-analyst-evidence button{font-size:11px;padding:3px 0;text-decoration:underline;text-underline-offset:3px}
.im-analyst-meta{font-size:11px!important}.im-analyst-next{font-size:12px;margin:10px 0}.im-analyst-next summary{cursor:pointer}
.im-analyst [data-analyst-error]:empty{display:none}.im-analyst-uncertainty{border-left:2px solid var(--line);padding-left:10px}
#workspace-report .im-analyst-controls{display:grid;grid-template-columns:1fr}#workspace-report .im-analyst-auto{min-height:24px}
@media(max-width:620px){.im-analyst-controls{display:grid;grid-template-columns:1fr}.im-analyst-controls>label:first-child{width:100%}}
/* INFINITYMIND_FINDINGS_ANALYST_V1_END */


/* INFINITYMIND_FINDINGS_OVERLAY_FIX_V1_BEGIN */
/* Keep graph controls below drawers and dialogs outside the graph. */
#app .im-fg-panel{isolation:isolate!important;}
/* INFINITYMIND_FINDINGS_OVERLAY_FIX_V1_END */


/* INFINITYMIND_SESSION_CONTEXT_TOGGLE_V1_BEGIN */
#app .context-panel[hidden],#app .im-context-reveal[hidden]{display:none!important}
#app .context-panel .im-context-hide{margin-left:auto;flex:0 0 28px;min-width:28px;width:28px;min-height:28px;height:28px;padding:4px;color:var(--text)}
:root[data-theme] body[data-dark-style][data-background] #app .context-panel .panel-heading .im-context-hide svg{width:15px;height:15px;color:var(--text)!important}
#app .im-context-reveal{display:flex;align-items:flex-start;justify-content:center;flex:0 0 38px;width:38px;min-width:0;border-left:1px solid var(--line);background:var(--panel);padding:20px 4px}
#app .im-context-reveal button{width:28px;min-width:28px;height:28px;min-height:28px;padding:4px;color:var(--text)}
#app .im-context-reveal svg{width:15px;height:15px;color:var(--text)!important;transform:rotate(180deg)}
#app .im-context-reveal button:focus-visible,#app .im-context-hide:focus-visible{outline:2px solid var(--text);outline-offset:2px}
#app .main-content:has(.im-fg-panel)>.im-context-reveal{display:none!important}
@media(max-width:1180px){#app .im-context-reveal{display:none!important}}
/* INFINITYMIND_SESSION_CONTEXT_TOGGLE_V1_END */


/* INFINITYMIND_FINDINGS_ASK_PANEL_V1_BEGIN */
.im-fo-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.im-fo-layout.im-fo-has-discussion{grid-template-columns:minmax(0,1fr) minmax(310px,360px)}
.im-fo-layout>#fo-panel{min-width:0}
.im-fo-discussion{position:sticky;top:16px;min-width:0;align-self:start}
.im-fo-discussion[hidden]{display:none!important}
.im-fo-discussion>[data-fo-discussion-host]{display:block;min-width:0;min-height:0}
.im-fo-discussion .fc-page{--fc-text:var(--text);--fc-muted:var(--muted);--fc-line:var(--line);display:block;gap:0;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);height:auto;min-height:0;overflow:hidden}
.im-fo-discussion .fc-launch{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:16px;border-bottom:1px solid var(--line);font-size:16px;font-weight:600;cursor:default}
.im-fo-discussion .fc-launch::-webkit-details-marker{display:none}
.im-fo-discussion .fc-launch small{font-size:10px;font-weight:400;color:var(--muted)}
.im-fo-discussion .fc-body{display:flex;flex:none;flex-direction:column;gap:9px;padding:14px;height:clamp(370px,calc(100dvh - 350px),650px);box-sizing:border-box;min-height:0;overflow:auto}
.im-fo-discussion .fc-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;flex:none}
.im-fo-discussion .fc-header select{width:68%;max-width:68%;min-width:0;min-height:34px;padding:5px 8px;font-size:12px}
:is(.im-fo-discussion,#workspace-report) .fc-prompts{display:flex;flex-wrap:wrap;gap:6px;flex:none}
:is(.im-fo-discussion,#workspace-report) .fc-prompts button{flex:1;white-space:nowrap;min-height:30px;padding:5px 8px;font-size:11px;border:1px solid var(--line);border-radius:7px;background:var(--panel-raised);color:var(--text)}
.im-fo-discussion .fc-history{flex:1 1 0;min-height:70px;max-height:none;overflow:auto;overflow-anchor:none}
.im-fo-discussion .fc-message{padding:9px 0;border-color:var(--line)}
.im-fo-discussion .fc-message>strong{font-size:11px}
.im-fo-discussion .fc-content,.im-fo-discussion .fc-empty{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.im-fo-discussion .fc-empty{color:var(--muted);margin:0}
.im-fo-discussion .fc-content pre{max-width:100%;max-height:180px;overflow:auto}
.im-fo-discussion .fc-content p{margin:6px 0}
.im-fo-discussion .fc-context{font-size:11px;color:var(--muted);flex:none}
.im-fo-discussion .fc-context summary{cursor:pointer}
.im-fo-discussion .fc-main-text,.im-fo-discussion .fc-notes{max-height:100px;overflow:auto;white-space:pre-wrap;font-size:11px}
.im-fo-discussion .fc-form{display:flex;flex:none;flex-direction:column;gap:8px;margin:0}
.im-fo-discussion .fc-share{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}
.im-fo-discussion .fc-share input{width:auto;flex:none}
.im-fo-discussion .fc-form textarea{width:100%;box-sizing:border-box;height:78px;min-height:70px;max-height:200px;resize:vertical;padding:10px;font-size:12px}
.im-fo-discussion .fc-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.im-fo-discussion .fc-actions small{font-size:10px;color:var(--muted)}
.im-fo-discussion .fc-actions button{font-size:12px;min-height:34px;padding:6px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel-raised);color:var(--text)}
.im-fo-discussion .fc-actions button:disabled{opacity:.45;cursor:not-allowed}
.im-fo-discussion .fc-error{font-size:12px;color:var(--red,#e5a6a6)}
.im-fo-discussion .fc-error:empty,.im-fo-discussion .fc-stop[hidden],.im-fo-discussion .fc-approval[hidden]{display:none!important}
.im-fo-discussion .fc-approval{font-size:11px;max-height:120px;overflow:auto}
.im-fo-layout .im-fo-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
@media(max-width:1200px){.im-fo-layout.im-fo-has-discussion{grid-template-columns:minmax(0,1fr)}.im-fo-discussion{position:static}.im-fo-discussion .fc-body{height:470px}}
@media(max-width:540px){.im-fo-layout{gap:18px}.im-fo-discussion .fc-launch{padding:14px}.im-fo-discussion .fc-body{padding:12px}.im-fo-layout .im-fo-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* INFINITYMIND_FINDINGS_ASK_PANEL_V1_END */


/* INFINITYMIND_FINDINGS_CHAT_RESIZE_V1_BEGIN */
#workspace-report.findings-with-chat>.im-fc-size-divider{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 18px;min-height:18px;margin:0 20px;color:var(--muted);cursor:row-resize;touch-action:none;user-select:none;outline:none}
#workspace-report>.im-fc-size-divider[hidden]{display:none!important}
#workspace-report>.im-fc-size-divider>span{width:38px;height:3px;background:var(--muted);border-radius:3px}
#workspace-report>.im-fc-size-divider>small{font-size:10px;line-height:1.2}
#workspace-report>.im-fc-size-divider:is(:hover,:focus-visible){color:var(--text)}
#workspace-report>.im-fc-size-divider:is(:hover,:focus-visible)>span{background:var(--text)}
#workspace-report>.im-fc-size-divider:focus-visible{outline:2px solid var(--text);outline-offset:-1px}
#workspace-report.findings-with-chat.im-fc-resizable>[data-findings-summary]{flex:1 1 0!important;min-height:0!important}
#workspace-report.findings-with-chat.im-fc-resizable>[data-findings-discussion]{display:block!important;flex:0 0 var(--im-fc-drawer-height)!important;height:var(--im-fc-drawer-height)!important;min-height:0!important;box-sizing:border-box;padding:0 20px 12px!important;overflow:hidden}
#workspace-report.im-fc-resizable .fc-optional{height:auto!important;max-height:none!important}
#workspace-report.im-fc-resizable .fc-optional>.fc-launch{height:40px;min-height:40px;cursor:row-resize;touch-action:none;user-select:none}
#workspace-report.im-fc-resizable .fc-optional[open]>.fc-body{height:calc(var(--im-fc-drawer-height) - 54px)!important;max-height:none!important;display:flex;flex-direction:column;box-sizing:border-box;min-height:0;overflow:auto}
#workspace-report.im-fc-resizable .fc-history{flex:1 1 0!important;min-height:70px!important;max-height:none!important;overflow:auto}
#workspace-report.im-fc-resizing{cursor:row-resize;user-select:none}
#workspace-report.im-fc-resizing>.im-fc-size-divider{color:var(--text)}
/* INFINITYMIND_FINDINGS_CHAT_RESIZE_V1_END */


/* INFINITYMIND_GOAL_REVIEW_STATE_V1_BEGIN */
.goal-banner.im-goal-state-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px}
.im-goal-state-card .im-goal-review-result{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);min-width:0}
.im-goal-review-summary small{display:block;margin-bottom:5px}
.im-goal-review-counts{color:var(--muted)}
.im-goal-review-attention,.im-goal-review-checks{margin-top:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}
.im-goal-review-result ul{margin:7px 0 0;padding-left:18px;font-size:12px;line-height:1.6}
.im-goal-review-result li{margin:7px 0;overflow-wrap:anywhere}
.im-goal-review-result li code,.im-goal-review-result li>span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
.im-goal-review-checks li>span{display:inline;font-size:10px;color:var(--muted);margin-right:8px}
.im-goal-review-result p{overflow-wrap:anywhere}
.im-goal-review-next>span{display:block;margin-top:5px}
.im-goal-review-continue{color:var(--muted)}
.im-goal-state-card .im-goal-review-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
/* INFINITYMIND_GOAL_REVIEW_STATE_V1_END */


/* INFINITYMIND_PASSWORD_AUTH_V1_BEGIN */
.im-password-auth{padding:22px 18px;min-height:100dvh;display:grid;place-items:center;background:var(--bg,#080808)}
.im-password-auth .im-login-card{width:100%;max-width:490px;padding:26px;background:var(--panel,#191919);border:1px solid var(--line,#343434);border-radius:20px}
.im-password-auth .im-login-brand{margin-bottom:18px}.im-password-auth .im-login-brand img{width:64px;height:40px}
.im-password-auth .im-login-description{margin-bottom:18px;font-size:13px}
.im-password-auth h1{font-size:30px;line-height:1.15;letter-spacing:-.04em;margin:12px 0}
.im-password-auth .form-stack{gap:12px}.im-password-auth input{min-height:44px}.im-password-auth label{font-size:13px}
.im-password-auth .im-auth-option{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}
.im-password-auth .im-auth-option input{width:16px;height:16px;min-height:0;flex:none;margin-top:3px;accent-color:var(--text)}
.im-auth-option small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:4px}
.im-password-auth .primary{width:100%;min-height:44px;background:#ededed;color:#171717;border:1px solid #fff;border-radius:10px;font-weight:600}
.im-password-auth .primary:hover{background:#fff}.im-password-auth .text-button{padding:2px 0;color:var(--text);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.im-auth-switch,.im-auth-links{font-size:12px;color:var(--muted);line-height:1.7;margin:18px 0 0}
.im-password-auth footer{font-size:10px;color:var(--muted);margin-top:16px;padding-top:14px}
.im-auth-notice{border:1px solid var(--line);border-radius:9px;padding:10px;font-size:12px;line-height:1.6}
#im-password-security{font-size:13px;line-height:1.65}#im-password-security label{margin-top:12px}
#im-password-security .form-stack{margin-top:18px}#im-password-security .text-button{margin-top:14px}
.im-auth-setup-key{display:block;overflow-wrap:anywhere;user-select:all;padding:12px;border:1px solid var(--line);border-radius:9px;font-family:ui-monospace,monospace;background:var(--bg);color:var(--text)}
.im-auth-recovery{white-space:pre-wrap;user-select:all;max-height:280px;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}
.im-auth-security-status{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.im-auth-security-status span{font-size:12px;color:var(--muted)}.im-auth-security-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.im-password-auth textarea{min-height:90px;resize:vertical}.im-auth-access-request{padding:16px 0;border-bottom:1px solid var(--line)}.im-auth-access-request header{display:flex;justify-content:space-between;gap:12px}.im-auth-access-request small{color:var(--muted);text-transform:capitalize}.im-auth-access-request p{font-size:12px;overflow-wrap:anywhere}.im-auth-access-reason{white-space:pre-wrap;line-height:1.6}.im-auth-manual-invite{padding-top:22px}.im-auth-access-requests .im-auth-security-actions{margin-top:12px}
@media(max-width:540px){.im-password-auth{padding:18px 12px}.im-password-auth .im-login-card{padding:24px 20px}.im-password-auth h1{font-size:27px}}
/* INFINITYMIND_PASSWORD_AUTH_V1_END */

/* INFINITYMIND_DASHBOARD_V1_BEGIN */
#app .im-dashboard{--id-green:#9bceaa;--id-purple:#aaa1d5;--id-amber:#dfbd7e;--id-red:#da9292;--id-soft:color-mix(in srgb,var(--text) 4%,var(--panel));--id-border:color-mix(in srgb,var(--text) 11%,var(--panel));width:100%;min-width:0;flex:1 1 0%;max-width:1500px;margin:0 auto;padding:30px 32px 48px;color:var(--text);font-size:13px;line-height:1.55}
:root[data-theme=light] #app .im-dashboard{--id-green:#397b55;--id-purple:#7762b1;--id-amber:#91691d;--id-red:#b04a4a}
#app .im-dashboard :is(h1,h2,h3,p){margin:0}#app .im-dashboard h1{font-size:29px;line-height:1.2;letter-spacing:-.9px;font-weight:600;margin:6px 0 8px}#app .im-dashboard h2{font-size:14px;line-height:1.4;font-weight:600;letter-spacing:-.15px}#app .im-dashboard h3{font-size:12px;font-weight:500}
#app .im-dashboard .id-header{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:20px}#app .im-dashboard .id-header p:not(.id-eyebrow){color:var(--muted);font-size:12px}#app .im-dashboard .id-eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted)}
#app .im-dashboard .id-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#app .im-dashboard .id-controls label{margin:0}#app .im-dashboard .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#app .im-dashboard :is(.id-controls select,.id-button){appearance:auto;border:1px solid var(--id-border)!important;border-radius:7px;background:var(--panel)!important;color:var(--text)!important;box-shadow:none!important;font:inherit;font-size:11px;padding:8px 11px;min-height:34px;width:auto;max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
#app .im-dashboard :is(.id-button,.id-link,.id-icon):hover{background:var(--id-soft)!important}#app .im-dashboard :is(button,select,summary):focus-visible{outline:2px solid var(--id-green)!important;outline-offset:3px}#app .im-dashboard button:disabled{opacity:.6;cursor:wait}
#app .im-dashboard :is(.id-link,.id-icon){background:transparent!important;border:0!important;box-shadow:none!important;color:var(--text)!important;padding:5px 0;font:inherit;font-size:11px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;text-align:left;border-radius:4px}#app .im-dashboard .id-icon{padding:5px}
#app .im-dashboard :is(button,div)>svg:not(.id-chart):not(.id-spark){width:14px;height:14px;flex:none}#app .im-dashboard .id-freshness{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:10px;margin-bottom:20px}#app .im-dashboard .id-freshness>span:last-child{margin-left:auto}
#app .im-dashboard :is(.id-card,.id-stat){min-width:0;border:1px solid var(--id-border)!important;border-radius:11px;background:var(--panel)!important;box-shadow:none!important;padding:22px}#app .im-dashboard .id-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}#app .im-dashboard .id-card-head p{font-size:10px;color:var(--muted);margin-top:5px}#app .im-dashboard .id-subtle{font-size:10px;color:var(--muted)}
#app .im-dashboard .id-hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-bottom:16px}#app .im-dashboard .id-kicker{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:500;color:var(--muted)}#app .im-dashboard .id-tag{font-size:9px;font-weight:400;border:1px solid var(--id-border);border-radius:20px;padding:2px 7px;color:var(--muted);margin-left:auto}
#app .im-dashboard .id-risk-main{display:flex;align-items:center;gap:22px;margin:22px 0}#app .im-dashboard .id-risk-main h2{font-size:19px;font-weight:500;margin-bottom:6px}#app .im-dashboard .id-risk-main p{font-size:11px;color:var(--muted);margin-bottom:5px}#app .im-dashboard .id-ring{display:grid;place-items:center;flex:0 0 93px;width:93px;height:93px;border-radius:50%;background:conic-gradient(currentColor var(--id-progress),var(--id-border) 0);position:relative}#app .im-dashboard .id-ring:before{content:'';position:absolute;inset:7px;background:var(--panel);border-radius:50%}#app .im-dashboard .id-ring>div{position:relative;display:grid;text-align:center;line-height:1.15}#app .im-dashboard .id-ring strong{font-size:31px;font-weight:500;letter-spacing:-1px;color:var(--text)}#app .im-dashboard .id-ring span{font-size:10px;color:var(--muted);margin-top:3px}
#app .im-dashboard .id-risk-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding-top:13px;border-top:1px solid var(--id-border)}#app .im-dashboard .id-risk-bars>div>span{font-size:9px;display:flex;align-items:center;gap:4px;color:var(--muted)}#app .im-dashboard .id-risk-bars strong{font-size:16px;display:block;font-weight:500;margin:7px 0}#app .im-dashboard .id-mini-track{height:3px;border-radius:4px;background:var(--id-border);overflow:hidden}#app .im-dashboard .id-mini-track i{height:100%;display:block;border-radius:inherit;background:currentColor}
#app .im-dashboard .id-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}#app .im-dashboard .id-green{color:var(--id-green);background-color:var(--id-green)}#app .im-dashboard .id-purple{color:var(--id-purple);background-color:var(--id-purple)}#app .im-dashboard .id-amber{color:var(--id-amber);background-color:var(--id-amber)}#app .im-dashboard .id-red{color:var(--id-red);background-color:var(--id-red)}#app .im-dashboard .id-muted{color:var(--muted);background-color:var(--muted)}#app .im-dashboard .id-ring,#app .im-dashboard .id-spark{background-color:transparent}
#app .im-dashboard .id-severity-critical,#app .im-dashboard .id-severity-high{color:var(--id-red)}#app .im-dashboard .id-severity-medium{color:var(--id-amber)}#app .im-dashboard .id-severity-low{color:var(--id-green)}#app .im-dashboard .id-severity-info{color:var(--id-purple)}#app .im-dashboard .id-severity-unrated{color:var(--muted)}
#app .im-dashboard .id-attention ul{padding:0;list-style:none;display:grid;gap:14px;margin:0 0 14px}#app .im-dashboard .id-attention li{display:flex;gap:10px;align-items:flex-start;font-size:11px}#app .im-dashboard .id-attention li>i{margin-top:6px}#app .im-dashboard .id-attention li strong{font-size:11px;font-weight:500;display:block}#app .im-dashboard .id-attention li span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
#app .im-dashboard .id-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}#app .im-dashboard .id-stat{padding:18px 20px}#app .im-dashboard .id-stat>strong{font-size:27px;line-height:1.2;display:block;overflow-wrap:anywhere;font-weight:500;letter-spacing:-.8px;margin:12px 0 7px}#app .im-dashboard .id-stat>p{font-size:10px;color:var(--muted);min-height:16px}#app .im-dashboard .id-spark{width:100%;height:28px;display:block;margin-top:14px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linejoin:round}#app .im-dashboard .id-spark-empty{height:28px;border-bottom:1px solid var(--id-border);margin-top:14px}
#app .im-dashboard .id-middle{display:grid;grid-template-columns:1.75fr 1fr;gap:16px;margin-bottom:16px}#app .im-dashboard .id-chart-total{display:flex;gap:10px;align-items:baseline;margin-bottom:20px}#app .im-dashboard .id-chart-total>strong{font-size:28px;font-weight:500;letter-spacing:-.8px}#app .im-dashboard .id-chart-total>span{font-size:10px;color:var(--muted)}#app .im-dashboard .id-legend{display:flex;gap:16px;margin-left:auto;flex-wrap:wrap}#app .im-dashboard .id-legend span{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}#app .im-dashboard .id-chart{display:block;width:100%;height:170px;stroke:none;fill:none}#app .im-dashboard .id-chart .id-chart-input{fill:var(--id-green)}#app .im-dashboard .id-chart .id-chart-output{fill:var(--id-purple)}#app .im-dashboard .id-gridline{stroke:var(--id-border);stroke-width:1;stroke-dasharray:3 5;fill:none}#app .im-dashboard .id-axis{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:8px}#app .im-dashboard .id-coverage{font-size:10px;color:var(--id-amber);margin-top:14px}#app .im-dashboard .id-breakdown{border:0;border-top:1px solid var(--id-border);border-radius:0;margin-top:18px;padding-top:12px}#app .im-dashboard .id-breakdown summary{font-size:10px;color:var(--muted);cursor:pointer}
#app .im-dashboard .id-outcome-total{display:flex;align-items:baseline;gap:10px}#app .im-dashboard .id-outcome-total strong{font-size:27px;font-weight:500}#app .im-dashboard .id-outcome-total span{font-size:10px;color:var(--muted)}#app .im-dashboard .id-outcome-bar{display:flex;overflow:hidden;height:7px;border-radius:6px;background:var(--id-border);margin:15px 0 17px}#app .im-dashboard .id-outcome-row{display:flex;justify-content:space-between;gap:12px;font-size:10px;margin:9px 0}#app .im-dashboard .id-outcome-row>span{display:flex;gap:8px;align-items:center;color:var(--muted)}#app .im-dashboard .id-outcome-row strong{font-weight:500}#app .im-dashboard .id-models{border-top:1px solid var(--id-border);padding-top:16px;margin-top:16px}#app .im-dashboard .id-models h3{margin-bottom:14px}#app .im-dashboard .id-models>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;margin-bottom:14px;font-size:10px}#app .im-dashboard .id-models>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}#app .im-dashboard .id-models .id-mini-track{grid-column:1/-1}
#app .im-dashboard .id-process{margin-bottom:16px}#app .im-dashboard .id-scroll{overflow-x:auto}#app .im-dashboard table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}#app .im-dashboard th{font-size:9px;font-weight:400;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);padding:0 12px 12px 0;white-space:nowrap}#app .im-dashboard td{border-top:1px solid var(--id-border);padding:13px 12px 13px 0;vertical-align:middle;min-width:85px}#app .im-dashboard td:first-child{min-width:180px;max-width:360px}#app .im-dashboard td>strong{display:block;font-size:11px;font-weight:500}#app .im-dashboard .id-table-note{display:block;color:var(--muted);font-size:10px;margin-top:3px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app .im-dashboard .id-nowrap{white-space:nowrap}#app .im-dashboard .id-small{font-size:10px;min-height:28px;padding:5px 8px}#app .im-dashboard .id-progress{min-width:110px;font-size:10px;color:var(--muted)}#app .im-dashboard .id-progress>.id-mini-track{margin-top:7px}
#app .im-dashboard .id-status{display:inline-flex;align-items:center;font-size:9px;line-height:1.4;padding:4px 7px;border:1px solid currentColor;border-radius:5px;white-space:nowrap;color:var(--muted)}#app .im-dashboard :is(.id-status-completed,.id-status-running,.id-status-low){color:var(--id-green)}#app .im-dashboard :is(.id-status-waiting_for_approval,.id-status-stopping,.id-status-medium){color:var(--id-amber)}#app .im-dashboard :is(.id-status-failed,.id-status-critical,.id-status-high){color:var(--id-red)}#app .im-dashboard .id-status-info{color:var(--id-purple)}
#app .im-dashboard .id-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}#app .im-dashboard .id-finding{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-top:1px solid var(--id-border)}#app .im-dashboard .id-finding>div{flex:1;min-width:0}#app .im-dashboard .id-finding strong{font-size:11px;font-weight:500}#app .im-dashboard .id-finding p{font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}#app .im-dashboard .id-credit-users>div{display:flex;gap:10px;align-items:center;border-top:1px solid var(--id-border);padding:13px 0;font-size:10px}#app .im-dashboard .id-avatar{display:grid;place-items:center;border-radius:8px;width:30px;height:30px;flex:none;background:var(--id-soft);border:1px solid var(--id-border);font-size:12px;color:var(--id-green)}#app .im-dashboard .id-credit-users>div>div{flex:1;min-width:0}#app .im-dashboard .id-credit-users strong{display:block;font-size:10px;font-weight:500;overflow-wrap:anywhere}#app .im-dashboard .id-credit-users small{display:block;color:var(--muted);font-size:9px;margin-top:3px}#app .im-dashboard .id-credit-users>div>span:last-child{text-align:right;white-space:nowrap}#app .im-dashboard .id-credit-note{font-size:10px;color:var(--muted);border-top:1px solid var(--id-border);padding-top:14px;margin-top:10px}
#app .im-dashboard .id-empty{font-size:11px;color:var(--muted);padding:24px 0;text-align:left}#app .im-dashboard .id-error{border:1px solid var(--id-amber);border-radius:8px;padding:12px 15px;font-size:12px;margin-bottom:16px;color:var(--id-amber)}#app .im-dashboard .id-notes{padding:10px 14px;border-left:2px solid var(--id-amber);font-size:10px;color:var(--muted);margin-bottom:16px}#app .im-dashboard .id-loading{padding:60px;text-align:center;color:var(--muted)}
@media(min-width:1600px){#app .im-dashboard{padding:36px 42px 60px}}@media(max-width:1150px){#app .im-dashboard{padding:24px 22px}#app .im-dashboard .id-header{align-items:flex-start;flex-direction:column;gap:16px}#app .im-dashboard .id-risk-bars{gap:7px}#app .im-dashboard .id-middle{grid-template-columns:1.5fr 1fr}#app .im-dashboard .id-card-head{flex-wrap:wrap}}
@media(max-width:850px){#app .im-dashboard .id-hero-grid,#app .im-dashboard .id-middle,#app .im-dashboard .id-bottom{grid-template-columns:1fr}#app .im-dashboard .id-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#app .im-dashboard .id-chart-total{flex-wrap:wrap}#app .im-dashboard .id-legend{margin-left:0}#app .im-dashboard .id-card{padding:18px}}
@media(max-width:480px){#app .im-dashboard{padding:20px 14px 36px}#app .im-dashboard .id-risk-main{gap:14px}#app .im-dashboard .id-ring{flex-basis:75px;width:75px;height:75px}#app .im-dashboard .id-ring strong{font-size:25px}#app .im-dashboard .id-risk-bars{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}#app .im-dashboard .id-stat{padding:16px 13px}#app .im-dashboard .id-stat>strong{font-size:23px}#app .im-dashboard .id-controls{gap:6px}#app .im-dashboard .id-controls select{max-width:150px;font-size:10px}#app .im-dashboard .id-freshness{flex-wrap:wrap}#app .im-dashboard .id-freshness>span:last-child{margin-left:0;width:100%}#app .im-dashboard .id-process td{font-size:10px}}
/* INFINITYMIND_DASHBOARD_V1_END */

/* INFINITYMIND_LIGHT_PROFILE_V1_BEGIN */
.im-profile-menu nav>.im-profile-identity{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;margin:0 0 6px;padding:10px;text-align:left;line-height:1.45;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text)}
.im-profile-menu nav>.im-profile-identity>strong{display:block;padding:0;font-size:13px;font-weight:600;color:inherit;overflow-wrap:anywhere}
.im-profile-menu nav>.im-profile-identity>small{display:block;padding:0;font-size:11px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
:root[data-theme="light"] #app .im-profile-menu nav{background:var(--panel,#fff)!important;color:var(--text,#14243a)!important;border:1px solid var(--line,#d8dfe8)!important;box-shadow:0 12px 36px #18273d24!important;max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain}
:root[data-theme="light"] #app .im-profile-menu nav button{appearance:none;-webkit-appearance:none;background:transparent!important;background-image:none!important;color:var(--text,#14243a)!important;-webkit-text-fill-color:currentColor!important;border:1px solid transparent!important;border-radius:8px;box-shadow:none!important;outline:none;transition:background-color .14s ease}
:root[data-theme="light"] #app .im-profile-menu nav button:hover:not(:disabled){background:color-mix(in srgb,var(--text,#14243a) 6%,var(--panel,#fff))!important}
:root[data-theme="light"] #app .im-profile-menu nav button:active:not(:disabled){background:color-mix(in srgb,var(--text,#14243a) 10%,var(--panel,#fff))!important}
:root[data-theme="light"] #app .im-profile-menu nav button:focus-visible{outline:2px solid var(--cyan,#087c90)!important;outline-offset:-2px}
:root[data-theme="light"] #app .im-profile-menu nav>.im-profile-identity>small{color:var(--muted,#596b82)!important;-webkit-text-fill-color:currentColor!important}
@media(prefers-reduced-motion:reduce){:root[data-theme="light"] #app .im-profile-menu nav button{transition:none}}
/* INFINITYMIND_LIGHT_PROFILE_V1_END */

/* INFINITYMIND_MENU_BLUE_HIGHLIGHT_V1_BEGIN */
@layer imMenuBlueHighlight {
 #app .im-profile-menu nav button:is(:hover,:focus-visible,:active,[aria-current="page"],[aria-selected="true"]):not(:disabled){background:color-mix(in srgb,var(--cyan,#88cbe8) 16%,transparent)!important;background-image:none!important;color:var(--text,#edf2fa)!important;-webkit-text-fill-color:currentColor!important;border-color:transparent!important;border-radius:8px!important;box-shadow:none!important}
 #app .im-profile-menu nav button:is(:hover,:focus-visible,:active,[aria-current="page"],[aria-selected="true"]):not(:disabled) :is(svg,strong,small,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}
 #app .im-profile-menu nav button:focus-visible{outline:2px solid var(--cyan,#88cbe8)!important;outline-offset:-2px!important}
}
/* INFINITYMIND_MENU_BLUE_HIGHLIGHT_V1_END */

/* INFINITYMIND_CONVERSATION_CONTROLS_V1_BEGIN */
@layer imConversationControls {
 #app .mobile-menu{display:inline-grid!important;flex:none;color:var(--muted)!important;border:1px solid var(--line)!important;background:transparent!important}
 #app .mobile-menu:hover{color:var(--text)!important;background:color-mix(in srgb,var(--cyan) 12%,transparent)!important}
 #app .history .im-history-item>.im-history-more{position:absolute!important;right:5px;top:50%;transform:translateY(-50%);z-index:1;display:grid!important;place-items:center;width:32px!important;height:32px!important;min-height:32px!important;padding:7px!important;border-radius:8px;color:var(--muted)!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important}
 #app .history .im-history-more svg{width:18px;height:18px}
 #app .history .im-history-more circle{fill:currentColor;stroke:none}
 #app .history .im-history-more:is(:hover,:focus-visible,[aria-expanded="true"]){background:color-mix(in srgb,var(--cyan) 16%,transparent)!important;color:var(--text)!important}
 #app .im-conversation-menu{position:fixed;inset:auto;margin:0;width:220px;padding:5px;border:1px solid var(--line)!important;border-radius:11px;background:var(--panel)!important;color:var(--text)!important;box-shadow:0 10px 32px #0003!important;overflow:visible}
 #app .im-conversation-menu::backdrop{background:transparent}
 #app .im-conversation-menu button{appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px;text-align:left;font-size:12px;border:1px solid transparent!important;border-radius:7px;background:transparent!important;color:var(--text)!important;box-shadow:none!important}
 #app .im-conversation-menu button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--cyan) 16%,transparent)!important;color:var(--text)!important}
 #app .im-conversation-menu button svg{width:16px;height:16px;color:inherit!important}
 #app :is(.mobile-menu,.im-history-more,.im-conversation-menu button):focus-visible{outline:2px solid var(--cyan)!important;outline-offset:-2px!important}
 #modal .im-conversation-delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
 @media(min-width:801px){#app .shell.im-sidebar-hidden{grid-template-columns:minmax(0,1fr)!important}#app .shell.im-sidebar-hidden>.sidebar{display:none!important}}
 @media(pointer:coarse){#app .history .im-history-item>.im-history-more{width:38px!important;height:38px!important}}
}
/* INFINITYMIND_CONVERSATION_CONTROLS_V1_END */

/* INFINITYMIND_FULL_HEIGHT_PANELS_V1_BEGIN */
@layer imFullHeightPanels {
 body:has(#app>.shell){height:100dvh!important;overflow:hidden!important}
 #app:has(>.shell){height:100dvh!important;min-height:0!important;overflow:hidden!important}
 #app>.shell{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important}
 #app .shell>.main{height:100%!important;min-height:0!important;overflow:hidden!important}
 #app .main>.main-content{flex:1 1 0%!important;min-height:0!important;overflow:hidden!important;align-items:stretch!important}
 #app .shell>.sidebar{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 #app .main-content>.context-panel{align-self:stretch!important;height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 #app .main-content>.im-context-reveal{align-self:stretch!important;height:100%!important;min-height:0!important}
 #app .main-content>.chat-column{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 #app .chat-column>.chat-scroll{min-height:min(140px,25dvh)!important}
 #app .chat-column>:is(.chat-toolbar,.composer-wrap){flex-shrink:0!important}
 #app .main-content>:is(.page,.im-findings-page,.im-dashboard){min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain}
}

/* INFINITYMIND_FULL_HEIGHT_PANELS_V1_END */

/* INFINITYMIND_FINDINGS_RIGHT_PANEL_V1_BEGIN */
@layer imFullHeightPanels {
 #app .im-findings-page .im-fo-discussion>[data-fo-discussion-host]{height:100%!important;min-height:0!important}
 #app .im-findings-page .im-fo-discussion .fc-page{width:100%!important;height:100%!important;min-height:0!important;box-sizing:border-box!important;margin:0!important;overflow:hidden!important}
 #app .im-findings-page .im-fo-discussion .fc-page>.fc-body{height:var(--im-fo-chat-body-height,calc(100% - 54px))!important;max-height:none!important;min-height:0!important;overflow-y:auto!important}
 @media(min-width:1001px){
  #app .main-content>.im-findings-page:has(.im-fo-has-discussion){display:grid!important;grid-template-columns:minmax(0,1fr) clamp(290px,28vw,360px)!important;grid-template-rows:auto auto minmax(0,1fr)!important;column-gap:24px!important;row-gap:0!important;height:100%!important;max-height:100%!important;min-height:0!important;padding:18px 24px!important;overflow:hidden!important}
  #app .im-findings-page:has(.im-fo-has-discussion)>.im-fo-page-header{grid-column:1!important;grid-row:1!important;min-width:0!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:16px!important}
  #app .im-findings-page:has(.im-fo-has-discussion)>.im-fo-tabs{grid-column:1!important;grid-row:2!important;min-width:0!important}
  #app .im-findings-page:has(.im-fo-has-discussion)>.im-fo-layout{display:contents!important}
  #app .im-findings-page .im-fo-has-discussion>#fo-panel{grid-column:1!important;grid-row:3!important;min-width:0!important;min-height:0!important;max-height:100%!important;overflow:auto!important;overscroll-behavior:contain;padding-right:8px!important}
  #app .im-findings-page .im-fo-has-discussion>.im-fo-discussion{grid-column:2!important;grid-row:1 / 4!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:100%!important;margin:0!important;align-self:stretch!important;position:static!important;overflow:hidden!important}
 }
 @media(max-width:1000px){
  #app .main-content>.im-findings-page:has(.im-fo-has-discussion){display:block!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:auto!important}
  #app .im-findings-page:has(.im-fo-has-discussion)>.im-fo-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;align-items:stretch!important}
  #app .im-findings-page .im-fo-has-discussion>#fo-panel{grid-column:auto!important;grid-row:auto!important;max-height:none!important;overflow:visible!important}
  #app .im-findings-page .im-fo-has-discussion>.im-fo-discussion{grid-column:auto!important;grid-row:auto!important;height:var(--im-fo-page-height,calc(100dvh - 110px))!important;min-height:0!important;max-height:none!important;align-self:stretch!important;position:static!important;overflow:hidden!important}
 }
}
/* INFINITYMIND_FINDINGS_RIGHT_PANEL_V1_END */

/* INFINITYMIND_FINDINGS_AGENT_TOGGLE_V1_BEGIN */
@layer imFullHeightPanels {
 #app .im-findings-page .im-fo-discussion.im-fo-collapsible{position:relative!important;inset:auto!important}
 #app .im-fo-discussion>.im-fo-agent-hide{position:absolute!important;top:12px;right:12px;z-index:2;display:grid!important;place-items:center;min-width:28px!important;width:28px!important;height:28px!important;min-height:28px!important;padding:4px!important;border:1px solid var(--line)!important;border-radius:7px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
 #app .im-fo-discussion>.im-fo-agent-hide svg{width:16px;height:16px;color:inherit!important}
 #app .im-fo-discussion>.im-fo-agent-hide:hover{color:var(--text)!important;background:color-mix(in srgb,var(--cyan) 16%,transparent)!important}
 #app .im-findings-page .im-fo-collapsible .fc-launch{padding-right:52px!important}
 #app .im-findings-page .im-fo-agent-show{justify-self:end;font-size:11px!important;min-height:28px!important;padding:4px 8px!important;border:1px solid var(--line)!important;border-radius:7px;background:transparent!important;color:var(--text)!important;box-shadow:none!important}
 #app .im-findings-page .im-fo-agent-show:hover{background:color-mix(in srgb,var(--cyan) 16%,transparent)!important}
 #app .im-findings-page :is(.im-fo-agent-show,.im-fo-agent-hide):focus-visible{outline:2px solid var(--cyan)!important;outline-offset:2px!important}
 #app .im-findings-page :is(.im-fo-agent-show,.im-fo-agent-hide)[hidden]{display:none!important}
 #app .main-content>.im-findings-page.im-fo-agent-collapsed{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:0!important;height:100%!important;max-height:100%!important;min-height:0!important;padding:18px 24px!important;overflow:hidden!important}
 #app .im-findings-page.im-fo-agent-collapsed>.im-fo-page-header{grid-column:1!important;grid-row:1!important;min-width:0!important}
 #app .im-findings-page.im-fo-agent-collapsed>.im-fo-tabs{grid-column:1!important;grid-row:2!important;min-width:0!important}
 #app .im-findings-page.im-fo-agent-collapsed>.im-fo-layout{display:contents!important}
 #app .im-findings-page.im-fo-agent-collapsed #fo-panel{grid-column:1!important;grid-row:3!important;min-height:0!important;max-height:100%!important;overflow:auto!important;overscroll-behavior:contain}
 @media(max-width:1000px){#app .main-content>.im-findings-page.im-fo-agent-collapsed{padding:22px 16px!important}}
 @media(max-width:780px){
  #app .im-findings-page .im-fo-header-tools:has(>.im-fo-agent-show:not([hidden]))>.im-fo-agent-show{grid-column:2!important;grid-row:1!important;margin-bottom:0!important}
  #app .im-findings-page .im-fo-header-tools:has(>.im-fo-agent-show:not([hidden]))>[data-fo-action="conversation"]{grid-column:2!important;grid-row:2!important;margin-bottom:0!important}
  #app .im-findings-page .im-fo-header-tools:has(>.im-fo-agent-show:not([hidden]))>.im-fo-conversation{grid-column:1!important;grid-row:1 / 3!important;min-width:0!important}
 }
}
/* INFINITYMIND_FINDINGS_AGENT_TOGGLE_V1_END */

/* INFINITYMIND_DASHBOARD_AI_RISK_V1_BEGIN */
/* INFINITYMIND_DASHBOARD_BACKGROUND_V2 */
#app .im-dashboard .id-sync-status{margin:-8px 0 20px;color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}
#app .im-dashboard .id-sync-error{color:var(--id-red)}
#app .im-dashboard .id-ai-basis{display:block;color:var(--muted);font-size:10px;line-height:1.55;margin-top:4px}
/* INFINITYMIND_DASHBOARD_AI_RISK_V1_END */

/* INFINITYMIND_MODEL_TRAINING_CSS_V1_BEGIN */
#app .main-content:has(>.im-training){display:block;min-height:0;overflow:auto}
#app .im-training{padding:32px;min-height:100%;box-sizing:border-box;color:var(--text);max-width:1900px;margin:0 auto}
.im-training h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:8px 0 10px}.im-training h2{font-size:17px;letter-spacing:-.3px;margin:0 0 7px}.im-training h3{font-size:16px;margin:16px 0 7px}.im-training p{font-size:12px;line-height:1.7;color:var(--muted);margin:5px 0 12px}.im-training a{color:var(--text);text-decoration:none;font-size:11px;display:inline-flex;align-items:center;gap:5px}.im-training a:hover{text-decoration:underline}.im-training svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.it-header{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:28px}.im-training .it-eyebrow{font-size:9px;letter-spacing:2.5px;color:var(--muted);margin:0}.it-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.it-button,.it-tabs button{font:inherit;font-size:11px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.it-button:hover,.it-tabs button:hover{background:color-mix(in srgb,var(--cyan) 9%,var(--panel))}.it-button:disabled{opacity:.5;cursor:default}.it-button[data-featured],.it-tabs button.selected{background:color-mix(in srgb,var(--cyan) 10%,var(--panel));border-color:color-mix(in srgb,var(--cyan) 50%,var(--line))}.im-training button:focus-visible,.im-training input:focus-visible,.im-training select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.it-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px}.it-stats>div{padding:17px 20px;border:1px solid var(--line);background:var(--panel);border-radius:12px;display:grid;gap:8px}.it-stats span{font-size:10px;color:var(--muted)}.it-stats strong{font-size:25px;line-height:1.3;font-weight:600}.it-stats .it-next strong{font-size:16px}.it-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:22px;overflow:auto}.it-tabs button{white-space:nowrap}.it-toolbar{display:flex;align-items:center;gap:16px;margin:0 0 22px}.it-search{display:flex;align-items:center;gap:10px;flex:1;max-width:420px;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:0 12px}.it-search input{border:0!important;background:transparent!important;padding:10px 0;min-width:0;width:100%;font-size:12px;color:var(--text)}.it-check{display:flex!important;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.it-check input{width:14px;min-height:14px;height:14px;margin:0;flex:none;accent-color:var(--cyan)}.it-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.it-section-head small{font-size:9px;color:var(--muted)}.it-section-head p{margin:0}.it-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.it-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:21px;min-width:0;display:flex;flex-direction:column;align-items:stretch}.it-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.it-badge,.it-tags span{display:inline-block;font-size:9px;padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted);width:fit-content}.it-status{font-size:9px;color:var(--muted)}.it-repo{font-size:10px!important;overflow-wrap:anywhere}.it-tags{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 12px}.it-notes{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}.it-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid var(--line);padding-top:14px;margin-top:auto;flex-wrap:wrap}.it-card-bottom>div{display:flex;gap:6px}.it-card-bottom button{padding:7px 9px;font-size:10px}.it-starters{margin-top:34px}.it-starter{background:color-mix(in srgb,var(--cyan) 3%,var(--panel))}.it-starter p{min-height:42px}.it-empty{grid-column:1/-1;border:1px dashed var(--line);padding:32px 24px;border-radius:12px;text-align:center;background:color-mix(in srgb,var(--panel) 40%,transparent)}.it-empty h3{margin-top:0}.it-empty button{margin:7px auto 0}.it-error{padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--text)!important}
.it-gpu-layout{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,2fr);gap:20px;align-items:start}.it-gpu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.it-featured{border-color:color-mix(in srgb,var(--cyan) 55%,var(--line));background:color-mix(in srgb,var(--cyan) 4%,var(--panel))}.im-training form{display:grid;gap:12px}.im-training form label{display:grid;gap:6px;font-size:11px;color:var(--muted)}.im-training form input,.im-training form select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:10px;width:100%;min-width:0;box-sizing:border-box;font:inherit}.it-memory{padding-top:22px;margin-top:20px;border-top:1px solid var(--line)}.it-memory>span:first-child{font-size:11px;color:var(--muted)}.it-memory>strong{display:block;font-size:36px;letter-spacing:-1px;margin:5px 0}.im-training .it-small{font-size:10px;line-height:1.7}.it-cost{margin-top:20px}.it-cost form{grid-template-columns:1fr 1fr auto auto;align-items:end}.it-cost output{font-size:23px;padding:6px}.it-cost h3{margin-top:0}.it-cost p:last-child{margin-bottom:0}.it-form-status{overflow-wrap:anywhere}#it-plan-form fieldset{border:1px solid var(--line);border-radius:8px;padding:14px;display:grid;gap:10px}#it-plan-form legend{font-size:12px;color:var(--muted)}#it-resource-form [hidden]{display:none!important}
@media(min-width:1550px){.it-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.it-gpu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1150px){.it-header{align-items:flex-start;flex-direction:column}.it-actions{justify-content:flex-start}.it-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.it-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.it-gpu-layout{grid-template-columns:1fr}.it-planner form{grid-template-columns:repeat(3,minmax(0,1fr))}.it-planner form button{grid-column:1/-1}}
@media(max-width:650px){.it-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#app .im-training{padding:22px 14px}.im-training h1{font-size:26px}.it-actions{width:100%}.it-actions .it-button{flex:1;padding:9px 10px}.it-stats{gap:7px}.it-stats>div{padding:13px 10px}.it-stats strong{font-size:23px}.it-grid,.it-gpu-grid{grid-template-columns:1fr}.it-toolbar{flex-wrap:wrap;gap:12px}.it-search{flex-basis:100%;max-width:none}.it-section-head{align-items:flex-start;flex-direction:column;gap:5px}.it-planner form{grid-template-columns:1fr}.it-cost form{grid-template-columns:1fr 1fr}.it-cost output{font-size:21px}.it-card{padding:18px}.it-tabs{gap:5px}.it-tabs button{padding:9px 10px}}
#app .shell:has(.im-training)>.sidebar[inert]{visibility:hidden;pointer-events:none}
.it-source-help{display:block;font-size:10px;color:var(--muted);margin-top:10px;line-height:1.6}
/* INFINITYMIND_MODEL_TRAINING_CSS_V1_END */
