/* East Coast CAD site agent — local ECCnew Blueprint (cyan, not signal red) */
#ecc-agent-root {
  --ecc-bg: #061018;
  --ecc-bg-2: #0a1822;
  --ecc-bg-3: #0e2030;
  --ecc-line: rgba(244, 241, 234, 0.12);
  --ecc-text: #f4f1ea;
  --ecc-muted: #9a948c;
  --ecc-accent: #2eb5e0;
  --ecc-accent-2: #6ed4f5;
  --ecc-accent-3: #1a8fb8;
  --ecc-cyan: #2eb5e0;
  /* Interactive text states — dark theme defaults (readable on navy) */
  --ecc-link-hover: #ffffff;
  --ecc-chip-hover-fg: #ffffff;
  --ecc-chip-hover-bg: rgba(46, 181, 224, 0.16);
  --ecc-focus-ring: rgba(110, 212, 245, 0.85);
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: auto;
  height: auto;
  pointer-events: none;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ecc-text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

#ecc-agent-root *,
#ecc-agent-root *::before,
#ecc-agent-root *::after {
  box-sizing: border-box;
}

#ecc-agent-root .ecc-hit {
  pointer-events: auto;
}

#ecc-agent-root iframe.ecc-hs-sink {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#ecc-agent-root .ecc-launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 50%;
  background: #0a1822;
  color: #e2e8f0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(6, 16, 24, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#ecc-agent-root .ecc-launcher:hover,
#ecc-agent-root .ecc-launcher:focus-visible {
  transform: translateY(-1px);
  background: #0e2030;
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 10px 26px rgba(6, 16, 24, 0.48);
  outline: 2px solid rgba(148, 163, 184, 0.65);
  outline-offset: 3px;
}

#ecc-agent-root .ecc-launcher svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#ecc-agent-root.is-open .ecc-launcher {
  display: none;
}

#ecc-agent-root .ecc-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
#ecc-agent-root .ecc-badge[hidden] {
  display: none !important;
}
#ecc-agent-root.is-open .ecc-badge {
  display: none !important;
}

#ecc-agent-root .ecc-panel {
  display: none;
  flex-direction: column;
  width: min(372px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid var(--ecc-line);
  border-radius: 16px;
  background: var(--ecc-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

#ecc-agent-root.is-open .ecc-panel {
  display: flex;
}

#ecc-agent-root .ecc-head {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--ecc-line);
  background: linear-gradient(180deg, #0a1822 0%, #061018 100%);
  position: relative;
  z-index: 3;
}

#ecc-agent-root .ecc-brand {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

#ecc-agent-root .ecc-sub {
  display: none;
}

#ecc-agent-root .ecc-phone {
  color: var(--ecc-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.25);
}

#ecc-agent-root .ecc-phone:hover,
#ecc-agent-root .ecc-phone:focus-visible {
  color: var(--ecc-link-hover);
  border-bottom-color: var(--ecc-accent-2);
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
}

#ecc-agent-root .ecc-close {
  flex: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ecc-line);
  border-radius: 999px;
  background: var(--ecc-bg-2);
  color: var(--ecc-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

#ecc-agent-root .ecc-close:hover,
#ecc-agent-root .ecc-close:focus-visible {
  border-color: rgba(46, 181, 224, 0.55);
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
}

#ecc-agent-root .ecc-log {
  flex: 1 1 auto;
  min-height: 120px;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ecc-bg);
}

#ecc-agent-root .ecc-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
}

#ecc-agent-root .ecc-msg p {
  margin: 0 0 8px;
}

#ecc-agent-root .ecc-msg p:last-child {
  margin-bottom: 0;
}

#ecc-agent-root .ecc-msg a {
  color: var(--ecc-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#ecc-agent-root .ecc-msg a:hover,
#ecc-agent-root .ecc-msg a:focus-visible {
  color: var(--ecc-link-hover);
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
}

#ecc-agent-root .ecc-msg-bot {
  align-self: flex-start;
  background: var(--ecc-bg-2);
  border: 1px solid var(--ecc-line);
  color: var(--ecc-text);
}

#ecc-agent-root .ecc-msg-user {
  align-self: flex-end;
  background: #07202b;
  border: 1px solid rgba(46, 181, 224, 0.4);
}

#ecc-agent-root .ecc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

#ecc-agent-root .ecc-chip {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(46, 181, 224, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--ecc-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

#ecc-agent-root .ecc-chip:hover,
#ecc-agent-root .ecc-chip:focus-visible {
  border-color: var(--ecc-cyan);
  color: var(--ecc-chip-hover-fg);
  background: var(--ecc-chip-hover-bg);
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
}


#ecc-agent-root .ecc-composer {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--ecc-line);
  background: var(--ecc-bg-2);
  position: relative;
  z-index: 2;
}

#ecc-agent-root .ecc-composer-input {
  flex: 1 1 auto;
  min-height: 38px;
  max-height: 88px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--ecc-line);
  border-radius: 10px;
  background: #061018;
  color: var(--ecc-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  resize: none;
}

#ecc-agent-root .ecc-composer-input:focus,
#ecc-agent-root .ecc-composer-input:focus-visible {
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 1px;
  border-color: var(--ecc-accent);
}

#ecc-agent-root .ecc-composer-send {
  flex: none;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(#6ed4f5 0%, #2eb5e0 55%, #1a8fb8 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(46, 181, 224, 0.32);
}

#ecc-agent-root .ecc-composer-send:hover,
#ecc-agent-root .ecc-composer-send:focus-visible {
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
  filter: brightness(1.06);
  color: #fff;
}

#ecc-agent-root .ecc-foot {
  display: none;
}

#ecc-agent-root .ecc-form {
  display: none;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 6px;
  padding: 6px 12px 8px;
  border-top: 1px solid var(--ecc-line);
  background: var(--ecc-bg-2);
  position: relative;
  z-index: 2;
  max-height: 42%;
  overflow: auto;
}

#ecc-agent-root.is-lead .ecc-form {
  display: grid;
}

#ecc-agent-root .ecc-form[hidden],
#ecc-agent-root.is-done .ecc-form {
  display: none;
}

#ecc-agent-root .ecc-form-title {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ecc-muted);
}

#ecc-agent-root .ecc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#ecc-agent-root .ecc-field {
  display: block;
  font-size: 12px;
  color: var(--ecc-muted);
}

#ecc-agent-root .ecc-field input,
#ecc-agent-root .ecc-field textarea {
  display: block;
  width: 100%;
  margin-top: 3px;
  padding: 6px 8px;
  border: 1px solid var(--ecc-line);
  border-radius: 8px;
  background: #061018;
  color: var(--ecc-text);
  font: inherit;
  font-size: 13px;
}

#ecc-agent-root .ecc-field input:focus,
#ecc-agent-root .ecc-field textarea:focus,
#ecc-agent-root .ecc-field input:focus-visible,
#ecc-agent-root .ecc-field textarea:focus-visible {
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 1px;
  border-color: var(--ecc-accent);
}

#ecc-agent-root .ecc-field textarea {
  min-height: 36px;
  resize: vertical;
}

#ecc-agent-root .ecc-lead-link {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ecc-cyan);
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

#ecc-agent-root .ecc-lead-link:hover,
#ecc-agent-root .ecc-lead-link:focus-visible {
  color: var(--ecc-link-hover);
  text-decoration-thickness: 2px;
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
}

#ecc-agent-root .ecc-submit {
  margin: 0 0 2px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(#6ed4f5 0%, #2eb5e0 55%, #1a8fb8 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(46, 181, 224, 0.32);
}

#ecc-agent-root .ecc-submit:hover,
#ecc-agent-root .ecc-submit:focus-visible {
  outline: 2px solid var(--ecc-focus-ring);
  outline-offset: 2px;
  filter: brightness(1.06);
  color: #fff;
}

#ecc-agent-root .ecc-foot {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--ecc-line);
  background: var(--ecc-bg);
  font-size: 12px;
  color: var(--ecc-muted);
}

@media (max-width: 420px) {
  #ecc-agent-root {
    right: 12px;
    bottom: 12px;
  }
  #ecc-agent-root .ecc-panel {
    width: min(100vw - 24px, 372px);
    max-height: calc(100vh - 24px);
  }
}

/* Page NAP: street / city+zip / phone each on their own line. */
.ecc-addr,
[data-ecc-addr] {
  display: block;
}
a.ecc-tel,
a.ecc-phone,
[data-ecc-tel] {
  display: block;
}
/* Keep in-sentence phones (hero, chat) inline. Footer p contains .ecc-addr. */
#ecc-agent-root a.ecc-phone,
p:not(:has(.ecc-addr)) a.ecc-tel,
p:not(:has(.ecc-addr)) a.ecc-phone,
p:not(:has(.ecc-addr)) [data-ecc-tel] {
  display: inline;
}

/* Real CAD sheet preview — white paper, natural 11x17 portrait, not the 4/3 green fake. */
.ecc-sheet-frame {
  background: #fff;
  aspect-ratio: 1650 / 2550;
}
.ecc-sheet-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

a.cta-primary.ecc-tel,
a.cta-primary[data-ecc-tel] {
  display: inline-flex !important;
}

footer a.ecc-tel,
footer a.ecc-phone,
footer [data-ecc-tel] {
  display: block;
}
footer .ecc-nap a[href^="mailto"] {
  display: block;
}
#ecc-agent-root .ecc-msg-typing {
  min-width: 3.2rem;
  padding-top: 12px;
  padding-bottom: 12px;
}
#ecc-agent-root .ecc-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 12px;
}
#ecc-agent-root .ecc-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ecc-cyan);
  opacity: 0.3;
  animation: ecc-dot 1.15s infinite ease-in-out;
}
#ecc-agent-root .ecc-dots i:nth-child(2) { animation-delay: 0.16s; }
#ecc-agent-root .ecc-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes ecc-dot {
  0%, 80%, 100% { opacity: 0.28; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}



/* Light mode: match crisp plan-sheet site (not forever-dark chat) */
html[data-scheme="light"] #ecc-agent-root,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root {
  --ecc-bg: #ffffff;
  --ecc-bg-2: #f7f9fc;
  --ecc-bg-3: #eef3f7;
  --ecc-line: rgba(15, 23, 42, 0.12);
  --ecc-text: #0f172a;
  --ecc-muted: #475569;
  --ecc-accent: #1a8fb8;
  --ecc-accent-2: #2eb5e0;
  --ecc-accent-3: #147394;
  --ecc-cyan: #1a8fb8;
  /* Interactive text states — light theme (never white-on-white) */
  --ecc-link-hover: #147394;
  --ecc-chip-hover-fg: #0f172a;
  --ecc-chip-hover-bg: rgba(46, 181, 224, 0.14);
  --ecc-focus-ring: rgba(26, 143, 184, 0.75);
}
@media (prefers-color-scheme: light) {
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root {
    --ecc-bg: #ffffff;
    --ecc-bg-2: #f7f9fc;
    --ecc-bg-3: #eef3f7;
    --ecc-line: rgba(15, 23, 42, 0.12);
    --ecc-text: #0f172a;
    --ecc-muted: #475569;
    --ecc-accent: #1a8fb8;
    --ecc-accent-2: #2eb5e0;
    --ecc-accent-3: #147394;
    --ecc-cyan: #1a8fb8;
    --ecc-link-hover: #147394;
    --ecc-chip-hover-fg: #0f172a;
    --ecc-chip-hover-bg: rgba(46, 181, 224, 0.14);
    --ecc-focus-ring: rgba(26, 143, 184, 0.75);
  }
}
html[data-scheme="light"] #ecc-agent-root .ecc-launcher,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-launcher {
  background: #0a1822;
  color: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.35);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
}
html[data-scheme="light"] #ecc-agent-root .ecc-head,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-head {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
html[data-scheme="light"] #ecc-agent-root .ecc-panel,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-panel {
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}
html[data-scheme="light"] #ecc-agent-root .ecc-msg-user,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-msg-user {
  background: #e8f6fb;
  border-color: rgba(26, 143, 184, 0.4);
  color: #0f172a;
}
html[data-scheme="light"] #ecc-agent-root .ecc-composer-input,
html[data-scheme="light"] #ecc-agent-root .ecc-field input,
html[data-scheme="light"] #ecc-agent-root .ecc-field textarea,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-composer-input,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-field input,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-field textarea {
  background: #ffffff;
  color: #0f172a;
}
html[data-scheme="light"] #ecc-agent-root .ecc-chip:hover,
html[data-scheme="light"] #ecc-agent-root .ecc-chip:focus-visible,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-chip:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-chip:focus-visible {
  color: #0f172a;
}
html[data-scheme="light"] #ecc-agent-root .ecc-composer-send,
html[data-scheme="light"] #ecc-agent-root .ecc-submit,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-composer-send,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-submit {
  color: #fff;
}
@media (prefers-color-scheme: light) {
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-launcher {
    background: #0a1822;
    color: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.35);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-head {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-panel {
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-msg-user {
    background: #e8f6fb;
    border-color: rgba(26, 143, 184, 0.4);
    color: #0f172a;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-composer-input,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-field input,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-field textarea {
    background: #ffffff;
    color: #0f172a;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-chip:hover,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-chip:focus-visible {
    color: #0f172a;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-composer-send,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-submit {
    color: #fff;
  }
}


/* Light mode: never fade links/chips to white on hover */
html[data-scheme="light"] #ecc-agent-root .ecc-lead-link:hover,
html[data-scheme="light"] #ecc-agent-root .ecc-lead-link:focus-visible,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-lead-link:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-lead-link:focus-visible {
  color: #147394;
  text-decoration-thickness: 2px;
}
html[data-scheme="light"] #ecc-agent-root .ecc-phone:hover,
html[data-scheme="light"] #ecc-agent-root .ecc-phone:focus-visible,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-phone:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-phone:focus-visible {
  color: #147394;
  border-bottom-color: #1a8fb8;
}
html[data-scheme="light"] #ecc-agent-root .ecc-msg a:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-msg a:hover {
  color: #147394;
}
html[data-scheme="light"] #ecc-agent-root .ecc-chip:hover,
html[data-scheme="light"] #ecc-agent-root .ecc-chip:focus-visible,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-chip:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-chip:focus-visible {
  color: #0f172a;
  background: rgba(46, 181, 224, 0.12);
  border-color: #1a8fb8;
}
html[data-scheme="light"] #ecc-agent-root .ecc-close:hover,
html[data-scheme="light"] #ecc-agent-root .ecc-close:focus-visible,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-close:hover,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-close:focus-visible {
  color: #0f172a;
  border-color: rgba(26, 143, 184, 0.55);
  background: #eef3f7;
}
@media (prefers-color-scheme: light) {
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-lead-link:hover,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-lead-link:focus-visible {
    color: #147394;
    text-decoration-thickness: 2px;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-phone:hover,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-phone:focus-visible {
    color: #147394;
    border-bottom-color: #1a8fb8;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-msg a:hover {
    color: #147394;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-chip:hover,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-chip:focus-visible {
    color: #0f172a;
    background: rgba(46, 181, 224, 0.12);
    border-color: #1a8fb8;
  }
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-close:hover,
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-close:focus-visible {
    color: #0f172a;
    border-color: rgba(26, 143, 184, 0.55);
    background: #eef3f7;
  }
}


/* Forced dark scheme — keep bright link/chip hovers on navy */
html[data-scheme="dark"] #ecc-agent-root,
html[data-theme="blueprint"][data-scheme="dark"] #ecc-agent-root {
  --ecc-bg: #061018;
  --ecc-bg-2: #0a1822;
  --ecc-bg-3: #0e2030;
  --ecc-line: rgba(244, 241, 234, 0.12);
  --ecc-text: #f4f1ea;
  --ecc-muted: #9a948c;
  --ecc-accent: #2eb5e0;
  --ecc-accent-2: #6ed4f5;
  --ecc-accent-3: #1a8fb8;
  --ecc-cyan: #2eb5e0;
  --ecc-link-hover: #ffffff;
  --ecc-chip-hover-fg: #ffffff;
  --ecc-chip-hover-bg: rgba(46, 181, 224, 0.16);
  --ecc-focus-ring: rgba(110, 212, 245, 0.85);
}
html[data-scheme="dark"] #ecc-agent-root .ecc-composer-input,
html[data-scheme="dark"] #ecc-agent-root .ecc-field input,
html[data-scheme="dark"] #ecc-agent-root .ecc-field textarea,
html[data-theme="blueprint"][data-scheme="dark"] #ecc-agent-root .ecc-composer-input,
html[data-theme="blueprint"][data-scheme="dark"] #ecc-agent-root .ecc-field input,
html[data-theme="blueprint"][data-scheme="dark"] #ecc-agent-root .ecc-field textarea {
  background: #061018;
  color: #f4f1ea;
}


html[data-scheme="light"] #ecc-agent-root .ecc-close,
html[data-theme="blueprint"][data-scheme="light"] #ecc-agent-root .ecc-close {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
}
@media (prefers-color-scheme: light) {
  html[data-theme="blueprint"]:not([data-scheme="dark"]) #ecc-agent-root .ecc-close {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
  }
}
