.waw-widget {
    position: fixed;
    bottom: 20px;
    z-index: 9998;
    font-family: -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
}
.waw-widget.waw-right { right: 20px; }
.waw-widget.waw-left { left: 20px; }

.waw-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}
.waw-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,0.55); }

.waw-fab-icon-open, .waw-fab-icon-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.waw-fab-icon-close { font-size: 26px; line-height: 1; opacity: 0; transform: scale(0.6); }
.waw-fab-icon-open { opacity: 1; transform: scale(1); }

.waw-panel.is-open ~ .waw-fab .waw-fab-icon-open,
.waw-widget.is-open .waw-fab .waw-fab-icon-open { opacity: 0; transform: scale(0.6); }
.waw-widget.is-open .waw-fab .waw-fab-icon-close { opacity: 1; transform: scale(1); }

.waw-panel {
    display: none;
    position: absolute;
    bottom: 72px;
    width: min(340px, 90vw);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
    overflow: hidden;
    max-height: 72vh;
    flex-direction: column;
}
.waw-right .waw-panel { right: 0; }
.waw-left .waw-panel { left: 0; }
.waw-panel.is-open { display: flex; }

.waw-panel-header {
    background: linear-gradient(135deg, #25D366, #1EBE5A);
    color: #fff;
    padding: 20px 20px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.waw-panel-title { font-size: 17px; font-weight: 700; flex: 1; }
.waw-panel-header .waw-icon { display: flex; }

.waw-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.waw-panel-subtitle {
    margin: 0;
    padding: 10px 20px 0;
    font-size: 13px;
    color: #14171A;
    font-weight: 600;
}
.waw-panel-note {
    margin: 4px 0 0;
    padding: 0 20px;
    font-size: 12px;
    color: #8A9096;
}

.waw-people {
    padding: 14px 12px 16px;
    overflow-y: auto;
}

.waw-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.waw-person:hover { background: #F6F4EF; }

.waw-person-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #EDEBE6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.waw-person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.waw-person-initial {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #5B6166;
}

.waw-person-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.waw-person-name {
    font-size: 14px;
    font-weight: 700;
    color: #14171A;
}
.waw-person-role {
    font-size: 12px;
    color: #8A9096;
}

.waw-person-wa-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E6F9EC;
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waw-admin-notice {
    font-size: 12px;
    color: #8A9096;
    padding: 12px 8px;
}

@media (max-width: 480px) {
    .waw-panel { width: calc(100vw - 24px); bottom: 76px; }
    .waw-widget.waw-right, .waw-widget.waw-left { right: 12px; left: 12px; }
}
