/* WP Learning 101 AI Helper v1.0.61 - fixed safe mobile assistant */

#wpl101-floating-assistant{
    position:fixed!important;
    right:18px!important;
    bottom:18px!important;
    z-index:2147483000!important;
    width:auto!important;
    height:auto!important;
    background:transparent!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    font-family:Arial,sans-serif!important;
}

#wpl101-floating-assistant *,
#wpl101-floating-assistant *::before,
#wpl101-floating-assistant *::after{
    box-sizing:border-box!important;
    font-family:Arial,sans-serif!important;
}

#wpl101-floating-assistant .wpl101-launcher{
    appearance:none!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:auto!important;
    height:auto!important;
    cursor:pointer!important;
}

#wpl101-floating-assistant .wpl101-bubble{
    display:block!important;
    background:#fff!important;
    color:#111827!important;
    border:1px solid #e5e7eb!important;
    border-radius:18px!important;
    padding:12px 14px!important;
    max-width:230px!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.35!important;
    text-align:center!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
}

#wpl101-floating-assistant .wpl101-avatar-wrap{
    display:block!important;
    width:78px!important;
    height:78px!important;
    min-width:78px!important;
    min-height:78px!important;
    max-width:78px!important;
    max-height:78px!important;
    flex:0 0 78px!important;
    overflow:hidden!important;
    border-radius:50%!important;
    border:4px solid #fff!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(0,0,0,.25)!important;
}

#wpl101-floating-assistant .wpl101-avatar-img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
    border:0!important;
    border-radius:0!important;
    margin:0!important;
    padding:0!important;
    box-shadow:none!important;
}

#wpl101-floating-assistant .wpl101-panel{
    display:none!important;
    position:absolute!important;
    right:0!important;
    bottom:96px!important;
    width:360px!important;
    max-width:calc(100vw - 24px)!important;
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:20px!important;
    overflow:hidden!important;
    box-shadow:0 24px 60px rgba(0,0,0,.28)!important;
}

#wpl101-floating-assistant.wpl101-open .wpl101-panel{
    display:block!important;
}

#wpl101-floating-assistant .wpl101-panel-header{
    background:linear-gradient(135deg,#111827,#2563eb)!important;
    color:#fff!important;
    padding:15px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
}

#wpl101-floating-assistant .wpl101-panel-header strong{
    color:#fff!important;
    font-size:17px!important;
}

#wpl101-floating-assistant .wpl101-close{
    width:40px!important;
    height:40px!important;
    border-radius:50%!important;
    border:2px solid #fff!important;
    background:#000!important;
    color:#fff!important;
    font-size:28px!important;
    font-weight:900!important;
    line-height:1!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
}

#wpl101-floating-assistant .wpl101-panel-body{
    background:#f8fafc!important;
    padding:14px!important;
    max-height:230px!important;
    overflow:auto!important;
}

#wpl101-floating-assistant .wpl101-chat-message{
    background:#fff!important;
    color:#111827!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    padding:11px 12px!important;
    font-size:14px!important;
    line-height:1.45!important;
    margin:8px 0!important;
}

#wpl101-floating-assistant .wpl101-chat-message.user{
    background:#dbeafe!important;
    border-color:#bfdbfe!important;
}

#wpl101-floating-assistant .wpl101-home-question,
#wpl101-floating-assistant .wpl101-home-signup{
    padding:12px!important;
    border-top:1px solid #e5e7eb!important;
    margin:0!important;
    background:#fff!important;
}

#wpl101-floating-assistant .wpl101-home-question{
    display:flex!important;
    gap:8px!important;
    align-items:center!important;
}

#wpl101-floating-assistant input{
    width:100%!important;
    min-width:0!important;
    border:1px solid #d1d5db!important;
    border-radius:10px!important;
    padding:11px!important;
    font-size:14px!important;
    line-height:1.2!important;
    background:#fff!important;
    color:#111827!important;
    margin:0 0 8px 0!important;
    box-shadow:none!important;
}

#wpl101-floating-assistant .wpl101-home-question input{
    margin:0!important;
}

#wpl101-floating-assistant .wpl101-home-question button,
#wpl101-floating-assistant .wpl101-home-signup button{
    background:#2563eb!important;
    color:#fff!important;
    border:0!important;
    border-radius:10px!important;
    padding:11px 14px!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1.2!important;
    cursor:pointer!important;
    white-space:nowrap!important;
    box-shadow:none!important;
}

#wpl101-floating-assistant .wpl101-home-question button{
    width:70px!important;
    min-width:70px!important;
    flex:0 0 70px!important;
}

#wpl101-floating-assistant .wpl101-home-signup button{
    width:100%!important;
}

@media(max-width:768px){
    #wpl101-floating-assistant{
        right:12px!important;
        bottom:12px!important;
    }

    #wpl101-floating-assistant .wpl101-bubble{
        max-width:180px!important;
        font-size:14px!important;
        padding:11px 12px!important;
    }

    #wpl101-floating-assistant .wpl101-avatar-wrap{
        width:70px!important;
        height:70px!important;
        min-width:70px!important;
        min-height:70px!important;
        max-width:70px!important;
        max-height:70px!important;
        flex-basis:70px!important;
    }

    #wpl101-floating-assistant .wpl101-panel{
        position:fixed!important;
        left:10px!important;
        right:10px!important;
        bottom:10px!important;
        width:auto!important;
        max-width:none!important;
        max-height:calc(100dvh - 20px)!important;
        overflow:auto!important;
    }
}


/* v1.0.63 restore professional members-area and under-video AI UI without affecting normal site layout */
.wpl101-member-ai-box,
.wpl101-video-ai-box{
    background:#ffffff!important;
    border:1px solid #e5e7eb!important;
    border-radius:20px!important;
    box-shadow:0 12px 30px rgba(15,23,42,.09)!important;
    padding:18px!important;
    margin:26px 0!important;
    font-family:Arial,sans-serif!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
}

.wpl101-member-ai-box *,
.wpl101-video-ai-box *{
    box-sizing:border-box!important;
    font-family:Arial,sans-serif!important;
}

.wpl101-member-ai-box h2{
    margin:0 0 8px!important;
    color:#0f172a!important;
    font-size:24px!important;
    line-height:1.25!important;
}

.wpl101-member-ai-box > p{
    color:#475569!important;
    font-size:15px!important;
    line-height:1.5!important;
    margin:0 0 14px!important;
}

.wpl101-member-messages,
.wpl101-video-messages{
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:16px!important;
    padding:14px!important;
    max-height:360px!important;
    overflow:auto!important;
    margin-bottom:14px!important;
}

.wpl101-member-messages .bot,
.wpl101-member-messages .user,
.wpl101-video-messages .bot,
.wpl101-video-messages .user{
    padding:12px 14px!important;
    border-radius:14px!important;
    margin:10px 0!important;
    line-height:1.5!important;
    font-size:14px!important;
    color:#111827!important;
}

.wpl101-member-messages .bot,
.wpl101-video-messages .bot{
    background:#ffffff!important;
    border:1px solid #e5e7eb!important;
}

.wpl101-member-messages .user,
.wpl101-video-messages .user{
    background:#dbeafe!important;
    border:1px solid #bfdbfe!important;
}

.wpl101-member-form,
.wpl101-video-form{
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    margin:0!important;
}

.wpl101-member-form input,
.wpl101-video-form input{
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    border:1px solid #cbd5e1!important;
    border-radius:12px!important;
    padding:13px 14px!important;
    font-size:15px!important;
    background:#fff!important;
    color:#111827!important;
    box-shadow:none!important;
    outline:none!important;
    margin:0!important;
}

.wpl101-member-form input:focus,
.wpl101-video-form input:focus{
    border-color:#2563eb!important;
    box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;
}

.wpl101-member-form button,
.wpl101-video-form button{
    flex:0 0 auto!important;
    background:#2563eb!important;
    color:#fff!important;
    border:0!important;
    border-radius:12px!important;
    padding:13px 17px!important;
    font-size:14px!important;
    font-weight:900!important;
    cursor:pointer!important;
    white-space:nowrap!important;
    box-shadow:0 8px 18px rgba(37,99,235,.2)!important;
}

/* Branded under-video header */
.wpl101-video-ai-brand{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    background:linear-gradient(135deg,#0f172a,#1d4ed8)!important;
    color:#fff!important;
    padding:18px!important;
    border-radius:18px!important;
    margin:0 0 16px!important;
}

.wpl101-video-ai-brand img{
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
    min-height:62px!important;
    max-width:62px!important;
    max-height:62px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    border:3px solid #fff!important;
    box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
}

.wpl101-video-ai-brand h3{
    color:#fff!important;
    margin:5px 0 4px!important;
    font-size:22px!important;
    line-height:1.2!important;
}

.wpl101-video-ai-brand p{
    color:#dbeafe!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.35!important;
}

.wpl101-wp-pill{
    display:inline-block!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:5px 9px!important;
    font-weight:900!important;
    font-size:11px!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
}

.wpl101-wp-logo{
    margin-left:auto!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#1d4ed8!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-weight:900!important;
    font-size:24px!important;
    font-family:Georgia,serif!important;
}

/* Professional answer cards */
.wpl101-pro-answer{
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:16px!important;
    padding:15px!important;
    box-shadow:0 8px 20px rgba(15,23,42,.06)!important;
}

.wpl101-pro-answer-top{
    border-bottom:1px solid #e5e7eb!important;
    padding-bottom:10px!important;
    margin-bottom:10px!important;
}

.wpl101-pro-answer-top span{
    display:inline-block!important;
    background:#eff6ff!important;
    color:#1d4ed8!important;
    border-radius:999px!important;
    padding:5px 9px!important;
    font-weight:900!important;
    font-size:11px!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    margin-bottom:7px!important;
}

.wpl101-pro-answer-top strong{
    display:block!important;
    color:#0f172a!important;
    font-size:18px!important;
}

.wpl101-pro-answer p{
    color:#334155!important;
    font-size:15px!important;
    line-height:1.6!important;
    margin:0 0 12px!important;
}

.wpl101-pro-answer ol{
    margin:12px 0 0 20px!important;
    padding:0!important;
}

.wpl101-pro-answer li{
    margin:8px 0!important;
    color:#334155!important;
    line-height:1.45!important;
}

.wpl101-pro-tip{
    background:#fefce8!important;
    border:1px solid #fde68a!important;
    color:#713f12!important;
    border-radius:12px!important;
    padding:11px!important;
    margin-top:12px!important;
    line-height:1.45!important;
}

/* Voice input under videos */
.wpl101-video-voice-row{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    padding:12px!important;
    margin:12px 0!important;
}

.wpl101-video-voice-row span{
    color:#4b5563!important;
    font-size:13px!important;
    line-height:1.35!important;
    flex:1!important;
    min-width:220px!important;
}

.wpl101-video-voice-btn,
.wpl101-video-voice-stop{
    border:0!important;
    border-radius:999px!important;
    padding:10px 14px!important;
    font-weight:900!important;
    cursor:pointer!important;
    white-space:nowrap!important;
}

.wpl101-video-voice-btn{
    background:#0f172a!important;
    color:#fff!important;
}

.wpl101-video-voice-btn.is-listening{
    background:#dc2626!important;
}

.wpl101-video-voice-stop{
    background:#991b1b!important;
    color:#fff!important;
}

/* Resource buttons */
.wpl101-resource-box{
    margin:16px 0 0!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:18px!important;
    padding:14px!important;
}

.wpl101-resource-head{
    display:flex!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-bottom:10px!important;
}

.wpl101-resource-head strong{
    color:#0f172a!important;
    font-size:15px!important;
}

.wpl101-resource-head span{
    color:#64748b!important;
    font-size:12px!important;
    font-weight:800!important;
}

.wpl101-resource-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
    gap:10px!important;
}

.wpl101-resource-btn{
    display:block!important;
    background:#fff!important;
    border:1px solid #dbeafe!important;
    border-radius:14px!important;
    padding:12px!important;
    text-decoration:none!important;
    transition:all .18s ease!important;
    box-shadow:0 6px 14px rgba(15,23,42,.05)!important;
}

.wpl101-resource-btn strong{
    display:block!important;
    color:#1d4ed8!important;
    font-size:14px!important;
    line-height:1.25!important;
    margin-bottom:4px!important;
}

.wpl101-resource-btn small{
    display:block!important;
    color:#475569!important;
    font-size:12px!important;
    line-height:1.3!important;
}

@media(max-width:700px){
    .wpl101-member-form,
    .wpl101-video-form{
        display:block!important;
    }

    .wpl101-member-form button,
    .wpl101-video-form button{
        width:100%!important;
        margin-top:10px!important;
    }

    .wpl101-video-ai-brand{
        align-items:flex-start!important;
    }

    .wpl101-wp-logo{
        display:none!important;
    }

    .wpl101-video-ai-brand h3{
        font-size:19px!important;
    }

    .wpl101-video-voice-btn,
    .wpl101-video-voice-stop{
        width:100%!important;
    }

    .wpl101-video-voice-row span{
        min-width:100%!important;
        text-align:center!important;
    }

    .wpl101-resource-head{
        display:block!important;
    }

    .wpl101-resource-head span{
        display:block!important;
        margin-top:3px!important;
    }

    .wpl101-resource-grid{
        grid-template-columns:1fr!important;
    }
}


/* v1.0.64 homepage assistant click fix: CSS checkbox fallback */
#wpl101-floating-assistant .wpl101-toggle{
    position:absolute!important;
    opacity:0!important;
    width:1px!important;
    height:1px!important;
    pointer-events:none!important;
}

#wpl101-floating-assistant .wpl101-launcher{
    user-select:none!important;
    -webkit-user-select:none!important;
    touch-action:manipulation!important;
    pointer-events:auto!important;
}

#wpl101-floating-assistant .wpl101-bubble,
#wpl101-floating-assistant .wpl101-avatar-wrap,
#wpl101-floating-assistant .wpl101-avatar-img{
    pointer-events:none!important;
}

#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}

#wpl101-floating-assistant .wpl101-close{
    user-select:none!important;
    -webkit-user-select:none!important;
    cursor:pointer!important;
    text-decoration:none!important;
}

#wpl101-floating-assistant .wpl101-panel{
    pointer-events:auto!important;
}


/* v1.0.65 restore resources below forms */
#wpl101-floating-assistant .wpl101-resource-box,
.wpl101-member-ai-box .wpl101-resource-box,
.wpl101-video-ai-box .wpl101-resource-box{
    margin:14px 0 0!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:16px!important;
    padding:12px!important;
}

#wpl101-floating-assistant .wpl101-resource-head,
.wpl101-member-ai-box .wpl101-resource-head,
.wpl101-video-ai-box .wpl101-resource-head{
    display:flex!important;
    justify-content:space-between!important;
    gap:8px!important;
    margin-bottom:10px!important;
}

#wpl101-floating-assistant .wpl101-resource-head strong,
.wpl101-member-ai-box .wpl101-resource-head strong,
.wpl101-video-ai-box .wpl101-resource-head strong{
    color:#0f172a!important;
    font-size:14px!important;
    font-weight:900!important;
}

#wpl101-floating-assistant .wpl101-resource-head span,
.wpl101-member-ai-box .wpl101-resource-head span,
.wpl101-video-ai-box .wpl101-resource-head span{
    color:#64748b!important;
    font-size:11px!important;
    font-weight:800!important;
}

#wpl101-floating-assistant .wpl101-resource-grid,
.wpl101-member-ai-box .wpl101-resource-grid,
.wpl101-video-ai-box .wpl101-resource-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    gap:8px!important;
}

#wpl101-floating-assistant .wpl101-resource-box.compact .wpl101-resource-grid{
    grid-template-columns:1fr!important;
    max-height:210px!important;
    overflow-y:auto!important;
}

#wpl101-floating-assistant .wpl101-resource-btn,
.wpl101-member-ai-box .wpl101-resource-btn,
.wpl101-video-ai-box .wpl101-resource-btn{
    display:block!important;
    background:#fff!important;
    border:1px solid #dbeafe!important;
    border-radius:12px!important;
    padding:10px!important;
    text-decoration:none!important;
    box-shadow:0 5px 12px rgba(15,23,42,.05)!important;
}

#wpl101-floating-assistant .wpl101-resource-btn strong,
.wpl101-member-ai-box .wpl101-resource-btn strong,
.wpl101-video-ai-box .wpl101-resource-btn strong{
    display:block!important;
    color:#1d4ed8!important;
    font-size:13px!important;
    line-height:1.25!important;
    margin-bottom:3px!important;
}

#wpl101-floating-assistant .wpl101-resource-btn small,
.wpl101-member-ai-box .wpl101-resource-btn small,
.wpl101-video-ai-box .wpl101-resource-btn small{
    display:block!important;
    color:#475569!important;
    font-size:11px!important;
    line-height:1.3!important;
}

@media(max-width:700px){
    #wpl101-floating-assistant .wpl101-resource-head,
    .wpl101-member-ai-box .wpl101-resource-head,
    .wpl101-video-ai-box .wpl101-resource-head{
        display:block!important;
    }

    #wpl101-floating-assistant .wpl101-resource-grid,
    .wpl101-member-ai-box .wpl101-resource-grid,
    .wpl101-video-ai-box .wpl101-resource-grid{
        grid-template-columns:1fr!important;
    }
}


/* v1.0.66 final stability fixes */

/* Homepage assistant must float/stay visible while scrolling */
#wpl101-floating-assistant{
    position:fixed!important;
    right:18px!important;
    bottom:18px!important;
    z-index:2147483000!important;
    transform:none!important;
}

#wpl101-floating-assistant .wpl101-launcher{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    cursor:pointer!important;
    z-index:2!important;
}

#wpl101-floating-assistant .wpl101-avatar-wrap{
    pointer-events:none!important;
    flex:0 0 72px!important;
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    min-height:72px!important;
    max-height:72px!important;
}

#wpl101-floating-assistant .wpl101-bubble{
    pointer-events:none!important;
    max-width:210px!important;
}

#wpl101-floating-assistant .wpl101-panel{
    z-index:3!important;
}

#wpl101-floating-assistant .wpl101-home-question{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    position:relative!important;
    z-index:5!important;
}

#wpl101-floating-assistant .wpl101-home-question input{
    min-width:0!important;
    flex:1 1 auto!important;
}

#wpl101-floating-assistant .wpl101-home-question button{
    flex:0 0 72px!important;
    width:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    white-space:nowrap!important;
    position:relative!important;
    z-index:6!important;
}

/* Mobile: do not let avatar overlap Ask button or panel controls */
@media(max-width:768px){
    #wpl101-floating-assistant{
        right:10px!important;
        bottom:10px!important;
    }

    #wpl101-floating-assistant .wpl101-launcher{
        max-width:calc(100vw - 20px)!important;
    }

    #wpl101-floating-assistant .wpl101-avatar-wrap{
        flex:0 0 58px!important;
        width:58px!important;
        height:58px!important;
        min-width:58px!important;
        max-width:58px!important;
        min-height:58px!important;
        max-height:58px!important;
    }

    #wpl101-floating-assistant .wpl101-bubble{
        max-width:165px!important;
        font-size:13px!important;
        padding:9px 10px!important;
    }

    #wpl101-floating-assistant .wpl101-panel{
        position:fixed!important;
        left:10px!important;
        right:10px!important;
        bottom:10px!important;
        width:auto!important;
        max-width:none!important;
        max-height:calc(100dvh - 20px)!important;
        overflow:auto!important;
    }

    #wpl101-floating-assistant .wpl101-home-question{
        display:grid!important;
        grid-template-columns:1fr 72px!important;
        gap:8px!important;
    }

    #wpl101-floating-assistant .wpl101-home-question button{
        width:72px!important;
        min-width:72px!important;
    }
}

/* Make sure resources are visible under homepage/member/video forms */
#wpl101-floating-assistant .wpl101-resource-box,
.wpl101-member-ai-box .wpl101-resource-box,
.wpl101-video-ai-box .wpl101-resource-box{
    display:block!important;
    visibility:visible!important;
}

/* Members/video form submit areas */
.wpl101-member-form,
.wpl101-video-form{
    position:relative!important;
    z-index:2!important;
}

.wpl101-member-status,
.wpl101-video-ai-status{
    margin-top:8px!important;
    color:#475569!important;
    font-weight:800!important;
    font-size:13px!important;
}


/* v1.0.67 recommended training button fix */
.wpl101-member-ai-box .wpl101-video-card,
.wpl101-video-ai-box .wpl101-video-card{
    margin-top:14px!important;
    background:#eff6ff!important;
    border:1px solid #bfdbfe!important;
    border-radius:16px!important;
    padding:14px!important;
    color:#1e3a8a!important;
}

.wpl101-member-ai-box .wpl101-video-card strong,
.wpl101-video-ai-box .wpl101-video-card strong{
    display:block!important;
    color:#1e3a8a!important;
    font-size:14px!important;
    margin-bottom:6px!important;
}

.wpl101-member-ai-box .wpl101-training-button,
.wpl101-video-ai-box .wpl101-training-button,
.wpl101-member-ai-box .wpl101-video-card a,
.wpl101-video-ai-box .wpl101-video-card a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#2563eb!important;
    color:#ffffff!important;
    border:0!important;
    border-radius:999px!important;
    padding:11px 16px!important;
    margin-top:10px!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1.2!important;
    text-decoration:none!important;
    box-shadow:0 8px 18px rgba(37,99,235,.22)!important;
    cursor:pointer!important;
    min-height:42px!important;
}

.wpl101-member-ai-box .wpl101-training-button:hover,
.wpl101-video-ai-box .wpl101-training-button:hover,
.wpl101-member-ai-box .wpl101-video-card a:hover,
.wpl101-video-ai-box .wpl101-video-card a:hover{
    background:#1d4ed8!important;
    color:#ffffff!important;
    text-decoration:none!important;
}

@media(max-width:700px){
    .wpl101-member-ai-box .wpl101-training-button,
    .wpl101-video-ai-box .wpl101-training-button,
    .wpl101-member-ai-box .wpl101-video-card a,
    .wpl101-video-ai-box .wpl101-video-card a{
        width:100%!important;
        text-align:center!important;
    }
}


/* v1.0.68 hide launcher while homepage chat is open */
#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* Backup for JS/class-based open state */
#wpl101-floating-assistant.wpl101-open .wpl101-launcher,
#wpl101-floating-assistant.is-open .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* When closed, show launcher normally */
#wpl101-floating-assistant .wpl101-toggle:not(:checked) ~ .wpl101-launcher{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}


/* v1.0.69 system status admin UI */
.wpl101-status-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:12px;
    margin-top:14px;
}
.wpl101-status-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-left:5px solid #64748b;
    border-radius:14px;
    padding:14px;
    box-shadow:0 6px 16px rgba(15,23,42,.05);
}
.wpl101-status-card.good{border-left-color:#16a34a}
.wpl101-status-card.warn{border-left-color:#f59e0b}
.wpl101-status-card span{
    display:block;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:6px;
}
.wpl101-status-card strong{
    display:block;
    color:#0f172a;
    font-size:18px;
}


/* v1.0.76 safe JS-only admin visual tabs */
.wpl101-js-tabs{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:10px;
    margin:14px 0;
    box-shadow:0 8px 22px rgba(15,23,42,.06);
}
.wpl101-js-tabs button{
    appearance:none;
    border:0;
    background:#f8fafc;
    color:#111827;
    font-weight:800;
    padding:11px 14px;
    border-radius:12px;
    cursor:pointer;
}
.wpl101-js-tabs button.active,
.wpl101-js-tabs button:hover{
    background:#2563eb;
    color:#fff;
}


/* v1.0.77 remove top visual tabs; use normal WordPress left submenu */
.wpl101-js-tabs{
    display:none!important;
}


/* v1.0.78 homepage assistant flow fix */
/* When the chat window is open, hide Chad avatar + speech bubble */
#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* Backup for class-based open state */
#wpl101-floating-assistant.wpl101-open .wpl101-launcher,
#wpl101-floating-assistant.is-open .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* When closed, show Chad avatar + speech bubble */
#wpl101-floating-assistant .wpl101-toggle:not(:checked) ~ .wpl101-launcher{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}

/* Make sure the panel is above the launcher and usable */
#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:999999999!important;
}

/* Make the signup form definitely appear after the first question */
#wpl101-floating-assistant .wpl101-home-signup.wpl101-show-signup{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}


/* v1.0.79 force-hide homepage launcher on desktop + mobile when chat is open */
#wpl101-floating-assistant.wpl101-panel-open .wpl101-launcher,
#wpl101-floating-assistant.wpl101-open .wpl101-launcher,
#wpl101-floating-assistant.is-open .wpl101-launcher,
#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-launcher,
#wpl101-floating-assistant input#wpl101-assistant-toggle:checked ~ .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    width:0!important;
    height:0!important;
    overflow:hidden!important;
}

/* Keep panel visible when opened by checkbox or JS */
#wpl101-floating-assistant.wpl101-panel-open .wpl101-panel,
#wpl101-floating-assistant.wpl101-open .wpl101-panel,
#wpl101-floating-assistant.is-open .wpl101-panel,
#wpl101-floating-assistant .wpl101-toggle:checked ~ .wpl101-panel,
#wpl101-floating-assistant input#wpl101-assistant-toggle:checked ~ .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}

/* Closed state: launcher comes back */
#wpl101-floating-assistant:not(.wpl101-panel-open):not(.wpl101-open):not(.is-open) .wpl101-toggle:not(:checked) ~ .wpl101-launcher{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
}


/* v1.0.80 direct launcher hide backup */
#wpl101-floating-assistant.wpl101-chat-active .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    transform:scale(0)!important;
}

#wpl101-floating-assistant.wpl101-chat-active .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}


/* v1.0.81 body-class launcher hide fix */
/* Hide ALL homepage launchers whenever any WP Learning 101 chat window is open */
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-launcher,
body.wpl101-home-chat-open .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    width:0!important;
    height:0!important;
    max-width:0!important;
    max-height:0!important;
    overflow:hidden!important;
    transform:scale(0)!important;
}

/* Keep the panel open/usable while body class is active */
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:2147483001!important;
}

/* When the body class is not active, launcher may show normally */
body:not(.wpl101-home-chat-open) #wpl101-floating-assistant .wpl101-launcher{
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}


/* v1.0.82 stable homepage ask/signup display */
#wpl101-floating-assistant .wpl101-home-signup.wpl101-show-signup{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}
#wpl101-floating-assistant.wpl101-home-open .wpl101-panel,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}
#wpl101-floating-assistant.wpl101-home-open .wpl101-launcher,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}


/* v1.0.83 keep homepage panel open after Ask */
#wpl101-floating-assistant.wpl101-home-open .wpl101-panel,
#wpl101-floating-assistant.wpl101-panel-open .wpl101-panel,
#wpl101-floating-assistant.wpl101-chat-active .wpl101-panel,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}

#wpl101-floating-assistant.wpl101-home-open .wpl101-launcher,
#wpl101-floating-assistant.wpl101-panel-open .wpl101-launcher,
#wpl101-floating-assistant.wpl101-chat-active .wpl101-launcher,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}

#wpl101-floating-assistant .wpl101-home-signup.wpl101-show-signup{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}


/* v1.0.84 homepage question is not a submit form */
#wpl101-floating-assistant .wpl101-home-question{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}
#wpl101-floating-assistant .wpl101-home-ask-btn{
    touch-action:manipulation!important;
}
#wpl101-floating-assistant.wpl101-home-open .wpl101-panel,
#wpl101-floating-assistant.wpl101-panel-open .wpl101-panel,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}


/* v1.0.85 homepage rebuilt stable flow */
#wpl101-floating-assistant.wpl101-home-open .wpl101-panel,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-panel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}
#wpl101-floating-assistant.wpl101-home-open .wpl101-launcher,
body.wpl101-home-chat-open #wpl101-floating-assistant .wpl101-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
#wpl101-floating-assistant .wpl101-home-signup.wpl101-show-signup{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}
#wpl101-floating-assistant .wpl101-home-question{
    display:flex!important;
    gap:8px!important;
    align-items:center!important;
}
#wpl101-floating-assistant .wpl101-home-ask-btn{
    touch-action:manipulation!important;
    cursor:pointer!important;
}


/* v1.0.86 under-video voice-to-text UI fix */
.wpl101-video-voice-row{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    padding:12px!important;
    margin:12px 0!important;
}

.wpl101-video-voice-btn,
.wpl101-video-voice-stop{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:999px!important;
    padding:11px 15px!important;
    font-weight:900!important;
    cursor:pointer!important;
    white-space:nowrap!important;
    line-height:1.2!important;
    min-height:44px!important;
    touch-action:manipulation!important;
}

.wpl101-video-voice-btn{
    background:#0f172a!important;
    color:#ffffff!important;
}

.wpl101-video-voice-btn.is-listening{
    background:#dc2626!important;
    color:#ffffff!important;
    animation:wpl101Pulse 1.2s infinite!important;
}

.wpl101-video-voice-stop{
    background:#991b1b!important;
    color:#ffffff!important;
}

.wpl101-video-voice-row > span,
.wpl101-video-voice-row .wpl101-voice-status{
    color:#475569!important;
    font-size:13px!important;
    line-height:1.4!important;
}

.wpl101-video-voice-row .wpl101-voice-status{
    display:block!important;
    flex:1 1 100%!important;
    font-weight:800!important;
    margin-top:4px!important;
}

.wpl101-video-voice-row .wpl101-voice-status[data-type="listening"]{
    color:#dc2626!important;
}

.wpl101-video-voice-row .wpl101-voice-status[data-type="done"]{
    color:#166534!important;
}

.wpl101-video-voice-row .wpl101-voice-status[data-type="error"]{
    color:#991b1b!important;
}

@keyframes wpl101Pulse{
    0%{box-shadow:0 0 0 0 rgba(220,38,38,.35);}
    70%{box-shadow:0 0 0 10px rgba(220,38,38,0);}
    100%{box-shadow:0 0 0 0 rgba(220,38,38,0);}
}

@media(max-width:700px){
    .wpl101-video-voice-row{
        display:block!important;
        text-align:center!important;
    }

    .wpl101-video-voice-btn,
    .wpl101-video-voice-stop{
        width:100%!important;
        margin:4px 0!important;
    }

    .wpl101-video-voice-row > span,
    .wpl101-video-voice-row .wpl101-voice-status{
        display:block!important;
        width:100%!important;
        margin-top:8px!important;
        text-align:center!important;
    }
}


/* v1.0.87 premium under-video/member AI answer UI */
.wpl101-premium-answer{
    background:#ffffff!important;
    border:1px solid #e5e7eb!important;
    border-radius:22px!important;
    overflow:hidden!important;
    box-shadow:0 18px 42px rgba(15,23,42,.12)!important;
    margin:8px 0!important;
}

.wpl101-premium-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    background:linear-gradient(135deg,#0f172a,#2563eb)!important;
    color:#fff!important;
    padding:18px!important;
}

.wpl101-premium-head span{
    display:inline-block!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:999px!important;
    padding:5px 9px!important;
    font-size:11px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    color:#fff!important;
    margin-bottom:8px!important;
}

.wpl101-premium-head strong{
    display:block!important;
    color:#fff!important;
    font-size:21px!important;
    line-height:1.2!important;
}

.wpl101-premium-icon{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#2563eb!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-family:Georgia,serif!important;
    font-size:24px!important;
    font-weight:900!important;
}

.wpl101-premium-intro{
    padding:18px!important;
    color:#334155!important;
    font-size:16px!important;
    line-height:1.65!important;
    background:#f8fafc!important;
    border-bottom:1px solid #e5e7eb!important;
}

.wpl101-premium-steps{
    padding:18px!important;
}

.wpl101-premium-steps h4{
    color:#0f172a!important;
    margin:0 0 14px!important;
    font-size:18px!important;
}

.wpl101-premium-step{
    display:grid!important;
    grid-template-columns:38px 1fr!important;
    gap:12px!important;
    align-items:flex-start!important;
    background:#fff!important;
    border:1px solid #e5e7eb!important;
    border-radius:16px!important;
    padding:13px!important;
    margin:10px 0!important;
    box-shadow:0 6px 14px rgba(15,23,42,.05)!important;
}

.wpl101-premium-step span{
    width:38px!important;
    height:38px!important;
    border-radius:50%!important;
    background:#2563eb!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-weight:900!important;
    font-size:15px!important;
}

.wpl101-premium-step p{
    color:#334155!important;
    font-size:15px!important;
    line-height:1.55!important;
    margin:0!important;
}

.wpl101-premium-warning,
.wpl101-premium-tip,
.wpl101-premium-next{
    margin:0 18px 14px!important;
    border-radius:16px!important;
    padding:14px!important;
    font-size:15px!important;
    line-height:1.55!important;
}

.wpl101-premium-warning{
    background:#fff7ed!important;
    border:1px solid #fed7aa!important;
    color:#7c2d12!important;
}

.wpl101-premium-tip{
    background:#fefce8!important;
    border:1px solid #fde68a!important;
    color:#713f12!important;
}

.wpl101-premium-next{
    background:#eff6ff!important;
    border:1px solid #bfdbfe!important;
    color:#1e3a8a!important;
}

.wpl101-premium-warning strong,
.wpl101-premium-tip strong,
.wpl101-premium-next strong{
    font-weight:900!important;
}

.wpl101-premium-training-card{
    background:#0f172a!important;
    color:#fff!important;
    padding:18px!important;
    margin:18px!important;
    border-radius:18px!important;
    box-shadow:0 14px 28px rgba(15,23,42,.18)!important;
}

.wpl101-premium-training-card strong{
    display:block!important;
    color:#fff!important;
    font-size:18px!important;
    margin-bottom:6px!important;
}

.wpl101-premium-training-card p{
    color:#dbeafe!important;
    font-size:14px!important;
    line-height:1.5!important;
    margin:0 0 14px!important;
}

.wpl101-premium-training-card .wpl101-training-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#2563eb!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:13px 18px!important;
    font-weight:900!important;
    text-decoration:none!important;
    box-shadow:0 10px 22px rgba(37,99,235,.28)!important;
}

.wpl101-premium-training-card .wpl101-training-button:hover{
    background:#1d4ed8!important;
    color:#fff!important;
    text-decoration:none!important;
}

@media(max-width:700px){
    .wpl101-premium-head{
        align-items:flex-start!important;
    }

    .wpl101-premium-icon{
        display:none!important;
    }

    .wpl101-premium-head strong{
        font-size:19px!important;
    }

    .wpl101-premium-step{
        grid-template-columns:34px 1fr!important;
        padding:12px!important;
    }

    .wpl101-premium-step span{
        width:34px!important;
        height:34px!important;
    }

    .wpl101-premium-training-card .wpl101-training-button{
        width:100%!important;
        text-align:center!important;
    }
}


/* v1.0.88 hide old generic error bubbles if fallback replaces them */
.wpl101-video-messages .bot:empty,
.wpl101-member-messages .bot:empty{
    display:none!important;
}


/* v1.0.90 conversational answer polish + scroll target spacing */
.wpl101-conversation-answer .wpl101-premium-head{
    background:linear-gradient(135deg,#14532d,#2563eb)!important;
}

.wpl101-video-messages .bot,
.wpl101-member-messages .bot{
    scroll-margin-top:90px!important;
}

.wpl101-video-messages .user,
.wpl101-member-messages .user{
    scroll-margin-top:90px!important;
}


/* v1.0.91 homepage AI real conversational improvements */
#wpl101-floating-assistant .wpl101-chat-message.bot{
    background:#f8fafc!important;
    border:1px solid #dbeafe!important;
    color:#0f172a!important;
    border-radius:16px!important;
    padding:14px!important;
    line-height:1.6!important;
    margin:10px 0!important;
    font-size:15px!important;
}

#wpl101-floating-assistant .wpl101-chat-message.user{
    background:#2563eb!important;
    color:#fff!important;
    border-radius:16px!important;
    padding:14px!important;
    line-height:1.5!important;
    margin:10px 0!important;
    font-size:15px!important;
}

#wpl101-floating-assistant .wpl101-thinking{
    opacity:.8!important;
    font-style:italic!important;
}


/* v1.0.92 premium homepage AI answer UI */
#wpl101-floating-assistant .wpl101-home-premium-message{
    background:transparent!important;
    border:0!important;
    padding:0!important;
    box-shadow:none!important;
}

#wpl101-floating-assistant .wpl101-home-premium-answer{
    background:#ffffff!important;
    border:1px solid #e5e7eb!important;
    border-radius:20px!important;
    overflow:hidden!important;
    box-shadow:0 16px 34px rgba(15,23,42,.14)!important;
    margin:10px 0!important;
}

#wpl101-floating-assistant .wpl101-home-premium-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    background:linear-gradient(135deg,#0f172a,#2563eb)!important;
    color:#fff!important;
    padding:15px!important;
}

#wpl101-floating-assistant .wpl101-home-premium-head span{
    display:inline-block!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:4px 8px!important;
    font-size:10px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    margin-bottom:6px!important;
}

#wpl101-floating-assistant .wpl101-home-premium-head strong{
    display:block!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1.2!important;
}

#wpl101-floating-assistant .wpl101-home-premium-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#2563eb!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-family:Georgia,serif!important;
    font-size:21px!important;
    font-weight:900!important;
}

#wpl101-floating-assistant .wpl101-home-premium-body{
    background:#f8fafc!important;
    color:#0f172a!important;
    padding:15px!important;
    font-size:15px!important;
    line-height:1.65!important;
    border-bottom:1px solid #e5e7eb!important;
}

#wpl101-floating-assistant .wpl101-home-premium-cta{
    background:#fff!important;
    padding:15px!important;
}

#wpl101-floating-assistant .wpl101-home-premium-cta strong{
    display:block!important;
    color:#0f172a!important;
    font-size:15px!important;
    margin-bottom:4px!important;
}

#wpl101-floating-assistant .wpl101-home-premium-cta p{
    color:#475569!important;
    font-size:13px!important;
    line-height:1.45!important;
    margin:0 0 12px!important;
}

#wpl101-floating-assistant .wpl101-home-scroll-signup{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#2563eb!important;
    color:#fff!important;
    border:0!important;
    border-radius:999px!important;
    padding:12px 15px!important;
    font-size:14px!important;
    font-weight:900!important;
    cursor:pointer!important;
    box-shadow:0 9px 20px rgba(37,99,235,.25)!important;
}

#wpl101-floating-assistant .wpl101-home-scroll-signup:hover{
    background:#1d4ed8!important;
}

@media(max-width:700px){
    #wpl101-floating-assistant .wpl101-home-premium-icon{
        display:none!important;
    }

    #wpl101-floating-assistant .wpl101-home-premium-head strong{
        font-size:16px!important;
    }

    #wpl101-floating-assistant .wpl101-home-premium-body{
        font-size:14px!important;
    }
}


/* v1.0.93 homepage speech-to-text UI */
#wpl101-floating-assistant .wpl101-home-question{
    grid-template-columns:1fr 48px 72px!important;
}

#wpl101-floating-assistant .wpl101-home-voice-btn{
    width:48px!important;
    min-width:48px!important;
    height:44px!important;
    border-radius:12px!important;
    border:0!important;
    background:#0f172a!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:900!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    box-shadow:none!important;
}

#wpl101-floating-assistant .wpl101-home-voice-btn.is-listening{
    background:#dc2626!important;
    animation:wpl101HomeVoicePulse 1.2s infinite!important;
}

#wpl101-floating-assistant .wpl101-home-voice-status{
    display:block!important;
    background:#f8fafc!important;
    color:#475569!important;
    border-top:1px solid #e5e7eb!important;
    padding:0 12px 10px!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:800!important;
    min-height:0!important;
}

#wpl101-floating-assistant .wpl101-home-voice-status:empty{
    display:none!important;
}

#wpl101-floating-assistant .wpl101-home-voice-status[data-type="listening"]{
    color:#dc2626!important;
}

#wpl101-floating-assistant .wpl101-home-voice-status[data-type="done"]{
    color:#166534!important;
}

#wpl101-floating-assistant .wpl101-home-voice-status[data-type="error"]{
    color:#991b1b!important;
}

@keyframes wpl101HomeVoicePulse{
    0%{box-shadow:0 0 0 0 rgba(220,38,38,.35);}
    70%{box-shadow:0 0 0 9px rgba(220,38,38,0);}
    100%{box-shadow:0 0 0 0 rgba(220,38,38,0);}
}

@media(max-width:700px){
    #wpl101-floating-assistant .wpl101-home-question{
        display:grid!important;
        grid-template-columns:1fr 48px 72px!important;
        gap:8px!important;
    }

    #wpl101-floating-assistant .wpl101-home-voice-btn{
        width:48px!important;
        min-width:48px!important;
    }
}


/* v1.0.94 multi-question under-video/member AI fix */
.wpl101-video-messages .wpl101-answer-loading,
.wpl101-member-messages .wpl101-answer-loading{
    background:#f8fafc!important;
    border:1px solid #dbeafe!important;
    color:#1e3a8a!important;
    font-weight:900!important;
    border-radius:14px!important;
    padding:12px 14px!important;
    margin:10px 0!important;
}

.wpl101-video-messages .bot,
.wpl101-member-messages .bot{
    scroll-margin-top:110px!important;
}


/* v1.0.95 premium engine polish */
.wpl101-video-messages .wpl101-premium-answer,
.wpl101-member-messages .wpl101-premium-answer{
    margin-top:12px!important;
    margin-bottom:16px!important;
}

.wpl101-video-messages .wpl101-premium-step p,
.wpl101-member-messages .wpl101-premium-step p{
    font-size:15px!important;
    line-height:1.6!important;
}

.wpl101-video-messages .wpl101-premium-intro,
.wpl101-member-messages .wpl101-premium-intro{
    font-size:16px!important;
    line-height:1.7!important;
}


/* v1.0.96 ready-for-next-question polish */
.wpl101-video-voice-row .wpl101-voice-status[data-type="done"]{
    color:#166534!important;
}


/* v1.0.97 WordPress expert engine polish */
.wpl101-video-messages .wpl101-premium-head span,
.wpl101-member-messages .wpl101-premium-head span{
    letter-spacing:.06em!important;
}

.wpl101-video-messages .wpl101-premium-answer,
.wpl101-member-messages .wpl101-premium-answer{
    border:1px solid #dbeafe!important;
}


/* v1.0.98 homepage mobile mic/ask layout fix */
#wpl101-floating-assistant .wpl101-home-question{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 46px 86px!important;
    gap:8px!important;
    align-items:center!important;
    width:100%!important;
}

#wpl101-floating-assistant .wpl101-home-question input[name="question"]{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
}

#wpl101-floating-assistant .wpl101-home-voice-btn{
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    border-radius:14px!important;
    flex:0 0 46px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    font-size:18px!important;
    line-height:1!important;
}

#wpl101-floating-assistant .wpl101-home-ask-btn{
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 10px!important;
    border-radius:14px!important;
    flex:0 0 86px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-align:center!important;
}

@media(max-width:480px){
    #wpl101-floating-assistant .wpl101-home-question{
        grid-template-columns:minmax(0,1fr) 44px 78px!important;
        gap:7px!important;
        padding-left:10px!important;
        padding-right:10px!important;
    }

    #wpl101-floating-assistant .wpl101-home-voice-btn{
        width:44px!important;
        min-width:44px!important;
        max-width:44px!important;
        height:44px!important;
        min-height:44px!important;
        border-radius:13px!important;
        font-size:17px!important;
    }

    #wpl101-floating-assistant .wpl101-home-ask-btn{
        width:78px!important;
        min-width:78px!important;
        max-width:78px!important;
        height:44px!important;
        min-height:44px!important;
        border-radius:13px!important;
        font-size:15px!important;
    }

    #wpl101-floating-assistant .wpl101-home-question input[name="question"]{
        height:44px!important;
        min-height:44px!important;
        font-size:15px!important;
        padding-left:12px!important;
        padding-right:12px!important;
    }
}

@media(max-width:360px){
    #wpl101-floating-assistant .wpl101-home-question{
        grid-template-columns:minmax(0,1fr) 42px 70px!important;
        gap:6px!important;
    }

    #wpl101-floating-assistant .wpl101-home-voice-btn{
        width:42px!important;
        min-width:42px!important;
        max-width:42px!important;
        height:42px!important;
        min-height:42px!important;
    }

    #wpl101-floating-assistant .wpl101-home-ask-btn{
        width:70px!important;
        min-width:70px!important;
        max-width:70px!important;
        height:42px!important;
        min-height:42px!important;
        font-size:14px!important;
    }

    #wpl101-floating-assistant .wpl101-home-question input[name="question"]{
        height:42px!important;
        min-height:42px!important;
        font-size:14px!important;
    }
}
