.wings-buddy{position:fixed;z-index:11000;right:18px;bottom:18px;color:#173047;font-family:Arial,Helvetica,sans-serif;line-height:1.4}
.wings-buddy *{box-sizing:border-box}.wings-symbols{position:absolute;width:0;height:0;overflow:hidden}
.wings-buddy button{font-family:inherit;box-shadow:none;cursor:pointer}.wings-buddy button:focus-visible,.wings-buddy input:focus-visible,.wings-buddy summary:focus-visible{outline:3px solid #efaa30;outline-offset:3px}
.wings-buddy button:disabled{opacity:.48;cursor:not-allowed}.wings-buddy [hidden]{display:none!important}
.wings-launch{display:flex;align-items:center;gap:3px;min-height:70px;padding:4px 15px 4px 3px;border:2px solid #b7e4f0;border-radius:24px;background:#f5fdff;color:#123d59;box-shadow:0 8px 26px #123b5e40!important;touch-action:none;cursor:grab!important;text-align:left}
.wings-launch:active{cursor:grabbing!important}.wings-launch .wings-robot{width:69px;height:69px;flex:none;animation:wings-float 3s ease-in-out infinite}.wings-launch span{display:grid;gap:2px}.wings-launch small{font-size:.6rem;letter-spacing:.1em;color:#35738b}.wings-launch strong{font-size:.9rem;white-space:nowrap}
.wings-restore{border:2px solid #b7e4f0;border-radius:999px;padding:10px 14px;background:#f5fdff;color:#164661;font-weight:800;box-shadow:0 5px 18px #123b5e40!important}
.wings-panel{position:fixed;right:18px;bottom:104px;width:min(380px,calc(100vw - 24px));max-height:min(720px,calc(100dvh - 18px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #bddce8;border-radius:22px;box-shadow:0 18px 52px #102a4380;font-size:14px;text-align:left}
.wings-top{display:flex;align-items:center;gap:8px;padding:11px 12px 10px 8px;background:linear-gradient(120deg,#153c59,#175675);color:#fff}.wings-top-robot{width:66px;height:66px;flex:none;animation:wings-float 3s ease-in-out infinite}.wings-heading{flex:1;min-width:0}.wings-heading span{display:block;color:#f9d776;font-size:.63rem;letter-spacing:.11em;font-weight:800}.wings-heading h2{font-size:1.18rem;line-height:1.1;margin:3px 0;color:#fff}.wings-heading p{font-size:.76rem;color:#d7f2fb;line-height:1.3;margin:0}
.wings-icon-button{align-self:flex-start;border:1px solid #78a7b8!important;border-radius:50%!important;width:35px;height:35px;padding:0!important;background:#ffffff20!important;color:white!important;font-size:1.35rem!important;font-weight:500!important;line-height:1!important}
.wings-scroll{overflow-y:auto;padding:14px;overscroll-behavior:contain}.wings-message{background:#edf9fd;border:1px solid #c5e8f2;border-radius:5px 16px 16px 16px;padding:12px 13px;font-size:.96rem;line-height:1.45;color:#183f56;white-space:pre-wrap}
.wings-quick{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.wings-quick button,.wings-reading button,.wings-access button,.wings-teacher button,.wings-quiz button{min-height:40px;padding:8px 9px;border:1px solid #c8dfe8;border-radius:10px;background:#f5fafc;color:#19465c;font-size:.8rem;font-weight:800;line-height:1.25;text-align:left}.wings-quick button:hover,.wings-reading button:hover,.wings-access button:hover,.wings-teacher button:hover,.wings-quiz button:hover{background:#e4f4f8}
.wings-navigator{margin-top:10px;padding:11px;border:1px solid #cce7de;border-radius:13px;background:#f1fbf6}.wings-navigator p{margin:0 0 8px;font-weight:800}.wings-navigator div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wings-navigator button{min-height:40px;padding:8px;border:1px solid #bddbd0;border-radius:9px;background:#fff;color:#16523f;font-size:.78rem;font-weight:800;text-align:left}.wings-reading{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.wings-reading button{flex:1;min-width:120px;background:#fff8e8;border-color:#f2dca5}
.wings-quiz{margin-top:11px;padding:11px;border-radius:13px;background:#f8f6ff;border:1px solid #e1d9f8}.wings-quiz p{margin:0 0 8px}.wings-quiz>p:first-child{font-weight:800}.wings-quiz #wingsQuizOptions{display:grid;gap:6px}.wings-quiz button{width:100%;background:#fff}.wings-quiz #wingsQuizFeedback{margin:9px 0 0;color:#23634d;font-weight:700;min-height:1em}
.wings-ask{margin-top:12px}.wings-ask label{display:block;font-weight:800;font-size:.78rem;margin-bottom:6px;color:#315669}.wings-ask div{display:flex;gap:6px}.wings-ask input{min-width:0;flex:1;border:1px solid #aec9d6;border-radius:10px;padding:9px;background:#fff;color:#172d40;font-size:.9rem}.wings-ask button{min-height:40px;border:0;border-radius:10px;padding:8px 12px;background:#15785f;color:#fff;font-size:.85rem;font-weight:800}
.wings-note{font-size:.73rem;color:#5c7181;line-height:1.4;margin:8px 0 0}.wings-access{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #e5edf0;margin-top:13px;padding-top:11px}.wings-access button{font-size:.72rem;min-height:34px;padding:6px 8px}.wings-access button[aria-pressed=true]{background:#d7f3e8;border-color:#93d3bc}
.wings-paused{margin-top:12px;padding:12px;background:#fff5dd;border:1px solid #f3d486;border-radius:12px}.wings-paused p{margin:5px 0 0}.wings-teacher{border-top:1px solid #e5edf0;margin-top:11px;padding-top:10px;color:#445e6c;font-size:.78rem}.wings-teacher summary{font-weight:800;cursor:pointer}.wings-teacher p{line-height:1.4;margin:8px 0}.wings-teacher label{display:flex;align-items:flex-start;gap:7px;margin:8px 0}.wings-teacher input{width:17px;height:17px;flex:none;margin:0}.wings-teacher button{margin:4px 4px 0 0}
.wings-buddy.large-text .wings-panel{font-size:16.5px}.wings-buddy.large-text .wings-message{font-size:1.08rem}.wings-buddy.large-text .wings-quick button,.wings-buddy.large-text .wings-reading button,.wings-buddy.large-text .wings-access button,.wings-buddy.large-text .wings-teacher,.wings-buddy.large-text .wings-ask label,.wings-buddy.large-text .wings-quiz button{font-size:.95rem}
.wings-buddy.celebrate .wings-robot,.wings-buddy.celebrate .wings-top-robot{animation:wings-cheer .55s ease-in-out 2}
@keyframes wings-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}@keyframes wings-cheer{0%,100%{transform:rotate(0)}25%{transform:rotate(-11deg)}75%{transform:rotate(11deg)}}
@media(max-width:420px){.wings-buddy{right:8px;bottom:8px}.wings-launch{min-height:60px}.wings-launch .wings-robot{width:59px;height:59px}.wings-panel{width:calc(100vw - 16px)}.wings-quick button{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){.wings-buddy .wings-robot,.wings-buddy .wings-top-robot{animation:none!important}}
@media print{.wings-buddy{display:none!important}}
