#pemtutor{position:fixed;right:24px;bottom:24px;z-index:99990;font-family:Manrope,Arial,sans-serif;color:#171915}#pemtutor [hidden]{display:none!important}#pemtutor button,#pemtutor input{font:inherit}#pemtutor button,#pemtutor a{cursor:pointer}#pemtutor .launcher{width:72px;height:72px;border:1px solid #000;border-radius:50%;background:#000;box-shadow:0 8px 28px #0003;padding:10px;display:flex;align-items:center;justify-content:center;transition:transform .2s}#pemtutor .launcher:hover{transform:translateY(-4px)}#pemtutor .launcher svg{width:100%;height:100%;display:block}#pemtutor .eyes{transform-origin:36px 36px;animation:pemtutor-blink 7s infinite}@keyframes pemtutor-blink{0%,43%,47%,49%,53%,100%{transform:scaleY(1)}45%,51%{transform:scaleY(.08)}}#pemtutor-panel{position:absolute;right:0;bottom:88px;width:350px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 132px);overflow:auto;background:white;border:1px solid #e4e4df;border-radius:22px;box-shadow:0 18px 60px #0003}#pemtutor header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #eeeeea;background:#fff}#pemtutor h2{font-size:20px;line-height:1.3;margin:0;padding:0;color:#171915;font-weight:700}#pemtutor .close{border:0;background:#f2f2ef;border-radius:50%;width:32px;height:32px;font-size:24px;line-height:1}#pemtutor .body{padding:20px}#pemtutor .message{background:#f5f5f1;border-radius:4px 16px 16px 16px;padding:16px;margin:0 0 18px;font-size:14px;line-height:1.65}#pemtutor .support,#pemtutor .rename{display:block;width:100%;box-sizing:border-box;padding:12px 16px;border-radius:24px;text-align:center;font-size:12px;line-height:1.4;text-decoration:none}#pemtutor .support{background:#171915;color:white;border:1px solid #171915;margin-bottom:10px}#pemtutor .rename{background:white;color:#171915;border:1px solid #dadbd5}#pemtutor .support:hover{background:#ED7024;border-color:#ED7024}#pemtutor form{margin-top:18px}#pemtutor label{display:block;font-size:13px;margin-bottom:8px}#pemtutor input{box-sizing:border-box;width:100%;border:1px solid #bbb;border-radius:8px;padding:10px;color:#171915;background:white}#pemtutor form button{margin:10px 4px 10px 0;border:0;border-radius:20px;padding:8px 12px;background:#171915;color:#fff;font-size:12px}#pemtutor form .cancel{background:#f0f0eb;color:#171915}#pemtutor small,#pemtutor .status{display:block;font-size:11px;color:#666;line-height:1.5}#pemtutor .status:empty{display:none}#pemtutor :is(button,a,input):focus-visible{outline:2px solid #ED7024;outline-offset:4px}@media(max-width:600px){#pemtutor{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}#pemtutor .launcher{width:62px;height:62px;border-radius:50%}#pemtutor-panel{bottom:76px}}@media(prefers-reduced-motion:reduce){#pemtutor .eyes{animation:none}#pemtutor .launcher{transition:none}}

/* Nome interativo e suporte discreto na base. */
#pemtutor .name-button{background:none;border:0;padding:0;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;line-height:1.3;cursor:pointer}
#pemtutor header h2{min-width:0}#pemtutor .close{flex-shrink:0}
#pemtutor footer{padding:12px 20px 16px;border-top:1px solid #eeeeea;display:flex;align-items:center;justify-content:space-between;gap:12px}
#pemtutor footer .support{display:inline-flex;width:auto;margin:0;padding:7px 11px;border-radius:18px;font-size:10px;line-height:1.4;background:#f4f4f0;border:1px solid #deded8;color:#171915}
#pemtutor footer .support:hover{background:#171915;color:#fff;border-color:#171915}

/* Ações do Tutor: suporte secundário e conversa principal. */
#pemtutor footer .converse{background:#000;color:#fff;border:1px solid #000;border-radius:24px;padding:11px 23px;font-size:12px;line-height:1.4;white-space:nowrap}
#pemtutor footer .converse:hover{background:#262626}

#pemtutor .composer{padding:0 20px 16px}#pemtutor .composer label{font-size:12px;color:#555}#pemtutor textarea{font:inherit;font-size:13px;line-height:1.5;display:block;box-sizing:border-box;width:100%;min-height:80px;max-height:180px;resize:vertical;border:1px solid #deded8;border-radius:12px;background:#fff;color:#171915;padding:11px 12px}#pemtutor textarea:focus-visible{outline:2px solid #ED7024;outline-offset:2px}#pemtutor .send-status{font-size:12px;line-height:1.5;margin:10px 0 0;color:#555}

/* Resposta acima, pergunta abaixo. */
#pemtutor .answer-label{font-size:12px;color:#555;line-height:1.5;margin-bottom:8px}#pemtutor .answer{max-height:260px;overflow-y:auto;overscroll-behavior:contain}#pemtutor .answer .message{margin:0}#pemtutor .body{padding-bottom:16px}#pemtutor .rename{margin-top:16px}

/* Global launcher: visible on dark backgrounds, with its own label. */
#pemtutor{bottom:58px}
#pemtutor .launcher{position:relative;border:1px solid #ed7024;box-shadow:0 0 0 2px rgba(237,112,36,.24),0 0 20px 6px rgba(237,112,36,.48),0 0 40px 12px rgba(237,112,36,.18);overflow:visible}
#pemtutor .launcher-badge{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);display:block;padding:4px 13px;background:#000;color:#fff;border:1px solid rgba(237,112,36,.6);border-radius:999px;font:600 12px/1.4 Manrope,Arial,sans-serif;letter-spacing:.3px;white-space:nowrap;box-shadow:0 3px 12px #0004}
#pemtutor-panel{max-height:calc(100dvh - 180px)}
@media(max-width:600px){#pemtutor{bottom:calc(48px + env(safe-area-inset-bottom,0px))}#pemtutor-panel{max-height:calc(100dvh - 160px - env(safe-area-inset-bottom,0px))}}
