/* Dni práce – Nexty (maskot). Štýly sú obmedzené na #nexty-root, aby nekolidovali s témou. */
#nexty-root{--nx-teal:#0a7c87;--nx-apricot:#e8925a;--nx-dark:#06343a;--nx-ink:#12333a;position:fixed;right:20px;bottom:14px;z-index:9999;font-family:inherit;line-height:1.4}
#nexty-root *{box-sizing:border-box}
#nexty-root button{appearance:none;-webkit-appearance:none;box-shadow:none;text-transform:none;letter-spacing:normal;min-height:0;width:auto;line-height:inherit;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}
#nexty-root[data-off="1"] .nx-bot,#nexty-root[data-off="1"] .nx-bubble,#nexty-root[data-off="1"] .nx-shadow{display:none}
#nexty-root .nx-bot{display:block;width:150px;position:relative;z-index:2}
#nexty-root .nx-fly{display:block;opacity:0}
#nexty-root .nx-bob{display:block}
#nexty-root svg{display:block;max-width:none}
#nexty-root[hidden]{display:none}
#nexty-root .nx-bob{animation:nx-bob 3s ease-in-out infinite}
@keyframes nx-bob{50%{transform:translateY(-8px)}}
#nexty-root .nx-tb{transform-box:fill-box;transform-origin:center}
#nexty-root .nx-flame{transform-box:fill-box;transform-origin:50% 0;animation:nx-fl .16s ease-in-out infinite alternate}
@keyframes nx-fl{to{transform:scaleY(.7)}}
#nexty-root .nx-eyes{transform-box:fill-box;transform-origin:center;animation:nx-bl 4s infinite}
@keyframes nx-bl{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
#nexty-root .nx-arm{transform-box:view-box;transform-origin:172px 212px}
#nexty-root .nx-shadow{width:70px;height:8px;margin:-2px auto 0;border-radius:50%;background:#000;opacity:.12}
#nexty-root .nx-bubble{position:absolute;right:8px;bottom:178px;width:270px;background:#fff;color:var(--nx-ink);border:2px solid var(--nx-teal);border-radius:18px;padding:16px 16px 12px;box-shadow:0 8px 24px rgba(6,52,58,.15);opacity:0;transform:translateY(10px) scale(.96);transform-origin:85% 100%;pointer-events:none;transition:opacity .25s,transform .25s}
#nexty-root .nx-bubble::after{content:"";position:absolute;right:58px;bottom:-11px;width:18px;height:18px;background:#fff;border-right:2px solid var(--nx-teal);border-bottom:2px solid var(--nx-teal);transform:rotate(45deg)}
#nexty-root.nx-open .nx-bubble{opacity:1;transform:none;pointer-events:auto}
#nexty-root .nx-title{margin:0 24px 4px 0;font-size:17px;font-weight:700;color:var(--nx-teal)}
#nexty-root .nx-text{margin:0 0 12px;font-size:15px}
#nexty-root .nx-actions{display:flex;flex-direction:column;gap:8px}
#nexty-root .nx-btn{display:block;text-align:center;text-decoration:none;font-size:15px;font-weight:600;padding:10px 14px;border-radius:999px;border:2px solid var(--nx-teal);color:var(--nx-teal);background:#fff;transition:background .15s,color .15s}
#nexty-root .nx-btn:hover{background:#e6f3f4}
#nexty-root .nx-btn.nx-primary{background:var(--nx-apricot);border-color:var(--nx-apricot);color:#fff}
#nexty-root .nx-btn.nx-primary:hover{background:#d97f45;border-color:#d97f45}
#nexty-root .nx-x{position:absolute;top:8px;right:10px;width:28px;height:28px;border-radius:50%;font-size:20px;line-height:28px;text-align:center;color:#5b7a7f}
#nexty-root .nx-x:hover{background:#eef5f6}
#nexty-root .nx-off{display:block;margin:10px auto 0;font-size:13px;color:#5b7a7f;text-decoration:underline}
#nexty-root .nx-restore{display:none;width:52px;height:52px;border-radius:50%;background:var(--nx-teal);box-shadow:0 4px 14px rgba(6,52,58,.25);align-items:center;justify-content:center}
#nexty-root[data-off="1"] .nx-restore{display:flex}
#nexty-root .nx-restore:hover{background:#086a73}
#nexty-root :focus-visible{outline:3px solid var(--nx-apricot);outline-offset:2px}
@media (max-width:600px){
  #nexty-root{right:10px;bottom:8px}
  #nexty-root .nx-bot{width:100px}
  #nexty-root .nx-bubble{bottom:120px;right:0;width:min(290px,calc(100vw - 20px))}
  #nexty-root .nx-bubble::after{right:36px}
}
@media (prefers-reduced-motion:reduce){
  #nexty-root .nx-bob,#nexty-root .nx-flame,#nexty-root .nx-eyes{animation:none}
}
/* Biely obrys, aby bol Nexty vidieť aj na tyrkysovom / fialovom pozadí */
#nexty-root .nx-bob svg{filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(.75px .75px 0 #fff) drop-shadow(-.75px .75px 0 #fff) drop-shadow(.75px -.75px 0 #fff) drop-shadow(-.75px -.75px 0 #fff)}
#nexty-root .nx-restore{border:1px solid #fff}
@media (max-width:640px){#nexty-root .nx-bob svg{filter:drop-shadow(.75px 0 0 #fff) drop-shadow(-.75px 0 0 #fff) drop-shadow(0 .75px 0 #fff) drop-shadow(0 -.75px 0 #fff)}}

/* Poradca: otázky a odpovede v bubline */
#nexty-root .nx-view{display:none;max-height:max(220px,min(520px,calc(100vh - 360px)));overflow:auto}
#nexty-root .nx-view.nx-on{display:block}
#nexty-root .nx-qs{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
#nexty-root .nx-q,#nexty-root button.nx-btn{font:inherit;cursor:pointer;width:100%}
#nexty-root .nx-q{text-align:left;font-size:15px;font-weight:600;line-height:1.3;padding:10px 14px;border-radius:14px;border:2px solid var(--nx-teal);color:var(--nx-teal);background:#fff}
#nexty-root .nx-q:hover{background:#e6f3f4}
#nexty-root .nx-link{display:block;margin:2px auto 0;font:inherit;font-size:13px;color:#5b7a7f;text-decoration:underline;cursor:pointer;background:none;border:0}
