/* Light Lahta chat: neutral surfaces, turquoise only on actions and indicators. */
.lc-chat,.lc-launch{--lc-accent:#30d2ca;--lc-ink:#202020;--lc-muted:#6c6c6c;font-family:Wellingtons,Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums}
.lc-chat[hidden],.lc-launch[hidden],.lc-backdrop[hidden]{display:none!important}
.lc-chat,.lc-chat *,.lc-launch{box-sizing:border-box}
.lc-chat{position:fixed;right:24px;bottom:24px;z-index:10020;display:flex;flex-direction:column;width:460px;max-width:calc(100vw - 48px);height:min(690px,calc(100dvh - 48px));color:var(--lc-ink);background:#f3f3f3;border:1px solid #dedede;border-radius:16px;box-shadow:0 12px 48px #0003;overflow:hidden;font-size:14px;line-height:1.5}
.lc-header{display:flex;align-items:center;gap:16px;flex:none;padding:19px 18px;background:#fff;border-bottom:1px solid #dedede}
.lc-header img{display:block;width:88px;height:auto;filter:brightness(0)}
.lc-header strong{display:block;font-size:14px;line-height:1.35}.lc-header small{display:block;font-size:11px;color:var(--lc-muted);margin-top:3px}
.lc-close{flex:none;margin-left:auto;width:44px;height:44px;padding:0;background:transparent;border:1px solid #dedede;border-radius:50%;color:#202020;font:30px/1 Arial,sans-serif;cursor:pointer;transition:border-color 160ms ease}
.lc-close:hover{border-color:var(--lc-accent)}
.lc-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px 16px 28px;background:#f3f3f3}
.lc-chat img{display:block;max-width:100%}.lc-chat button,.lc-chat input{font:inherit}
.lc-chat a{color:#202020;text-decoration:underline;text-underline-offset:3px}
.lc-chat .row{position:relative;margin:0 0 14px;padding-left:42px}.lc-chat .row__av{position:absolute;left:0;bottom:0}
.lc-chat .anna-av{display:block;width:32px;height:32px;overflow:hidden;border-radius:50%;background:#fff;border:1px solid #dedede}.lc-chat .anna-av img{width:100%;height:100%;object-fit:cover}
.lc-chat .bubble{display:inline-block;max-width:100%;padding:12px 14px;border:1px solid #dedede;border-radius:12px 12px 12px 3px;background:#fff;white-space:pre-line;overflow-wrap:anywhere}
.lc-chat .answer-row{display:flex;justify-content:flex-end;margin:0 0 14px}.lc-chat .answer{max-width:85%;padding:10px 14px;border-radius:12px 12px 3px 12px;background:#202020;color:#fff;white-space:pre-line;overflow-wrap:anywhere}
.lc-chat .models{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.lc-chat .model{position:relative;min-width:0;cursor:pointer;padding:10px;background:#fff;border:1px solid #dedede;border-radius:10px;transition:border-color 160ms ease}
.lc-chat .model:hover,.lc-chat .model.is-picked{border-color:var(--lc-accent)}.lc-chat .model__img{height:106px;margin:0 0 9px;border-radius:6px;background:#f3f3f3;overflow:hidden}.lc-chat .model__img img{width:100%;height:100%;object-fit:cover}
.lc-chat .model__name{font-family:Haval,Arial,sans-serif;font-size:14px;line-height:1.3;font-weight:700}.lc-chat .model__price,.lc-chat .model__benefit{font-size:11px;line-height:1.4;margin-top:6px}.lc-chat .model__badge{display:none}
.lc-chat .colors{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.lc-chat .color{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 13px;background:#fff;border:1px solid #dedede;border-radius:8px;cursor:pointer}.lc-chat .color:hover,.lc-chat .color.is-picked{border-color:var(--lc-accent)}.lc-chat .color__sw{display:block;width:20px;height:20px;border:1px solid #dedede;border-radius:50%}
.lc-chat .optbox{margin:0 0 16px}.lc-chat .optbox__card{padding:8px 12px;background:#fff;border:1px solid #dedede;border-radius:10px}.lc-chat .optrow{display:flex;align-items:center;gap:12px;min-height:46px;cursor:pointer}.lc-chat .optbox__check{display:flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border:1px solid #6c6c6c;border-radius:4px}.lc-chat .optrow[aria-pressed="true"] .optbox__check{background:#202020;border-color:#202020}
.lc-chat .continue,.lc-chat .contact__submit{display:block;min-height:48px;padding:11px 17px;background:var(--lc-accent);color:#fff;border:2px solid var(--lc-accent);border-radius:4px;font-weight:700;cursor:pointer;transition:background-color 160ms ease}.lc-chat .continue{margin-top:12px}.lc-chat .continue:hover,.lc-chat .contact__submit:hover{background:#fff;color:#181818}
.lc-chat .contact{margin:0}.lc-chat .contact__lead{display:block;font-weight:700;margin:0 0 8px}.lc-chat .contact input{width:100%;min-height:50px;padding:12px 14px;border:1px solid #6c6c6c;background:#fff;color:#202020;border-radius:4px}.lc-chat .contact input::placeholder{color:#6c6c6c}.lc-chat .contact__submit{width:100%;margin-top:14px}.lc-chat .contact__consent-t{font-size:11px;line-height:1.6;color:#6c6c6c;margin:12px 0 0}.lc-chat .contact [aria-invalid="true"]{border-color:#b42318}.lc-chat .lc-status{font-size:12px;color:#b42318;margin:12px 0 0}.lc-chat .contact__submit:disabled{opacity:.65;cursor:wait}
.lc-chat .typing{margin:0 0 14px;padding-left:42px}.lc-chat .typing__in{display:flex;align-items:center;gap:5px;min-height:30px}.lc-chat .typing__d{display:block;width:6px;height:6px;border-radius:50%;background:#6c6c6c;animation:lc-dot 1.2s ease-in-out infinite}.lc-chat .typing__d:nth-child(2){animation-delay:150ms}.lc-chat .typing__d:nth-child(3){animation-delay:300ms}.lc-chat .typing__t{font-size:11px;color:#6c6c6c;margin-left:6px}
.lc-chat .done{padding:14px;background:#fff;border:1px solid #dedede;border-radius:10px;white-space:pre-line}.lc-chat .is-locked{pointer-events:none}.lc-chat .is-locked .hint,.lc-chat .is-locked .continue,.lc-chat .is-locked .contact__submit{display:none}.lc-chat .is-locked .model:not(.is-picked),.lc-chat .is-locked .color:not(.is-picked),.lc-chat .is-locked .optrow:not([aria-pressed="true"]){opacity:.45}
.lc-chat button:focus-visible,.lc-chat [role="button"]:focus-visible,.lc-chat a:focus-visible,.lc-launch:focus-visible{outline:2px solid #202020;outline-offset:3px}
.lc-launch{position:fixed;right:24px;bottom:24px;z-index:10015;display:flex;align-items:center;gap:12px;min-height:56px;padding:13px 19px;border:2px solid var(--lc-accent);border-radius:4px;background:var(--lc-accent);color:#fff;box-shadow:0 4px 20px #0002;font-size:14px;font-weight:700;cursor:pointer;transition:background-color 160ms ease}.lc-launch:hover{background:#fff;color:#181818}
.lc-backdrop{display:none}.lc-chat:not([hidden]){animation:lc-open 220ms ease-out both}.lc-chat .row,.lc-chat .answer-row{animation:lc-message 180ms ease-out both}
@keyframes lc-open{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes lc-message{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes lc-dot{0%,70%,100%{opacity:.3}35%{opacity:1}}
@media(max-width:767px){.lc-chat{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.lc-header{padding:calc(10px + env(safe-area-inset-top)) 12px 10px;gap:12px}.lc-header img{width:72px}.lc-header strong{font-size:13px}.lc-header small{font-size:10px}.lc-scroll{padding:18px 12px max(24px,env(safe-area-inset-bottom))}.lc-chat .model__img{height:100px}.lc-backdrop{display:block;position:fixed;inset:0;z-index:10019;background:rgba(0,0,0,.72)}.lc-launch{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:52px;padding:11px 15px;font-size:12px}body.lc-modal-open{overflow:hidden!important}}
@media(prefers-reduced-motion:reduce){.lc-chat,.lc-chat *,.lc-launch{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.lc-chat .models:has(.model:only-child){grid-template-columns:minmax(0,220px)}

.lc-chat .continue:disabled{opacity:.5;cursor:default}.lc-chat .lc-status--notice{color:#6c6c6c}

.lc-context{flex:none;max-height:90px;overflow:auto;margin:0;padding:10px 16px;background:#fff;border-bottom:1px solid #dedede;color:#6c6c6c;font-size:11px;line-height:1.6}.lc-context[hidden]{display:none}

/* Direct price callback keeps the light surfaces of this variant only. */
body.lahta-showcase-chat #feedback-dialog,body.lahta-showcase-chat #feedback-dialog .feedback-surface{background:#fff;color:#202020}
body.lahta-showcase-chat #feedback-intro,body.lahta-showcase-chat #feedback-context,body.lahta-showcase-chat #feedback-status,body.lahta-showcase-chat #feedback-form .feedback-consent{color:#6c6c6c}
body.lahta-showcase-chat #feedback-form input:not([type=checkbox]){background:#fff;color:#202020}
body.lahta-showcase-chat #feedback-form input::placeholder{color:#6c6c6c}
body.lahta-showcase-chat #feedback-dialog .feedback-x{color:#202020}
body.lahta-showcase-chat #feedback-dialog .feedback-submit{border:2px solid #30d2ca;padding:12px 16px;background:#30d2ca;color:#fff!important}
body.lahta-showcase-chat #feedback-dialog .feedback-submit:hover{background:#fff;color:#202020!important}

/* Focus recolors the existing field border instead of drawing a second frame. */
body.lahta-showcase-chat #feedback-form input:not([type=checkbox]):focus,
.lc-chat .contact input:focus{outline:none;box-shadow:none;border-color:#30d2ca}
body.lahta-showcase-chat #feedback-form input[aria-invalid="true"]:focus,
.lc-chat .contact input[aria-invalid="true"]:focus{border-color:#b42318}

@media (max-width: 767px) {
  /* Keep Calltouch out of the foreground while the chat is modal. */
  body.lc-modal-open #CalltouchWidgetFrame {
    visibility: hidden !important;
  }

  /* Prevent Safari from auto-zooming on the phone field. */
  .lc-chat .contact input[type="tel"] {
    font-size: 16px;
  }
}
