.bottom-right-widgets{position:fixed;bottom:24px;right:24px;z-index:9998;display:flex;flex-direction:column;gap:10px;align-items:flex-end}.phone-fab-wrapper{position:relative;animation:slideInRight .4s ease-out}.phone-fab{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#4E6688,#5a9e9a);box-shadow:0 2px 12px rgba(78,102,136,.25);text-decoration:none;transition:all .25s cubic-bezier(.4,0,.2,1)}.phone-fab:hover{transform:scale(1.1);box-shadow:0 4px 18px rgba(78,102,136,.35)}.phone-fab:active{transform:scale(.95)}.phone-fab svg{animation:ring 3s ease-in-out 2}.phone-fab-tooltip{right:52px;background:#fff;color:#333;font-size:13px;font-weight:600;padding:6px 14px;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.12);white-space:nowrap;pointer-events:none;animation:tooltipFadeIn .2s ease-out}.phone-fab-tooltip,.phone-fab-tooltip:after{position:absolute;top:50%;transform:translateY(-50%)}.phone-fab-tooltip:after{content:"";right:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(4px,-50%)}to{opacity:1;transform:translateY(-50%)}}@keyframes ring{0%,to{transform:rotate(0deg)}12%,4%{transform:rotate(-12deg)}16%,8%{transform:rotate(12deg)}20%{transform:rotate(0deg)}}.chat-widget-button{position:relative;width:54px;height:54px;background:linear-gradient(135deg,#4E6688,#71C0BB);border:none;border-radius:50%;cursor:pointer;box-shadow:0 4px 20px rgba(113,192,187,.35);transition:all .25s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;animation:slideInRight .4s ease-out .1s both;z-index:1}.chat-widget-button:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(113,192,187,.45)}.chat-widget-button:active{transform:scale(.95)}.chat-button-content{position:relative;display:flex;align-items:center;justify-content:center}.chat-widget-button.enhanced-cta{width:58px;height:58px;box-shadow:0 4px 20px rgba(113,192,187,.45),0 0 0 3px rgba(113,192,187,.15)}.chat-widget-button.enhanced-cta:hover{box-shadow:0 6px 28px rgba(113,192,187,.55),0 0 0 4px rgba(113,192,187,.2)}.welcome-glow{animation:welcomeGlow 2s ease-in-out 3}@keyframes welcomeGlow{0%,to{box-shadow:0 4px 20px rgba(113,192,187,.35)}50%{box-shadow:0 4px 20px rgba(113,192,187,.35),0 0 16px 8px rgba(113,192,187,.15)}}.pulse-rings{position:absolute;inset:-8px;pointer-events:none}.pulse-ring-middle,.pulse-ring-outer{position:absolute;inset:0;border:1.5px solid rgba(113,192,187,.5);border-radius:50%;animation:pulse 2s ease-out 3}.pulse-ring-middle{animation-delay:.4s}@keyframes pulse{0%{transform:scale(1);opacity:.7}to{transform:scale(1.6);opacity:0}}.welcome-tooltip{position:absolute;right:68px;top:50%;transform:translateY(-50%);animation:slideInFromRight .4s ease-out 1s both;pointer-events:none}.tooltip-content{position:relative;background:#fff;padding:10px 16px;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,.12);white-space:normal;max-width:220px;line-height:1.4;font-size:13px;font-weight:500;color:#333}.tooltip-arrow{position:absolute;right:-6px;top:50%;transform:translateY(-50%);width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff}.chat-widget-window{position:fixed;bottom:96px;right:24px;width:370px;max-width:calc(100vw - 40px);height:520px;max-height:calc(100vh - 130px);background:#fff;border-radius:20px;box-shadow:0 12px 48px rgba(0,0,0,.15),0 0 0 1px rgba(0,0,0,.04);display:flex;flex-direction:column;overflow:hidden;z-index:9999;animation:chatWindowIn .3s cubic-bezier(.4,0,.2,1)}@keyframes chatWindowIn{0%{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.chat-widget-header{background:linear-gradient(135deg,#4E6688,#71C0BB);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}.chat-header-profile{display:flex;align-items:center;gap:10px}.chat-header-avatar{position:relative;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.2);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;flex-shrink:0}.avatar-letter{font-size:16px;font-weight:700;color:#fff}.avatar-status-dot{position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;background:#4ADE80;border:2px solid #4e6688}.chat-header-info{display:flex;flex-direction:column;line-height:1.3}.chat-header-name{font-size:15px;font-weight:600}.chat-header-subtitle{font-size:11px;opacity:.8;font-weight:400}.chat-header-actions{display:flex;gap:4px;align-items:center}.chat-widget-clear,.chat-widget-close,.chat-widget-study-guide{background:transparent;border:none;color:#fff;cursor:pointer;width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.chat-widget-clear:hover,.chat-widget-close:hover,.chat-widget-study-guide:hover{background-color:rgba(255,255,255,.15)}.chat-widget-messages{flex:1;overflow-y:auto;padding:16px;background:#f7f8fa;display:flex;flex-direction:column;gap:10px}.chat-widget-messages::-webkit-scrollbar{width:4px}.chat-widget-messages::-webkit-scrollbar-track{background:transparent}.chat-widget-messages::-webkit-scrollbar-thumb{background:rgba(113,192,187,.4);border-radius:2px}.chat-widget-message{max-width:78%;padding:10px 14px;border-radius:14px;word-wrap:break-word;animation:msgIn .25s ease-out;line-height:1.5}@keyframes msgIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.chat-widget-message-user{background:linear-gradient(135deg,#4E6688,#71C0BB);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}.chat-widget-message-bot{background:#fff;color:#333;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06)}.typing-indicator{display:flex;gap:4px;padding:6px 0}.typing-indicator span{width:7px;height:7px;background:#71C0BB;border-radius:50%;animation:typing 1.4s ease-in-out infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-8px);opacity:1}}.chat-message-content{line-height:1.5;font-size:14px}.chat-message-content p{margin:0 0 6px}.chat-message-content p:last-child{margin-bottom:0}.chat-message-content ol,.chat-message-content ul{margin:6px 0;padding-left:18px}.chat-message-content code{background:rgba(0,0,0,.08);padding:2px 5px;border-radius:4px;font-family:monospace;font-size:.88em}.chat-sources{margin-top:6px;align-self:flex-start;max-width:78%;display:flex;flex-direction:column;gap:6px}.chat-sources-label{font-size:11px;font-weight:600;color:#4E6688;text-transform:uppercase;letter-spacing:.5px}.chat-source-item{background:#f8f9fb;border:1px solid #e8ecf1;border-left:3px solid #71c0bb;border-radius:6px;padding:8px 10px;font-size:12.5px}.chat-source-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.chat-source-module{font-weight:600;color:#332D56;font-size:12px}.chat-source-page{font-size:11px;color:#4E6688;background:#e8ecf1;padding:1px 6px;border-radius:8px}.chat-source-snippet{color:#555;font-size:12px;line-height:1.4;margin:2px 0 4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.chat-source-link{font-size:11.5px;color:#71C0BB;text-decoration:none;font-weight:500}.chat-source-link:hover{text-decoration:underline;color:#4E6688}.chat-source-item.chat-source-locked{border-left-color:#ccc;opacity:.85}.chat-source-access-message{font-size:11.5px;color:#888;font-style:italic;display:inline-flex;align-items:center}.quick-chat-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;align-self:flex-start;max-width:78%}.quick-chat-button{background:#fff;border:1.5px solid #71c0bb;color:#4E6688;padding:6px 14px;border-radius:18px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s;display:flex;align-items:center;gap:4px}.quick-chat-button:hover{background:#71C0BB;color:#fff;transform:translateY(-1px);box-shadow:0 3px 10px rgba(113,192,187,.25)}.quick-chat-link{text-decoration:none}.chat-widget-input-row{display:flex;gap:6px;padding:12px 14px;background:#fff;border-top:1px solid #eee;align-items:center}.chat-widget-input{flex:1;padding:10px 14px;border:1.5px solid #e4e4e4;border-radius:22px;outline:none;font-size:14px;transition:border-color .2s;background:#f9fafb}.chat-widget-input:focus{border-color:#71C0BB;background:#fff}.chat-widget-mic,.chat-widget-send{width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.chat-widget-mic{background:#f0f1f3;color:#4E6688}.chat-widget-mic:hover:not(:disabled){background:#e4e5e8;transform:scale(1.05)}.chat-widget-mic:disabled{opacity:.5;cursor:not-allowed}.chat-widget-mic.listening{background:#E3EEB2;animation:micPulse 1s ease-in-out infinite}@keyframes micPulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.mic-container{position:relative;display:flex;align-items:center;justify-content:center}.recording-animation{position:absolute;inset:-8px;pointer-events:none}.pulse-ring-1,.pulse-ring-2,.pulse-ring-3{position:absolute;inset:0;border:2px solid #e3eeb2;border-radius:50%;animation:pulse 1.5s ease-out infinite}.pulse-ring-2{animation-delay:.5s}.pulse-ring-3{animation-delay:1s}.chat-widget-send{background:linear-gradient(135deg,#4E6688,#71C0BB);color:#fff}.chat-widget-send:hover{transform:scale(1.08);box-shadow:0 3px 10px rgba(113,192,187,.3)}.chat-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:overlayIn .2s ease-out}@keyframes overlayIn{0%{opacity:0}to{opacity:1}}.chat-popup-form{background:#fff;padding:28px;border-radius:16px;width:90%;max-width:380px;box-shadow:0 12px 48px rgba(0,0,0,.2);animation:chatWindowIn .3s ease-out}.chat-popup-form h2{color:#4E6688;margin-bottom:18px;font-size:20px;text-align:center;font-weight:600}.chat-popup-form input{width:100%;padding:10px 14px;margin-bottom:14px;border:1.5px solid #e0e0e0;border-radius:10px;font-size:14px;outline:none;transition:border-color .2s}.chat-popup-form input:focus{border-color:#71C0BB}.chat-popup-cancel,.chat-popup-submit{width:100%;padding:11px;margin-top:6px;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.chat-popup-submit{background:linear-gradient(135deg,#4E6688,#71C0BB);color:#fff}.chat-popup-submit:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(113,192,187,.3)}.chat-popup-cancel{background:#f4f4f5;color:#666}.chat-popup-cancel:hover{background:#eaeaeb}@keyframes slideInRight{0%{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}@keyframes slideInFromRight{0%{opacity:0;transform:translate(12px,-50%)}to{opacity:1;transform:translateY(-50%)}}.widget-position-toggle{width:24px;height:24px;border-radius:50%;background:rgba(78,102,136,.7);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .2s;opacity:.5;align-self:center}.widget-position-toggle:hover{opacity:1;background:rgba(78,102,136,.9);transform:scale(1.1)}.bottom-left-widgets{right:auto;left:24px;align-items:flex-start}.chat-widget-window-left{right:auto;left:24px}.phone-fab-tooltip-left{right:auto;left:52px}.phone-fab-tooltip-left:after{right:auto;left:-6px;border-left:none;border-right:6px solid #fff}.welcome-tooltip-left{right:auto;left:68px}.tooltip-arrow-left{right:auto;left:-6px;border-left:none;border-right:6px solid #fff}@media (max-width:768px){.chat-widget-window{width:calc(100vw - 16px);right:8px;bottom:88px;height:calc(100vh - 108px);border-radius:16px}.bottom-right-widgets{right:12px;bottom:12px}.bottom-left-widgets{right:auto;left:12px}.chat-widget-window-left{right:auto;left:8px}.welcome-tooltip{display:none}.chat-widget-button{width:50px;height:50px}.chat-widget-button.enhanced-cta{width:52px;height:52px}.phone-fab{width:38px;height:38px}}@media (max-width:480px){.chat-widget-message,.quick-chat-buttons{max-width:88%}.quick-chat-button{font-size:12px;padding:5px 10px}}