#dashboard-section .home-learning-progress { border:1px solid #dcd5ff; background:linear-gradient(120deg,#fff,#f1edff); padding:clamp(22px,3vw,36px); }
#dashboard-section .home-learning-progress h2 { margin:0 0 10px; }
#dashboard-section .home-learning-progress p { margin:0 0 20px; }
#dashboard-section .home-redeem { padding:18px 22px; box-shadow:none; }
.home-redeem summary { cursor:pointer; font-weight:700; }
.home-redeem[open] summary { margin-bottom:16px; }
#qalyAssistantLauncher { position:fixed; right:24px; top:110px; z-index:110; padding:12px 20px; border:1px solid #d8d0ff; border-radius:999px; background:#5c43da; color:white; font-family:inherit; font-weight:700; font-size:16px; line-height:1.4; box-shadow:0 6px 20px #36276326; cursor:pointer; }
#qalyAssistantDialog { position:fixed; inset:16px 16px 16px auto; margin:0; width:min(480px,calc(100vw - 32px)); max-width:none; height:calc(100dvh - 32px); max-height:none; padding:0; border:1px solid #ded7ff; border-radius:24px; background:#faf9ff; color:#29233f; box-shadow:0 24px 90px #17102840; }
#qalyAssistantDialog::backdrop { background:rgb(26 20 50 / .28); }
#qalyAssistantDialog[open] { display:flex; flex-direction:column; }
.qaly-drawer-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; background:#fff; border-bottom:1px solid #e8e2f8; flex-shrink:0; }
.qaly-drawer-header span { color:#6550c8; font-weight:800; }
.qaly-drawer-header h2 { font-size:1.1rem; line-height:1.5; margin:4px 0 0; }
#qalyAssistantClose { min-width:44px; min-height:44px; border:1px solid #ddd5f2; border-radius:50%; background:#f2effb; color:inherit; cursor:pointer; }
#qalyAssistantDialog #dashboardAssistant { overflow:auto; min-height:0; padding:20px; }
#qalyAssistantDialog .qaly-chat__description, #qalyAssistantDialog .qaly-chat__quick-head > div:first-child { display:none; }
#qalyAssistantDialog .qaly-chat__messages--quick { min-height:180px; height:clamp(180px,32dvh,380px); }
#qalyAssistantDialog .qaly-chat__message { animation:none; }
.qaly-drawer-preferences { border:1px solid #e3ddef; border-radius:14px; padding:12px; }
.qaly-drawer-preferences summary { cursor:pointer; font-weight:600; }
#qalyAssistantDialog .qaly-chat__voice-panel { margin-top:12px; }
#qalyAssistantLauncher:focus-visible, #qalyAssistantClose:focus-visible, .home-redeem summary:focus-visible { outline:3px solid #a590ff; outline-offset:4px; }
@media(max-width:600px) { #qalyAssistantLauncher { top:auto; bottom:155px; right:16px; padding:10px 16px; } #qalyAssistantDialog { inset:8px; width:calc(100vw - 16px); height:calc(100dvh - 16px); border-radius:18px; } .qaly-drawer-header { padding:16px; } }
