
/* v0.14.2 — Complete Conversation UX */
.cx142-status {
  position: fixed;
  left: calc(50% + 141px);
  bottom: 118px;
  z-index: 520;
  width: min(720px, calc(100vw - 360px));
  min-height: 38px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #aeb8c4;
  background: rgba(15,18,22,.94);
  border: 1px solid rgba(145,187,255,.18);
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(0,0,0,.42);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
  font-size: 11px;
}
.cx142-status.visible { opacity: 1; transform: translate(-50%,0); }
.cx142-status[hidden] { display: none !important; }
body.sidebar-is-collapsed .cx142-status { left: 50%; }

.cx142-dots { display:inline-flex; align-items:center; gap:4px; }
.cx142-dots i {
  width:5px; height:5px; border-radius:50%;
  background:#a7c8ff; opacity:.25;
  animation:cx142Pulse 1.05s infinite ease-in-out;
}
.cx142-dots i:nth-child(2) { animation-delay:.14s; }
.cx142-dots i:nth-child(3) { animation-delay:.28s; }
@keyframes cx142Pulse {
  0%,80%,100% { opacity:.24; transform:translateY(0); }
  40% { opacity:1; transform:translateY(-3px); }
}

.cx142-float-actions {
  position: fixed;
  right: 18px;
  bottom: 112px;
  z-index: 515;
  display: grid;
  gap: 8px;
}
.cx142-float-button {
  min-width: 78px;
  height: 36px;
  padding: 0 11px;
  display:flex; align-items:center; justify-content:flex-start; gap:7px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:999px;
  background:rgba(16,19,23,.92);
  color:#c8cdd3;
  box-shadow:0 10px 28px rgba(0,0,0,.36);
  cursor:pointer;
  font-size:10.5px;
  backdrop-filter:blur(10px);
}
.cx142-float-button:hover { border-color:rgba(145,187,255,.35); color:#fff; }
.cx142-float-button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.7; }

.cx142-voice-button {
  width:36px; height:36px; min-width:36px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  background:#15191d;
  color:#aeb5bc;
  cursor:pointer;
  margin-right:2px;
}
.cx142-voice-button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; }
.cx142-voice-button:hover { color:#fff; border-color:rgba(145,187,255,.35); }
.cx142-voice-button.listening {
  color:#d9ecff;
  border-color:rgba(145,187,255,.72);
  box-shadow:0 0 0 4px rgba(145,187,255,.08), 0 0 22px rgba(145,187,255,.16);
}
.cx142-voice-button:disabled { opacity:.35; cursor:not-allowed; }

.cx142-archive-nav { margin-bottom:8px; }
.cx142-archive-nav svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; }

.cx142-recent-chat { position:relative; padding-right:38px !important; }
.cx142-recent-more {
  position:absolute; right:7px; top:50%; transform:translateY(-50%);
  width:27px; height:27px; display:grid; place-items:center;
  border-radius:8px; color:#7e858c; font-size:11px; letter-spacing:1px;
}
.cx142-recent-more:hover { background:rgba(255,255,255,.07); color:#fff; }
.cx142-recent-menu {
  position:absolute; right:0; top:30px; z-index:560;
  width:128px; padding:6px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:11px;
  background:#111419;
  box-shadow:0 18px 45px rgba(0,0,0,.55);
}
.cx142-recent-menu button {
  width:100%; height:34px; padding:0 10px; border:0; border-radius:8px;
  background:transparent; color:#c7ccd2; text-align:left; cursor:pointer;
}
.cx142-recent-menu button:hover { background:rgba(255,255,255,.06); color:#fff; }
.cx142-recent-menu button.danger { color:#e3a4a4; }

.cx142-archive-overlay {
  position:fixed; inset:0; z-index:610;
  display:grid; place-items:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(9px);
}
.cx142-archive-overlay[hidden] { display:none !important; }
.cx142-archive-panel {
  width:min(700px,calc(100vw - 28px));
  max-height:min(76vh,760px);
  overflow:hidden;
  display:flex; flex-direction:column;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:linear-gradient(180deg,#12161b,#090b0e);
  box-shadow:0 38px 110px rgba(0,0,0,.72);
}
.cx142-archive-panel header {
  min-height:68px; padding:14px 17px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.cx142-archive-panel header div { display:grid; gap:3px; }
.cx142-archive-panel header strong { color:#edf1f5; font-size:15px; font-weight:580; }
.cx142-archive-panel header span { color:#737b84; font-size:10px; }
.cx142-archive-close {
  width:34px; height:34px; border:1px solid rgba(255,255,255,.1);
  border-radius:50%; background:#15181c; color:#cfd4da; font-size:20px; cursor:pointer;
}
.cx142-archive-list { overflow:auto; padding:8px; }
.cx142-archive-row {
  min-height:64px; padding:10px 10px 10px 13px;
  display:flex; align-items:center; gap:12px; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.cx142-archive-copy { min-width:0; display:grid; gap:4px; }
.cx142-archive-copy strong {
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  color:#dfe3e7; font-size:12px; font-weight:500;
}
.cx142-archive-copy span { color:#717981; font-size:10px; }
.cx142-archive-actions { display:flex; gap:6px; flex-shrink:0; }
.cx142-archive-actions button {
  height:32px; padding:0 10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:9px; background:#15191d; color:#bec5cc; cursor:pointer;
}
.cx142-archive-actions button.danger { color:#dea0a0; }
.cx142-archive-empty { padding:34px 18px; text-align:center; color:#727a82; font-size:11px; }

.cx142-toast {
  position:fixed; left:50%; top:72px; z-index:700;
  transform:translate(-50%,-8px);
  max-width:min(560px,calc(100vw - 28px));
  padding:10px 14px;
  border:1px solid rgba(145,187,255,.2);
  border-radius:999px;
  background:rgba(14,17,21,.96);
  color:#c9d0d7;
  font-size:11px;
  opacity:0; pointer-events:none;
  transition:.16s ease;
  box-shadow:0 14px 38px rgba(0,0,0,.5);
}
.cx142-toast.visible { opacity:1; transform:translate(-50%,0); }
.cx142-toast[data-tone="error"] { border-color:rgba(226,145,145,.28); color:#e1b0b0; }

@media (max-width: 920px) {
  .cx142-status {
    left:50%; bottom:108px;
    width:calc(100vw - 34px);
    font-size:10.5px;
  }
  .cx142-float-actions {
    right:10px; bottom:156px;
  }
  .cx142-float-button {
    min-width:38px; width:38px; padding:0; justify-content:center;
  }
  .cx142-float-button span { display:none; }
}
