.theme-menu summary{color:var(--lg-text)!important;display:grid;place-items:center;width:34px;height:34px;padding:5px!important;list-style:none;cursor:pointer}.theme-menu summary::-webkit-details-marker{display:none}.theme-menu summary svg{width:22px;height:22px}.theme-menu .nav-dropdown{width:210px}.theme-choices{display:grid;gap:8px}.theme-choices label{display:grid;gap:6px}.theme-choices select{min-width:0;width:100%}.theme-menu .theme-choices{padding:10px}.theme-choices [role=status]{font-size:12px}.academy-permissions{padding:14px;border:1px solid var(--lg-muted);border-radius:14px;margin:12px 0}.academy-permissions legend{padding:0 8px}.academy-locked{opacity:.8;cursor:default}.academy-locked .badge{white-space:normal}.academy-access-summary small{display:block;margin:10px 0}.lg-chat{position:fixed;right:20px;bottom:24px;z-index:180;color:var(--lg-text)}.lg-chat-toggle{width:54px;height:54px;border-radius:50%;border:2px solid var(--lg-accent);background:var(--lg-chat-color,var(--lg-secondary));color:var(--lg-chat-ink,#fff);box-shadow:0 7px 24px #0003;display:grid;place-items:center;cursor:pointer}.lg-chat-toggle svg{width:27px;height:27px}.lg-chat-panel{position:absolute;right:0;bottom:68px;width:min(370px,calc(100vw - 28px));max-height:min(670px,calc(100dvh - 110px));overflow:auto;background:var(--lg-card);border:1px solid var(--lg-muted);border-radius:20px;box-shadow:0 18px 50px #0004;padding:16px;overscroll-behavior:contain}.lg-chat-panel[hidden]{display:none}.lg-chat-panel header,.lg-chat-panel footer,.lg-chat-panel form{display:flex;align-items:center;justify-content:space-between;gap:10px}.lg-chat-panel header{border-bottom:1px solid var(--lg-accent);padding-bottom:10px}.lg-chat-panel header button{font-size:25px;background:transparent;border:0;color:var(--lg-text);cursor:pointer}.lg-chat-panel small{font-size:11px;line-height:1.5;display:block;color:var(--lg-muted)}.lg-chat-welcome{margin:12px 0 8px}.lg-chat-messages{max-height:220px;overflow:auto;margin:10px 0}.lg-chat-message{padding:10px;border-radius:12px;background:var(--lg-section);font-size:13px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.lg-chat-message.is-user{border-left:3px solid var(--lg-accent);margin-left:18px}.lg-chat-suggestions{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.lg-chat-suggestions button{background:var(--lg-section);color:var(--lg-text);border:1px solid var(--lg-muted);border-radius:20px;padding:6px 9px;font-size:11px;cursor:pointer}.lg-chat-panel form input{min-width:0;flex:1;width:0;font-size:14px}.lg-chat-panel footer{font-size:12px;margin-top:10px}.lg-chat-panel footer .button{white-space:normal;font-size:11px}.lg-chat-status{font-size:12px;color:var(--lg-muted)}.lg-chat button:focus-visible,.theme-menu summary:focus-visible{outline:3px solid var(--lg-accent);outline-offset:3px}@media(max-width:600px){.lg-chat{right:14px;bottom:18px}.personal-body .lg-chat{bottom:88px}.lg-chat-toggle{width:46px;height:46px}.personal-body .lg-chat-panel{max-height:calc(100dvh - 175px)}.header .header-actions{gap:5px}.header .theme-menu summary{width:28px;height:30px;padding:3px!important}.header .theme-menu summary svg{width:19px;height:19px}.lg-chat-panel{bottom:58px}}@media(prefers-reduced-motion:reduce){.lg-chat *{scroll-behavior:auto!important}}

.theme-sun{display:none}:root[data-theme=dark] .theme-sun{display:block}:root[data-theme=dark] .theme-moon{display:none}
.lg-chat-panel{box-sizing:border-box;width:min(370px,calc(100vw - 48px))}.lg-chat-panel .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.lg-chat-panel form input{font-size:16px}
