
    .ask-float-btn {
        position: fixed;
        right: 1.5rem;
        bottom: 1.5rem;
        z-index: 3500;
        background: var(--accent, var(--brand-400,#00d084));
        color: var(--navy-900,#0d1b2a);
        border: none;
        border-radius: var(--radius-pill,999px);
        padding: 0.75rem 1.25rem;
        font-weight: 700;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: var(--shadow-sm,0 1px 2px rgb(16 24 40 / .06));
        cursor: grab;
        transition: transform 0.2s, box-shadow 0.2s;
        touch-action: none; /* dragging shouldn't also scroll the page on mobile */
        user-select: none;
    }
    .ask-float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm,0 1px 2px rgb(16 24 40 / .06)); }
    .ask-float-btn.is-dragging {
        cursor: grabbing;
        transition: none;
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }
    @media (max-width: 576px) {
        .ask-float-btn { right: 1rem; bottom: 1rem; padding: 0.7rem 1rem; }
        .ask-float-btn span { display: none; }
    }

    .ask-recent-item {
        display: block;
        padding: 0.6rem 0.75rem;
        border-radius: var(--radius,10px);
        background: #f8fafb;
        margin-bottom: 0.5rem;
        text-decoration: none;
        color: var(--navy-900,#0d1b2a);
        font-size: 0.82rem;
        transition: background 0.2s;
    }
    .ask-recent-item:hover { background: #eef7f3; color: var(--navy-900,#0d1b2a); }
    .ask-recent-item .ask-recent-meta { color: var(--text-faint,#94a3b8); font-size: 0.72rem; margin-top: 2px; }

    /* Tab pills — the .active state (toggled by Bootstrap) drives the green,
       so clicking either pill moves the highlight. Inline background colors
       used to pin each pill and break this. */
    #askTabs .nav-link {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 0.85rem;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    #askTabs .nav-link:hover { background-color: rgba(255, 255, 255, 0.2); color: #fff; }
    #askTabs .nav-link.active {
        background-color: var(--brand-400,#00d084);
        color: var(--navy-900,#0d1b2a);
    }
