#ndwa-chat {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: calc(100vw - 40px);
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #087d40;
    color: #fff;
    box-shadow: 0 4px 18px #0002;
    font: 600 14px/1.4 system-ui, sans-serif;
    letter-spacing: 0;
    text-decoration: none;
    transition: background-color .15s;
}
#ndwa-chat.ndwa-right { right: 20px; }
#ndwa-chat.ndwa-left { left: 20px; }
#ndwa-chat:hover { background: #066331; color: #fff; }
#ndwa-chat:focus-visible { outline: 3px solid #173e43; outline-offset: 4px; }
#ndwa-chat .ndwa-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
#ndwa-chat .ndwa-label { overflow-wrap: anywhere; }
#ndwa-chat[hidden] { display: none; }
@media (max-width: 800px) {
    #ndwa-chat { width: 52px; height: 52px; padding: 0; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); border-radius: 50%; }
    #ndwa-chat .ndwa-label { display: none; }
    #ndwa-chat.ndwa-right { right: 16px; }
    #ndwa-chat.ndwa-left { left: 16px; }
}
@media print { #ndwa-chat { display: none; } }
@media (prefers-reduced-motion: reduce) { #ndwa-chat { transition: none; } }
