/* [project]/src/styles/chat.css [app-client] (css) */
.lc {
  z-index: 70;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  pointer-events: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: IBM Plex Sans, Inter, system-ui, sans-serif;
  display: flex;
  position: fixed;
}

.lc-win, .lc-dock, .lc-btn {
  pointer-events: auto;
}

.lc-dock {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.lc-pick {
  pointer-events: auto;
  border: 1px solid var(--line-2);
  background: radial-gradient(180px 80px at 0 0, rgba(var(--signal-rgb), .14), transparent 70%),
    var(--h1);
  width: min(240px, 100vw - 36px);
  box-shadow: 0 24px 50px -28px rgba(var(--sh), calc(.95 * var(--shk)));
}

.lc-pick a, .lc-pick button {
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  color: var(--h3);
  text-align: left;
  cursor: pointer;
  background: none;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  text-decoration: none;
  display: flex;
}

.lc-pick a:first-child, .lc-pick button:first-child {
  border-top: 0;
}

.lc-pick a:hover, .lc-pick button:hover {
  background: rgba(var(--signal-rgb), .08);
}

.lc-pick svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7px;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex: none;
  width: 18px;
  height: 18px;
}

.lc-pick strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.lc-pick small {
  color: var(--h2);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
  font: 400 10px / 1.3 IBM Plex Mono, ui-monospace, monospace;
  display: block;
}

.lc .pn-tip-host {
  display: inline-flex;
}

.lc-form > .pn-tip-host {
  align-self: stretch;
  display: flex;
}

.lc-btn {
  border: 1px solid var(--line-2);
  background: radial-gradient(80px 40px at 0 0, rgba(var(--signal-rgb), .18), transparent 70%),
    var(--h1);
  width: 52px;
  height: 52px;
  color: var(--h3);
  cursor: pointer;
  box-shadow: 0 24px 50px -28px rgba(var(--sh), calc(.95 * var(--shk)));
  border-radius: 0;
  place-items: center;
  margin: 0;
  padding: 0;
  transition: border-color .35s, color .35s;
  display: grid;
  position: relative;
}

.lc-btn:before, .lc-btn:after {
  content: "";
  pointer-events: none;
  border: 0 solid var(--signal-lo);
  width: 8px;
  height: 8px;
  position: absolute;
  top: -1px;
}

.lc-btn:before {
  border-top-width: 1px;
  border-left-width: 1px;
  left: -1px;
}

.lc-btn:after {
  border-top-width: 1px;
  border-right-width: 1px;
  right: -1px;
}

a.lc-btn {
  color: var(--h3);
  text-decoration: none;
}

.lc-btn:hover {
  border-color: var(--signal-lo);
  color: var(--signal-hi);
}

.lc-btn:focus-visible {
  outline: 1px solid var(--signal);
  outline-offset: 3px;
}

.lc-btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7px;
  stroke-linecap: square;
  stroke-linejoin: miter;
  width: 20px;
  height: 20px;
}

.lc-btn > i {
  background: var(--h2);
  width: 6px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 7px;
}

.lc-btn > i.is-on {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(var(--ok-rgb), .7);
  animation: 2s ease-in-out infinite lc-blink;
}

.lc-btn b {
  letter-spacing: .04em;
  color: var(--signal-hi);
  font: 400 10px / 1 IBM Plex Mono, ui-monospace, monospace;
  position: absolute;
  top: 6px;
  right: 6px;
}

.lc-win {
  border: 1px solid var(--line);
  background: radial-gradient(420px circle at 12% 0, rgba(var(--signal-rgb), .1), transparent 58%),
    var(--h1);
  width: min(400px, 100vw - 36px);
  height: min(580px, 100dvh - 44px);
  color: var(--h3);
  box-shadow: 0 30px 70px -36px rgba(var(--sh), calc(.95 * var(--shk)));
  border-radius: 0;
  flex-direction: column;
  padding: 0;
  animation: .28s lc-in;
  display: flex;
  position: relative;
  overflow: hidden;
}

.lc-win:before, .lc-win:after {
  content: "";
  z-index: 2;
  pointer-events: none;
  border: 0 solid var(--signal-lo);
  width: 10px;
  height: 10px;
  position: absolute;
  top: -1px;
}

.lc-win:before {
  border-top-width: 1px;
  border-left-width: 1px;
  left: -1px;
}

.lc-win:after {
  border-top-width: 1px;
  border-right-width: 1px;
  right: -1px;
}

.lc-corner {
  z-index: 2;
  pointer-events: none;
  border: 0 solid var(--signal-lo);
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: -1px;
}

.lc-corner.is-bl {
  border-bottom-width: 1px;
  border-left-width: 1px;
  left: -1px;
}

.lc-corner.is-br {
  border-bottom-width: 1px;
  border-right-width: 1px;
  right: -1px;
}

@keyframes lc-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lc-blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .35;
  }
}

.lc-brand {
  background: linear-gradient(180deg, rgba(var(--signal-rgb), .14), transparent 100%);
  align-items: center;
  padding: 16px 16px 12px;
  display: flex;
}

.lc-logo {
  width: auto;
  height: 28px;
  display: block;
}

.lc-bar {
  border-bottom: 1px solid var(--line);
  letter-spacing: .16em;
  text-transform: uppercase;
  min-height: 42px;
  color: var(--h2);
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  font: 400 10px / 1 IBM Plex Mono, ui-monospace, monospace;
  display: flex;
}

.lc-live {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.lc-live:before {
  content: "";
  background: var(--h2);
  width: 5px;
  height: 5px;
}

.lc-live.is-on {
  color: var(--ok-text);
}

.lc-live.is-on:before {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(var(--ok-rgb), .7);
  animation: 2s ease-in-out infinite lc-blink;
}

.lc-bar-name {
  color: var(--h3);
  letter-spacing: .12em;
  margin-left: auto;
}

.lc-x {
  border: 1px solid var(--line-2);
  width: 28px;
  height: 28px;
  color: var(--h2b);
  cursor: pointer;
  background: none;
  place-items: center;
  margin: 0;
  padding: 0;
  display: grid;
}

.lc-x svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7px;
  stroke-linecap: square;
  stroke-linejoin: miter;
  width: 14px;
  height: 14px;
}

.lc-x:hover {
  border-color: var(--signal);
  color: var(--signal-hi);
}

.lc-x:focus-visible, .lc-send:focus-visible {
  outline: 1px solid var(--signal);
  outline-offset: 2px;
}

.lc-stage {
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 16px 12px;
  display: flex;
}

.lc-stage p {
  max-width: 34em;
  color: var(--h2b);
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.lc-stage em {
  letter-spacing: .04em;
  color: var(--h2);
  font: 400 11px / 1.3 IBM Plex Mono, ui-monospace, monospace;
}

.lc-away {
  border-bottom: 1px solid var(--line);
  background: rgba(var(--warn-rgb), .08);
  color: var(--warn-hi);
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1.4;
}

.lc-log {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  flex-direction: column;
  flex: 1;
  gap: 0;
  min-height: 0;
  padding: 4px 16px 14px;
  display: flex;
  overflow: auto;
}

.lc-empty {
  color: var(--h2);
  margin: 18px 0 0;
  font: 400 12px / 1.4 IBM Plex Mono, ui-monospace, monospace;
}

.lc-row {
  padding: 12px 0 0;
}

.lc-row + .lc-row {
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.lc-meta {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--h2);
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font: 400 10px / 1 IBM Plex Mono, ui-monospace, monospace;
  display: flex;
}

.lc-meta i {
  color: var(--h2b);
  font-style: normal;
}

.lc-row.is-mine .lc-meta i {
  color: var(--signal-hi);
}

.lc-row p {
  border-left: 2px solid var(--line-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 6px 0 0;
  padding: 0 0 0 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.lc-row.is-mine p {
  border-left-color: var(--signal);
}

.lc-row.is-agent p {
  border-left-color: rgba(var(--ok-rgb), .7);
}

.lc-row.is-system {
  border-top: 0;
}

.lc-row.is-system p {
  color: var(--h2);
  text-align: center;
  border: 0;
  padding: 0;
  font: 400 12px / 1.4 IBM Plex Mono, ui-monospace, monospace;
}

.lc-row.is-typing p {
  border-left-color: #0000;
  align-items: center;
  gap: 5px;
  min-height: 16px;
  display: flex;
}

.lc-row.is-typing i {
  background: var(--signal);
  width: 4px;
  height: 4px;
  animation: 1s ease-in-out infinite lc-blink;
}

.lc-row.is-typing i:nth-child(2) {
  animation-delay: .15s;
}

.lc-row.is-typing i:nth-child(3) {
  animation-delay: .3s;
}

.lc-form {
  border-top: 1px solid var(--line);
  background: var(--bg-sheet2);
  align-items: stretch;
  gap: 0;
  display: flex;
}

.lc-field {
  flex: 1;
  min-width: 0;
}

.lc-sr {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.lc-form textarea {
  resize: none;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  color: var(--h3);
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 13px 14px;
  font: 400 14px / 1.4 IBM Plex Sans, Inter, system-ui, sans-serif;
  display: block;
  overflow: hidden auto;
}

.lc-form textarea::placeholder {
  color: var(--h2);
}

.lc-form textarea:focus {
  outline: none;
}

.lc-send {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--signal);
  color: #fff;
  cursor: pointer;
  border-radius: 0;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  display: grid;
}

.lc-send svg {
  stroke: #fff;
  fill: none;
  stroke-width: 1.7px;
  stroke-linecap: square;
  stroke-linejoin: miter;
  width: 18px;
  height: 18px;
}

.lc-send:hover:not(:disabled) {
  background: var(--signal-hi);
}

.lc-send:disabled {
  opacity: .4;
  cursor: default;
}

.lc-error {
  border-top: 1px solid var(--line);
  background: var(--bg-sheet2);
  color: var(--bad-text);
  margin: 0;
  padding: 8px 16px;
  font: 400 12px / 1.3 IBM Plex Mono, ui-monospace, monospace;
}

.lc:has(.lc-win) {
  gap: 0;
}

.lc:has(.lc-win) .lc-dock {
  display: none;
}

.pn-tip {
  z-index: 120;
  background: var(--h1);
  border: 1px solid var(--line);
  min-width: 108px;
  box-shadow: 0 18px 40px -22px rgba(var(--sh), calc(.95 * var(--shk)));
  pointer-events: none;
  text-align: center;
  gap: 5px;
  padding: 8px 10px;
  animation: .16s pn-tip-in;
  display: grid;
  position: fixed;
  transform: translate(-50%, calc(-100% - 10px));
}

.pn-tip.is-below {
  transform: translate(-50%, 10px);
}

.pn-tip:before, .pn-tip:after {
  content: "";
  pointer-events: none;
  border: 0 solid var(--signal-lo);
  width: 6px;
  height: 6px;
  position: absolute;
  top: -1px;
}

.pn-tip:before {
  border-top-width: 1px;
  border-left-width: 1px;
  left: -1px;
}

.pn-tip:after {
  border-top-width: 1px;
  border-right-width: 1px;
  right: -1px;
}

.pn-tip b {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--h3);
  font: 400 10px / 1 IBM Plex Mono, ui-monospace, monospace;
}

@keyframes pn-tip-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body:has(.lc) .pn-toasts {
  bottom: 104px;
}

@media (max-width: 640px) {
  body:has(.lc-win) {
    overflow: hidden;
  }

  .lc-win {
    height: min(680px, 100dvh - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-win, .lc-btn > i.is-on, .lc-live.is-on:before, .lc-row.is-typing i, .pn-tip {
    animation: none;
  }
}

@media print {
  .lc {
    display: none;
  }
}

/*# sourceMappingURL=src_styles_chat_1jy5uvzjrjvgn.css.map*/