#biwc-chat {
    position: fixed;
    display: grid;
    justify-items: end;
    gap: 12px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 99990;
    width: min(380px, calc(100% - 24px));
    color: #202923;
    font: 400 14px/1.45 system-ui, sans-serif;
    pointer-events: none;
}
#biwc-chat:not(.biwc-phone) {
    width: auto;
    right: max(17px, env(safe-area-inset-right));
    bottom: max(15px, env(safe-area-inset-bottom));
}
#biwc-chat:not(.biwc-phone) .biwc-launch {
    min-width: 90px;
    min-height: 52px;
    background: #25d366;
    color: #fff;
    box-shadow: none;
    font: 600 16px/1 system-ui, sans-serif;
}
#biwc-chat:not(.biwc-phone) .biwc-phone-label,
#biwc-chat.biwc-phone .biwc-label { display: none; }
#biwc-chat > * { pointer-events: auto; }
#biwc-chat [hidden], #biwc-chat .biwc-prompt:empty { display: none; }
#biwc-panel {
    width: 100%;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgb(0 0 0 / 27%);
}
#biwc-chat .biwc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #075b50;
    color: #fff;
}
#biwc-chat .biwc-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: #147d72;
    color: #fff;
    font-size: 18px;
}
#biwc-title { margin: 0; color: #fff; font: 700 15px/1.4 system-ui, sans-serif; }
#biwc-chat .biwc-header p { margin: 1px 0 0; color: #d0e8e1; font-size: 12px; }
#biwc-chat .biwc-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #25d366;
}
#biwc-chat .biwc-body {
    padding: 18px 16px 22px;
    background-color: #e7e0d8;
    background-image: radial-gradient(#52483c13 1px, transparent 1px);
    background-size: 20px 20px;
}
#biwc-chat .biwc-bubble {
    position: relative;
    width: 85%;
    padding: 12px 14px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0 10px 10px;
    box-shadow: 0 1px 3px rgb(52 42 33 / 16%);
}
#biwc-chat .biwc-bubble::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0;
    border-top: 9px solid #fff;
    border-left: 8px solid transparent;
}
#biwc-chat .biwc-bubble p { margin: 0 0 8px; color: #202923; }
#biwc-chat .biwc-time { display: block; text-align: right; color: #666; font-size: 11px; }
#biwc-chat .biwc-footer { padding: 12px 16px; background: #fff; }
#biwc-chat .biwc-action, #biwc-chat .biwc-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}
#biwc-chat .biwc-action { display: flex; width: 100%; }
#biwc-chat.biwc-phone .biwc-launch { min-height: 54px; }
#biwc-chat.biwc-phone .biwc-phone-label { display: inline-flex; align-items: center; gap: 10px; }
#biwc-chat.biwc-phone .biwc-launch[aria-expanded="true"] .biwc-phone-label { display: none; }
#biwc-chat .biwc-action .biwc-icon { width: 18px; height: 18px; }
#biwc-chat .biwc-launch, #biwc-chat .biwc-prompt { box-shadow: 0 5px 18px rgb(0 0 0 / 22%); }
#biwc-chat .biwc-cross { display: none; }
#biwc-chat .biwc-launch[aria-expanded="true"] {
    width: 54px;
    height: 54px;
    padding: 0;
}
#biwc-chat .biwc-launch[aria-expanded="true"] .biwc-cross { display: block; font: 400 33px/1 system-ui, sans-serif; }
#biwc-chat .biwc-prompt {
    position: relative;
    margin-bottom: -4px;
    background: #fff;
    border-radius: 12px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 600;
}
#biwc-chat .biwc-prompt::after {
    content: "";
    position: absolute;
    right: 31px;
    top: 100%;
    border: 7px solid transparent;
    border-top-color: #fff;
}
#biwc-chat :focus-visible { outline: 2px solid #134faa; outline-offset: 2px; }
#biwc-chat .biwc-action:focus-visible { outline-offset: -3px; }
