.inside-operation-row.lc-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, .34fr);
  grid-template-areas: "painel contexto";
}
@media (max-width: 920px) {
  .inside-operation-row.lc-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "contexto" "painel";
  }
}

.luz-campaign { margin: 0; container-type: inline-size; }
.luz-campaign figcaption { margin-top: 10px; color: var(--muted); font-size: .75rem; }

.lc-demo {
  --id-line: #303432;
  --id-muted: #b6b9b3;
  --font-display: var(--display);
  --lc-panel: #151817;
  --lc-blue: #a5b0ff;
  --lc-chat-width: clamp(276px, 39cqi, 340px);
  --lc-chat-offset: calc(var(--lc-chat-width) + 9px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--id-line);
  border-radius: 10px;
  background: #0c0e0d;
  color: var(--white);
  font-size: .8125rem;
  line-height: 1.45;
}

.lc-demo [hidden] { display: none !important; }
.lc-demo button { cursor: pointer; font-family: inherit; }
.lc-demo button:focus-visible { outline-offset: -3px; }
.lc-demo :is(p, h3, h4, dl, dd) { margin: 0; }
.lc-demo svg { display: block; flex: none; width: 16px; height: 16px; }
.lc-stage {
  --lc-default-height: 560px;
  position: relative;
  min-height: max(var(--lc-default-height), var(--lc-summary-height, 0px));
}

.lc-workspace { min-width: 0; padding: clamp(12px, 3cqi, 23px); padding-bottom: 71px; }
.lc-demo.has-chat:is([data-scene="buscando"], [data-scene="publico"], [data-scene="pedido"], [data-scene="preenchendo"], [data-scene="salvo"], [data-scene="disparo"], [data-scene="enviando"], [data-scene="enviado"]) .lc-workspace {
  margin-right: var(--lc-chat-offset);
}
.lc-workspace-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.lc-workspace h3 { font: 400 1.65rem/1.15 var(--display); letter-spacing: -.02em; }
.lc-workspace-header p { margin-top: 5px; color: var(--id-muted); font-size: .75rem; }
.lc-workspace-header p strong { color: var(--white); font-weight: 550; }

.lc-import, .lc-create, .lc-send {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #424843;
  border-radius: 5px;
  background: #222622;
  color: var(--white);
  font-size: .6875rem;
  font-weight: 550;
}
.lc-demo[data-scene="pedido"] .lc-create { border-color: var(--lc-blue); background: #24294a; color: #e0e4ff; }

.lc-tabs {
  display: flex;
  gap: 3px;
  width: fit-content;
  margin-bottom: 11px;
  padding: 3px;
  border: 1px solid var(--id-line);
  border-radius: 5px;
  background: var(--lc-panel);
}
.lc-tabs span { padding: 3px 9px; border: 1px solid transparent; border-radius: 3px; color: var(--id-muted); }
.lc-tabs .is-active { border-color: #747fd1; background: #242946; color: #e0e4ff; }

.lc-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lc-card, .lc-demand {
  min-width: 0;
  padding: clamp(8px, 1.4cqi, 13px);
  border: 1px solid var(--id-line);
  border-radius: 9px;
  background: var(--lc-panel);
}
.lc-card { --card-color: #e9a4c1; display: flex; flex-direction: column; }
.lc-card--cart { --card-color: #b2d486; }
.lc-card--box { --card-color: #93baff; }
.lc-card--tag { --card-color: #ffb17f; }
.lc-card--refresh { --card-color: #73d5b2; grid-column: span 2; }
.lc-card--send { --card-color: #ecc678; }

.lc-card header { display: flex; align-items: center; gap: 7px; }
.lc-card header i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--card-color) 32%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--card-color) 13%, var(--lc-panel));
  color: var(--card-color);
}
.lc-card header svg { width: 19px; height: 19px; }
.lc-card h4, .lc-demand h4 { font: 600 .75rem/1.25 var(--body); }
.lc-card > strong { margin: 4px 0; font-size: 1.7rem; font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; }
.lc-card p { margin-bottom: 7px; color: var(--id-muted); font-size: .6875rem; }
.lc-card-action { display: flex; align-items: center; gap: 3px; margin-top: auto; color: var(--lc-blue); font-size: .6875rem; }
.lc-card-action svg { width: 12px; height: 12px; }

.lc-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.lc-card dl > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  padding: 6px 8px;
  border: 1px solid #333c36;
  border-radius: 5px;
  background: #101513;
  font-size: .6875rem;
}
.lc-card dd { color: var(--card-color); font-size: .875rem; font-variant-numeric: tabular-nums; }
.lc-demo:is([data-scene="abertura"], [data-scene="pergunta"]) .lc-card--box { border-color: #6786b6; background: #19222f; }
.lc-demo:is([data-scene="abertura"], [data-scene="pergunta"]) .lc-card--box > strong { color: var(--card-color); }

.lc-demand { grid-column: span 2; }
.lc-demand > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--id-line);
  color: var(--id-muted);
  font-size: .6875rem;
}
.lc-demand span { display: inline-flex; align-items: center; gap: 5px; }
.lc-demand svg { color: var(--lc-blue); }
.lc-demand strong { color: var(--lc-blue); font-weight: 550; }

.lc-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.lc-filters span {
  padding: 4px 7px;
  border: 1px solid #3c435d;
  border-radius: 4px;
  background: #1d2231;
  color: #d9ddf6;
  font-size: .75rem;
}
.lc-audience .lc-result { margin: 12px 0 7px; color: var(--white); }
.lc-result strong { color: var(--lc-blue); font-size: 1.1rem; }
.lc-people { border: 1px solid var(--id-line); border-radius: 8px; background: var(--lc-panel); }
.lc-people-header, .lc-person { display: flex; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid var(--id-line); }
.lc-people-header { justify-content: space-between; color: var(--id-muted); font-size: .6875rem; }
.lc-person > div { flex: 1; }
.lc-person p, .lc-person-date { color: var(--id-muted); font-size: .6875rem; }
.lc-person-date { text-align: right; }
.lc-initials {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  border: 1px solid #3d443e;
  border-radius: 50%;
  background: #252b26;
  font-size: .6875rem;
}
.lc-more { padding: 8px 10px; color: var(--id-muted); font-size: .6875rem; }

.lc-draft .lc-workspace-header p { margin: 0 0 6px; }
.lc-fields { display: grid; gap: 12px; max-width: 570px; }
.lc-fields dt { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: var(--id-muted); font-size: .75rem; }
.lc-fields dt svg { color: var(--lc-blue); }
.lc-fields dd { padding: 9px 11px; border: 1px solid var(--id-line); border-radius: 6px; background: var(--lc-panel); overflow-wrap: anywhere; }
.lc-draft-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; max-width: 570px; margin-top: 14px; }
.lc-draft-footer strong { display: flex; align-items: center; gap: 5px; color: var(--lime); font-size: .75rem; }
.lc-send--done { border-color: #535c36; background: #202719; color: #def58d; }
.lc-draft-footer .lc-send:disabled { cursor: default; color: var(--id-muted); }

.lc-launch .id-luz-avatar { line-height: 1; }
.lc-launch .id-luz-initial { transform: translateY(-.08em); }
.lc-pointer { position: absolute; z-index: 3; right: 14px; bottom: 6px; width: 25px; height: 30px; pointer-events: none; filter: drop-shadow(0 3px 3px #0008); }
.lc-demo .lc-pointer svg { width: 100%; height: 100%; }

.lc-chat {
  position: absolute;
  z-index: 2;
  inset: 11px 11px 11px auto;
  display: flex;
  flex-direction: column;
  width: var(--lc-chat-width);
  overflow: hidden;
  border: 1px solid #3d4041;
  border-radius: 9px;
  background: #101112f7;
  box-shadow: -16px 0 38px #0008;
}
.lc-chat-header { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-bottom: 1px solid var(--id-line); background: #161719; }
.lc-chat-header .id-luz-avatar { line-height: 1; }
.lc-chat-header > div { display: grid; }
.lc-chat-header > div > span { color: var(--id-muted); font-size: .6875rem; }
.lc-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--id-muted);
}
.lc-close:hover { background: #292b2d; color: var(--white); }

.lc-chat-body { display: flex; flex: 1; flex-direction: column; gap: 12px; min-height: 0; overflow: auto; padding: 14px 13px; scrollbar-width: thin; scrollbar-color: #434649 transparent; }
.lc-chat-body > * { flex: none; }
.lc-chat-topic { text-align: center; color: var(--id-muted); font-size: .6875rem; }
.lc-message > span { display: block; margin-bottom: 4px; color: var(--id-muted); font-size: .6875rem; }
.lc-message p { padding: 9px 10px; border: 1px solid #393c40; border-radius: 2px 7px 7px; background: #1c1e21; color: #eeedf0; text-wrap: pretty; }
.lc-message--user { margin-left: 14px; }
.lc-message--user > span { text-align: right; }
.lc-message--user p { border-radius: 7px 7px 2px; background: #2a2c30; }
.lc-chat-body .lc-activity {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid #675781;
  border-radius: 5px;
  background: #231e30;
  color: #ece2ff;
  font-size: .75rem;
}
.lc-activity::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #c5a3ff; }
.lc-chat-footer { padding: 0 13px 12px; }
.lc-composer, .lc-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid #484b50;
  border-radius: 6px;
  background: #1a1b1e;
  color: var(--white);
  font-size: .75rem;
  line-height: 1.4;
  text-align: left;
}
.lc-composer:hover, .lc-review:hover { border-color: var(--lc-blue); }
.lc-composer > span { min-width: 0; min-height: 1.4em; overflow-wrap: anywhere; }
.lc-composer.is-typing > span::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: #c9a2ff; }
.lc-composer i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #383b42; font-size: 16px; font-style: normal; }
.lc-review { border-color: #535c36; color: #def58d; }
.lc-demo .id-step-label { font-size: .75rem; }
.lc-demo .id-playback button > span { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .lc-demo :is(.lc-chat, .lc-message, .lc-activity, .lc-draft, .lc-draft-footer):not([hidden]) { animation: lc-reveal .24s ease-out both; }
  .lc-demo.is-clicking .lc-pointer svg { animation: lc-click .38s ease-in-out both; }
  .lc-demo.is-clicking .lc-launch { animation: lc-target-click .38s ease-in-out both; }
  .lc-demo.is-suspended :is(.lc-chat, .lc-message, .lc-activity, .lc-draft, .lc-draft-footer) { animation: none; }
  .lc-demo.is-suspended :is(.lc-pointer svg, .lc-launch) { animation-play-state: paused; }
}
@keyframes lc-click {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(.8); }
}
@keyframes lc-target-click {
  0%, 100% { filter: brightness(1); }
  40% { filter: brightness(1.5); }
}
@keyframes lc-reveal {
  from { opacity: .55; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@container (max-width: 565px) {
  .lc-stage { --lc-default-height: 594px; }
  .lc-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-card--refresh { grid-column: span 2; }
  .lc-demand { grid-column: auto; }
  .lc-demo { --lc-chat-offset: 0px; }
  .lc-chat { inset: auto 8px 8px; width: auto; height: calc(100% - 16px); max-height: min(610px, 84svh); }
  .lc-demo .id-controls { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; }
  .lc-demo .id-progress { grid-column: 1 / -1; }
  .lc-demo .id-progress button { flex: 1; }
}
