/* ========================================================================
   SYNAPSE mono redesign
   Noir, blanc, peu de texte, visuels fournis en arriere-plan.
   ======================================================================== */

.mono-redesign {
  --black: #000;
  --graphite: #000;
  --graphite-2: #050505;
  --graphite-3: #080808;
  --line: rgba(255,255,255,.18);
  --line-strong: rgba(255,255,255,.3);
  --text-2: rgba(255,255,255,.62);
  --text-3: rgba(255,255,255,.4);
  --white: #fff;
  --accent-blue: #fff;
  --accent-amber: #fff;
  --accent-mil: #fff;
  --accent-warn: #fff;
  --accent-bad: #fff;
  --accent-good: #fff;
  --mono-1: rgba(255,255,255,.92);
  --mono-2: rgba(255,255,255,.64);
  --mono-3: rgba(255,255,255,.36);
  --mono-line: rgba(255,255,255,.18);
  --mono-soft: rgba(255,255,255,.055);
  background: #000 !important;
  color: #fff;
}

.mono-redesign * {
  letter-spacing: 0;
}

.mono-redesign .bg-grid,
.mono-redesign .bg-vignette,
.mono-redesign .page-3d-canvas,
.mono-redesign .why-canvas,
.mono-redesign .why-3d-canvas {
  display: none !important;
}

.mono-redesign .bg-grain {
  opacity: .22;
  mix-blend-mode: screen;
}

.mono-visual-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.mono-visual-bg img {
  position: absolute;
  inset: auto;
  width: min(76vw, 980px);
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  filter: grayscale(1) contrast(1.22) brightness(.92);
  opacity: .22;
  transform-origin: center;
  will-change: transform, opacity;
}

.mono-visual-bg .mono-bg-primary {
  right: clamp(1rem, 5vw, 6rem);
  top: 12vh;
  animation: mono-drift 18s ease-in-out infinite alternate;
}

.mono-visual-bg .mono-bg-secondary {
  left: clamp(1rem, 4vw, 4rem);
  bottom: 6vh;
  width: min(58vw, 720px);
  max-height: 54vh;
  opacity: .1;
  animation: mono-float 22s ease-in-out infinite alternate;
}

.mono-redesign[data-mono-page="protocol"] .mono-bg-primary,
.mono-redesign[data-mono-page="lost"] .mono-bg-primary {
  right: clamp(1rem, 7vw, 8rem);
  top: 16vh;
  max-height: 70vh;
}

.mono-redesign[data-mono-page="cases"] .mono-bg-primary {
  right: clamp(1rem, 5vw, 5rem);
  top: 14vh;
  max-width: min(70vw, 1040px);
}

.mono-redesign[data-mono-page="contact"] .mono-bg-primary {
  right: clamp(3rem, 14vw, 16rem);
  top: 24vh;
  width: min(46vw, 520px);
}

.mono-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 64% 40%, rgba(255,255,255,.08), transparent 28rem),
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.92) 34%, rgba(0,0,0,.62) 64%, #000 100%),
    linear-gradient(180deg, rgba(0,0,0,.2), #000 86%);
  z-index: 2;
}

.mono-visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .14;
  mask-image: radial-gradient(ellipse at 60% 45%, #000, transparent 72%);
}

.mono-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.08) 50%, transparent 100%);
  height: 18vh;
  transform: translateY(-24vh);
  opacity: .18;
  animation: mono-scan 7.5s linear infinite;
}

.mono-redesign .site-header {
  z-index: 50;
  height: 72px;
  background: rgba(0,0,0,.72);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(22px);
}

.mono-redesign .logo-text {
  color: #fff;
  letter-spacing: .42em;
}

.mono-redesign .logo-line,
.mono-redesign .logo-dot,
.mono-redesign .status-dot {
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.55);
}

.mono-redesign .site-nav {
  gap: clamp(1rem, 2vw, 2.1rem);
}

.mono-redesign .site-nav a,
.mono-redesign .header-actions a,
.mono-redesign .btn {
  color: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.18);
}

.mono-redesign .site-nav a:hover,
.mono-redesign .site-nav a.active {
  color: #fff;
}

.mono-redesign .header-actions .status-pill {
  display: none;
}

.mono-redesign .btn,
.mono-redesign button,
.mono-redesign input,
.mono-redesign textarea,
.mono-redesign select {
  border-radius: 0;
}

.mono-redesign .btn-primary,
.mono-redesign .auth-submit,
.mono-redesign [data-run-transfer],
.mono-redesign [data-demo-run],
.mono-redesign [data-add-doc],
.mono-redesign [data-add-beneficiary],
.mono-redesign [data-add-agent],
.mono-redesign [data-add-received] {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.mono-redesign .btn-outline,
.mono-redesign .btn-ghost {
  background: rgba(0,0,0,.42);
  color: #fff;
}

.mono-static main {
  position: relative;
  z-index: 6;
}

.mono-page {
  min-height: 100vh;
  padding-top: 72px;
  animation: mono-page-enter .72s var(--ease) both;
}

.mono-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(5rem, 10vh, 9rem) clamp(1.2rem, 6vw, 5.5rem) clamp(3rem, 8vh, 6rem);
}

.mono-copy {
  max-width: 760px;
  animation: mono-copy-enter .86s var(--ease) .08s both;
}

.mono-kicker,
.mono-label,
.mono-stat span,
.mono-step span,
.mono-visual-label {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: .28em;
  color: rgba(255,255,255,.5);
}

.mono-kicker {
  margin: 0 0 1.4rem;
  font-size: .68rem;
}

.mono-title {
  margin: 0;
  max-width: min(100%, 11ch);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: clamp(4rem, 8.7vw, 8.6rem);
  font-weight: 300;
  line-height: .92;
  overflow-wrap: normal;
}

.mono-lead {
  margin: 1.5rem 0 0;
  max-width: 610px;
  color: rgba(255,255,255,.68);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.45;
}

.mono-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.mono-actions .btn {
  min-height: 48px;
  padding: 0 1.2rem;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mono-panel {
  align-self: center;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 110px rgba(0,0,0,.72);
  animation: mono-panel-in .8s var(--ease) both;
}

.mono-panel-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.mono-panel-head span {
  padding: 1.1rem;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mono-panel-head span + span {
  border-left: 1px solid rgba(255,255,255,.16);
}

.mono-process {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.mono-process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .38;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.mono-process::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: .75;
  animation: mono-breathe 4.4s ease-in-out infinite;
}

.mono-process-track {
  width: min(92%, 590px);
  display: grid;
  grid-template-columns: minmax(64px, 1fr) 42px minmax(64px, 1fr) 42px minmax(64px, 1fr) 42px minmax(64px, 1fr);
  align-items: center;
  gap: 0;
}

.mono-process-node {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .5rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.5);
  box-shadow: inset 0 0 44px rgba(255,255,255,.035);
  overflow: hidden;
}

.mono-process-node b {
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mono-process-node small {
  max-width: 11ch;
  color: rgba(255,255,255,.46);
  font-family: var(--ff-mono);
  font-size: .54rem;
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.mono-node-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: block;
}

.mono-node-mark::before,
.mono-node-mark::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.mono-node-data::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    -16px -10px 0 rgba(255,255,255,.82),
    16px -10px 0 rgba(255,255,255,.82),
    -16px 12px 0 rgba(255,255,255,.62),
    16px 12px 0 rgba(255,255,255,.62),
    0 18px 0 rgba(255,255,255,.45);
  animation: mono-data-pulse 2.2s ease-in-out infinite;
}

.mono-node-agents::before,
.mono-node-agents::after {
  width: 21px;
  height: 21px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #000;
}

.mono-node-agents::before {
  margin-left: -11px;
  animation: mono-agent-left 2.4s ease-in-out infinite;
}

.mono-node-agents::after {
  margin-left: 11px;
  animation: mono-agent-right 2.4s ease-in-out infinite;
}

.mono-node-contract::before {
  width: 38px;
  height: 46px;
  border: 1px solid #fff;
  background:
    linear-gradient(to bottom, transparent 28%, rgba(255,255,255,.55) 29% 30%, transparent 31% 48%, rgba(255,255,255,.45) 49% 50%, transparent 51% 68%, rgba(255,255,255,.35) 69% 70%, transparent 71%);
  animation: mono-contract-glow 2.8s ease-in-out infinite;
}

.mono-node-output::before {
  width: 42px;
  height: 30px;
  border: 1px solid #fff;
  background:
    linear-gradient(to right, #fff 0 16%, transparent 17% 100%),
    linear-gradient(to bottom, transparent 0 26%, rgba(255,255,255,.58) 27% 30%, transparent 31% 58%, rgba(255,255,255,.36) 59% 62%, transparent 63%);
  animation: mono-output-reveal 2.4s ease-in-out infinite;
}

.mono-process-link {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,.24);
  overflow: visible;
}

.mono-process-link::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.7);
  animation: mono-packet 2.6s var(--ease) infinite;
}

.mono-process-link.link-b::before { animation-delay: .35s; }
.mono-process-link.link-c::before { animation-delay: .7s; }

.mono-process-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  color: rgba(255,255,255,.45);
  font-family: var(--ff-mono);
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mono-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.16);
}

.mono-stat {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: .45rem;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.16);
}

.mono-stat:last-child {
  border-right: 0;
}

.mono-stat strong {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
}

.mono-stat span {
  font-size: .58rem;
}

.mono-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
}

.mono-step {
  min-height: 38vh;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border-right: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.34);
}

.mono-step:last-child {
  border-right: 0;
}

.mono-step h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 300;
  line-height: .95;
}

.mono-step p {
  margin: 0;
  max-width: 30ch;
  color: rgba(255,255,255,.58);
  line-height: 1.45;
}

.mono-visual-tile {
  position: relative;
  min-height: 48vh;
  border-top: 1px solid rgba(255,255,255,.16);
  overflow: hidden;
  background: #000;
}

.mono-visual-tile img {
  width: 100%;
  height: 100%;
  min-height: 48vh;
  object-fit: contain;
  padding: clamp(1rem, 5vw, 4rem);
  filter: grayscale(1) contrast(1.18);
  opacity: .68;
  animation: mono-drift 24s ease-in-out infinite alternate;
}

.mono-visual-label {
  position: absolute;
  left: clamp(1.2rem, 5vw, 5rem);
  bottom: clamp(1.2rem, 4vw, 3.5rem);
  font-size: .72rem;
  color: rgba(255,255,255,.72);
}

.mono-final {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 8vw, 7rem) 1.2rem;
  text-align: center;
}

.mono-final h2 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 300;
  line-height: .94;
}

.mono-final p {
  margin: 1.3rem auto 0;
  max-width: 46ch;
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
}

.mono-redesign .site-footer {
  position: relative;
  z-index: 6;
  border-top: 1px solid rgba(255,255,255,.16);
  background: #000 !important;
}

.mono-footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 6vw, 5.5rem);
}

.mono-footer p {
  margin: .9rem 0 0;
  color: rgba(255,255,255,.56);
}

.mono-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mono-footer a {
  color: rgba(255,255,255,.66);
}

.mono-footer a:hover {
  color: #fff;
}

.mono-functional main,
.dashboard-body.mono-redesign .dash-root {
  position: relative;
  z-index: 6;
  filter: grayscale(1) contrast(1.05);
}

.mono-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  filter: blur(8px);
}

.mono-reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.mono-functional .subhero,
.mono-functional .demo-landing {
  min-height: 64vh;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.mono-functional .demo-title,
.mono-functional .subhero-title,
.dashboard-body.mono-redesign .auth-title {
  color: #fff;
  font-weight: 300;
}

.mono-functional .demo-subtext,
.mono-functional .section-lede,
.mono-functional .subhero-sub,
.dashboard-body.mono-redesign .auth-copy {
  color: rgba(255,255,255,.62);
}

.mono-redesign .section,
.mono-redesign .dash-card,
.mono-redesign .simple-card,
.mono-redesign .simple-negotiate,
.mono-redesign .simple-output,
.mono-redesign .auth-panel,
.mono-redesign .dash-shell,
.mono-redesign .dash-sidebar,
.mono-redesign .dash-topbar {
  border-color: rgba(255,255,255,.16) !important;
  background: rgba(0,0,0,.58) !important;
  box-shadow: none !important;
}

.mono-redesign input,
.mono-redesign textarea,
.mono-redesign select {
  background: #000 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.2) !important;
}

.mono-redesign input::placeholder,
.mono-redesign textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.mono-redesign .dash-nav button,
.mono-redesign .auth-tab,
.mono-redesign .filter-chip,
.mono-redesign .scenario-btn {
  background: #000 !important;
  color: rgba(255,255,255,.68) !important;
  border-color: rgba(255,255,255,.15) !important;
}

.mono-redesign .dash-nav button.active,
.mono-redesign .auth-tab.active,
.mono-redesign .filter-chip.active,
.mono-redesign .scenario-btn.active {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.mono-redesign .section-title,
.mono-redesign .dash-view-title,
.mono-redesign .dash-card h3,
.mono-redesign .simple-card h2,
.mono-redesign .simple-output h2 {
  color: #fff;
}

.mono-redesign .section-title {
  font-weight: 300;
}

@keyframes mono-drift {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(-3vw, 2vh, 0) scale(1.12); }
}

@keyframes mono-float {
  from { transform: translate3d(0, 0, 0) rotate(-1deg) scale(1.06); }
  to { transform: translate3d(4vw, -3vh, 0) rotate(1deg) scale(1.16); }
}

@keyframes mono-scan {
  0% { transform: translateY(-24vh); }
  100% { transform: translateY(110vh); }
}

@keyframes mono-breathe {
  0%, 100% { transform: scale(.94); opacity: .72; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes mono-line-sweep {
  from { transform: rotate(48deg) translateX(-16px); opacity: .24; }
  to { transform: rotate(72deg) translateX(16px); opacity: .55; }
}

@keyframes mono-page-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mono-copy-enter {
  from { opacity: 0; transform: translateY(26px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes mono-packet {
  0% { transform: translateX(0) scale(.8); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateX(42px) scale(1.04); opacity: 0; }
}

@keyframes mono-packet-y {
  0% { transform: translateY(0) scale(.8); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateY(34px) scale(1.04); opacity: 0; }
}

@keyframes mono-data-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.88); opacity: .55; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

@keyframes mono-agent-left {
  0%, 100% { transform: translate(-50%, -50%) translateX(-5px); }
  50% { transform: translate(-50%, -50%) translateX(4px); }
}

@keyframes mono-agent-right {
  0%, 100% { transform: translate(-50%, -50%) translateX(5px); }
  50% { transform: translate(-50%, -50%) translateX(-4px); }
}

@keyframes mono-contract-glow {
  0%, 100% { box-shadow: inset 0 0 0 rgba(255,255,255,0), 0 0 0 rgba(255,255,255,0); }
  50% { box-shadow: inset 0 0 22px rgba(255,255,255,.12), 0 0 28px rgba(255,255,255,.18); }
}

@keyframes mono-output-reveal {
  0%, 100% { clip-path: inset(0 24% 0 0); opacity: .62; }
  50% { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes mono-panel-in {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .mono-redesign .site-header {
    height: 76px;
  }

  .mono-redesign .site-nav {
    background: #000;
    border-left: 1px solid rgba(255,255,255,.16);
  }

  .mono-redesign .nav-toggle {
    border-color: rgba(255,255,255,.2);
  }

  .mono-redesign .nav-toggle span {
    background: #fff;
  }

  .mono-visual-bg .mono-bg-primary {
    right: 1rem;
    top: 16vh;
    width: 92vw;
    max-height: 58vh;
    opacity: .2;
  }

  .mono-visual-bg .mono-bg-secondary {
    left: 1rem;
    width: 74vw;
    max-height: 42vh;
    opacity: .08;
  }

  .mono-hero {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 2rem;
    padding: 7.2rem 1.05rem 2rem;
  }

  .mono-title {
    font-size: clamp(3rem, 13.4vw, 4.25rem);
    max-width: 100%;
    line-height: .98;
  }

  .mono-lead {
    font-size: 1.04rem;
  }

  .mono-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mono-panel {
    width: 100%;
  }

  .mono-process {
    min-height: 520px;
  }

  .mono-process-track {
    width: min(78%, 280px);
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .mono-process-node {
    min-height: 86px;
  }

  .mono-process-link {
    width: 1px;
    height: 34px;
    justify-self: center;
  }

  .mono-process-link::before {
    top: -5px;
    left: -3px;
    animation-name: mono-packet-y;
  }

  .mono-process-note {
    font-size: .48rem;
  }

  .mono-stats,
  .mono-strip {
    grid-template-columns: 1fr;
  }

  .mono-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mono-footer nav {
    justify-content: flex-start;
  }

  .mono-stat,
  .mono-step {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .mono-step {
    min-height: 28vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mono-visual-bg img,
  .mono-scan,
  .mono-process::before,
  .mono-process::after,
  .mono-process-link::before,
  .mono-node-data::before,
  .mono-node-agents::before,
  .mono-node-agents::after,
  .mono-node-contract::before,
  .mono-node-output::before,
  .mono-visual-tile img {
    animation: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   SYNAPSE — live agent conversation feed
   ──────────────────────────────────────────────────────────── */

.dash-agent-stage[data-speaker="emitter"] [data-live-actor="emitter"],
.dash-agent-stage[data-speaker="receiver"] [data-live-actor="receiver"],
.dash-agent-stage [data-live-actor].is-active {
  border-color: rgba(110, 168, 255, 0.85);
  background: rgba(110, 168, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.4) inset,
    0 0 24px rgba(110, 168, 255, 0.25);
  animation: dash-actor-pulse 1.4s ease-in-out infinite;
}

.dash-agent-stage [data-live-beam].is-active {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 168, 255, 0.95),
    transparent
  );
  animation: dash-beam-flow 1.2s linear infinite;
}

@keyframes dash-actor-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.4) inset,
      0 0 18px rgba(110, 168, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(110, 168, 255, 0.85) inset,
      0 0 28px rgba(110, 168, 255, 0.45);
  }
}

@keyframes dash-beam-flow {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.dash-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-family: var(--ff-mono, "JetBrains Mono", monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.7rem;
}

.dash-live-meta span {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 7, 0.55);
}

.dash-live-feed {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

/* Fullscreen: let the card itself scroll, feed expands freely */
.live-card.is-fullscreen .dash-live-feed {
  max-height: none;
  overflow: visible;
}

/* ── Negotiation complete banner ───────────────────────────────────────────── */
/* ── Negotiation complete banner ─────────────────────────────────────── */
.live-negotiation-complete {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(74,222,128,.3);
  background: linear-gradient(160deg, rgba(74,222,128,.09) 0%, rgba(0,0,0,.0) 60%);
  animation: lnc-rise .5s cubic-bezier(.16,1,.3,1) both;
  position: relative;
  overflow: hidden;
  margin-top: .25rem;
}

@keyframes lnc-rise {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Animated top glow line */
.lnc-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74,222,128,.7) 40%, rgba(74,222,128,.7) 60%, transparent 100%);
  animation: lnc-glow-slide 2.8s ease-in-out infinite;
}
@keyframes lnc-glow-slide {
  0%   { opacity: 0; transform: scaleX(.3); }
  30%  { opacity: 1; transform: scaleX(1); }
  70%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(.3); }
}

/* Header row */
.lnc-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem .75rem;
}

.lnc-icon {
  font-size: 1.3rem;
  color: rgba(74,222,128,.9);
  flex-shrink: 0;
  animation: val-pulse 2.2s ease-in-out infinite;
  line-height: 1;
}

.lnc-titles {
  flex: 1;
  min-width: 0;
}
.lnc-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(74,222,128,.95);
}
.lnc-subtitle {
  margin: .15rem 0 0;
  font-size: .74rem;
  color: rgba(244,246,248,.42);
  line-height: 1.4;
}

.lnc-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(74,222,128,.7);
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 4px;
  padding: .18rem .48rem;
  flex-shrink: 0;
}

/* Action buttons row */
.lnc-actions {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: .5rem;
  padding: 0 1rem .9rem;
  animation: lnc-actions-in .5s .25s cubic-bezier(.16,1,.3,1) both;
}
@keyframes lnc-actions-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lnc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem .6rem;
  border-radius: 7px;
  border: 1px solid;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s;
  line-height: 1;
  white-space: nowrap;
}
.lnc-btn:hover { transform: translateY(-1px); }
.lnc-btn:active { transform: translateY(0); }

.lnc-btn-icon {
  font-size: .78rem;
  line-height: 1;
  opacity: .8;
}

/* View Report — prominent */
.lnc-btn-report {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: rgba(244,246,248,.88);
}
.lnc-btn-report:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
}

/* Validate — green */
.lnc-btn-validate {
  background: rgba(74,222,128,.1);
  border-color: rgba(74,222,128,.3);
  color: rgba(74,222,128,.9);
}
.lnc-btn-validate:hover {
  background: rgba(74,222,128,.18);
  border-color: rgba(74,222,128,.5);
}

/* Renegotiate — amber */
.lnc-btn-renegotiate {
  background: rgba(251,191,36,.07);
  border-color: rgba(251,191,36,.22);
  color: rgba(251,191,36,.8);
}
.lnc-btn-renegotiate:hover {
  background: rgba(251,191,36,.14);
  border-color: rgba(251,191,36,.4);
}

/* Block — red */
.lnc-btn-block {
  background: rgba(248,113,113,.07);
  border-color: rgba(248,113,113,.22);
  color: rgba(248,113,113,.8);
}
.lnc-btn-block:hover {
  background: rgba(248,113,113,.14);
  border-color: rgba(248,113,113,.4);
}

/* Post-action states */
.lnc-is-validated {
  border-color: rgba(74,222,128,.45);
  background: linear-gradient(160deg, rgba(74,222,128,.12) 0%, transparent 70%);
}
.lnc-is-validated .lnc-badge {
  background: rgba(74,222,128,.18);
  border-color: rgba(74,222,128,.5);
  color: rgba(74,222,128,.95);
}
.lnc-is-blocked {
  border-color: rgba(248,113,113,.3);
  background: linear-gradient(160deg, rgba(248,113,113,.07) 0%, transparent 70%);
}
.lnc-is-blocked .lnc-badge {
  background: rgba(248,113,113,.12);
  border-color: rgba(248,113,113,.4);
  color: rgba(248,113,113,.85);
}

/* Tone variants */
.live-negotiation-complete.lnc-tone-success {
  border-color: rgba(74,222,128,.3);
  background: linear-gradient(160deg, rgba(74,222,128,.09) 0%, rgba(0,0,0,0) 60%);
}
.live-negotiation-complete.lnc-tone-success .lnc-glow {
  background: linear-gradient(90deg, transparent 0%, rgba(74,222,128,.7) 40%, rgba(74,222,128,.7) 60%, transparent 100%);
}
.live-negotiation-complete.lnc-tone-success .lnc-icon { color: rgba(74,222,128,.9); }
.live-negotiation-complete.lnc-tone-success .lnc-title { color: rgba(74,222,128,.95); }

.live-negotiation-complete.lnc-tone-partial {
  border-color: rgba(251,191,36,.36);
  background: linear-gradient(160deg, rgba(251,191,36,.10) 0%, rgba(0,0,0,0) 60%);
}
.live-negotiation-complete.lnc-tone-partial .lnc-glow {
  background: linear-gradient(90deg, transparent 0%, rgba(251,191,36,.75) 40%, rgba(251,191,36,.75) 60%, transparent 100%);
}
.live-negotiation-complete.lnc-tone-partial .lnc-icon { color: rgba(251,191,36,.95); }
.live-negotiation-complete.lnc-tone-partial .lnc-title { color: rgba(251,191,36,.95); }
.live-negotiation-complete.lnc-tone-partial .lnc-badge {
  color: rgba(251,191,36,.9);
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.35);
}

.live-negotiation-complete.lnc-tone-failed {
  border-color: rgba(248,113,113,.4);
  background: linear-gradient(160deg, rgba(248,113,113,.10) 0%, rgba(0,0,0,0) 60%);
}
.live-negotiation-complete.lnc-tone-failed .lnc-glow {
  background: linear-gradient(90deg, transparent 0%, rgba(248,113,113,.7) 40%, rgba(248,113,113,.7) 60%, transparent 100%);
}
.live-negotiation-complete.lnc-tone-failed .lnc-icon { color: rgba(248,113,113,.95); }
.live-negotiation-complete.lnc-tone-failed .lnc-title { color: rgba(248,113,113,.95); }
.live-negotiation-complete.lnc-tone-failed .lnc-badge {
  color: rgba(248,113,113,.9);
  background: rgba(248,113,113,.12);
  border-color: rgba(248,113,113,.4);
}

/* Renegotiating in-progress state — amber, animated dots */
.live-negotiation-complete.lnc-is-renegotiating {
  border-color: rgba(251,191,36,.45);
  background: linear-gradient(160deg, rgba(251,191,36,.10) 0%, transparent 70%);
}
.live-negotiation-complete.lnc-is-renegotiating .lnc-icon {
  animation: lnc-spin 1.4s linear infinite;
  color: rgba(251,191,36,.95);
}
.live-negotiation-complete.lnc-is-renegotiating .lnc-badge {
  color: rgba(251,191,36,.95);
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.45);
}
@keyframes lnc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* "View Report" button style for the board action buttons */
.inbound-action-btn.ia-report {
  background: rgba(99,179,237,.08);
  border-color: rgba(99,179,237,.28);
  color: rgba(99,179,237,.85);
}
.inbound-action-btn.ia-report:hover {
  background: rgba(99,179,237,.15);
  border-color: rgba(99,179,237,.5);
}

.dash-live-feed .dash-live-empty {
  border-style: dashed !important;
  text-align: center;
  color: rgba(255, 255, 255, 0.55) !important;
}

.dash-live-feed .dash-live-bubble p {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  animation: none;
}

.dash-live-bubble {
  position: relative;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(16, 18, 20, 0.78);
  color: var(--text-2, rgba(255, 255, 255, 0.78));
  animation: dash-bubble-in 0.32s var(--ease, cubic-bezier(0.2, 0.7, 0.2, 1)) both;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.dash-live-bubble.role-emitter {
  border-left: 3px solid rgba(255, 196, 92, 0.9);
  background: linear-gradient(
    180deg,
    rgba(60, 35, 12, 0.55),
    rgba(16, 18, 20, 0.85)
  );
  align-self: flex-start;
  margin-right: 12%;
}

.dash-live-bubble.role-receiver {
  border-left: 3px solid rgba(110, 168, 255, 0.9);
  background: linear-gradient(
    180deg,
    rgba(13, 35, 65, 0.55),
    rgba(16, 18, 20, 0.85)
  );
  align-self: flex-end;
  margin-left: 12%;
}

.dash-live-bubble.role-system {
  border-left: 3px solid rgba(180, 220, 180, 0.55);
  background: rgba(10, 12, 14, 0.85);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  align-self: stretch;
}

.dash-live-bubble.is-agreement {
  border-color: rgba(110, 235, 168, 0.55);
  box-shadow: 0 4px 22px rgba(60, 220, 130, 0.18);
}

.dash-live-bubble.is-transient {
  opacity: 0.78;
}

.dash-live-bubble header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.dash-live-bubble header strong {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.dash-live-tag {
  font-family: var(--ff-mono, "JetBrains Mono", monospace);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
}

.dash-live-bubble.role-emitter .dash-live-tag {
  border-color: rgba(255, 196, 92, 0.45);
  color: rgba(255, 220, 160, 0.95);
}

.dash-live-bubble.role-receiver .dash-live-tag {
  border-color: rgba(110, 168, 255, 0.45);
  color: rgba(180, 210, 255, 0.95);
}

.dash-live-bubble.is-agreement .dash-live-tag {
  border-color: rgba(110, 235, 168, 0.6);
  color: rgba(180, 240, 200, 0.95);
}

.dash-live-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: inherit;
  white-space: pre-wrap;
}

.dash-live-note {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.dash-live-feed[data-show="hidden"] .dash-live-bubble.role-emitter,
.dash-live-feed[data-show="hidden"] .dash-live-bubble.role-receiver {
  display: none;
}


@keyframes dash-bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-live-bubble,
  .dash-agent-stage [data-live-actor].is-active,
  .dash-agent-stage [data-live-beam].is-active {
    animation: none !important;
  }
}

/* ── Final report document renderer ──────────────────────────────────────── */

.dash-report-document {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dash-report-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .75rem;
  align-items: start;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.dash-report-label {
  font-size: .62rem;
  letter-spacing: .14em;
  font-weight: 600;
  color: rgba(244,246,248,.38);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  display: block;
  margin-bottom: .3rem;
}

.dash-report-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.dash-report-header-meta {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .7rem;
  color: rgba(244,246,248,.45);
  text-align: right;
}

.dash-report-header-meta b {
  color: rgba(244,246,248,.78);
}

.dash-report-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.dash-report-status {
  font-size: .62rem;
  letter-spacing: .1em;
  color: rgba(244,246,248,.5);
  font-family: 'JetBrains Mono', monospace;
}

.dash-report-document.is-ready .dash-report-status {
  color: #4ade80;
}

.dash-report-copy-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  color: rgba(244,246,248,.6);
  font-size: .68rem;
  padding: .28rem .65rem;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.dash-report-copy-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.dash-report-body {
  display: flex;
  flex-direction: column;
  padding: .5rem 1.4rem 1rem;
  max-height: 560px;
  overflow-y: auto;
  flex: 1;
}

.dash-report-section {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  animation: dash-bubble-in .25s ease both;
}

.dash-report-section:last-child {
  border-bottom: none;
}

.dash-report-section-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(244,246,248,.9);
  border-left: 2px solid rgba(99,179,237,.55);
  padding-left: .55rem;
  margin: 0 0 .5rem;
  font-family: 'JetBrains Mono', monospace;
}

.dash-report-section-body {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(244,246,248,.88);
  margin: 0;
  white-space: pre-wrap;
}

.dash-report-protected {
  padding: .65rem 1.4rem;
  background: rgba(248,113,113,.05);
  border-top: 1px solid rgba(248,113,113,.15);
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}

.dash-report-protected > span {
  font-size: .68rem;
  font-weight: 600;
  color: rgba(248,113,113,.75);
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
}

.dash-report-protected ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.dash-report-protected li {
  background: rgba(248,113,113,.1);
  border-radius: 4px;
  padding: .18rem .5rem;
  font-size: .7rem;
  color: rgba(244,246,248,.58);
}

/* ── Inbound final report (detail panel) ─────────────────────────────────── */

.inbound-final-report {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 !important;
}

.inbound-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}

.inbound-report-toolbar > span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244,246,248,.45);
  font-family: 'JetBrains Mono', monospace;
}

.inbound-report-body {
  display: flex;
  flex-direction: column;
  padding: .5rem 1rem;
  max-height: 480px;
  overflow-y: auto;
}

.inbound-report-section {
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.inbound-report-section:last-child {
  border-bottom: none;
}

.inbound-report-section-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(244,246,248,.9);
  border-left: 2px solid rgba(99,179,237,.55);
  padding-left: .55rem;
  margin: 0 0 .5rem;
  font-family: 'JetBrains Mono', monospace;
}

.inbound-report-section p {
  font-size: .875rem;
  line-height: 1.68;
  color: rgba(244,246,248,.86);
  margin: 0;
  white-space: pre-wrap;
}

.inbound-report-protected {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .6rem 1rem;
  background: rgba(248,113,113,.05);
  border-top: 1px solid rgba(248,113,113,.12);
}

.inbound-report-protected > span {
  font-size: .67rem;
  font-weight: 600;
  color: rgba(248,113,113,.7);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.inbound-report-protected ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.inbound-report-protected li {
  font-size: .68rem;
  background: rgba(248,113,113,.1);
  border-radius: 3px;
  padding: .15rem .45rem;
  color: rgba(244,246,248,.55);
}

/* 2-column detail grid (was 4, now only 2 articles) */
.inbound-detail-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ── Collapsible <details>/<summary> sections in Inbound detail ───────────── */

.inbound-collapsible {
  /* override the default padding — summary is the clickable header */
  padding: 0 !important;
  overflow: hidden;
}

.inbound-collapsible > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1rem;
  cursor: pointer;
  user-select: none;
  min-height: 0;
  border-left: 2px solid transparent;
  transition: background .18s, border-color .18s;
}
.inbound-collapsible[open] > summary {
  border-left-color: rgba(99,179,237,.4);
}
.inbound-collapsible > summary::-webkit-details-marker { display: none; }
.inbound-collapsible > summary::marker { display: none; }
.inbound-collapsible > summary:hover { background: rgba(255,255,255,.03); }
.inbound-collapsible > summary:focus-visible {
  outline: 1px solid rgba(255,255,255,.28);
  outline-offset: -2px;
  border-radius: 6px;
}

/* Title span inside summary — strong visual hierarchy */
.inbound-block-summary > span,
.inbound-report-summary > span {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: rgba(244,246,248,.82);
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
}
.inbound-collapsible > summary:hover > span {
  color: rgba(244,246,248,.96);
}

/* Chevron indicator — larger, more visible */
.inbound-chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(244,246,248,.35);
  border-bottom: 2px solid rgba(244,246,248,.35);
  transform: rotate(-45deg);
  transition: transform .22s ease, border-color .18s;
  flex-shrink: 0;
  margin-right: .15rem;
}
.inbound-collapsible > summary:hover .inbound-chevron {
  border-color: rgba(99,179,237,.7);
}
.inbound-collapsible[open] > summary .inbound-chevron {
  transform: rotate(45deg);
  border-color: rgba(99,179,237,.6);
}

/* Spacing between summary and first content child */
.inbound-collapsible[open] > summary + * { margin-top: 0; }

/* <p> and <ul> directly inside a collapsible — add horizontal padding */
.inbound-collapsible > p {
  color: rgba(244,246,248,.72);
  font-size: .86rem;
  line-height: 1.65;
  margin: 0;
  padding: .5rem .9rem .85rem;
}
.inbound-collapsible > ul {
  margin: 0;
  padding: .5rem .9rem .85rem 2rem;
  color: rgba(244,246,248,.72);
  font-size: .86rem;
  line-height: 1.65;
}

/* Negotiation sub-elements: add horizontal padding to align with summary */
.inbound-collapsible > .inbound-visibility {
  padding-left: .9rem;
  padding-right: .9rem;
  padding-bottom: 0;
}
.inbound-collapsible > .inbound-thread {
  padding: .5rem .9rem .85rem;
}

/* Audit trail directly inside collapsible */
.inbound-collapsible > .inbound-audit {
  display: grid;
  gap: .45rem;
  padding: .5rem .9rem .85rem;
}

/* Final report collapsible — summary acts as the toolbar */
.inbound-final-report.inbound-collapsible { padding: 0 !important; }
.inbound-report-summary {
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
/* report body and protected area keep their own padding */
.inbound-final-report.inbound-collapsible > .inbound-report-body { padding: .5rem 1rem; }
.inbound-final-report.inbound-collapsible > .inbound-report-protected { padding: .6rem 1rem; }

/* Override old toolbar (no longer rendered but guard anyway) */
.inbound-final-report .inbound-report-toolbar { display: none; }

/* Actions group inside summary (Expand / Copy buttons) */
.inbound-summary-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-right: .3rem;
}


/* ── Inbound board card — status color coding ─────────────────────────────── */

.inbound-card[data-status="negotiating"] {
  border-color: rgba(99,179,237,.55);
  box-shadow: 0 0 0 1px rgba(99,179,237,.18) inset, 0 0 24px -6px rgba(99,179,237,.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(20,30,42,.55), rgba(20,30,42,.55)),
    linear-gradient(120deg, rgba(99,179,237,.04) 0%, rgba(99,179,237,.10) 50%, rgba(99,179,237,.04) 100%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat;
  animation: inbound-neg-bg 4.5s linear infinite, inbound-neg-breath 2.8s ease-in-out infinite;
}
.inbound-card[data-status="negotiating"]::before {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(99,179,237,.18) 45%, rgba(167,139,250,.16) 55%, transparent 100%);
  pointer-events: none;
  animation: inbound-neg-sweep 2.6s linear infinite;
  z-index: 0;
}
.inbound-card[data-status="negotiating"] > * {
  position: relative;
  z-index: 1;
}
.inbound-card[data-status="negotiating"] .inbound-card-main {
  cursor: pointer;
}
.inbound-card[data-status="negotiating"]:hover {
  border-color: rgba(99,179,237,.85);
  box-shadow: 0 0 0 1px rgba(99,179,237,.35) inset, 0 0 28px rgba(99,179,237,.25);
}
@keyframes inbound-neg-sweep {
  0%   { left: -45%; }
  100% { left: 105%; }
}
@keyframes inbound-neg-bg {
  0%   { background-position: 0 0, 0% 0; }
  100% { background-position: 0 0, 220% 0; }
}
@keyframes inbound-neg-breath {
  0%, 100% { box-shadow: 0 0 0 1px rgba(99,179,237,.15) inset, 0 0 18px -6px rgba(99,179,237,.25); }
  50%      { box-shadow: 0 0 0 1px rgba(99,179,237,.30) inset, 0 0 28px -4px rgba(99,179,237,.55); }
}

/* Live pulse dot on negotiating card */
.inbound-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(99,179,237,1);
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  box-shadow: 0 0 6px rgba(99,179,237,.7);
  animation: inbound-live-pulse 1.4s ease-in-out infinite;
}
@keyframes inbound-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99,179,237,.55), 0 0 6px rgba(99,179,237,.7); }
  50%      { opacity: .65; box-shadow: 0 0 0 6px rgba(99,179,237,0), 0 0 10px rgba(99,179,237,.6); }
}

/* Animated ellipsis after the NEGOTIATING label */
.inbound-card[data-status="negotiating"] .inbound-card-status::after {
  content: "";
  display: inline-block;
  width: 1ch;
  text-align: left;
  margin-left: 2px;
  animation: inbound-neg-dots 1.4s steps(4, end) infinite;
}
@keyframes inbound-neg-dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

/* Mini agent-handshake dots between sender + status, only while negotiating */
.inbound-card[data-status="negotiating"] .inbound-card-from::before {
  content: "● ⇄ ●";
  margin-right: 8px;
  letter-spacing: 1px;
  font-size: .55rem;
  background: linear-gradient(90deg, rgba(99,179,237,.95), rgba(167,139,250,.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: inbound-handshake 1.8s ease-in-out infinite;
}
@keyframes inbound-handshake {
  0%, 100% { letter-spacing: 1px; opacity: .8; }
  50%      { letter-spacing: 3px; opacity: 1; }
}
.inbound-card[data-status="ready"] {
  border-color: rgba(251,191,36,.55);
  box-shadow: 0 0 0 1px rgba(251,191,36,.15) inset;
}
.inbound-card[data-status="closed"],
.inbound-card[data-status="validated"],
.inbound-card[data-status="delivered"] {
  border-color: rgba(74,222,128,.38);
}
.inbound-card[data-status="refused"],
.inbound-card[data-status="stopped"] {
  border-color: rgba(248,113,113,.3);
  border-style: dashed;
}

/* ── Inbound negotiation thread — emitter / receiver color distinction ──────── */

.inbound-thread p[data-role="emitter"],
.inbound-thread p.role-emitter {
  border-left-color: rgba(99,179,237,.6);
  background: rgba(99,179,237,.04);
}
.inbound-thread p[data-role="receiver"],
.inbound-thread p.role-receiver {
  border-left-color: rgba(167,139,250,.6);
  background: rgba(167,139,250,.04);
}
.inbound-thread p strong {
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244,246,248,.38);
  display: block;
  margin-bottom: .28rem;
}
.inbound-thread p[data-role="emitter"] strong { color: rgba(99,179,237,.7); }
.inbound-thread p[data-role="receiver"] strong { color: rgba(167,139,250,.7); }

/* ── Inbound detail — block header with action button ────────────────────── */

.inbound-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.inbound-block-header > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,246,248,.38);
}

.inbound-view-live-btn,
.inbound-expand-report-btn {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(99,179,237,.8);
  background: rgba(99,179,237,.08);
  border: 1px solid rgba(99,179,237,.22);
  border-radius: 3px;
  padding: .2rem .55rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.inbound-view-live-btn:hover,
.inbound-expand-report-btn:hover {
  background: rgba(99,179,237,.18);
  color: #63b3ed;
}
.inbound-expand-report-btn {
  color: rgba(251,191,36,.8);
  background: rgba(251,191,36,.07);
  border-color: rgba(251,191,36,.22);
}
.inbound-expand-report-btn:hover {
  background: rgba(251,191,36,.16);
  color: #fbbf24;
}

/* Expand button inside the toolbar - flex alignment */
.inbound-report-toolbar {
  gap: .5rem;
}

/* ── Reports view ─────────────────────────────────────────────────────────── */

.reports-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  padding: .5rem 0;
}

.reports-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(0,0,0,.28);
  overflow: hidden;
  transition: transform .18s var(--ease), border-color .18s;
}
.reports-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
}
.reports-card[data-status="delivered"],
.reports-card[data-status="closed"],
.reports-card[data-status="validated"] {
  border-color: rgba(74,222,128,.28);
}
.reports-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem .65rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
.reports-card-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,246,248,.35);
  margin-bottom: .22rem;
}
.reports-sent .reports-card-label { color: rgba(99,179,237,.55); }
.reports-received .reports-card-label { color: rgba(167,139,250,.55); }
.reports-card-title {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(244,246,248,.92);
  line-height: 1.35;
}
.reports-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .18rem;
  flex-shrink: 0;
  font-size: .68rem;
  color: rgba(244,246,248,.38);
}
.reports-card-meta b { color: rgba(244,246,248,.72); }
.reports-card-preview {
  padding: .75rem 1rem;
  font-size: .83rem;
  line-height: 1.6;
  color: rgba(244,246,248,.55);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.reports-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  font-size: .75rem;
  color: rgba(244,246,248,.38);
}
.reports-open-btn {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(244,246,248,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: .22rem .62rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.reports-open-btn:hover {
  background: rgba(255,255,255,.12);
  color: rgba(244,246,248,.95);
}

/* ── Report fullscreen modal ──────────────────────────────────────────────── */

.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}
.report-modal-overlay[hidden] { display: none; }
.report-modal-box {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  background: #0e1117;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.report-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem 1.4rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.report-modal-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,246,248,.35);
  margin-bottom: .25rem;
}
.report-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(244,246,248,.95);
  display: block;
}
.report-modal-close-btn {
  font-size: 1rem;
  background: none;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(244,246,248,.45);
  border-radius: 4px;
  padding: .2rem .5rem;
  cursor: pointer;
  line-height: 1;
  transition: color .18s, background .18s;
  flex-shrink: 0;
}
.report-modal-close-btn:hover {
  color: rgba(244,246,248,.9);
  background: rgba(255,255,255,.07);
}
.report-modal-body {
  overflow-y: auto;
  padding: 1.1rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

/* Confidence badge */
.report-modal-confidence-badge {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .85rem;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  margin-bottom: .35rem;
}
.report-modal-confidence-badge[data-tier="high"] { border-color: rgba(74,222,128,.22); background: rgba(74,222,128,.04); }
.report-modal-confidence-badge[data-tier="medium"] { border-color: rgba(251,191,36,.22); background: rgba(251,191,36,.04); }
.report-modal-confidence-badge[data-tier="low"] { border-color: rgba(248,113,113,.22); background: rgba(248,113,113,.04); }
.report-modal-confidence-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .16em;
  color: rgba(244,246,248,.35);
}
.report-modal-confidence-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(244,246,248,.88);
  letter-spacing: .04em;
}
.report-modal-confidence-badge[data-tier="high"] .report-modal-confidence-value { color: rgba(74,222,128,.9); }
.report-modal-confidence-badge[data-tier="medium"] .report-modal-confidence-value { color: rgba(251,191,36,.9); }
.report-modal-confidence-badge[data-tier="low"] .report-modal-confidence-value { color: rgba(248,113,113,.9); }

/* Report sections */
.report-modal-section {
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  padding: .85rem 1rem;
  animation: modal-section-in .25s ease both;
}
@keyframes modal-section-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.report-modal-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(99,179,237,.7);
  margin-bottom: .45rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.report-modal-section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: rgba(99,179,237,.5);
  flex-shrink: 0;
}
.report-modal-section-body {
  font-size: .9rem;
  line-height: 1.76;
  color: rgba(244,246,248,.88);
  margin: 0;
  white-space: pre-wrap;
}

/* Protected section */
.report-modal-protected {
  margin-top: .2rem;
  padding: .7rem 1rem;
  background: rgba(248,113,113,.04);
  border: 1px solid rgba(248,113,113,.14);
  border-radius: 7px;
}
.report-modal-protected-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(248,113,113,.65);
  margin-bottom: .45rem;
}
.report-modal-protected ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.report-modal-protected li {
  font-size: .73rem;
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.16);
  border-radius: 4px;
  padding: .2rem .5rem;
  color: rgba(244,246,248,.6);
}
.report-modal-empty {
  color: rgba(244,246,248,.35);
  font-size: .88rem;
  text-align: center;
  padding: 2.5rem 0;
}
.report-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  padding: .85rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
body.report-modal-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════════════════
   Overview card collapsible system
   ═══════════════════════════════════════════════════════════════════════════ */

/* Cards are zero-padding — header and body manage their own spacing */
[data-overview-card] {
  padding: 0 !important;
  overflow: hidden;
}

/* ── Card collapser (the clickable header row) ─────────────────────────── */
.card-collapser {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease, border-color .18s;
  border-radius: inherit;
  border-bottom: 1px solid transparent;
  position: relative;
}
.card-collapser::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: transparent;
  border-radius: 0 2px 2px 0;
  transition: background .2s;
}
.card-collapser:hover { background: rgba(255,255,255,.035); }
.card-collapser:hover::before { background: rgba(99,179,237,.35); }
[data-card-toggle][data-open="true"] {
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
[data-card-toggle][data-open="true"]::before { background: rgba(99,179,237,.65); }

/* Left side: step + title group */
.card-collapser-left {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1;
  min-width: 0;
}
.card-collapser-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* Step number — accent, monospace, prominent */
.card-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(99,179,237,.75);
  letter-spacing: .03em;
  flex-shrink: 0;
  min-width: 2rem;
  transition: color .18s, text-shadow .2s;
}
.card-collapser:hover .card-step-num {
  color: rgba(99,179,237,1);
  text-shadow: 0 0 14px rgba(99,179,237,.45);
}
[data-card-toggle][data-open="true"] .card-step-num {
  color: rgba(99,179,237,1);
}

/* Title + subtitle stacked */
.card-title-group {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .96rem;
  font-weight: 700;
  color: rgba(244,246,248,.88);
  letter-spacing: .01em;
  line-height: 1.2;
  transition: color .18s;
}
.card-collapser:hover .card-title { color: rgba(244,246,248,.98); }
.card-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  font-weight: 500;
  color: rgba(244,246,248,.28);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color .18s;
}
.card-collapser:hover .card-subtitle { color: rgba(244,246,248,.45); }
[data-card-toggle][data-open="true"] .card-subtitle { color: rgba(99,179,237,.55); }

/* ── Expand / collapse icon: circle with + that morphs to − ─────────────── */
.card-expand-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.14);
  flex-shrink: 0;
  transition: border-color .2s, background .2s, transform .2s;
}
.card-collapser:hover .card-expand-icon {
  border-color: rgba(99,179,237,.5);
  background: rgba(99,179,237,.07);
  transform: scale(1.08);
}
[data-card-toggle][data-open="true"] .card-expand-icon {
  border-color: rgba(99,179,237,.6);
  background: rgba(99,179,237,.1);
}

/* Horizontal bar of the + */
.card-expand-icon::before,
.card-expand-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: rgba(244,246,248,.55);
  transition: transform .22s ease, opacity .22s ease, background .18s;
}
.card-collapser:hover .card-expand-icon::before,
.card-collapser:hover .card-expand-icon::after { background: rgba(99,179,237,.9); }
[data-card-toggle][data-open="true"] .card-expand-icon::before,
[data-card-toggle][data-open="true"] .card-expand-icon::after { background: rgba(99,179,237,.9); }

.card-expand-icon::before {
  width: 11px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.card-expand-icon::after {
  width: 1.5px; height: 11px;
  transform: translate(-50%, -50%);
}
/* When open: vertical bar disappears (+ → −) */
[data-card-toggle][data-open="true"] .card-expand-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* ── Collapsible body ──────────────────────────────────────── */
.card-inner {
  height: 0;
  overflow: hidden;
  transition: height .36s cubic-bezier(.4,0,.2,1);
}
.card-inner-pad {
  padding: 1rem 1.2rem 1.2rem;
}
/* Slight separator at the top of body when open */
[data-card-toggle][data-open="true"] ~ .card-inner {
  border-top: 1px solid rgba(255,255,255,.055);
}

/* keep live-card-actions buttons slim inside the collapser */
.card-collapser-right .live-fullscreen-btn,
.card-collapser-right .live-close-btn {
  font-size: .65rem;
  padding: .25rem .55rem;
  opacity: .5;
  transition: opacity .18s;
}
.card-collapser-right .live-fullscreen-btn:hover,
.card-collapser-right .live-close-btn:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   Inbound — complete visual redesign
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Lane layout ─────────────────────────────────────────────────────────── */
.inbound-lane {
  background: rgba(255,255,255,.018) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 8px;
  padding: 0 !important;
  gap: 0 !important;
  min-height: 300px !important;
  overflow: hidden;
}
.inbound-lane > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: .7rem .85rem .65rem !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  padding-bottom: .65rem !important;
  margin-bottom: 0 !important;
}
.inbound-lane > header > span {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  color: rgba(244,246,248,.65) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.inbound-lane > header > b {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: .6rem !important;
  font-weight: 500 !important;
  color: rgba(244,246,248,.22) !important;
  background: rgba(255,255,255,.05);
  padding: .1rem .35rem;
  border-radius: 3px;
}
.inbound-lane [data-inbound-lane-items] {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  padding: .5rem;
}
.inbound-lane-empty {
  font-size: .75rem !important;
  color: rgba(244,246,248,.2) !important;
  border: none !important;
  text-align: center;
  padding: 1.5rem .75rem !important;
}

/* ── Board cards ─────────────────────────────────────────────────────────── */
.inbound-card {
  background: rgba(255,255,255,.02) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 7px;
  margin-bottom: .4rem;
  padding: 0 !important;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s !important;
}
.inbound-card:hover { border-color: rgba(255,255,255,.16) !important; }
.inbound-card.active {
  border-color: rgba(99,179,237,.4) !important;
  background: rgba(99,179,237,.04) !important;
}

/* Card main button — full-width clickable area */
.inbound-card-main {
  width: 100%;
  display: block !important;
  background: none;
  border: none;
  padding: .75rem .85rem .55rem !important;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.inbound-card-main:hover { background: rgba(255,255,255,.02); }

/* Top row: ref + status badge */
.inbound-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.inbound-card-ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem;
  font-weight: 500;
  color: rgba(244,246,248,.22);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.inbound-card-status {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .12rem .4rem;
  border-radius: 3px;
  background: rgba(255,255,255,.05);
  color: rgba(244,246,248,.35);
}
.inbound-card[data-status="negotiating"] .inbound-card-status {
  color: rgba(99,179,237,.9);
  background: rgba(99,179,237,.12);
}
.inbound-card[data-status="ready"] .inbound-card-status {
  color: rgba(251,191,36,.9);
  background: rgba(251,191,36,.1);
}
.inbound-card[data-status="blocked"] .inbound-card-status {
  color: rgba(251,146,60,.85);
  background: rgba(251,146,60,.1);
}
.inbound-card[data-status="closed"] .inbound-card-status,
.inbound-card[data-status="validated"] .inbound-card-status,
.inbound-card[data-status="delivered"] .inbound-card-status {
  color: rgba(74,222,128,.8);
  background: rgba(74,222,128,.08);
}
.inbound-card[data-status="refused"] .inbound-card-status,
.inbound-card[data-status="stopped"] .inbound-card-status {
  color: rgba(248,113,113,.75);
  background: rgba(248,113,113,.08);
}

/* Card title — prominent */
.inbound-card-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(244,246,248,.9);
  line-height: 1.3;
  margin-bottom: .28rem;
}
.inbound-card[data-status="refused"] .inbound-card-title,
.inbound-card[data-status="stopped"] .inbound-card-title { color: rgba(244,246,248,.4); }

/* Sender */
.inbound-card-from {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  color: rgba(244,246,248,.3);
  letter-spacing: .06em;
}

/* Brief (requirement preview) */
.inbound-card-brief {
  font-size: .76rem !important;
  color: rgba(244,246,248,.42) !important;
  line-height: 1.5 !important;
  padding: 0 .85rem .55rem !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.055);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Action buttons row */
.inbound-card-actions {
  display: flex;
  gap: .3rem;
  padding: .45rem .6rem;
  flex-wrap: wrap;
}

/* ── Action button system ─────────────────────────────────────────────────── */
.inbound-action-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .28rem .58rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid;
  line-height: 1;
  transition: background .18s, border-color .18s, color .18s;
}
.ia-accept {
  background: rgba(74,222,128,.1);
  border-color: rgba(74,222,128,.32);
  color: rgba(74,222,128,.9);
}
.ia-accept:hover { background: rgba(74,222,128,.2); border-color: rgba(74,222,128,.55); color: #4ade80; }

.ia-validate {
  background: rgba(74,222,128,.08);
  border-color: rgba(74,222,128,.28);
  color: rgba(74,222,128,.85);
}
.ia-validate:hover { background: rgba(74,222,128,.18); border-color: rgba(74,222,128,.5); }

.ia-warn {
  background: rgba(251,191,36,.07);
  border-color: rgba(251,191,36,.28);
  color: rgba(251,191,36,.8);
}
.ia-warn:hover { background: rgba(251,191,36,.15); border-color: rgba(251,191,36,.52); }

.ia-danger {
  background: rgba(248,113,113,.07);
  border-color: rgba(248,113,113,.28);
  color: rgba(248,113,113,.78);
}
.ia-danger:hover { background: rgba(248,113,113,.15); border-color: rgba(248,113,113,.5); }

.ia-neutral {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: rgba(244,246,248,.45);
}
.ia-neutral:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); color: rgba(244,246,248,.8); }

/* ── Detail panel header ─────────────────────────────────────────────────── */
.inbound-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: .1rem;
}
.inbound-detail-header-left { flex: 1; min-width: 0; }
.inbound-detail-ref {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem;
  color: rgba(244,246,248,.25);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.inbound-detail-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(244,246,248,.92);
  line-height: 1.3;
}

/* Status chip in detail header */
.inbound-status-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .22rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255,255,255,.05);
  color: rgba(244,246,248,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.inbound-status-chip[data-status="negotiating"] { color: rgba(99,179,237,.9); background: rgba(99,179,237,.1); border-color: rgba(99,179,237,.25); }
.inbound-status-chip[data-status="ready"] { color: rgba(251,191,36,.9); background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.25); }
.inbound-status-chip[data-status="blocked"] { color: rgba(251,146,60,.85); background: rgba(251,146,60,.1); border-color: rgba(251,146,60,.25); }
.inbound-status-chip[data-status="closed"],
.inbound-status-chip[data-status="validated"] { color: rgba(74,222,128,.85); background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.22); }
.inbound-status-chip[data-status="refused"],
.inbound-status-chip[data-status="stopped"] { color: rgba(248,113,113,.75); background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.2); }

/* ── Detail meta cards ───────────────────────────────────────────────────── */
.inbound-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: .5rem !important;
  margin: .6rem .85rem .35rem !important;
}
.inbound-meta-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  padding: .55rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.inbound-meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(244,246,248,.28);
}
.inbound-meta-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(244,246,248,.88);
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.inbound-detail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 3rem 1.5rem;
  color: rgba(244,246,248,.22);
}
.inbound-detail-empty-icon {
  font-size: 1.8rem;
  opacity: .35;
  display: block;
}
.inbound-detail-empty-state p {
  font-size: .8rem;
  text-align: center;
  line-height: 1.6;
  max-width: 22rem;
}

/* ── Inbound detail actions footer ──────────────────────────────────────── */
.inbound-detail-actions {
  padding: .75rem .85rem;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.inbound-detail-actions .inbound-action-btn {
  font-size: .64rem;
  padding: .38rem .75rem;
}

/* ── Danger row (archive / delete) ────────────────────────────────────────── */
.inbound-detail-danger-row {
  margin-left: auto;
  display: flex;
  gap: .3rem;
}

/* ── Status chip — archived ──────────────────────────────────────────────── */
.inbound-status-chip[data-status="archived"] {
  color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.06);
}

/* ========================================================================
   VALIDATION PENDING BANNER
   ======================================================================== */
.inbound-validation-banner {
  margin: .6rem .85rem .5rem;
  border-radius: 8px;
  border: 1px solid rgba(251,191,36,.22);
  background: rgba(251,191,36,.045);
  overflow: hidden;
}

.validation-banner-top {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem .6rem;
}

.validation-banner-icon {
  font-size: 1.1rem;
  color: rgba(251,191,36,.7);
  flex-shrink: 0;
  margin-top: .06rem;
  animation: val-pulse 2.2s ease-in-out infinite;
}

@keyframes val-pulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

.validation-banner-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(244,246,248,.92);
  margin-bottom: .18rem;
}

.validation-banner-text p {
  font-size: .76rem;
  color: rgba(244,246,248,.45);
  line-height: 1.5;
  margin: 0;
}

/* ── Three validation action buttons ──────────────────────────────────────── */
.inbound-validation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.07);
}

.val-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: .65rem .4rem;
  border: none;
  border-right: 1px solid rgba(255,255,255,.06);
  background: transparent;
  cursor: pointer;
  transition: background .18s;
  text-align: center;
}

.val-action-btn:last-child { border-right: none; }

.val-action-btn strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

.val-action-btn span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  color: rgba(244,246,248,.38);
  display: block;
  line-height: 1.3;
}

.val-validate strong { color: rgba(74,222,128,.88); }
.val-validate:hover { background: rgba(74,222,128,.07); }

.val-renegotiate strong { color: rgba(251,191,36,.85); }
.val-renegotiate:hover { background: rgba(251,191,36,.07); }

.val-block strong { color: rgba(248,113,113,.8); }
.val-block:hover { background: rgba(248,113,113,.07); }

/* ── Draft report badge ──────────────────────────────────────────────────── */
.inbound-report-draft-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(251,191,36,.65);
  background: rgba(251,191,36,.07);
  border: 1px solid rgba(251,191,36,.2);
  border-radius: 3px;
  padding: .12rem .35rem;
  margin-left: .5rem;
}

.inbound-report-draft {
  opacity: .65;
  pointer-events: none;
}

/* ── Reports card actions ─────────────────────────────────────────────────── */
.reports-card-actions {
  display: flex;
  gap: .35rem;
  align-items: center;
}

.reports-dismiss-btn,
.reports-delete-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .5rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid;
  line-height: 1;
  transition: background .18s, border-color .18s;
}

.reports-dismiss-btn {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.09);
  color: rgba(244,246,248,.38);
}
.reports-dismiss-btn:hover {
  background: rgba(255,255,255,.08);
  color: rgba(244,246,248,.7);
}

.reports-delete-btn {
  background: rgba(248,113,113,.06);
  border-color: rgba(248,113,113,.22);
  color: rgba(248,113,113,.7);
}
.reports-delete-btn:hover {
  background: rgba(248,113,113,.14);
  border-color: rgba(248,113,113,.45);
}

/* ========================================================================
   ACTION MESSAGE MODAL (renegotiation)
   ======================================================================== */
.action-msg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-in .22s ease;
}

.action-msg-overlay[hidden] { display: none; }

.action-msg-box {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
  animation: modal-rise .28s cubic-bezier(.4,0,.2,1);
}

@keyframes modal-rise {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.action-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem .7rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.action-msg-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .94rem;
  font-weight: 700;
  color: rgba(244,246,248,.92);
}

.action-msg-close-btn {
  background: none;
  border: none;
  color: rgba(244,246,248,.35);
  font-size: .85rem;
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.action-msg-close-btn:hover { color: rgba(244,246,248,.85); background: rgba(255,255,255,.06); }

.action-msg-body {
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.action-msg-desc {
  font-size: .78rem;
  color: rgba(244,246,248,.45);
  line-height: 1.5;
  margin: 0;
}

.action-msg-textarea {
  width: 100%;
  min-height: 90px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: rgba(244,246,248,.88);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  line-height: 1.55;
  padding: .6rem .75rem;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color .15s;
}
.action-msg-textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.action-msg-textarea::placeholder { color: rgba(244,246,248,.22); }

.action-msg-footer {
  padding: .7rem 1rem .85rem;
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── Delete button (shared: agents list + history entries) ─────────── */
/* Higher specificity than .dash-item button to override base color */
.dash-item .dash-item-delete-btn,
.history-event .dash-item-delete-btn,
.dash-item-delete-btn {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .22rem .48rem;
  border-radius: 4px;
  border: 1px solid rgba(248,113,113,.2);
  background: rgba(248,113,113,.05);
  color: rgba(248,113,113,.55) !important;
  cursor: pointer;
  line-height: 1;
  transition: background .16s, border-color .16s, color .16s;
  margin-top: 0;
}
.dash-item .dash-item-delete-btn:hover,
.history-event .dash-item-delete-btn:hover,
.dash-item-delete-btn:hover {
  background: rgba(248,113,113,.14);
  border-color: rgba(248,113,113,.44);
  color: rgba(248,113,113,.92) !important;
}

/* Agent item layout — collapsible details */
.dash-item.dash-agent-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

/* Top row: summary button + delete button side by side */
.dash-agent-summary {
  display: flex;
  align-items: center;
  width: 100%;
  gap: .6rem;
  padding: .7rem .9rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.dash-agent-summary:hover {
  background: rgba(255,255,255,.03);
}

/* Reposition delete button: absolutely inside the agent item */
.dash-agent-item {
  position: relative;
}
.dash-agent-item .dash-item-delete-btn {
  position: absolute;
  top: .65rem;
  right: .65rem;
  margin-top: 0;
  z-index: 1;
}
/* Shrink the summary so it doesn't overlap the delete btn */
.dash-agent-summary {
  padding-right: 2.8rem;
}

.dash-agent-item-content {
  flex: 1;
  min-width: 0;
}
.dash-agent-item-content strong {
  display: block;
  font-size: .84rem;
  color: rgba(244,246,248,.88);
}
.dash-agent-item-content span {
  display: block;
  margin-top: .2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  letter-spacing: .04em;
  color: rgba(244,246,248,.35);
  text-transform: uppercase;
}

/* Chevron rotates when open */
.dash-agent-chevron {
  font-size: .9rem;
  color: rgba(244,246,248,.25);
  transition: transform .2s, color .15s;
  flex-shrink: 0;
  line-height: 1;
  margin-right: 2rem; /* avoid delete btn */
}
.dash-agent-item[data-agent-open="true"] .dash-agent-chevron {
  transform: rotate(90deg);
  color: rgba(244,246,248,.55);
}

/* Collapsible detail panel */
.dash-agent-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .2s;
  padding: 0 .9rem;
}
.dash-agent-item[data-agent-open="true"] .dash-agent-detail {
  max-height: 600px;
  padding: 0 .9rem .85rem;
}
.dash-agent-detail p {
  font-size: .77rem;
  line-height: 1.6;
  color: rgba(244,246,248,.5);
  margin: 0;
  white-space: pre-wrap;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: .65rem;
}

/* ── Document item (flat row with delete, no collapse) ─────────────── */
.dash-doc-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem;
}
.dash-doc-item-content {
  flex: 1;
  min-width: 0;
}
.dash-doc-item-content label {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}
.dash-doc-item-content strong {
  font-size: .82rem;
  color: rgba(244,246,248,.88);
}
.dash-doc-item-content span {
  display: block;
  margin-top: .2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  letter-spacing: .04em;
  color: rgba(244,246,248,.32);
}

/* ── History view ──────────────────────────────────────────────────── */
.history-clear-row {
  display: flex;
  justify-content: flex-end;
  padding: .2rem 0 .55rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: .35rem;
}

.history-clear-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .24rem .55rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(244,246,248,.3);
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s;
}
.history-clear-btn:hover {
  background: rgba(255,255,255,.06);
  color: rgba(244,246,248,.65);
  border-color: rgba(255,255,255,.2);
}

.history-event {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .55rem .6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  transition: background .15s;
}
.history-event:hover {
  background: rgba(255,255,255,.04);
}

.history-event-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.history-event-content strong {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(244,246,248,.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-event-content span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  color: rgba(244,246,248,.32);
  letter-spacing: .04em;
}
.history-event-content p {
  font-size: .72rem;
  color: rgba(244,246,248,.42);
  margin: .1rem 0 0;
  line-height: 1.45;
}

.history-delete-btn {
  margin-top: .05rem;
}

/* ── Optional additional context (receiver setup) ──────────────────── */
.receiver-context-row {
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.receiver-context-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(244,246,248,.38);
  user-select: none;
  transition: color .15s;
}
.receiver-context-toggle:hover {
  color: rgba(244,246,248,.65);
}
.receiver-context-toggle input[type="checkbox"] {
  accent-color: rgba(255,255,255,.7);
  width: 13px;
  height: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.receiver-context-toggle input:checked ~ span {
  color: rgba(244,246,248,.72);
}

.receiver-context-panel {
  display: flex;
  flex-direction: column;
}
.receiver-context-panel textarea {
  width: 100%;
  min-height: 88px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 6px;
  color: rgba(244,246,248,.82);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  line-height: 1.55;
  padding: .55rem .7rem;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color .15s, background .15s;
}
.receiver-context-panel textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.055);
}
.receiver-context-panel textarea::placeholder {
  color: rgba(244,246,248,.2);
  font-style: italic;
}
