@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/public/fonts/manrope/manrope-latin-wght-normal.woff2') format('woff2');
}

.lia-page { --lia-ink: #161619; --lia-muted: #65656e; --lia-border: #e5e5e8; }
.lia-page main { color: var(--lia-ink); }
.lia-page .corporate-nav a[aria-current='page'] { color: #101e32; font-weight: 800; }
.lia-page :is(section, h2)[id] { scroll-margin-top: 110px; }
.lia-skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: #111; color: white; transform: translateY(-180%); }
.lia-skip-link:focus { transform: translateY(0); }
.lia-page main > section.lia-hero { padding: 85px 32px 72px; background: #f4f6f9; }
.lia-breadcrumb { display: flex; gap: 12px; color: #666975; font-size: 12px; }
.lia-breadcrumb a:hover { color: #111; }
.lia-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; margin-top: 36px; }
.lia-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #666975; }
.lia-hero h1 { margin: 22px 0; font-size: clamp(42px, 5.1vw, 72px); font-weight: 700; letter-spacing: -.055em; line-height: 1.07; }
.lia-hero h1 span { display: block; }
.lia-lead { max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: #383940; }
.lia-hero-description { max-width: 490px; margin-top: 18px; color: #656771; font-size: 14px; line-height: 1.9; }
.lia-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.lia-text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 700; color: #363944; }
.lia-text-link:hover { color: #1d4ed8; }
.lia-hero-tags { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; font-size: 11px; color: #6b6d76; }
.lia-hero-tags span { display: flex; align-items: center; gap: 8px; }
.lia-hero-tags span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #a3a5ad; }
.lia-hero-figure { position: relative; margin: 0; padding: 24px; border: 1px solid #dedee3; border-radius: 24px; background: #fafafa; box-shadow: 0 24px 64px -42px #17202d66; color-scheme: light; isolation: isolate; }
.lia-hero-figure::before { content: ''; position: absolute; inset: 60px 0 76px; z-index: -1; background-image: radial-gradient(#dedee3 .85px, transparent .85px); background-size: 18px 18px; mask-image: linear-gradient(transparent, black 30%, black 70%, transparent); }
.lia-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lia-stage-label { color: #27282d; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.lia-stage-mode { font-size: 10px; color: #747780; }
.lia-hero-art { display: grid; place-items: center; min-height: 332px; padding: 20px; }
.lia-hero-art img { width: 320px; max-width: 90%; height: auto; color-scheme: light; }
.lia-hero-figure figcaption { position: relative; z-index: 1; display: grid; gap: 6px; padding: 18px 20px; border: 1px solid #e4e4e8; border-radius: 12px; background: #fff; }
.lia-greeting { color: #23242a; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.lia-greeting-note { color: #777983; font-size: 11px; }
.lia-orbit { position: absolute; z-index: 2; padding: 9px 13px; border: 1px solid #dedee3; background: #fff; border-radius: 12px; color: #62636e; font-size: 11px; box-shadow: 0 5px 16px #00000004; }
.lia-orbit-one { top: 25%; left: 7%; transform: rotate(-9deg); }
.lia-orbit-two { bottom: 31%; right: 6%; transform: rotate(7deg); }
.lia-page .pp-heading h2, .lia-faq-grid h2 { color: var(--lia-ink); }
.lia-resource-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.lia-resource-card { display: flex; flex-direction: column; grid-column: span 2; padding: 24px; border: 1px solid var(--lia-border); border-radius: 16px; background: #fff; }
.lia-card-art { display: flex; align-items: center; justify-content: center; height: 182px; margin: -12px -12px 24px; border-radius: 10px; background: #f7f7f8; color-scheme: light; }
.lia-card-art img { width: 205px; height: auto; color-scheme: light; }
.lia-card-kicker { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #737681; }
.lia-resource-card h3 { margin-top: 10px; font-size: 21px; line-height: 1.3; }
.lia-resource-card p { margin-top: 12px; color: var(--lia-muted); font-size: 13px; line-height: 1.85; }
.lia-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 24px; margin-top: auto; color: #484b56; font-size: 11px; font-weight: 600; }
a.lia-card-foot:hover { color: #1d4ed8; }
.lia-resource-wide { grid-column: span 3; flex-direction: row; gap: 24px; align-items: flex-start; padding: 30px; background: #f7f7f8; }
.lia-small-icon { width: 46px; height: 46px; flex-shrink: 0; padding: 5px; border: 1px solid #dedee4; border-radius: 12px; background: #fff; color: #202127; }
.lia-small-icon svg { width: 100%; height: 100%; }
.lia-resource-wide h3 { font-size: 19px; }
.lia-availability { margin-top: 24px; max-width: 910px; font-size: 12px; line-height: 1.8; color: #6b6d77; }
.lia-page main > section.lia-control { padding: 88px 32px; color: #f4f4f5; background: #18191c; }
.lia-control-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 110px; align-items: center; }
.lia-control .lia-eyebrow { color: #aaabb4; }
.lia-control h2 { margin-top: 18px; font-size: clamp(29px, 3vw, 40px); line-height: 1.2; }
.lia-control-intro { margin-top: 20px; max-width: 470px; color: #b6b6bf; font-size: 14px; line-height: 1.85; }
.lia-steps { margin-top: 34px; display: grid; gap: 26px; }
.lia-steps li { display: flex; gap: 18px; }
.lia-steps li > span { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; border: 1px solid #44454c; border-radius: 8px; color: #b1b2ba; font: 11px ui-monospace, monospace; }
.lia-steps h3 { margin-bottom: 5px; font-size: 14px; }
.lia-steps p { color: #9698a2; font-size: 12px; line-height: 1.8; }
.lia-usage-card { padding: 30px; border: 1px solid #41424a; border-radius: 18px; background: #24252a; color-scheme: dark; }
.lia-usage-head { display: flex; align-items: center; gap: 15px; }
.lia-usage-head img { width: 86px; height: auto; margin: -12px 0 -12px -15px; color-scheme: dark; }
.lia-usage-head span { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: #a6a8b3; }
.lia-usage-head h3 { font-size: 20px; margin-top: 8px; line-height: 1.3; }
.lia-usage-card > p { margin-top: 24px; font-size: 12px; color: #b1b3bc; line-height: 1.9; }
.lia-usage-list { display: grid; margin-top: 24px; }
.lia-usage-list div { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid #41424a; }
.lia-usage-list dt { font-size: 12px; color: #979aa5; }
.lia-usage-list dd { text-align: right; font-size: 12px; font-weight: 600; color: #e6e6eb; }
.lia-usage-card .lia-usage-note { margin-top: 10px; font-size: 10px; color: #9294a0; line-height: 1.85; }
.lia-usage-link { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 11px; color: #dfdfe5; }
.lia-usage-link:hover { color: #fff; text-decoration: underline; }
.lia-gallery { --gallery-bg: #f6f6f7; --gallery-surface: #fff; --gallery-line: #dedee3; --gallery-ink: #17181c; --gallery-muted: #727581; background: var(--gallery-bg); color: var(--gallery-ink); padding: 26px; border: 1px solid var(--gallery-line); border-radius: 18px; color-scheme: light; }
.lia-gallery[data-theme='dark'] { --gallery-bg: #17181c; --gallery-surface: #232429; --gallery-line: #3b3d45; --gallery-ink: #fafafa; --gallery-muted: #abadb7; color-scheme: dark; }
.lia-gallery-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.lia-gallery-label { font-size: 12px; font-weight: 700; }
.lia-theme-control { display: inline-flex; padding: 3px; border: 1px solid var(--gallery-line); border-radius: 9px; gap: 3px; }
.lia-theme-control button { min-height: 38px; padding: 8px 16px; border: 0; border-radius: 6px; background: transparent; color: var(--gallery-muted); font: 600 11px Manrope, sans-serif; cursor: pointer; }
.lia-theme-control button[aria-pressed='true'] { color: var(--gallery-ink); background: var(--gallery-surface); box-shadow: 0 1px 3px #00000015; }
.lia-gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lia-gallery-grid figure { min-width: 0; padding: 10px 12px 18px; border: 1px solid var(--gallery-line); border-radius: 12px; background: var(--gallery-surface); }
.lia-gallery-grid img { display: block; width: 100%; height: auto; color-scheme: inherit; }
.lia-gallery-grid figcaption { display: grid; gap: 7px; text-align: center; }
.lia-gallery-grid strong { font-size: 11px; line-height: 1.5; }
.lia-gallery-grid figcaption span { font-size: 10px; line-height: 1.6; color: var(--gallery-muted); }
.lia-gallery-note { margin-top: 15px; color: #777984; font-size: 11px; line-height: 1.7; }
.lia-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 90px; }
.lia-faq-grid h2 { margin-top: 18px; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; }
.lia-faq-grid .pp-intro { margin-top: 22px; font-size: 14px; }
.lia-faq-grid .pp-faq summary { font-size: 14px; }
.lia-faq-grid .pp-faq details p { font-size: 13px; }

@media (max-width: 1100px) {
  .lia-hero-grid { gap: 40px; }
  .lia-stage-mode { display: none; }
  .lia-control-grid { gap: 55px; }
  .lia-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lia-gallery-grid figure:last-child:nth-child(3n + 2) { grid-column: auto; }
  .lia-faq-grid { gap: 45px; }
}
@media (max-width: 850px) {
  .lia-page main > section.lia-hero { padding: 76px 24px 55px; }
  .lia-hero-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .lia-hero-copy { max-width: 590px; }
  .lia-hero h1 { font-size: clamp(45px, 7vw, 65px); }
  .lia-hero-figure { max-width: 600px; width: 100%; }
  .lia-hero-art { min-height: 265px; padding: 0; }
  .lia-hero-art img { width: 290px; }
  .lia-stage-mode { display: block; }
  .lia-resource-card { grid-column: span 3; }
  .lia-resource-card:nth-child(3) { grid-column: span 6; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 24px; }
  .lia-resource-card:nth-child(3) .lia-card-art { grid-row: 1 / 5; height: auto; margin: 0; }
  .lia-resource-card:nth-child(3) .lia-card-kicker { padding-top: 10px; }
  .lia-resource-wide { grid-column: span 6; }
  .lia-page main > section.lia-control { padding: 64px 24px; }
  .lia-control-grid, .lia-faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .lia-usage-card { max-width: 640px; }
}
@media (max-width: 560px) {
  .lia-page main > section.lia-hero { padding: 68px 20px 45px; }
  .lia-hero-grid { gap: 36px; }
  .lia-eyebrow { font-size: 9px; letter-spacing: .12em; line-height: 1.8; }
  .lia-hero h1 { margin-top: 18px; font-size: 47px; }
  .lia-lead { font-size: 18px; }
  .lia-hero-description { font-size: 13px; }
  .lia-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .lia-hero-tags { margin-top: 26px; }
  .lia-hero-figure { padding: 18px; border-radius: 18px; }
  .lia-hero-art { min-height: 264px; }
  .lia-stage-mode { max-width: 120px; text-align: right; font-size: 9px; line-height: 1.5; }
  .lia-orbit { font-size: 9px; padding: 7px 10px; }
  .lia-orbit-one { left: 5%; }
  .lia-orbit-two { bottom: 29%; right: 4%; }
  .lia-greeting { font-size: 15px; }
  .lia-greeting-note { font-size: 10px; line-height: 1.7; }
  .lia-resource-grid { grid-template-columns: 1fr; gap: 18px; }
  .lia-resource-card, .lia-resource-card:nth-child(3), .lia-resource-wide { display: flex; grid-column: auto; padding: 23px; }
  .lia-resource-card:nth-child(3) .lia-card-art { height: 182px; margin: -12px -12px 24px; }
  .lia-resource-card:nth-child(3) .lia-card-kicker { padding-top: 0; }
  .lia-resource-wide { gap: 16px; }
  .lia-resource-wide h3 { font-size: 17px; }
  .lia-resource-wide p { font-size: 12px; }
  .lia-small-icon { width: 36px; height: 36px; border-radius: 8px; }
  .lia-page main > section.lia-control { padding: 50px 20px; }
  .lia-usage-card { padding: 22px; }
  .lia-usage-head h3 { font-size: 18px; }
  .lia-usage-head img { width: 66px; }
  .lia-usage-list { margin-top: 18px; }
  .lia-usage-list dt, .lia-usage-list dd { font-size: 11px; }
  .lia-usage-list div { gap: 10px; }
  .lia-gallery { padding: 18px; }
  .lia-gallery-head { gap: 14px; }
  .lia-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lia-gallery-grid figure { padding: 5px 8px 14px; }
  .lia-gallery-grid figure:last-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 8px 12px; }
  .lia-gallery-grid figure:last-child img { width: 44%; }
  .lia-gallery-grid figure:last-child figcaption { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .lia-page *, .lia-page *::before, .lia-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Atendimento por áudio: demonstração animada */
.lia-voice { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; margin-bottom: 40px; }
.lia-voice-stage { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; overflow: hidden; border-radius: 22px; background: radial-gradient(120% 90% at 50% 38%, #26314a 0%, #18191c 62%); color: #fafafa; color-scheme: dark; isolation: isolate; }
.lia-voice-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff14 .85px, transparent .85px); background-size: 18px 18px; mask-image: radial-gradient(circle at 50% 42%, black 20%, transparent 70%); }
.lia-voice-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lia-voice-label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #aeb3c2; }
.lia-voice-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #ffffff1f; border-radius: 99px; background: #ffffff0d; font-size: 11px; color: #e4e6ee; }
.lia-voice-status b { font-weight: 600; }
.lia-voice-status i { width: 7px; height: 7px; border-radius: 50%; background: #8b90a0; transition: background .3s; }
[data-state='listening'] .lia-voice-status i { background: #38bdf8; animation: lia-voice-blink 1s ease-in-out infinite; }
[data-state='thinking'] .lia-voice-status i { background: #a78bfa; animation: lia-voice-blink .6s ease-in-out infinite; }
[data-state='cooking'] .lia-voice-status i { background: #fbbf24; animation: lia-voice-blink .5s ease-in-out infinite; }
[data-state='forging'] .lia-voice-status i { background: #fb923c; animation: lia-voice-blink .35s ease-in-out infinite; }
[data-state='speaking'] .lia-voice-status i { background: #4ade80; animation: lia-voice-blink .8s ease-in-out infinite; }
[data-state='done'] .lia-voice-status i { background: #4ade80; }
.lia-voice-avatar { position: relative; width: 320px; max-width: 100%; height: 236px; margin: 20px auto 6px; }
.lia-voice-body { position: absolute; z-index: 2; top: 50%; left: 50%; width: 118px; height: 135px; margin: -62px 0 0 -59px; transform-origin: 50% 90%; animation: lia-voice-float 5s ease-in-out infinite; transition: translate .5s cubic-bezier(.3, 1.4, .5, 1); }
.lia-voice-face { display: block; width: 100%; height: auto; color: #fff; filter: drop-shadow(0 16px 30px #0000004d); }
.lia-voice-eyes { transform-box: view-box; transform-origin: 445px 450px; transition: transform .35s ease; animation: lia-voice-wander 7s ease-in-out infinite; }
.lia-voice-eye { transform-box: fill-box; transform-origin: center; animation: lia-voice-blink-eye 4.2s ease-in-out infinite; }
.lia-voice-eye.is-right { animation-delay: .04s; }
/* Ouvindo: olhos atentos, voltados para a mensagem */
[data-state='listening'] .lia-voice-body { animation: lia-voice-listen 1.4s ease-in-out infinite; }
[data-state='listening'] .lia-voice-eyes { animation: lia-voice-eyes-listen 1.4s ease-in-out infinite; }
[data-state='listening'] .lia-voice-eye { animation: lia-voice-eye-wide 2.8s ease-in-out infinite; }
/* Pensando: olhar para cima, de um lado para o outro, com uma sobrancelha desconfiada */
[data-state='thinking'] .lia-voice-body { animation: lia-voice-think 2s ease-in-out infinite; }
[data-state='thinking'] .lia-voice-eyes { animation: lia-voice-eyes-think 2s ease-in-out infinite; }
[data-state='thinking'] .lia-voice-eye.is-left { animation: lia-voice-eye-hmm 2s ease-in-out infinite; }
[data-state='thinking'] .lia-voice-eye.is-right { animation: lia-voice-eye-hmm 2s ease-in-out infinite reverse; }
/* Cozinhando: olhos felizes mirando a panela */
[data-state='cooking'] .lia-voice-body { translate: 26px 0; animation: lia-voice-cook .5s ease-in-out infinite alternate; }
[data-state='cooking'] .lia-voice-eyes { transform: translate(-70px, 55px); animation: none; }
[data-state='cooking'] .lia-voice-eye { animation: lia-voice-eye-happy .5s ease-in-out infinite alternate; }
/* Forjando: olhar na bigorna e piscada a cada martelada */
[data-state='forging'] .lia-voice-body { translate: -26px 0; animation: lia-voice-forge .7s ease-in-out infinite; }
[data-state='forging'] .lia-voice-eyes { transform: translate(75px, 60px); animation: none; }
[data-state='forging'] .lia-voice-eye { animation: lia-voice-eye-hit .7s ease-in-out infinite; }
/* Falando: olhos pulsando no ritmo da voz */
[data-state='speaking'] .lia-voice-body { animation: lia-voice-bounce .9s ease-in-out infinite; }
[data-state='speaking'] .lia-voice-eyes { animation: lia-voice-eyes-talk 1.8s ease-in-out infinite; }
[data-state='speaking'] .lia-voice-eye { animation: lia-voice-eye-talk .45s ease-in-out infinite alternate; }
[data-state='speaking'] .lia-voice-eye.is-right { animation-delay: -.1s; }
/* Resposta enviada: sorriso nos olhos e uma piscadinha */
[data-state='done'] .lia-voice-body { animation: lia-voice-hop 1.1s cubic-bezier(.3, 1.5, .5, 1) 1 both; }
[data-state='done'] .lia-voice-eyes { transform: translate(0, -20px); animation: none; }
[data-state='done'] .lia-voice-eye.is-left { animation: none; transform: scaleY(.42); }
[data-state='done'] .lia-voice-eye.is-right { animation: lia-voice-wink 2.4s ease-in-out infinite; }
.lia-voice-glow, .lia-voice-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; }
.lia-voice-glow { width: 170px; height: 170px; margin: -85px 0 0 -85px; background: radial-gradient(circle, #60a5fa55, transparent 70%); opacity: .45; transition: opacity .4s, transform .4s, background .4s; }
[data-state='speaking'] .lia-voice-glow { opacity: 1; transform: scale(1.25); }
[data-state='cooking'] .lia-voice-glow { opacity: .9; background: radial-gradient(circle, #fbbf2440, transparent 70%); }
[data-state='forging'] .lia-voice-glow { opacity: 1; background: radial-gradient(circle, #fb923c55, transparent 70%); animation: lia-voice-glow-hit .7s ease-in-out infinite; }
[data-state='thinking'] .lia-voice-glow { opacity: .8; background: radial-gradient(circle, #a78bfa45, transparent 70%); }
.lia-voice-ring { width: 196px; height: 196px; margin: -98px 0 0 -98px; border: 2px solid #7dd3fc; opacity: 0; }
[data-state='speaking'] .lia-voice-ring { animation: lia-voice-ring 2.4s ease-out infinite; }
[data-state='speaking'] .lia-voice-ring:nth-of-type(3) { animation-delay: .8s; border-color: #a5b4fc; }
[data-state='speaking'] .lia-voice-ring:nth-of-type(4) { animation-delay: 1.6s; border-color: #86efac; }
[data-state='listening'] .lia-voice-ring:nth-of-type(2) { opacity: .35; animation: lia-voice-breathe 1.4s ease-in-out infinite; }
.lia-voice-note { position: absolute; z-index: 3; font-size: 22px; color: #c7d2fe; opacity: 0; }
.lia-voice-note.is-one { top: 26px; right: 74px; }
.lia-voice-note.is-two { bottom: 50px; left: 70px; font-size: 17px; color: #bbf7d0; }
.lia-voice-note.is-three { top: 70px; left: 56px; font-size: 15px; color: #fde68a; }
[data-state='speaking'] .lia-voice-note { animation: lia-voice-note 2.2s ease-out infinite; }
[data-state='speaking'] .lia-voice-note.is-two { animation-delay: .75s; }
[data-state='speaking'] .lia-voice-note.is-three { animation-delay: 1.5s; }
.lia-voice-hat, .lia-voice-pot, .lia-voice-forge, .lia-voice-bulb, .lia-voice-think { position: absolute; opacity: 0; transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1); pointer-events: none; }
.lia-voice-hat { z-index: 3; top: -44px; left: 50%; width: 74px; margin-left: -37px; transform: translateY(-26px) rotate(-8deg); }
[data-state='cooking'] .lia-voice-hat { opacity: 1; transform: translateY(0) rotate(-8deg); }
.lia-voice-pot { z-index: 3; bottom: 4px; left: 26px; width: 118px; transform: translateY(24px) scale(.8); }
[data-state='cooking'] .lia-voice-pot { opacity: 1; transform: none; }
.lia-voice-steam path { opacity: 0; }
[data-state='cooking'] .lia-voice-steam path { animation: lia-voice-steam 1.3s ease-out infinite; }
[data-state='cooking'] .lia-voice-steam .is-b { animation-delay: .43s; }
[data-state='cooking'] .lia-voice-steam .is-c { animation-delay: .86s; }
.lia-voice-spoon { transform-box: view-box; transform-origin: 70px 56px; }
[data-state='cooking'] .lia-voice-spoon { animation: lia-voice-stir .8s ease-in-out infinite alternate; }
.lia-voice-flame { transform-box: fill-box; transform-origin: 50% 100%; }
[data-state='cooking'] .lia-voice-flame { animation: lia-voice-flame .25s ease-in-out infinite alternate; }
.lia-voice-forge { z-index: 3; right: 14px; bottom: 4px; width: 136px; transform: translateY(24px) scale(.8); }
[data-state='forging'] .lia-voice-forge { opacity: 1; transform: none; }
.lia-voice-hammer { transform-box: view-box; transform-origin: 116px 24.5px; transform: rotate(-42deg); }
[data-state='forging'] .lia-voice-hammer { animation: lia-voice-hammer .7s ease-in infinite; }
.lia-voice-sparks { transform-box: view-box; transform-origin: 52px 46px; opacity: 0; }
[data-state='forging'] .lia-voice-sparks { animation: lia-voice-sparks .7s ease-out infinite; }
.lia-voice-forged { transform-box: view-box; transform-origin: 50px 52px; transform: scaleY(.25); }
[data-state='forging'] .lia-voice-forged { animation: lia-voice-forged 2.2s steps(3, end) forwards, lia-voice-hot .7s ease-out infinite; }
.lia-voice-think { z-index: 3; top: 4px; left: 36px; width: 80px; height: 64px; transform: scale(.6); transform-origin: 100% 100%; }
[data-state='thinking'] .lia-voice-think { opacity: 1; transform: none; }
.lia-voice-think > i { position: absolute; border-radius: 50%; background: #fff; }
.lia-voice-think > i:first-child { right: 4px; bottom: 0; width: 8px; height: 8px; }
.lia-voice-think > i:nth-child(2) { right: 14px; bottom: 12px; width: 12px; height: 12px; }
.lia-voice-dots { position: absolute; top: 0; left: 0; display: flex; gap: 5px; padding: 11px 13px; border-radius: 18px; background: #fff; }
.lia-voice-dots i, .lia-voice-typing i { width: 6px; height: 6px; border-radius: 50%; background: #6b7280; animation: lia-voice-dot 1s ease-in-out infinite; }
.lia-voice-dots i:nth-child(2), .lia-voice-typing i:nth-child(2) { animation-delay: .15s; }
.lia-voice-dots i:nth-child(3), .lia-voice-typing i:nth-child(3) { animation-delay: .3s; }
.lia-voice-bulb { z-index: 3; top: 0; right: 70px; width: 36px; transform: scale(.4); }
[data-state='thinking'] .lia-voice-bulb { animation: lia-voice-bulb 2s ease-out forwards; }
[data-state='thinking'] .lia-voice-bulb-rays { animation: lia-voice-blink .5s ease-in-out infinite; }
.lia-voice-eq { display: flex; align-items: center; justify-content: center; gap: 4px; height: 46px; }
.lia-voice-eq i { width: 4px; height: 6px; border-radius: 4px; background: linear-gradient(#7dd3fc, #818cf8); opacity: .35; transition: height .3s, opacity .3s; }
[data-state='listening'] .lia-voice-eq i { opacity: .65; background: #38bdf8; animation: lia-voice-eq 1.1s ease-in-out infinite; }
[data-state='speaking'] .lia-voice-eq i { opacity: 1; animation: lia-voice-eq .75s ease-in-out infinite; }
.lia-voice-eq i:nth-child(3n) { animation-delay: -.2s !important; }
.lia-voice-eq i:nth-child(3n + 1) { animation-delay: -.45s !important; }
.lia-voice-eq i:nth-child(4n) { animation-duration: .6s !important; }
.lia-voice-eq i:nth-child(5n) { animation-delay: -.1s !important; animation-duration: .95s !important; }
.lia-voice-caption { display: grid; gap: 8px; min-height: 104px; margin-top: 18px; padding: 16px 18px; border: 1px solid #ffffff1a; border-radius: 14px; background: #ffffff0d; font-size: 15px; line-height: 1.65; color: #ffffff59; }
.lia-voice-speaker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; }
[data-speaker='client'] .lia-voice-speaker { color: #86efac; }
.lia-voice-caption .is-on { color: #fff; transition: color .2s; }
.lia-voice-caption .is-now { color: #fff; text-shadow: 0 0 18px #93c5fd; }
.lia-voice-phone { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dfe2e8; border-radius: 22px; background: #efeae2; box-shadow: 0 24px 60px -44px #17202d80; color-scheme: light; }
.lia-voice-chat-head { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; border-bottom: 1px solid #e6e6ea; }
.lia-voice-chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: #f1f2f5; }
.lia-voice-chat-avatar svg { width: 26px; height: 26px; color: #161619; }
.lia-voice-chat-name { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.lia-voice-chat-name b { font-size: 14px; color: #111; }
.lia-voice-chat-name small { font-size: 11px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-state='thinking'] .lia-voice-chat-name small { color: #15803d; }
.lia-voice-chat-badge { flex-shrink: 0; padding: 5px 9px; border-radius: 99px; background: #e8f5ec; color: #166534; font-size: 10px; font-weight: 700; }
.lia-voice-chat { display: flex; flex: 1; flex-direction: column; gap: 12px; min-height: 300px; padding: 18px 16px; background-color: #efeae2; background-image: radial-gradient(#d9d2c5 .9px, transparent .9px); background-size: 16px 16px; }
.lia-voice-day { align-self: center; padding: 4px 10px; border-radius: 7px; background: #ffffffd9; font-size: 10px; color: #667085; }
.lia-voice-msg { position: relative; display: flex; align-items: center; gap: 10px; max-width: 88%; padding: 9px 12px 20px; border-radius: 12px; box-shadow: 0 1px 1px #0000001a; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.3, .4, 1); }
.lia-voice-msg.is-in { opacity: 1; transform: none; }
.lia-voice-msg.is-out { display: none; }
.lia-voice-msg.is-client { align-self: flex-end; width: 250px; background: #d9fdd3; border-top-right-radius: 3px; }
.lia-voice-msg.is-lia { align-self: flex-start; width: 270px; padding-right: 50px; background: #fff; border-top-left-radius: 3px; }
.lia-voice-msg.is-recording { align-self: flex-start; padding: 10px 14px; background: #fff; border-top-left-radius: 3px; font-size: 12px; color: #15803d; }
.lia-voice-play { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; color: #54656f; }
.lia-voice-play svg { width: 26px; height: 26px; fill: currentColor; }
.lia-voice-play .is-pause, .is-playing .lia-voice-play .is-play { display: none; }
.is-playing .lia-voice-play .is-pause { display: block; }
.lia-voice-wave { display: flex; flex: 1; align-items: center; gap: 2px; height: 28px; min-width: 0; }
.lia-voice-wave i { flex: 1; min-width: 2px; max-width: 3px; border-radius: 2px; background: #b3bcc3; transition: background .15s; }
.is-client .lia-voice-wave i { background: #9cc79a; }
.lia-voice-wave i.is-on { background: #1d9bf0; }
.is-client .lia-voice-wave i.is-on { background: #1f7a4d; }
.is-playing .lia-voice-wave i.is-now { animation: lia-voice-peak .35s ease-in-out infinite alternate; }
.lia-voice-meta { position: absolute; right: 12px; bottom: 5px; left: 52px; display: flex; justify-content: space-between; font-size: 10px; color: #667781; }
.is-lia .lia-voice-meta { right: 58px; }
.lia-voice-meta em { font-style: normal; color: #53bdeb; }
.lia-voice-avatar-mini { position: absolute; right: 8px; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: #f1f2f5; transform: translateY(-50%); }
.lia-voice-avatar-mini svg { width: 24px; height: 24px; color: #161619; }
.lia-voice-mic { display: inline-grid; width: 16px; height: 16px; color: #15803d; animation: lia-voice-blink 1s ease-in-out infinite; }
.lia-voice-mic svg, .lia-voice-compose-mic svg { width: 100%; height: 100%; fill: currentColor; }
.lia-voice-typing { display: inline-flex; gap: 3px; margin-left: 2px; }
.lia-voice-typing i { width: 4px; height: 4px; background: #15803d; }
.lia-voice-compose { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f0f2f5; }
.lia-voice-compose > span:first-child { flex: 1; padding: 10px 16px; border-radius: 22px; background: #fff; font-size: 12px; color: #8696a0; }
.lia-voice-compose-mic { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #1f7a4d; color: #fff; }
[data-state='listening'] .lia-voice-compose-mic { animation: lia-voice-breathe 1.2s ease-in-out infinite; }
.lia-voice-foot { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.lia-voice-transcript { max-width: 820px; font-size: 12px; line-height: 1.8; color: #6b6d77; }
.lia-voice-transcript span { font-weight: 700; color: #45474f; }
.lia-voice-toggle { flex-shrink: 0; min-height: 40px; padding: 9px 16px; border: 1px solid #d6d8de; border-radius: 10px; background: #fff; color: #2a2c33; font: 700 11px Manrope, sans-serif; cursor: pointer; }
.lia-voice-toggle:hover { border-color: #9ea2ad; }
.lia-voice-toggle:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.lia-voice.is-paused *, .lia-voice.is-paused *::before, .lia-voice.is-paused *::after { animation-play-state: paused !important; }

@keyframes lia-voice-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes lia-voice-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes lia-voice-listen { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-5px); } }
@keyframes lia-voice-think { 0%, 100% { transform: rotate(-5deg) translateY(-4px); } 50% { transform: rotate(-2deg) translateY(-9px); } }
@keyframes lia-voice-cook { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-7px) rotate(3deg); } }
@keyframes lia-voice-forge { 0%, 60%, 100% { transform: translateY(-3px) rotate(0); } 70% { transform: translateY(2px) rotate(-2deg) scale(1.03, .96); } 82% { transform: translateY(-1px) rotate(1deg); } }
@keyframes lia-voice-bounce { 0%, 100% { transform: translateY(0) rotate(-1.5deg) scale(1); } 25% { transform: translateY(-7px) rotate(1.5deg) scale(1.03); } 55% { transform: translateY(-2px) rotate(-1deg) scale(.99); } 80% { transform: translateY(-5px) rotate(2deg) scale(1.02); } }
@keyframes lia-voice-hop { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-18px) scale(1.05, .95) rotate(-4deg); } 60% { transform: translateY(0) scale(1.06, .92); } 100% { transform: translateY(0) scale(1); } }
@keyframes lia-voice-wander { 0%, 12%, 100% { transform: translate(0, 0); } 22%, 40% { transform: translate(-55px, 10px); } 50%, 70% { transform: translate(55px, -25px); } 80% { transform: translate(0, 0); } }
@keyframes lia-voice-blink-eye { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes lia-voice-eyes-listen { 0%, 100% { transform: translate(70px, 5px); } 50% { transform: translate(70px, 25px); } }
@keyframes lia-voice-eye-wide { 0%, 40%, 48%, 100% { transform: scale(1.15); } 44% { transform: scale(1.15, .08); } }
@keyframes lia-voice-eyes-think { 0%, 40% { transform: translate(-65px, -75px); } 50%, 90% { transform: translate(65px, -75px); } 100% { transform: translate(-65px, -75px); } }
@keyframes lia-voice-eye-hmm { 0%, 45% { transform: scaleY(1); } 55%, 100% { transform: scaleY(.55) translateY(10%); } }
@keyframes lia-voice-eye-happy { from { transform: scale(1.1, .38); } to { transform: scale(1.2, .55) translateY(-15%); } }
@keyframes lia-voice-eye-hit { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.25, .12); } 84% { transform: scale(1.05, 1.05); } }
@keyframes lia-voice-eyes-talk { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-25px, -10px); } 65% { transform: translate(25px, -10px); } }
@keyframes lia-voice-eye-talk { from { transform: scale(1, 1); } to { transform: scale(1.18, .78); } }
@keyframes lia-voice-wink { 0%, 55%, 75%, 100% { transform: scaleY(.42); } 62%, 68% { transform: scaleY(.06); } }
@keyframes lia-voice-steam { 0% { opacity: 0; transform: translateY(12px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }
@keyframes lia-voice-stir { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes lia-voice-flame { from { transform: scaleY(.85); } to { transform: scaleY(1.15) scaleX(.92); } }
@keyframes lia-voice-hammer { 0% { transform: rotate(-42deg); } 55% { transform: rotate(-50deg); } 70% { transform: rotate(3deg); } 78% { transform: rotate(-5deg); } 100% { transform: rotate(-42deg); } }
@keyframes lia-voice-sparks { 0%, 66% { opacity: 0; transform: scale(.5); } 72% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes lia-voice-forged { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes lia-voice-hot { 0%, 64%, 100% { filter: none; } 72% { filter: drop-shadow(0 0 6px #fb923c) brightness(1.4); } }
@keyframes lia-voice-glow-hit { 0%, 64%, 100% { transform: scale(1.1); } 72% { transform: scale(1.35); } }
@keyframes lia-voice-bulb { 0%, 50% { opacity: 0; transform: scale(.4) translateY(10px); } 65% { opacity: 1; transform: scale(1.2); } 80%, 100% { opacity: 1; transform: scale(1); } }
@keyframes lia-voice-ring { 0% { opacity: .75; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes lia-voice-breathe { 0%, 100% { transform: scale(.92); } 50% { transform: scale(1.05); } }
@keyframes lia-voice-note { 0% { opacity: 0; transform: translate(0, 10px) rotate(-10deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -34px) rotate(14deg); } }
@keyframes lia-voice-dot { 0%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes lia-voice-eq { 0%, 100% { height: 6px; } 30% { height: 34px; } 60% { height: 14px; } 80% { height: 26px; } }
@keyframes lia-voice-peak { from { transform: scaleY(1); } to { transform: scaleY(1.35); } }

@media (max-width: 1100px) {
  .lia-voice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lia-voice-msg.is-client, .lia-voice-msg.is-lia { width: 88%; }
}
@media (max-width: 850px) {
  .lia-voice { grid-template-columns: 1fr; }
  .lia-voice-phone { max-width: 560px; width: 100%; justify-self: center; }
  .lia-voice-foot { flex-direction: column; gap: 14px; }
}
@media (max-width: 560px) {
  .lia-voice { gap: 18px; margin-bottom: 32px; }
  .lia-voice-stage { padding: 20px 18px; border-radius: 18px; }
  .lia-voice-status { padding: 6px 10px; font-size: 10px; }
  .lia-voice-avatar { zoom: .86; margin-top: 16px; }
  .lia-voice-eq { gap: 3px; }
  .lia-voice-caption { min-height: 118px; font-size: 14px; }
  .lia-voice-chat { min-height: 230px; padding: 14px 12px; }
  .lia-voice-chat-badge { display: none; }
  .lia-voice-msg.is-client, .lia-voice-msg.is-lia { width: 92%; }
}
@media print {
  .lia-voice { display: none; }
}
