/* Linker AI — shared, conversation-first interface. DS v1 (contracts/design-tokens-ds1.md). */
linker-assistant {
  display: block;
}

linker-assistant[hidden],
linker-assistant .lia-fallback[hidden],
linker-assistant [hidden] {
  display: none !important;
}

linker-assistant:not(.lia) > .lia-fallback {
  padding: 72px 24px;
  background: #0b1f33;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  text-align: center;
}

linker-assistant:not(.lia) > .lia-fallback a {
  color: inherit;
}

.lia {
  --lia-accent: #13b8a6;
  --lia-accent-press: #0fa996;
  --lia-accent-soft: #e3f7f3;
  --lia-green: #7bd14b;
  --lia-ink: #0b1f33;
  --lia-body: #172636;
  --lia-muted: #5f6b7c;
  --lia-line: #dfe7ec;
  --lia-soft-line: #e7eef1;
  --lia-paper: #fff;
  --lia-soft: #f5f8fa;
  --lia-user-bg: #eaf6f5;
  --lia-focus: 0 0 0 3px rgba(19, 184, 166, .22);
  --lia-shadow: 0 30px 70px rgba(21, 53, 77, .14);
  --lia-shadow-btn: 0 10px 24px rgba(19, 184, 166, .24);
  position: relative;
  color: var(--lia-body);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.lia *,
.lia *::before,
.lia *::after {
  box-sizing: border-box;
}

.lia button,
.lia textarea,
.lia input {
  font: inherit;
}

.lia button,
.lia a {
  touch-action: manipulation;
}

.lia button {
  cursor: pointer;
}

.lia svg {
  display: block;
  width: 20px;
  height: 20px;
}

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

.lia-shell {
  position: relative;
}

.lia-panel {
  position: relative;
  z-index: 2;
}

.lia-intro {
  text-align: center;
}

.lia-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--lia-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lia-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 2px;
  background: var(--lia-accent);
}

.lia-title {
  margin: 0;
  color: var(--lia-ink);
  font-weight: 650;
  letter-spacing: -.035em;
}

.lia-form {
  display: grid;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 14px 12px 18px;
  border: 1px solid rgba(11, 31, 51, .14);
  border-radius: 20px;
  background: var(--lia-paper);
  box-shadow: var(--lia-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lia-form:focus-within {
  border-color: rgba(19, 184, 166, .5);
  box-shadow: var(--lia-shadow), var(--lia-focus);
}

.lia-input-row {
  min-width: 0;
}

.lia-input {
  display: block;
  width: 100%;
  min-height: 30px;
  max-height: 120px;
  padding: 1px 4px;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--lia-ink);
  font-size: 16px;
  line-height: 1.5;
  resize: none;
}

.lia-input::placeholder {
  color: var(--lia-muted);
  opacity: 1;
  /* Long DE placeholders stop dead at the input edge without this backstop. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lia-input:disabled {
  color: var(--lia-muted);
  cursor: wait;
}

.lia-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  margin-top: 4px;
}
.lia-vision-notice {
  max-width: 540px;
  margin: 0;
  /* Fine-print whisper: softened from --lia-muted #5f6b7c (5.41:1); #667385 is 4.82:1 on the form's #fff paper - still AA. */
  color: #667385;
  font-size: 9.5px;
  line-height: 1.28;
}

.lia-input-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lia-icon-button,
.lia-send {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.lia-icon-button {
  border: 1px solid var(--lia-line);
  background: var(--lia-paper);
  color: var(--lia-ink);
}

.lia-icon-button:hover {
  border-color: var(--lia-accent);
  background: var(--lia-soft);
  color: var(--lia-accent);
}

.lia-icon-button.is-listening {
  border-color: #dc2626;
  background: #fef2f2;
  color: #b91c1c;
}

.lia-send {
  border: 1px solid var(--lia-accent);
  background: var(--lia-accent);
  color: #fff;
  box-shadow: var(--lia-shadow-btn);
}

.lia-send:hover:not(:disabled) {
  border-color: var(--lia-accent-press);
  background: var(--lia-accent-press);
  transform: translateY(-1px);
}

.lia-send:disabled {
  border-color: var(--lia-line);
  background: var(--lia-line);
  color: var(--lia-muted);
  box-shadow: none;
  cursor: default;
}

.lia button:focus-visible,
.lia a:focus-visible,
.lia summary:focus-visible {
  outline: 3px solid rgba(19, 184, 166, .48);
  outline-offset: 3px;
}

.lia-input:focus-visible {
  outline: 0;
}

.lia-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 900px;
  margin: 14px auto 0;
}

.lia-prompt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(19, 184, 166, .5);
  border-radius: 999px;
  background: rgba(11, 31, 51, .32);
  color: #eafaf7;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
  white-space: nowrap;
  max-width: 100%;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

@media (max-width: 767px) {
  .lia-prompts {
    padding: 0 16px;
  }
  .lia-prompt {
    white-space: normal;
    text-align: center;
  }
}

.lia-prompt:hover {
  border-color: var(--lia-accent);
  background: rgba(19, 184, 166, .38);
  color: #fff;
}

.lia-privacy {
  margin: 12px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* Hero */
.lia--hero .lia-shell {
  display: grid;
  min-height: clamp(650px, 86dvh, 820px);
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background: var(--lia-ink);
}

.lia-hero-media,
.lia-hero-scrim {
  position: absolute;
  inset: 0;
}

.lia-hero-media {
  z-index: 0;
}

.lia-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(.72) contrast(1.04) brightness(.74);
}

.lia-hero-scrim {
  z-index: 1;
  background: rgba(11, 31, 51, .62);
  box-shadow: inset 0 -180px 180px rgba(11, 31, 51, .3);
}

.lia--hero .lia-panel {
  width: min(100%, 1040px);
  padding: 88px 24px 52px;
  color: #fff;
}

.lia--hero .lia-intro {
  max-width: 900px;
  margin: 0 auto 28px;
}

.lia--hero .lia-eyebrow {
  margin-bottom: 18px;
  color: #8ee5d9;
}

.lia--hero .lia-eyebrow::before {
  background: #8ee5d9;
}

.lia--hero .lia-title {
  color: #fff;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: .99;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(11, 31, 51, .35);
}

.lia--hero .lia-conversation {
  width: 100%;
  max-width: 760px;
  margin: 18px auto 0;
  padding: 20px 22px;
  border: 1px solid #dbe6ea;
  border-radius: 20px;
  background: rgba(255, 255, 255, .98);
  color: var(--lia-ink);
  box-shadow: var(--lia-shadow);
  text-align: left;
}

.lia--hero .lia-conversation:empty {
  display: none;
}

/* Hero card swap: old card fades out and dips (160ms), replacement eases back
   over 200ms - one container, no layout jump (mockup timing table, last row). */
.lia--hero .lia-conversation {
  transition: opacity 200ms ease, transform 200ms ease;
}

.lia--hero .lia-conversation.is-swapping {
  opacity: 0;
  transform: translateY(6px);
  transition-duration: 160ms;
}

.lia--hero .lia-message--user {
  margin: 0 0 12px auto;
}

.lia--hero .lia-answer-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* Inline */
.lia--inline .lia-shell {
  padding: 0;
}

.lia--inline .lia-panel {
  width: 100%;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #dbe6ea;
  border-radius: 20px;
  background: var(--lia-paper);
  box-shadow: var(--lia-shadow);
}

.lia--inline .lia-intro {
  max-width: 760px;
  margin: 0 auto 24px;
}

.lia--inline .lia-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
}

.lia--inline .lia-form {
  box-shadow: 0 14px 36px rgba(21, 53, 77, .1);
}

.lia--inline .lia-prompt {
  border-color: var(--lia-accent);
  background: var(--lia-paper);
  color: var(--lia-accent);
}

.lia--inline .lia-prompt:hover {
  border-color: var(--lia-accent-press);
  background: var(--lia-accent);
  color: #fff;
}

.lia--inline .lia-privacy {
  color: var(--lia-muted);
}

.lia--inline .lia-conversation {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 20px auto 0;
  padding: 20px;
  border: 1px solid var(--lia-line);
  border-radius: 20px;
  background: #fff;
}

/* Conversation */
.lia-conversation {
  scrollbar-color: #c8cad0 transparent;
  scrollbar-width: thin;
}

.lia-message {
  max-width: 100%;
}

.lia-message--user {
  width: fit-content;
  max-width: min(88%, 440px);
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 18px 18px 5px 18px;
  background: var(--lia-user-bg);
  color: var(--lia-ink);
  font-size: 14px;
  line-height: 1.45;
}

.lia-message--assistant {
  color: var(--lia-body);
}

.lia-answer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
}

.lia-agent-label {
  color: var(--lia-ink);
  font-size: 13px;
  font-weight: 650;
}

.lia-evidence-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lia-soft);
  color: var(--lia-muted);
  font-size: 11px;
  font-weight: 600;
}

.lia-message--no-evidence .lia-evidence-state {
  background: #fff7ed;
  color: #9a4c0b;
}

.lia-message--linker-confirmation .lia-evidence-state,
.lia-message--unavailable .lia-evidence-state {
  background: #fff7ed;
  color: #8a4b12;
}

.lia-answer-text {
  margin: 0;
  color: var(--lia-body);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

/* Delayed thinking indicator: JS adds .is-visible after 300ms so fast answers
   never flash a spinner (mockup timing table, row 1). */
.lia-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--lia-muted);
  font-size: 13px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.lia-loading.is-visible {
  opacity: 1;
}

.lia-loading-dots {
  display: inline-flex;
  gap: 4px;
}

.lia-loading-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lia-accent);
  animation: lia-dot 1.15s infinite ease-in-out both;
}

.lia-loading-dots i:nth-child(2) {
  animation-delay: 130ms;
}

.lia-loading-dots i:nth-child(3) {
  animation-delay: 260ms;
}

@keyframes lia-dot {
  0%, 70%, 100% { opacity: .25; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

.lia-results {
  margin-top: 16px;
}

.lia-product-grid {
  display: grid;
  gap: 8px;
}

.lia-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lia-line);
  border-radius: 14px;
  background: #fff;
  color: var(--lia-ink);
  overflow: hidden;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lia-product-card:hover {
  border-color: var(--lia-accent);
  background: var(--lia-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 54, 72, .09);
}

.lia-product-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  color: var(--lia-ink);
  text-decoration: none;
}

/* approved-partner add-to-cart footer */
.lia-product-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 10px 10px;
}
.lia-add-cart {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--lia-accent);
  color: #fff;
  font-family: 'Inter Tight', Inter, Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.lia-add-cart:hover:not(:disabled) { background: var(--lia-accent-press); }
.lia-add-cart:disabled { opacity: .8; cursor: default; }
.lia-add-cart.is-added { background: #0c7d70; }
.lia-add-cart svg { width: 15px; height: 15px; }
.lia-view-cart {
  flex: 0 0 auto;
  color: var(--lia-accent-ink, #0c7d70);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.lia-view-cart:hover { text-decoration: underline; }

.lia-product-image {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: var(--lia-soft);
}

.lia-product-content {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.lia-product-content strong {
  overflow: hidden;
  color: var(--lia-ink);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lia-product-content small {
  overflow: hidden;
  color: var(--lia-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lia-product-content .lia-price-state {
  color: var(--lia-accent);
}

.lia-card-arrow {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--lia-muted);
  transition: color 160ms ease;
}

.lia-product-card:hover .lia-card-arrow {
  color: var(--lia-accent);
}

.lia-card-arrow svg {
  width: 17px;
  height: 17px;
}

.lia-results--sources {
  border-top: 1px solid var(--lia-soft-line);
}

.lia-source-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  color: var(--lia-ink);
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.lia-source-summary::-webkit-details-marker {
  display: none;
}

.lia-source-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lia-accent-soft);
  color: var(--lia-accent);
}

.lia-source-mark svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.lia-source-chevron {
  width: 15px !important;
  height: 15px !important;
  margin-left: auto;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.lia-results--sources[open] .lia-source-chevron {
  transform: rotate(-90deg);
}

.lia-source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 4px 30px;
}

.lia-source-item {
  padding-left: 2px;
  color: var(--lia-muted);
  font-size: 11px;
}

.lia-source-item a {
  display: block;
  color: var(--lia-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration-color: #c8cbd1;
  text-underline-offset: 3px;
}

.lia-source-item small {
  display: block;
  margin-top: 2px;
  color: var(--lia-muted);
  font-size: 10px;
}

.lia-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lia-action-link,
.lia-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--lia-ink);
  border-radius: 999px;
  background: var(--lia-ink);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lia-action-link:hover,
.lia-continue:hover {
  border-color: var(--lia-accent);
  background: var(--lia-accent);
  transform: translateY(-1px);
  box-shadow: var(--lia-shadow-btn);
}

.lia-action-link svg,
.lia-continue svg {
  width: 16px;
  height: 16px;
}

.lia-continue {
  margin-top: 16px;
}

.lia-task-pending {
  margin: 8px 0 0;
  color: var(--lia-muted);
  font-size: 13px;
}

/* ---- Docked panel (0.8.0) ----
   JS keeps variant name 'drawer'; the look is a copilot side panel: edge-docked,
   non-modal, NO scrim - the page stays browsable beside it. */

/* Content reflow >=1200px: body margin-right chosen over width:calc(100% - 440px).
   Verified: LC pages full-bleed with `width:100vw; margin-left:calc(50% - 50vw)`,
   NOT 100%. Under a reduced body both options are geometrically identical (the
   bleed still covers the visible page area and its centered inner container stays
   centered - only ~220px of edge-to-edge background is clipped left / hidden
   under the panel); margin-right composes better with themes that set body width,
   so it wins. Left-edge bleed overhang is unscrollable in LTR: no scrollbar. */
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  body {
    transition: margin-right 240ms ease-out;
  }
}

@media (min-width: 1200px) {
  body.lia-panel-open {
    margin-right: var(--lia-panel-w, 440px);
  }
}

.lia--drawer {
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
}

.lia--drawer .lia-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: var(--lia-panel-w, 440px);
  overflow: hidden;
  border-left: 1px solid var(--lia-line);
  background: #fff;
  pointer-events: auto;
  transform: translateX(100%);
  transition: transform 240ms ease-out;
}

.lia--drawer.is-open .lia-panel {
  transform: translate(0, 0);
}

/* Drag handle on the panel's left edge to resize its width (desktop only). */
.lia-resize {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  cursor: col-resize;
  z-index: 3;
  touch-action: none;
}
.lia-resize::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 42px;
  border-radius: 3px;
  background: var(--lia-line);
  transition: background 120ms;
}
.lia-resize:hover::before,
.lia-resize:focus-visible::before { background: var(--lia-accent); }
.lia-resize:focus-visible { outline: none; }
body.lia-resizing { cursor: col-resize; user-select: none; }
body.lia-resizing iframe { pointer-events: none; }
@media (max-width: 899px) { .lia-resize { display: none; } }

/* Markdown headings + inline links inside answers. */
.lia-answer-h {
  font-family: 'Inter Tight', Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--lia-ink);
  margin: 14px 0 6px;
  letter-spacing: .01em;
}
.lia-answer-text > .lia-answer-h:first-child { margin-top: 0; }
.lia-answer-link {
  color: var(--lia-accent-ink, #0c7d70);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.lia-answer-link:hover { color: var(--lia-accent-press, #0fa996); }

.lia-design-canvas-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lia-accent-ink, #0c7d70);
  text-decoration: none;
}
.lia-design-canvas-link svg { width: 15px; height: 15px; }
.lia-design-canvas-link:hover { color: var(--lia-accent-press, #0fa996); }

/* 900-1199px: panel overlays the page (no reflow) and earns a shadow. */
@media (min-width: 900px) and (max-width: 1199px) {
  .lia--drawer .lia-panel {
    box-shadow: -24px 0 60px rgba(11, 31, 51, .12);
  }
}

/* <900px: fullscreen conversation, slides up (mockup timing table: 260ms). */
@media (max-width: 899px) {
  body.lia-panel-open {
    overflow: hidden;
  }

  .lia--drawer .lia-panel {
    width: 100%;
    border-left: 0;
    transform: translateY(100%);
    transition: transform 260ms ease-out;
  }

  .lia-panel-head {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  /* 16px keeps iOS Safari from zooming the page on input focus
     (3-class selector so it beats the desktop 14px composer rule). */
  .lia--drawer .lia-form .lia-input {
    font-size: 16px;
  }

  .lia--drawer .lia-history {
    right: 10px;
  }
}

.linker-ai-workspace {
  margin-top: 16px;
}

.linker-ai-workspace__state {
  padding: 18px 20px;
  border: 1px solid #cfe2e1;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f1f8f7);
  color: #0b1f33;
  box-shadow: 0 10px 28px rgba(11, 31, 51, .05);
}

.linker-ai-workspace__state h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.linker-ai-workspace__state p {
  margin: 0;
  color: #566a78;
  font-size: 13px;
  line-height: 1.65;
}

.linker-ai-workspace__eyebrow {
  color: #087f73 !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.linker-ai-workspace__points {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: #405765;
  font-size: 12.5px;
  line-height: 1.55;
}

.linker-ai-workspace[data-ai-state="unavailable"]
  .linker-ai-workspace__state {
  border-color: #e7d8bf;
  background: #fffaf2;
}

@media (max-width: 640px) {
  .linker-ai-workspace__state {
    padding: 15px 16px;
  }
}

/* Real design-card header: mirrors .lia-design-skel-head so the skeleton ->
   card swap keeps its height (timing rule: values fill in place, no jump). */
.lia-design-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  background: linear-gradient(145deg, #0b2439, #0f5155);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Panel header: brand mark + title/trust, three square controls on the right. */
.lia-panel-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--lia-line);
  background: #fff;
}

.lia-drawer-brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lia-brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--lia-accent);
  color: #fff;
}

.lia-brand-mark svg {
  width: 17px;
  height: 17px;
}

.lia-head-meta {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.lia--drawer .lia-title {
  overflow: hidden;
  margin: 0;
  color: var(--lia-ink);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lia-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0c7d70;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

.lia-trust i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lia-accent);
}

.lia-head-btns {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.lia-head-btns .lia-icon-button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--lia-line);
  border-radius: 8px;
  background: #fff;
  color: var(--lia-ink);
  font-size: 15px;
  line-height: 1;
}

.lia-head-btns .lia-icon-button:hover {
  border-color: var(--lia-accent);
  background: var(--lia-soft);
  color: var(--lia-accent);
}

.lia-head-btns .lia-icon-button svg {
  width: 15px;
  height: 15px;
}

.lia-history-btn[aria-expanded="true"] {
  border-color: var(--lia-accent);
  background: var(--lia-accent-soft);
  color: var(--lia-accent);
}

/* History popover: Claude-style conversation management under the header. */
.lia-history {
  position: absolute;
  top: 64px;
  right: 12px;
  z-index: 5;
  width: 270px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--lia-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--lia-shadow);
}

.lia-history-h {
  padding: 6px 8px;
  color: #0c7d70;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lia-history-empty {
  margin: 0;
  padding: 4px 8px 8px;
  color: var(--lia-muted);
  font-size: 12.5px;
}

.lia-history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--lia-ink);
  font-size: 13px;
  text-align: left;
  transition: background-color 140ms ease;
}

.lia-history-item:hover {
  background: var(--lia-soft);
}

.lia-history-item.is-active {
  background: #e9f7f5;
  font-weight: 700;
}

.lia-history-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lia-history-del {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 2px 4px;
  color: var(--lia-muted);
  font-size: 12px;
}

.lia-history-del:hover {
  color: #c01f1f;
}

.lia--drawer .lia-conversation {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--lia-soft);
}

/* Mockup view 2: assistant turns are white cards on the soft canvas,
   user turns are navy bubbles. */
.lia--drawer .lia-message--assistant {
  max-width: 92%;
  padding: 12px 14px;
  border: 1px solid var(--lia-line);
  border-radius: 13px;
  background: #fff;
}

.lia--drawer .lia-answer-text {
  font-size: 13.5px;
  line-height: 1.55;
}

.lia--drawer .lia-answer-list li {
  font-size: 13.5px;
}

.lia--drawer .lia-agent-label {
  color: #0c7d70;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lia--drawer .lia-message--user {
  max-width: 80%;
  border-radius: 13px;
  background: var(--lia-ink);
  color: #fff;
  font-size: 13.5px;
}

.lia--drawer .lia-retry {
  align-self: flex-start;
}

/* Empty state: L mark, invitation, three starter cards (capability discovery,
   routing stays with the AI). */
.lia--drawer .lia-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* top-aligned (not vertically centred) so the panel opens filled with content
     instead of a big white void above it */
  margin: 4px auto auto;
  padding: 22px 0 18px;
  text-align: center;
  animation: lia-empty-in 320ms cubic-bezier(.2, .8, .25, 1) both;
}
@keyframes lia-empty-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* while /suggest generates the questions: pulse the mark so it reads as loading */
.lia--drawer .lia-empty--loading .lia-empty-mark {
  animation: lia-mark-pulse 1.5s ease-in-out infinite;
}
@keyframes lia-mark-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(19, 184, 166, .30); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 11px rgba(19, 184, 166, 0); }
}
.lia-empty-loading-cap {
  margin: -2px 0 12px;
  color: var(--lia-accent-ink, #0c7d70);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.lia-empty-loading-cap::after {
  content: '';
  animation: lia-dots 1.4s steps(4, end) infinite;
}
@keyframes lia-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

@media (prefers-reduced-motion: reduce) {
  .lia--drawer .lia-empty { animation: none; }
  .lia--drawer .lia-empty--loading .lia-empty-mark { animation: none; }
  .lia-empty-loading-cap::after { animation: none; content: '…'; }
}

.lia-empty-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--lia-accent);
  color: #fff;
}

.lia-empty-mark svg {
  width: 22px;
  height: 22px;
}

.lia-empty h3 {
  margin: 0 0 4px;
  color: var(--lia-ink);
  font-family: 'Inter Tight', Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.lia-empty p {
  max-width: 300px;
  margin: 0 0 18px;
  color: var(--lia-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.lia-starters {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  max-width: 330px;
}

.lia-starter {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lia-line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border-color 140ms ease;
}

.lia-starter:hover {
  border-color: var(--lia-accent);
}

.lia-starter-ic {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e9f7f5;
  color: #0c7d70;
  font-size: 15px;
}

.lia-starter-ic svg {
  width: 16px;
  height: 16px;
}

.lia-starter-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.lia-starter-title {
  color: var(--lia-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.lia-starter-sub {
  color: var(--lia-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.lia--drawer .lia-prompts {
  display: grid;
  flex: 0 0 auto;
  gap: 5px;
  max-width: none;
  margin: 0;
  padding: 10px 16px 0;
}

/* The empty state's starter cards replace the prompt rows (mockup view 2:
   the three starters ARE the guidance; showing both is duplicate noise). */
.lia--drawer .lia-panel:has(.lia-empty) .lia-prompts {
  display: none;
}

.lia--drawer .lia-prompt {
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px 9px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--lia-soft);
  color: var(--lia-ink);
  font-size: 12px;
  text-align: left;
  white-space: normal;
}

.lia--drawer .lia-prompt:hover {
  background: var(--lia-accent-soft);
  color: var(--lia-ink);
}

.lia--drawer .lia-prompt svg {
  width: 15px;
  height: 15px;
}

/* Composer: top-bordered strip, teal-outlined input box (mockup view 2). */
/* Composer — one clean rounded input; the mic + send sit INSIDE it on the right.
   No permanent coloured border, a soft brand focus ring, a pill-shaped field. */
.lia--drawer .lia-form {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 4px;
  width: auto;
  max-width: none;
  margin: 10px 14px 0;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--lia-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 51, .05);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lia--drawer .lia-form:focus-within {
  border-color: var(--lia-accent);
  box-shadow: 0 0 0 3px var(--lia-accent-soft);
}

.lia--drawer .lia-input-row {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lia--drawer .lia-form:focus-within .lia-input-row { box-shadow: none; }

.lia--drawer .lia-input {
  min-height: 22px;
  max-height: 108px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Kill any focus outline/border the site theme leaks onto this in-page textarea
   (programmatic focus doesn't match :focus-visible, so the theme's :focus ring
   would otherwise draw a stray box inside the composer). */
.lia--drawer .lia-input,
.lia--drawer .lia-input:focus,
.lia--drawer .lia-input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

.lia--drawer .lia-composer-foot {
  flex: 0 0 auto;
  align-self: flex-end;
  min-height: 0;
  margin: 0;
}

.lia--drawer .lia-input-controls { gap: 2px; }

/* Keep the image-confirmation explanation available to assistive technology
   without letting it consume the narrow composer flex row.  When it occupied
   normal layout, the actual customer textarea collapsed to 0px. */
.lia--drawer .lia-vision-notice {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* mic: quiet ghost button, no border/fill until hovered */
.lia--drawer .lia-form .lia-voice {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--lia-muted);
  box-shadow: none;
}
.lia--drawer .lia-form .lia-voice:hover {
  border: 0;
  background: var(--lia-soft);
  color: var(--lia-ink);
}
.lia--drawer .lia-form .lia-voice.is-listening {
  background: #fef2f2;
  color: #b91c1c;
}
.lia--drawer .lia-form .lia-voice svg { width: 18px; height: 18px; }

/* send: filled brand circle when there's text; a soft muted disc when empty */
.lia--drawer .lia-form .lia-send {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--lia-accent);
  color: #fff;
  box-shadow: none;
}
.lia--drawer .lia-form.has-value .lia-send:hover:not(:disabled) {
  background: var(--lia-accent-press);
  transform: none;
}
/* muted disc until there's something to send */
.lia--drawer .lia-form:not(.has-value) .lia-send,
.lia--drawer .lia-form .lia-send:disabled {
  border: 0;
  background: #e8eef2;
  color: #a7b7c1;
}
.lia--drawer .lia-form .lia-send svg { width: 17px; height: 17px; }

.lia--drawer .lia-privacy {
  flex: 0 0 auto;
  margin: 6px 14px max(10px, env(safe-area-inset-bottom));
  color: var(--lia-muted);
  font-size: 10px;
}

/* Scroll-to-latest: appears above the composer when the user scrolls away
   from the live end of the stream. */
.lia-scroll-latest {
  position: absolute;
  bottom: var(--lia-composer-h, 120px);
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--lia-line);
  border-radius: 999px;
  background: #fff;
  color: var(--lia-ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 31, 51, .14);
  transform: translateX(-50%);
}

.lia-scroll-latest:hover {
  border-color: var(--lia-accent);
  color: #0c7d70;
}

@media (max-width: 767px) {
  .lia--hero .lia-shell {
    min-height: min(760px, calc(100dvh - 56px));
  }

  .lia--hero .lia-panel {
    width: 100%;
    padding: 72px 16px 30px;
  }

  .lia--hero .lia-intro {
    margin-bottom: 22px;
  }

  .lia--hero .lia-eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
  }

  .lia--hero .lia-title {
    max-width: 360px;
    margin: 0 auto;
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.01;
  }

  .lia--hero .lia-form,
  .lia--inline .lia-form {
    min-height: 104px;
    padding: 13px 11px 8px 14px;
    border-radius: 20px;
  }

  .lia-input {
    min-height: 28px;
    padding-right: 2px;
    font-size: 16px;
  }

  .lia-composer-foot {
    min-height: 40px;
    margin-top: 3px;
  }

  .lia-icon-button,
  .lia-send {
    width: 44px;
    height: 44px;
  }

  .lia--hero .lia-prompts {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: calc(100vw - 32px);
    max-width: none;
    margin-top: 12px;
    padding: 0 1px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .lia--hero .lia-prompts::-webkit-scrollbar {
    display: none;
  }

  .lia--hero .lia-prompt {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 13px;
    font-size: 12px;
  }

  .lia--hero .lia-privacy {
    margin-top: 8px;
  }

  .lia--hero .lia-conversation {
    margin-top: 14px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .lia--hero .lia-answer-text {
    -webkit-line-clamp: 3;
  }

  .lia--inline .lia-panel {
    padding: 28px 16px;
    border-radius: 20px;
  }

  .lia--inline .lia-title {
    font-size: 34px;
  }

  .lia--inline .lia-prompts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lia--inline .lia-prompt {
    width: 100%;
    white-space: normal;
  }

  .lia--inline .lia-conversation {
    padding: 16px;
  }

  .lia-product-card {
    min-width: 0;
  }
}

@media (max-height: 700px) and (orientation: landscape) {
  .lia--hero .lia-shell {
    min-height: 560px;
  }

  .lia--hero .lia-panel {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .lia--hero .lia-title {
    font-size: 38px;
  }

  .lia--hero .lia-intro {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lia *,
  .lia *::before,
  .lia *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.lia-input { scrollbar-width: none; }
.lia-input::-webkit-scrollbar { display: none; }

/* ---- M2 design mode (DS v1 contrast-verified roles: teal-text #0c7d70 on light, navy labels on teal fills) ---- */
.lia-design-card {
  margin-top: 12px;
  border: 1px solid var(--lia-line);
  border-radius: 14px;
  background: var(--lia-paper);
  overflow: hidden;
}
.lia-design-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--lia-line);
  border-bottom: 1px solid var(--lia-line);
}
.lia-design-stat { background: var(--lia-soft); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.lia-design-stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0c7d70;
}
.lia-design-stat-value { font-size: 21px; font-weight: 700; color: var(--lia-ink); }
.lia-design-stat-value small { font-size: 12px; font-weight: 500; color: var(--lia-muted); }
.lia-design-stat-sub { font-size: 12px; color: var(--lia-muted); }
.lia-design-hw {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lia-soft-line);
  align-items: baseline;
}
.lia-design-hw-label {
  flex: 0 0 96px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0c7d70;
}
.lia-design-hw-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lia-design-hw-body strong { font-size: 14px; color: var(--lia-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lia-design-hw-detail { font-size: 12.5px; color: var(--lia-muted); }
.lia-design-badge {
  display: inline-block;
  background: var(--lia-accent);
  color: var(--lia-ink);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: .02em;
}
.lia-design-badge--warn { background: #fde9c8; color: #7a4b12; }
.lia-design-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 4px; }
.lia-design-pdf,
.lia-design-attach {
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lia-design-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lia-paper);
  border: 1px solid var(--lia-line);
  color: var(--lia-ink);
}
.lia-design-pdf:hover { border-color: var(--lia-accent); }
.lia-design-pdf:disabled { opacity: .55; cursor: progress; }
/* The button IS the progress state (mockup view 4-F). */
.lia-design-pdf.is-busy { opacity: .75; cursor: progress; }
.lia-design-pdf.is-busy::before {
  content: '';
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 2px solid var(--lia-line);
  border-top-color: var(--lia-accent);
  border-radius: 50%;
  animation: lia-spin 1s linear infinite;
}
.lia-design-pdf.is-done { color: #0c7d70; background: #eefaf8; border-color: #bfe8e2; }
.lia-design-attach {
  background: var(--lia-accent);
  border: 1px solid var(--lia-accent);
  color: var(--lia-ink);
  box-shadow: var(--lia-shadow-btn);
}
.lia-design-attach:hover { background: var(--lia-accent-press); transform: translateY(-1px); }
.lia-design-pdf:focus-visible,
.lia-design-attach:focus-visible { outline: none; box-shadow: var(--lia-focus); }
.lia-design-verify { margin: 6px 14px 12px; font-size: 12px; color: var(--lia-muted); }
.lia-project-facts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--lia-line);
  border-radius: 10px;
  background: var(--lia-paper);
}
.lia-project-facts__title {
  color: var(--lia-ink);
  font-size: 12px;
}
.lia-project-fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}
.lia-project-fact__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lia-project-fact__label {
  color: var(--lia-muted);
  font-size: 11px;
}
.lia-project-fact__value {
  overflow: hidden;
  color: var(--lia-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lia-project-fact__state,
.lia-project-fact__confirm {
  border-radius: 999px;
  padding: 4px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}
.lia-project-fact__state.is-suggested {
  background: #fff4d6;
  color: #78530b;
}
.lia-project-fact__state.is-known {
  background: #e8f7f1;
  color: #0b6e4f;
}
.lia-project-fact__confirm {
  border: 1px solid var(--lia-accent);
  background: transparent;
  color: var(--lia-ink);
  cursor: pointer;
}
.lia-project-fact__confirm:disabled { cursor: progress; opacity: .6; }
@media (max-width: 480px) {
  .lia-design-stats { grid-template-columns: 1fr; }
  .lia-design-hw { flex-direction: column; gap: 2px; }
  .lia-design-hw-label { flex-basis: auto; }
  .lia-project-fact { grid-template-columns: minmax(0, 1fr) auto; }
  .lia-project-fact__confirm { grid-column: 1 / -1; justify-self: start; }
}

/* rich answer text + quick replies (0.4.3) */
.lia-answer-text p { margin: 0 0 8px; }
.lia-answer-text p:last-child { margin-bottom: 0; }
.lia-answer-list { margin: 2px 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.lia-answer-list li { font-size: 15px; color: var(--lia-body); }
.lia-answer-text strong { color: var(--lia-ink); font-weight: 700; }
.lia-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lia-quick-reply {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lia-ink);
  background: var(--lia-paper);
  border: 1px solid var(--lia-line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.lia-quick-reply:hover { border-color: var(--lia-accent); background: var(--lia-accent-soft); }
.lia-quick-reply:focus-visible { outline: none; box-shadow: var(--lia-focus); }

/* ---- unified streaming UX (0.5.0): process strip, controls, tables ---- */
.lia-process { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
/* Tool chips (mockup view 4-B): white pill while running (with spinner),
   teal-tinted once done, amber when failed. */
.lia-process-step {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--lia-ink); background: #fff;
  border: 1px solid var(--lia-line);
  border-radius: 999px; padding: 4px 11px;
}
.lia-process-step svg { width: 12px; height: 12px; }
.lia-process-step:not(.is-done):not(.is-failed) svg { display: none; }
.lia-process-step:not(.is-done):not(.is-failed)::before {
  content: '';
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border: 2px solid var(--lia-line);
  border-top-color: var(--lia-accent);
  border-radius: 50%;
  animation: lia-spin 1s linear infinite;
}
.lia-process-step.is-done { color: #0c7d70; background: #eefaf8; border-color: #bfe8e2; }
.lia-process-step.is-failed { color: #7a4b12; background: #fde9c8; border-color: #e3b26a; }
.lia-answer-notes {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--lia-muted);
  font-size: 13px;
  line-height: 1.5;
}
.lia-vision-candidates {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--lia-line);
  border-radius: 14px;
  background: var(--lia-soft);
}
.lia-vision-candidate {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) 72px;
  gap: 7px;
}
.lia-vision-spatial {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--lia-line);
  border-radius: 10px;
  background: var(--lia-paper);
  color: var(--lia-ink);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}
.lia-vision-spatial__check {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--lia-accent);
}
.lia-vision-spatial__label {
  min-width: 0;
}
.lia-vision-field {
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--lia-line);
  border-radius: 10px;
  background: var(--lia-paper);
  color: var(--lia-ink);
  font: inherit;
  font-size: 13px;
}
.lia-vision-field:focus {
  outline: 0;
  border-color: var(--lia-accent);
  box-shadow: var(--lia-focus);
}
.lia-vision-save {
  justify-self: start;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--lia-accent);
  border-radius: 10px;
  background: var(--lia-accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.lia-vision-candidates.is-saved .lia-vision-field {
  background: #f7fbfa;
}
@media (max-width: 560px) {
  .lia-composer-foot {
    align-items: flex-end;
  }
  .lia-vision-notice {
    max-width: min(300px, 66vw);
    font-size: 9px;
    line-height: 1.25;
  }
  .lia-vision-candidate {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
  .lia-vision-candidate .lia-vision-field:first-child {
    grid-column: 1 / -1;
  }
}
/* Generic inline spinner (same geometry) for any element the JS decorates. */
.lia-spin {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid var(--lia-line);
  border-top-color: var(--lia-accent);
  border-radius: 50%;
  animation: lia-spin 1s linear infinite;
}
@keyframes lia-spin { to { transform: rotate(360deg); } }
.lia-stop {
  align-self: center;
  font: inherit; font-size: 13px; font-weight: 700;
  color: var(--lia-ink); background: var(--lia-paper);
  border: 1px solid var(--lia-line); border-radius: 999px;
  padding: 7px 18px; cursor: pointer; margin-top: 2px;
  transition: border-color .2s ease;
}
.lia-stop:hover { border-color: #c01f1f; color: #c01f1f; }
.lia-retry {
  display: inline-block; margin-top: 10px;
  font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--lia-muted); background: none;
  border: 1px solid var(--lia-line); border-radius: 999px;
  padding: 5px 12px; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.lia-retry:hover { color: #0c7d70; border-color: var(--lia-accent); }
.lia-message--editable { cursor: pointer; }
.lia-message--editable:hover { outline: 1px dashed var(--lia-accent); outline-offset: 2px; }
.lia-answer-table-wrap { overflow-x: auto; margin: 6px 0 10px; }
.lia-answer-table { border-collapse: collapse; font-size: 13.5px; min-width: 280px; }
.lia-answer-table th {
  text-align: left; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: #0c7d70;
  border-bottom: 2px solid var(--lia-accent);
  padding: 6px 12px 6px 0;
}
.lia-answer-table td { border-bottom: 1px solid var(--lia-soft-line); padding: 6px 12px 6px 0; color: var(--lia-body); }
.lia-stop:focus-visible, .lia-retry:focus-visible, .lia-message--editable:focus-visible { outline: none; box-shadow: var(--lia-focus); }

/* login-aware price on product cards (0.5.1) */
.lia-price-visible { color: #0c7d70; font-weight: 700; }

/* ---- state machine (0.8.0, mockup view 4 + timing table) ---- */

/* 8s+ reassurance line: JS adds .is-visible, honest about why it is slow. */
.lia-longwait {
  margin: 6px 0 0;
  color: var(--lia-muted);
  font-size: 12px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.lia-longwait.is-visible {
  opacity: 1;
}

/* Skeleton design card: gradient header bar + 2x2 shimmer cells; the real
   values fill in place on completion, no layout jump. */
.lia-design-skel {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--lia-line);
  border-radius: 13px;
  background: #fff;
}

.lia-design-skel-head {
  height: 36px;
  background: linear-gradient(145deg, #0b2439, #0f5155);
  opacity: .85;
}

.lia-design-skel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--lia-line);
}

.lia-design-skel-cell {
  padding: 12px 14px;
  background: #fff;
}

.lia-sk {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #eef2f5 25%, #e0e8ec 50%, #eef2f5 75%);
  background-size: 200% 100%;
  animation: lia-shimmer 1.4s infinite;
}

.lia-sk--label {
  width: 40%;
}

.lia-sk--value {
  width: 70%;
  height: 14px;
  margin-top: 7px;
}

@keyframes lia-shimmer {
  to { background-position: -200% 0; }
}

/* Streaming caret at the live end of the answer. */
.lia [data-streaming="1"] .lia-answer-text > p:last-child::after,
[data-streaming="1"] .lia-answer-text > ul:last-child > li:last-child::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 2px;
  border-radius: 1.5px;
  background: var(--lia-accent);
  vertical-align: text-bottom;
  animation: lia-blink .9s steps(1) infinite;
}

@keyframes lia-blink {
  50% { opacity: 0; }
}

/* Error escape hatch: retry keeps the inputs; Project review route stays available. */
.lia-error-escape {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.lia-error-escape a,
.lia-error-escape button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #eccfc9;
  border-radius: 8px;
  background: #fff;
  color: #7c2d22;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 140ms ease;
}

.lia-error-escape a:hover,
.lia-error-escape button:hover {
  border-color: #c43c2e;
}


/* ===== Roof canvas entry — flagship (option A hero + option C band) ===== */
.lia-roof-hero {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  margin: 4px 0 14px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(11, 31, 51, .22);
}
.lia-roof-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0b2439, #0f5155);
}
.lia-roof-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .26;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 26px);
}
.lia-roof-hero-poly {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 84px;
  height: 62px;
  border: 2px solid var(--lia-accent);
  background: rgba(19, 184, 166, .28);
  border-radius: 3px;
  transform: rotate(-12deg) skewX(-8deg);
}
.lia-roof-hero-poly::after {
  content: '';
  position: absolute;
  left: -4px;
  top: -4px;
  width: 7px;
  height: 7px;
  background: var(--lia-accent);
  border-radius: 50%;
  box-shadow: 76px 0 var(--lia-accent), 0 54px var(--lia-accent), 76px 54px var(--lia-accent);
}
.lia-roof-hero-in {
  position: relative;
  display: block;
  padding: 20px 18px 18px;
}
.lia-roof-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fe6db;
  margin-bottom: 8px;
}
.lia-roof-hero-eyebrow::before { content: '\25C6'; margin-right: 7px; font-size: 8px; }
.lia-roof-hero-title {
  display: block;
  font-family: 'Inter Tight', Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  max-width: 230px;
  margin-bottom: 6px;
}
.lia-roof-hero-sub {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
  max-width: 252px;
  margin-bottom: 14px;
}
.lia-roof-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lia-accent);
  color: var(--lia-ink);
  font-weight: 800;
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 15px;
}
.lia-roof-hero-cta svg { width: 15px; height: 15px; }
.lia-roof-hero:hover .lia-roof-hero-cta { background: var(--lia-accent-press); }
.lia-empty-or {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lia-muted);
  margin: 2px 0 12px;
}

/* Option C gradient band — the design-card bridge to the canvas */
.lia-design-canvas-band {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  text-decoration: none;
  background: linear-gradient(135deg, #0c7d70, #13b8a6);
  box-shadow: 0 12px 28px rgba(19, 184, 166, .28);
}
.lia-design-canvas-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.lia-design-canvas-ic svg { width: 22px; height: 22px; stroke: #fff; }
.lia-design-canvas-t {
  flex: 1;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
}
.lia-design-canvas-arr { width: 18px; height: 18px; stroke: #fff; }
.lia-design-canvas-band:hover { filter: brightness(1.05); }
@media (prefers-reduced-motion: reduce) {
  .lia-roof-hero, .lia-design-canvas-band { transition: none; }
}

/* ============================================================
   v0.9 — persistent launcher (FAB) + mini floating widget
   The sitewide advisor becomes a bottom-right floating chat
   widget (chat-bubble pattern) instead of a full-height docked
   panel, and a persistent launcher makes Linker AI reachable on
   every page. On a PDP / product-category the launcher label and
   the opened panel adapt to what the visitor is looking at.
   ============================================================ */

/* No page reflow — the widget floats over content. */
@media (min-width: 1200px) {
  body.lia-panel-open { margin-right: 0; }
}

/* Floating panel geometry (desktop + tablet). Mobile keeps the
   existing fullscreen sheet (handled in the <900px block above).
   Width/height are CSS vars so the user can free-resize the widget from its
   top-left corner; --lia-panel-w / --lia-panel-h are set by applyPanelSize(). */
@media (min-width: 900px) {
  .lia--drawer .lia-panel {
    top: auto;
    right: 20px;
    bottom: 20px;
    width: var(--lia-panel-w, 402px);
    height: var(--lia-panel-h, min(672px, calc(100vh - 40px)));
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    border: 1px solid var(--lia-line);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(11, 31, 51, .24), 0 6px 16px rgba(11, 31, 51, .12);
    transform: translateY(14px) scale(.985);
    opacity: 0;
    transition: opacity 160ms ease-out, transform 220ms cubic-bezier(.2, .85, .25, 1);
  }
  .lia--drawer.is-open .lia-panel { transform: none; opacity: 1; }
  /* during a drag, kill the transition so the panel tracks the cursor 1:1 */
  body.lia-resizing .lia--drawer .lia-panel { transition: none; }

  /* Native-style edge/corner resize. The panel is anchored bottom-right, so its
     TOP edge, LEFT edge and TOP-LEFT corner are the resize zones. Invisible
     strips that hug the border — the cursor changes when the mouse reaches the
     edge, then drag. No visible grip, no button. */
  .lia--drawer .lia-resize {
    display: block;
    position: absolute;
    background: transparent;
    padding: 0;
    margin: 0;
    z-index: 6;
  }
  .lia--drawer .lia-resize::before { content: none; }         /* no visible bar */
  .lia--drawer .lia-resize-l {
    top: 12px; bottom: 12px; left: -4px; right: auto;
    width: 10px; height: auto;
    cursor: ew-resize;
  }
  .lia--drawer .lia-resize-t {
    left: 12px; right: 12px; top: -4px; bottom: auto;
    height: 10px; width: auto;
    cursor: ns-resize;
  }
  .lia--drawer .lia-resize-tl {
    top: -4px; left: -4px; right: auto; bottom: auto;
    width: 20px; height: 20px;
    cursor: nwse-resize;
    z-index: 7;
  }
  .lia--drawer .lia-resize:focus-visible {
    outline: 2px solid var(--lia-accent);
    outline-offset: -2px;
    border-radius: 4px;
  }
}

/* Launcher / FAB — lives on <body> (the drawer host is hidden when closed). */
.lia-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #0b2439, #0f5155);
  color: #fff;
  font-family: 'Inter Tight', Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 31, 51, .28), 0 2px 6px rgba(11, 31, 51, .18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.lia-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 31, 51, .34); }
.lia-launch:active { transform: translateY(0); }
.lia-launch:focus-visible { outline: 2px solid var(--lia-accent); outline-offset: 3px; }
.lia-launch-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.lia-launch-mark svg { width: 16px; height: 16px; }
.lia-launch-label { white-space: nowrap; }
/* Hidden while the panel is open. */
body.lia-panel-open .lia-launch { opacity: 0; pointer-events: none; transform: translateY(8px) scale(.9); }

/* Context empty state (PDP / category). */
.lia-empty--ctx .lia-empty-ctxname {
  font-weight: 800;
  color: var(--lia-ink);
  font-size: 15px;
  line-height: 1.3;
  margin: -2px 0 6px;
}
.lia-starters--ctx { display: grid; gap: 8px; width: 100%; }

/* tailored suggested-question cards: the question is the title, up to 2 lines,
   vertically centred (no sub-line) */
.lia-starter--q { align-items: center; }
.lia-starter--q .lia-starter-title {
  white-space: normal;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* loading skeletons while /suggest generates the questions: the icon block and
   two text lines all shimmer, so the cards clearly read as loading (not blank). */
.lia-starter--skeleton { pointer-events: none; align-items: flex-start; }
.lia-starter--skeleton .lia-starter-text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.lia-skel,
.lia-skel-ic {
  background: linear-gradient(100deg, #d5dfe6 30%, #eef4f8 50%, #d5dfe6 70%);
  background-size: 280% 100%;
  animation: lia-skel-sheen 1.2s linear infinite;
  border-radius: 6px;
}
.lia-skel-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 0;
  background-color: transparent;
}
.lia-skel { display: block; height: 10px; }
.lia-skel--a { width: 92%; }
.lia-skel--b { width: 58%; }
.lia-starter--skeleton:nth-child(2) .lia-skel--a { width: 76%; }
.lia-starter--skeleton:nth-child(2) .lia-skel--b { width: 48%; }
.lia-starter--skeleton:nth-child(3) .lia-skel--a { width: 84%; }
.lia-starter--skeleton:nth-child(3) .lia-skel--b { width: 64%; }
@keyframes lia-skel-sheen { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  .lia-skel, .lia-skel-ic { animation: none; }
}

/* Mobile: circular launcher; the panel stays the fullscreen sheet. */
@media (max-width: 899px) {
  .lia-launch {
    right: 16px;
    bottom: 16px;
    padding: 0;
    width: 54px;
    height: 54px;
    justify-content: center;
  }
  .lia-launch-label { display: none; }
  .lia-launch-mark { width: 30px; height: 30px; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .lia--drawer .lia-panel { transition: opacity 120ms linear; transform: none; }
  .lia-launch { transition: opacity 120ms linear; }
  .lia-launch:hover { transform: none; }
}

/* Visual system refresh — calmer technical workspace, unchanged assistant
   actions and evidence behaviour. */
@media (min-width: 900px) {
  .lia--drawer .lia-panel {
    right: 18px;
    bottom: 18px;
    width: var(--lia-panel-w, 446px);
    height: var(--lia-panel-h, min(724px, calc(100vh - 36px)));
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
    border-color: #d8e3e9;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(11, 31, 51, .22), 0 8px 24px rgba(11, 31, 51, .10);
  }
}

.lia-panel-head {
  min-height: 66px;
  padding: 14px 17px;
  border-bottom-color: #e3ebef;
}

.lia-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(19, 184, 166, .2);
}

.lia--drawer .lia-title {
  font-size: 15px;
  letter-spacing: -.015em;
}

.lia-trust {
  font-size: 10.5px;
  letter-spacing: .01em;
}

.lia-head-btns {
  gap: 5px;
}

.lia-head-btns .lia-icon-button {
  width: 32px;
  height: 32px;
  border-color: transparent;
  border-radius: 9px;
  background: transparent;
}

.lia-head-btns .lia-icon-button:hover {
  border-color: #dfe8ed;
  background: #f4f8fa;
}

.lia--drawer .lia-conversation {
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)),
    radial-gradient(circle at 1px 1px, #ccd9df 1px, transparent 1.2px);
  background-color: #f4f7f9;
  background-size: auto, 18px 18px;
}

.lia--drawer .lia-message--assistant {
  max-width: 94%;
  padding: 14px 15px;
  border-color: #dde6eb;
  border-radius: 14px 14px 14px 5px;
  box-shadow: 0 6px 18px rgba(11, 31, 51, .045);
}

.lia--drawer .lia-message--user {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 14px 14px 5px 14px;
  box-shadow: 0 6px 18px rgba(11, 31, 51, .08);
}

.lia--drawer .lia-empty {
  align-items: stretch;
  margin: 0 auto auto;
  padding: 5px 0 16px;
  text-align: left;
}

.lia--drawer .lia-empty-mark {
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  border-radius: 11px;
  box-shadow: 0 9px 24px rgba(19, 184, 166, .2);
}

.lia--drawer .lia-empty h3 {
  max-width: 340px;
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.22;
}

.lia--drawer .lia-empty p {
  max-width: 350px;
  margin-bottom: 17px;
  font-size: 12.5px;
}

.lia--drawer .lia-empty--ctx {
  padding: 16px;
  border: 1px solid #d9e8e7;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(233,247,245,.9));
  box-shadow: 0 12px 30px rgba(11, 31, 51, .055);
}

.lia-empty--ctx .lia-empty-ctxname {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 17px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f7f4;
  color: #0c7d70;
  font-size: 11px;
  letter-spacing: .035em;
}

.lia-starters,
.lia-starters--ctx {
  max-width: none;
  gap: 8px;
}

.lia-starter {
  min-height: 58px;
  padding: 11px 12px;
  border-color: #dce6eb;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(11, 31, 51, .025);
}

.lia-starter:hover {
  border-color: #13b8a6;
  background: #fbfefe;
  box-shadow: 0 8px 20px rgba(19, 184, 166, .075);
}

.lia-starter-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.lia--drawer .lia-form {
  margin: 12px 14px 0;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(11, 31, 51, .065);
}

.lia--drawer .lia-privacy {
  margin-top: 8px;
  padding-bottom: 11px;
}

@media (max-width: 899px) {
  .lia-panel-head {
    min-height: 62px;
    padding-left: 14px;
    padding-right: 12px;
  }

  .lia--drawer .lia-conversation {
    padding: 15px 14px 18px;
  }

  .lia--drawer .lia-empty--ctx {
    padding: 14px;
  }

  .lia--drawer .lia-empty h3 {
    font-size: 18px;
  }
}
