.learning-help-dock{position:fixed;right:20px;bottom:24px;z-index:35;display:flex;align-items:flex-end;gap:10px;max-width:calc(100vw - 32px)}
.learning-help-dock button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;padding:10px 14px;border:1px solid #a9b99f;border-radius:16px;background:#fffef9;color:#294f41;font:inherit;font-size:14px;line-height:1.4;box-shadow:0 5px 20px #233c321c;cursor:pointer}
.learning-help-dock .learning-help-open{background:#294f41;color:#fffef9;border-color:#294f41}.learning-help-dock .learning-top{flex-direction:column;gap:0;padding:5px 10px;font-size:18px}.learning-top span{font-size:11px}
.learning-help-dock [hidden],.learning-help-dialog [hidden]{display:none!important}
.learning-help-dialog{width:min(610px,calc(100vw - 32px));max-width:610px;max-height:calc(100dvh - 48px);overflow:auto;padding:28px;border:1px solid #b9c6ae;border-radius:22px;background:#fffef9;color:#233c32;box-shadow:0 16px 60px #233c3233;overscroll-behavior:contain}
.learning-help-dialog::backdrop{background:#1b30256b;backdrop-filter:blur(3px)}
.learning-help-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.learning-help-heading h2{margin:7px 0 0;font-size:28px;line-height:1.3}.learning-help-eyebrow{font-size:10px;letter-spacing:.12em;color:#617657}.learning-help-close{flex:0 0 48px;min-width:48px;min-height:48px;border:1px solid #d0d9c6;border-radius:12px;background:#f4f6ed;color:#294f41;font:inherit;cursor:pointer}
.learning-help-dialog p{font-size:15px;line-height:1.8;margin:12px 0;color:#526452}.learning-help-dialog h3{font-size:20px;line-height:1.45;margin:22px 0 14px}.learning-help-context{padding:14px 16px;border-radius:12px;background:#edf2e3}.learning-help-dialog label{display:block;font-size:14px;line-height:1.6;margin:12px 0 8px}.learning-help-dialog input,.learning-help-dialog textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid #acbda0;border-radius:10px;background:#fff;color:#233c32;font:inherit;font-size:16px;line-height:1.65;resize:vertical}.learning-help-dialog input{resize:none}.learning-help-dialog textarea{min-height:120px}
.learning-help-faqs details{border-bottom:1px solid #dce3d4}.learning-help-faqs summary{display:list-item;padding:14px 5px;min-height:48px;cursor:pointer;font-size:15px;line-height:1.6;font-weight:600}.learning-help-faqs details>p{margin:0 4px 8px}.learning-help-dialog a{display:inline-flex;align-items:center;min-height:48px;padding:10px 4px;color:#294f41;text-decoration:underline;text-underline-offset:4px;font-size:14px;line-height:1.6}.learning-help-dialog .learning-help-results{font-size:13px;min-height:0;margin:8px 0}.learning-help-ai{margin-top:24px;border-top:1px solid #cdd8c0}.learning-help-ai-links{display:flex;flex-wrap:wrap;gap:12px}.learning-help-ai-links a{border:1px solid #b9c6ae;border-radius:10px;padding:11px 16px}.learning-help-copy{min-height:48px;padding:12px 18px;margin-top:12px;border:0;border-radius:10px;background:#294f41;color:#fffef9;font:inherit;font-size:14px;cursor:pointer}.learning-help-copy:disabled{opacity:.65}.learning-help-dialog .learning-help-copy-status{font-size:14px;min-height:24px}.learning-help-dialog .learning-help-note{font-size:13px;color:#61705c}.learning-help-dock button:focus-visible,.learning-help-dialog :is(button,a,input,textarea,summary):focus-visible{outline:3px solid #a1693c;outline-offset:4px}
/* The shared audio bar sits above this mobile row, and to its left on desktop. */
@media(max-width:650px){.learning-help-dock{right:12px;bottom:calc(80px + env(safe-area-inset-bottom));gap:8px}.learning-help-dock button{padding:9px 12px}.learning-help-dialog{padding:22px 18px;max-height:calc(100dvh - 32px);width:calc(100vw - 24px);border-radius:18px}.learning-help-heading h2{font-size:26px}.learning-help-ai-links a{flex:1;justify-content:center}}
@media(prefers-reduced-motion:reduce){.learning-help-dialog,.learning-help-dock{scroll-behavior:auto}}
/* Reserve a separate mobile utility row instead of floating over a letter card. */
@media(max-width:650px){
 body{padding-bottom:calc(168px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-bottom:180px}
 .learning-help-dock{left:0;right:0;bottom:calc(65px + env(safe-area-inset-bottom,0px));max-width:none;min-height:60px;padding:6px 16px;align-items:center;justify-content:flex-end;background:#f8f9f2;border-top:1px solid #d9e0d1;border-bottom:1px solid #d9e0d1;box-shadow:none}
 .learning-help-dock button{min-height:44px;padding:7px 12px;box-shadow:none;border-radius:11px}
 .learning-help-dock .learning-top{margin-right:auto;flex-direction:row;gap:6px}
 .learning-help-dock .learning-help-open svg{width:22px;height:22px}
}
