:root{
    --gw-wa-green:#087c4d;
    --gw-wa-forest:#102a20;
    --gw-wa-gold:#ad8037;
    --gw-wa-paper:#fffdf9;
    --gw-wa-line:#e9e2d7;
}

#gwWaRoot,
#gwWaRoot *{
    box-sizing:border-box;
}

#gwWaRoot{
    position:fixed;
    z-index:9998;
    bottom:calc(24px + env(safe-area-inset-bottom,0px));
    right:24px;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--gw-wa-forest);
}

#gwWaRoot [hidden]{
    display:none!important;
}

.gw-wa-toggle{
    display:flex;
    align-items:center;
    gap:11px;
    border:0;
    border-radius:50px;
    background:var(--gw-wa-green);
    color:#fff;
    padding:13px 19px;
    font:600 13px Arial,sans-serif;
    cursor:pointer;
    box-shadow:0 8px 30px #102a2030;
    margin-left:auto;
    transition:transform .2s,background .2s;
}

.gw-wa-toggle:hover{
    background:#07663f;
    transform:translateY(-2px);
}

.gw-wa-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:25px;
    height:25px;
    flex-shrink:0;
}

.gw-wa-icon svg{
    width:100%;
    height:100%;
}

.gw-wa-toggle small{
    display:block;
    text-align:left;
    font-size:10px;
    font-weight:400;
    color:#d7f1df;
    margin-bottom:2px;
}

.gw-wa-panel{
    width:340px;
    max-width:calc(100vw - 28px);
    max-height:calc(100dvh - 110px);
    overflow:auto;
    background:var(--gw-wa-paper);
    border:1px solid var(--gw-wa-line);
    border-radius:20px;
    margin-bottom:13px;
    box-shadow:0 18px 65px #102a2033;
}

.gw-wa-header{
    background:linear-gradient(
        135deg,#102a20,#28513b
    );
    color:#fff;
    padding:22px;
    position:relative;
}

.gw-wa-eyebrow{
    color:#dfbf87;
    font-size:9px;
    font-weight:700;
    letter-spacing:2px;
    margin:0 0 9px;
}

.gw-wa-header h3{
    color:#fff!important;
    font-family:Georgia,serif;
    font-size:25px!important;
    font-weight:400!important;
    margin:0 0 8px!important;
    line-height:1.2;
}

.gw-wa-header p{
    font-size:12px;
    color:#d5e0d5;
    line-height:1.6;
    margin:0;
    padding-right:12px;
}

.gw-wa-close{
    position:absolute;
    top:12px;
    right:12px;
    border:0;
    background:#ffffff18;
    color:white;
    width:29px;
    height:29px;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;
}

.gw-wa-content{
    padding:17px;
}

.gw-wa-greeting{
    background:#f0eee5;
    border-radius:0 12px 12px 12px;
    padding:13px;
    font-size:13px;
    line-height:1.6;
    margin:0 0 16px;
    color:#526355;
}

.gw-wa-option{
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px;
    text-decoration:none!important;
    color:var(--gw-wa-forest)!important;
    border:1px solid var(--gw-wa-line);
    border-radius:11px;
    margin:8px 0;
    background:white;
    transition:background .15s,border-color .15s;
}

.gw-wa-option:hover{
    border-color:#ad8037;
    background:#fbf7ed;
}

.gw-wa-option-icon{
    width:35px;
    height:35px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e6f3eb;
    color:#087c4d;
    border-radius:10px;
    flex-shrink:0;
}

.gw-wa-option-icon svg{
    width:20px;
    height:20px;
}

.gw-wa-option strong{
    display:block;
    color:#102a20;
    font-size:12px;
    font-weight:700;
}

.gw-wa-option small{
    display:block;
    margin-top:4px;
    color:#777b70;
    font-size:10px;
}

.gw-wa-arrow{
    margin-left:auto;
    color:#ad8037;
    font-size:19px;
}

.gw-wa-disclaimer{
    font-size:10px;
    line-height:1.6;
    color:#838579;
    text-align:center;
    margin:15px 0 0;
}

.gw-wa-inline{
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    border:1px solid #087c4d;
    border-radius:9px;
    color:#087c4d!important;
    background:#f0f8f2;
    padding:13px 14px;
    font-size:12px;
    font-weight:700;
    text-decoration:none!important;
    margin-top:13px;
}

.gw-wa-inline:hover{
    background:#e2f0e7;
}

.gw-wa-inline .gw-wa-icon{
    width:18px;
    height:18px;
}

@media(max-width:600px){

    #gwWaRoot{
        right:14px;
        bottom:calc(
            18px + env(safe-area-inset-bottom,0px)
        );
    }

    .gw-wa-toggle{
        width:54px;
        height:54px;
        padding:0;
        justify-content:center;
    }

    .gw-wa-toggle-text{
        display:none;
    }

    .gw-wa-toggle .gw-wa-icon{
        width:28px;
        height:28px;
    }

    .gw-wa-panel{
        width:330px;
        border-radius:16px;
    }
}

@media(prefers-reduced-motion:reduce){

    .gw-wa-toggle,
    .gw-wa-option{
        transition:none;
    }
}
