/* Scoped widget; theme red matches Grafika Liberec. */
.wl-chat{--chat-blue:var(--brand,#c85a56);--chat-robot-width:245px;--chat-robot-height:304px;--chat-robot-top:9px;position:fixed;right:24px;bottom:24px;z-index:9000;color:#3a1413;font-family:inherit;font-size:15px;line-height:1.5;text-align:left}
.wl-chat *{box-sizing:border-box}
.wl-chat [hidden]{display:none!important}
.wl-chat button,.wl-chat input,.wl-chat textarea{font-family:inherit}
.wl-chat input,.wl-chat textarea{font-size:inherit}
.wl-chat button,.wl-chat a{-webkit-tap-highlight-color:transparent}
.wl-chat button{cursor:pointer}
.wl-chat button:disabled{cursor:wait;opacity:.6}
.wl-chat button:focus-visible,.wl-chat a:focus-visible{outline:3px solid var(--chat-blue);outline-offset:4px}
.wl-chat__launcher{display:flex;align-items:center;gap:12px;border:1px solid #ffffff60;border-radius:18px;padding:16px 20px;background:var(--chat-blue);color:#fff;font-weight:800;box-shadow:0 8px 30px #ba413d40;transition:transform .2s}
.wl-chat__launcher:hover{transform:translateY(-3px)}
.wl-chat__online{flex-shrink:0;width:9px;height:9px;border-radius:50%;background:#86efac;box-shadow:0 0 0 4px #22c55e30,0 0 12px 3px #4ade8090;animation:wl-chat-online 2.4s ease-in-out infinite}
@keyframes wl-chat-online{50%{box-shadow:0 0 0 5px #22c55e20,0 0 18px 4px #4ade80b0}}
.wl-chat__panel{position:absolute;right:0;bottom:76px;width:430px;height:min(710px,calc(var(--wl-chat-viewport,100dvh) - 112px));max-height:calc(var(--wl-chat-viewport,100vh) - 112px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ecc7c6;border-radius:26px;background:#fff;box-shadow:0 24px 90px #31111040;isolation:isolate}
.wl-chat__head{position:relative;flex-shrink:0;min-height:166px;padding:24px 162px 22px 24px;overflow:hidden;background:radial-gradient(ellipse at top right,#ba413d44,transparent 80%),linear-gradient(110deg,#1d0a09,#3c1513);color:#fff}
.wl-chat__head:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:28px 28px;pointer-events:none}
.wl-chat__head-copy{position:relative;z-index:3}
.wl-chat__eyebrow{display:block;font-size:9px;font-weight:850;letter-spacing:1.3px;color:#d98d8a;margin-bottom:9px}
.wl-chat .wl-chat__head h2{font-size:24px;font-weight:850;line-height:1.12;letter-spacing:-.8px;color:#fff;margin:0 0 9px}
.wl-chat__head h2 span{color:var(--chat-blue)}
.wl-chat__head p{font-size:12px;margin:0;color:#e5c7c6}
.wl-chat__mascot{position:absolute;right:0;top:0;width:162px;height:100%;overflow:visible;z-index:1;pointer-events:none}
.wl-chat .wl-chat__robot{position:absolute!important;width:var(--chat-robot-width)!important;height:var(--chat-robot-height)!important;max-width:none;margin:0;top:var(--chat-robot-top)!important;left:50%!important;right:auto!important;bottom:auto!important;opacity:1;transform:translateX(-50%)}
.wl-chat__minimize{position:absolute;z-index:5;top:12px;right:11px;width:30px;height:30px;display:grid;place-items:center;font-size:23px;line-height:1;border:1px solid #ffffff30;border-radius:50%;color:#fff;background:#ffffff0a}
.wl-chat__content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e7b8b7 transparent;background:linear-gradient(160deg,#fff,#fcf7f7)}
.wl-chat__intro,.wl-chat__complete{padding:24px}
.wl-chat__tag{font-size:10px;letter-spacing:1.6px;font-weight:850;color:#802d2a}
.wl-chat h3{font-size:24px;line-height:1.2;font-weight:850;letter-spacing:-.7px;margin:8px 0 12px;color:#210c0b}
.wl-chat__intro>p,.wl-chat__complete>p{margin:0 0 16px;color:#785251;font-size:14px}
.wl-chat__features{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.wl-chat__features span{padding:5px 9px;background:#f9eeee;border:1px solid #f1d5d4;border-radius:8px;color:#7e2c29;font-size:11px;font-weight:700}
.wl-chat form>label:not(.wl-chat__notice){display:block;font-size:12px;font-weight:750;margin:0 0 13px}
.wl-chat input:not([type=checkbox]),.wl-chat textarea{display:block;width:100%;min-width:0;border:1px solid #e9cccb;border-radius:12px;color:#3a1413;background:#fff;padding:12px 13px;outline:none;box-shadow:none;transition:border-color .2s}
.wl-chat input:focus,.wl-chat textarea:focus{border-color:var(--chat-blue);box-shadow:0 0 0 3px #ba413d18}
.wl-chat input::placeholder,.wl-chat textarea::placeholder{color:#9c7877;font-weight:400}
.wl-chat form>label input{margin-top:6px}
.wl-chat .wl-chat__notice{display:flex;gap:10px;align-items:flex-start;font-size:11px;font-weight:400;color:#7c5352;margin:16px 0;line-height:1.55}
.wl-chat__notice input{flex-shrink:0;width:17px;height:17px;accent-color:var(--chat-blue);margin:2px 0 0}
.wl-chat__notice a{color:#782a27;text-decoration:underline}
.wl-chat__primary{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;border:1px solid #d68481;border-radius:14px;padding:13px 16px;background:var(--chat-blue);box-shadow:inset 0 0 0 1px #ffffff20,0 8px 22px #ba413d18;color:#fff;font-weight:850;text-decoration:none;font-size:16px;line-height:1.3;min-height:54px}
.wl-chat__primary:hover{filter:brightness(.96);color:#fff}
.wl-chat__arrow{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#ffffff25;border-radius:50%;font-size:23px;font-weight:700}
.wl-chat .wl-chat__disclosure{font-size:10px;line-height:1.55;text-align:center;margin:14px 4px 0;color:#8f6766}
.wl-chat__trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.wl-chat__conversation{padding:20px 18px 16px}
.wl-chat__message{max-width:94%;padding:13px 15px;margin:0 0 14px;border:1px solid #f0dad9;border-radius:2px 15px 15px;background:#fff;overflow-wrap:anywhere;font-size:14px;color:#4f2220;box-shadow:0 3px 12px #521c1a04}
.wl-chat__message p{white-space:pre-wrap;margin:0;line-height:1.65}
.wl-chat__message-label{display:flex;align-items:center;gap:8px;color:#936b6a;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;margin-bottom:7px}
.wl-chat__avatar{display:block;flex-shrink:0;width:32px;height:32px;object-fit:contain}
.wl-chat__typing{display:flex;align-items:center;gap:10px;width:max-content;max-width:94%;padding:10px 15px;margin:0 0 14px;border:1px solid #f0dad9;border-radius:2px 15px 15px;background:#fff}
.wl-chat__dots{display:flex;align-items:center;gap:5px;height:24px}
.wl-chat__dots i{width:6px;height:6px;border-radius:50%;background:var(--chat-blue);animation:wl-chat-typing 1.1s ease-in-out infinite}
.wl-chat__dots i:nth-child(2){animation-delay:.15s}.wl-chat__dots i:nth-child(3){animation-delay:.3s}
@keyframes wl-chat-typing{0%,70%,100%{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-4px)}}
.wl-chat__message--user{margin-left:auto;background:#f9edec;border-color:#ebc4c3;border-radius:15px 2px 15px 15px}
.wl-chat__links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.wl-chat__links a{display:inline-flex;padding:6px 9px;border:1px solid #f1d5d4;border-radius:8px;font-size:11px;font-weight:750;color:#7a2a27;text-decoration:none;background:#fcf6f6}
.wl-chat__choices{display:flex;flex-wrap:wrap;gap:7px}
.wl-chat__choices button{padding:8px 11px;border:1px solid #eac1c0;border-radius:10px;font-size:12px;font-weight:750;color:#7a2a27;background:#fcf5f5;min-height:36px}
.wl-chat__choices button:hover{border-color:var(--chat-blue);background:#f8ebeb}
.wl-chat__foot{border-top:1px solid #f2dad9;background:#fff;padding:13px 16px 12px;flex-shrink:0}
.wl-chat__composer{display:flex;gap:8px;align-items:flex-end}
.wl-chat .wl-chat__composer textarea{max-height:100px;min-height:45px;resize:none;line-height:1.45;font-size:14px}
.wl-chat__composer button{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--chat-blue);color:#fff;font-size:24px}
.wl-chat__foot-row{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:10px}
.wl-chat__foot-row small{font-size:9px;color:#926c6b}
.wl-chat__foot-row button{font-size:10px;font-weight:750;padding:3px 0;border:0;background:none;text-decoration:underline;color:#7b2b28}
.wl-chat__idle-note{display:block;margin-top:5px;color:#987271;font-size:9px}
.wl-chat__error{padding:10px 16px;margin:0;background:#fff3e9;color:#934418;border-top:1px solid #f5d9c0;font-size:12px;flex-shrink:0}
.wl-chat__done-icon{display:grid;place-items:center;width:52px;height:52px;background:#f8ebeb;color:var(--chat-blue);border-radius:16px;font-size:30px;margin-bottom:18px}
.wl-chat__secondary{display:block;width:100%;padding:12px;margin-top:12px;border:1px solid #edc9c8;background:#fff;color:#832d2a;border-radius:12px;font-weight:750}
@media(max-width:520px){
 .wl-chat{right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--wl-chat-keyboard-offset,0px))}
 .wl-chat__launcher{padding:13px 16px;border-radius:16px;font-size:13px}
 .wl-chat__panel{position:fixed;inset:auto 8px calc(max(76px,calc(env(safe-area-inset-bottom) + 76px)) + var(--wl-chat-keyboard-offset,0px));width:auto;height:min(710px,calc(var(--wl-chat-viewport,100dvh) - 90px));max-height:calc(var(--wl-chat-viewport,100vh) - 90px);border-radius:22px}
 .wl-chat__head{min-height:154px;padding:20px 146px 20px 20px}
 .wl-chat .wl-chat__head h2{font-size:22px}
 .wl-chat__intro,.wl-chat__complete{padding:20px}
 .wl-chat__mascot{right:0;width:144px;top:0}
 .wl-chat{--chat-robot-width:228px;--chat-robot-height:283px;--chat-robot-top:12px}
 .wl-chat__eyebrow{font-size:8px;letter-spacing:1px}
 .wl-chat__head p{font-size:11px}
 .wl-chat__foot-row small{max-width:44%;line-height:1.3}
}
/* Keep editable text large enough to avoid iOS focus zoom, including landscape phones. */
@media(max-width:1024px),(hover:none) and (pointer:coarse){
 .wl-chat input:not([type=checkbox]),.wl-chat .wl-chat__composer textarea{font-size:16px}
}
@media(max-width:350px){.wl-chat .wl-chat__head h2{font-size:20px}.wl-chat__head{padding-right:132px}.wl-chat__mascot{width:128px}.wl-chat{--chat-robot-width:213px;--chat-robot-height:264px}.wl-chat__eyebrow{letter-spacing:.7px}}
@media(max-height:560px){.wl-chat__head{min-height:120px;padding-top:18px;padding-bottom:16px}.wl-chat__head p{display:none}.wl-chat{--chat-robot-width:190px;--chat-robot-height:236px;--chat-robot-top:5px}.wl-chat__foot{padding:8px 12px}.wl-chat__idle-note{display:none}}
@media(prefers-reduced-motion:reduce){.wl-chat *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Dust stays behind the larger head in this widget only. */
.wl-chat .wl-chat__robot .wl-robot__fx{
 -webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 8%,#000 40%,#000 100%);
 mask-image:linear-gradient(to right,transparent 0%,transparent 8%,#000 40%,#000 100%);
 -webkit-mask-repeat:no-repeat;
 mask-repeat:no-repeat;
 -webkit-mask-size:100% 100%;
 mask-size:100% 100%;
}
.wl-chat .wl-chat__robot[data-fx-state="ambient"] .wl-robot__fx--front{opacity:.18!important}
.wl-chat .wl-chat__robot[data-fx-state="ambient"] .wl-robot__fx--back{opacity:.42!important}

.wl-chat__panel,.wl-chat input,.wl-chat textarea,.wl-chat__choices button{border-color:#dfb8b5}
