.tutor-dialog{padding:0;border:1px solid #dce9e0;border-radius:18px;width:100%;height:680px;max-height:85dvh;margin:12px 0 28px;color:#193d39;background:#fff;overflow:hidden;font-family:Cairo,Tahoma,sans-serif}.tutor-dialog:not([hidden]){display:flex;flex-direction:column}.tutor-dialog[hidden]{display:none}.tutor-dialog button{font:inherit}.tutor-head{display:flex;align-items:center;gap:14px;padding:20px 26px;color:white;background:#064e4a;flex-shrink:0}.tutor-brand-icon{display:grid;place-items:center;width:48px;height:56px;border-radius:14px;background:#ffffff12}.tutor-brand-icon svg{height:40px;width:33px}.tutor-head h2{font-size:21px;margin:0;color:white;line-height:1.5}.tutor-head h2 span{font-family:Arial,sans-serif;display:inline-block;vertical-align:middle;font-size:10px;letter-spacing:1px;padding:3px 6px;background:#ffad81;color:#294742;border-radius:5px;margin-inline-start:6px}.tutor-head p{margin:3px 0 0;font-size:12px;color:#cfdfdb}.tutor-close{margin-inline-start:auto;width:38px;height:38px;display:grid;place-items:center;font-size:26px!important;border:1px solid #ffffff30;border-radius:50%;color:white;background:transparent}.tutor-close:hover{background:#ffffff18}.tutor-context{display:flex;align-items:center;justify-content:space-between;padding:12px 26px;border-bottom:1px solid #e5eeea;font-size:11px;flex-shrink:0;background:#fff}.tutor-context>span{display:flex;align-items:center;gap:7px}.tutor-live-dot{width:7px;height:7px;border-radius:50%;background:#a6b4b0}.tutor-live-dot.connected{background:#2d8765;box-shadow:0 0 0 3px #e8f3ed}.tutor-context button{padding:4px 0;border:0;background:none;font-size:11px;color:#56746d}.tutor-context button:hover{color:#064e4a}.tutor-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c1d4cc transparent;padding:24px 28px;background:#fafcfb}.tutor-welcome{text-align:center;padding:6px 0 8px}.tutor-welcome[hidden]{display:none}.tutor-welcome-icon{display:grid;place-items:center;width:66px;height:72px;background:#fff0e5;border-radius:22px;margin:0 auto 14px;color:#064e4a;transform:rotate(-5deg)}.tutor-welcome-icon svg{width:34px;height:47px;transform:rotate(5deg)}.tutor-kicker{font-size:10px;color:#9c603b;font-weight:700}.tutor-welcome h3{margin:6px 0 9px;font-size:23px;letter-spacing:-.4px}.tutor-welcome p{font-size:13px;color:#657972;line-height:1.9;margin:0 0 20px}.tutor-prompts{display:grid;gap:8px;max-width:450px;margin:auto}.tutor-prompts button{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0e9e3;border-radius:12px;background:white;padding:12px 16px;text-align:right;font-size:12px;color:#35574f;transition:background .15s,border-color .15s}.tutor-prompts button:hover{background:#fff4ed;border-color:#e9b899}.tutor-prompts button span{font-size:18px;color:#b57950}.tutor-message{max-width:95%;margin:0 0 22px;line-height:1.95}.tutor-message-label{font-size:10px;font-weight:700;color:#647b73;margin:0 3px 6px}.tutor-message-body{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;padding:17px 20px;border:1px solid #e1eae4;border-radius:16px 4px 16px 16px;background:white;box-shadow:0 2px 5px #064e4a03}.tutor-message.user{max-width:85%;margin-inline-start:auto}.tutor-message.user .tutor-message-body{background:#fff0e5;border-color:#f3dccb;border-radius:4px 16px 16px 16px}.tutor-message.user .tutor-message-label{text-align:left}.tutor-message.assistant .tutor-message-label{color:#096255}.tutor-message.is-thinking .tutor-message-body{color:#6c8179;font-size:12px}.tutor-message.is-thinking .tutor-message-body:after{content:' • • •';display:inline-block;letter-spacing:3px;color:#bc805a;animation:tutor-pulse 1.3s infinite}.tutor-composer{padding:12px 24px 16px;border-top:1px solid #e5ede8;background:white;flex-shrink:0}.tutor-composer [data-status]{font-size:11px;color:#60786e;line-height:1.7;margin:0 0 8px}.tutor-composer [data-status]:empty{display:none}.tutor-composer [data-status].is-error{padding:8px 12px;background:#fff0e6;color:#8b432b;border-radius:9px}.tutor-input-wrap{display:flex;align-items:flex-end;gap:8px;border:1px solid #cdded5;border-radius:15px;background:#fcfdfc;padding:10px}.tutor-input-wrap:focus-within{border-color:#438a78;box-shadow:0 0 0 3px #438a7812}.tutor-dialog textarea{min-width:0;flex:1;width:100%;resize:none;border:0;outline:0!important;background:transparent;box-shadow:none;font:inherit;font-size:13px;line-height:1.8;min-height:50px;max-height:105px;padding:3px 5px;margin:0;color:#193d39}.tutor-dialog textarea::placeholder{color:#83978d}.tutor-send{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;background:#064e4a;color:#fff;border:0;border-radius:12px}.tutor-send svg{width:21px;height:21px}.tutor-send:disabled{opacity:.4}.tutor-send:hover:not(:disabled){background:#087064}.tutor-input-meta{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#60776e;margin:7px 3px}.tutor-disclaimer{text-align:center;font-size:9px!important;color:#718179;line-height:1.7;margin:7px 0 0!important}.tutor-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tutor-launch{display:flex;align-items:center;gap:14px;text-align:right;background:#f1f7f3;border:1px solid #dce9e0;padding:19px 22px;border-radius:15px;margin-top:24px}.tutor-launch-icon{background:#fff0e4;border-radius:12px;width:44px;height:50px;display:grid;place-items:center;flex-shrink:0}.tutor-launch svg{width:25px;height:34px}.tutor-launch strong{font-size:14px;color:#164e43}.tutor-launch p{font-size:11px;margin:3px 0 0;color:#667d71}.tutor-launch button{margin-inline-start:auto;white-space:nowrap;font-size:12px;background:#064e4a;border:0;color:white;padding:10px 16px;border-radius:10px}.tutor-launch button span{padding-inline-start:10px}@keyframes tutor-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.tutor-message.is-thinking .tutor-message-body:after{animation:none}}
@media(max-width:600px){.tutor-dialog{width:100%;height:640px;max-height:85dvh;border-radius:15px;margin:10px 0 24px}.tutor-head{padding:16px 18px}.tutor-head h2{font-size:19px}.tutor-context{padding:10px 18px;font-size:10px}.tutor-scroll{padding:20px 17px}.tutor-welcome h3{font-size:21px}.tutor-welcome p{font-size:12px}.tutor-welcome-icon{width:55px;height:60px}.tutor-prompts button{font-size:11px;padding:11px 12px}.tutor-composer{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.tutor-message-body{padding:13px 15px;font-size:14px}.tutor-input-meta>span:first-child{visibility:hidden}.tutor-launch{flex-wrap:wrap;padding:16px;gap:10px}.tutor-launch button{width:100%;margin-top:4px}.tutor-dialog textarea{font-size:16px}.tutor-disclaimer{font-size:9px!important}}
@media(max-height:800px){.tutor-scroll{padding-top:16px;padding-bottom:16px}.tutor-welcome-icon{height:44px;width:44px;margin-bottom:8px;border-radius:14px}.tutor-welcome-icon svg{height:32px;width:24px}.tutor-welcome h3{font-size:20px;margin:4px 0}.tutor-welcome p{font-size:11px;margin-bottom:12px}.tutor-prompts button{padding:8px 12px}.tutor-welcome{padding:0}}
