/* MCQ Guru - floating button and tip (the chat window styles are in mqa.css) */
.mqa-launch {
    position: fixed; right: 18px; bottom: 76px; z-index: 1040;
    display: inline-flex; align-items: center; gap: 10px;
    border: 0; border-radius: 999px; padding: 8px 18px 8px 8px;
    background: linear-gradient(135deg, #047857, #059669); color: #fff;
    font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 28px rgba(4, 120, 87, .38); cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.mqa-launch:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(4, 120, 87, .45); }
.mqa-launch:focus-visible { outline: 3px solid #a7f3d0; outline-offset: 3px; }
.mqa-launch.mqa-left { right: auto; left: 18px; }
.mqa-launch-logo {
    width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #047857;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: .5px;
}
.mqa-launch[aria-expanded="true"] { display: none; }
.mqa-tip {
    position: fixed; right: 18px; bottom: 134px; z-index: 1040; max-width: 270px;
    background: #fff; color: #1f2937; border: 1px solid #d1fae5; border-radius: 14px;
    padding: 12px 34px 12px 14px; font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}
.mqa-tip.mqa-left { right: auto; left: 18px; }
.mqa-tip strong { display: block; color: #065f46; }
.mqa-tip-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 18px; line-height: 1; color: #6b7280; cursor: pointer; }
html[data-theme="dark"] .mqa-tip { background: #0f172a; color: #e5e7eb; border-color: #065f46; }
html[data-theme="dark"] .mqa-tip strong { color: #6ee7b7; }
@media (max-width: 575px) { .mqa-launch-text { display: none; } .mqa-launch { padding: 8px; } }
@media print { .mqa-launch, .mqa-tip { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mqa-launch { transition: none; } }
