.bpxl-admin-wrap {
    max-width: 1100px;
    margin-top: 12px;
}

.bpxl-admin-page-head {
    margin-bottom: 4px;
}

.bpxl-admin-saas .bpxl-admin-title {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
    padding: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.bpxl-admin-subtitle {
    margin: 0 0 16px;
    max-width: 52rem;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.bpxl-admin-feedback {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0 0 18px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.bpxl-admin-feedback a {
    font-weight: 600;
    color: #15803d;
    text-decoration: none;
}

.bpxl-admin-feedback a:hover,
.bpxl-admin-feedback a:focus {
    color: #166534;
    text-decoration: underline;
}

.bpxl-admin-feedback__sep {
    color: #cbd5e1;
    font-weight: 400;
    margin: 0 2px;
}

.bpxl-admin-surface {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
    margin-top: 0;
    margin-bottom: 24px;
    overflow: hidden;
}

.bpxl-admin-surface .bpxl-admin-nav-tabs {
    margin: 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.bpxl-admin-wrap .tabcontent.bpxl-admin-tab-panel {
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    overflow: visible;
}

.tab {
    display: flex;
    gap: 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 18px;
}

.tab button {
    border: 1px solid #d4dce7;
    background: #ffffff;
    color: #1e293b;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab button.active,
.tab button:hover {
    background: #2db742;
    border-color: #2db742;
    color: #111111;
}

.tab button .dashicons {
    font-size: 16px !important;
    width: 16px;
    height: 16px;
}

.bpxl-admin-wa-icon {
    width: 16px !important;
    height: 16px !important;
    color: currentColor;
}

.bpxl-admin-wrap .tabcontent form.bpxl-admin-form {
    padding: 20px 22px 0;
    margin: 0;
}

.bpxl-admin-form-actions {
    margin: 0 -22px 0;
    padding: 16px 22px 20px;
    background: linear-gradient(180deg, #fafafa 0%, #f8fafc 100%);
    border-top: 1px solid #e2e8f0;
}

.bpxl-admin-form-actions .button-primary {
    min-height: 36px;
    padding-left: 18px;
    padding-right: 18px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    background: #2db742;
    border-color: #3d8f3a;
    color: #111111 !important;
    text-shadow: none;
}

.bpxl-admin-form-actions .button-primary:hover,
.bpxl-admin-form-actions .button-primary:focus {
    background: #449a42;
    border-color: #3d8f3a;
    color: #111111 !important;
    text-shadow: none;
}

.bpxl-admin-toolbar {
    margin-top: 12px;
}

.bpxl-premium-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px 22px;
    margin-bottom: 0;
}

.bpxl-premium-panel h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.bpxl-admin-shortcode-block {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.bpxl-admin-shortcode-block__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 8px;
}

.bpxl-admin-shortcode-block__code {
    display: inline-block;
    margin: 0 !important;
    white-space: normal;
    word-break: break-all;
}

.bpxl-premium-panel > .description {
    margin: 0 0 4px;
    line-height: 1.5;
}

.bpxl-agents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.bpxl-agent-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.bpxl-agent-card__toolbar {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.bpxl-agent-card__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: #0f172a;
    box-sizing: border-box;
}

.bpxl-agent-card__shortcode {
    align-self: center;
    margin: 8px 14px 8px 0;
    padding: 6px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: all;
    cursor: text;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bpxl-agent-card__summary:hover {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef4 100%);
}

.bpxl-agent-card__summary:focus {
    outline: 2px solid #15803d;
    outline-offset: -2px;
}

.bpxl-agent-card__chevron {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    text-align: center;
    font-size: 12px;
    line-height: 1;
    color: #64748b;
    transition: transform 0.15s ease;
    transform: rotate(0deg);
}

.bpxl-agent-card:not(.bpxl-agent-card--collapsed) .bpxl-agent-card__chevron {
    transform: rotate(90deg);
}

.bpxl-agent-card__summary-name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

.bpxl-agent-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bpxl-agent-card__row {
    display: grid;
    gap: 14px 18px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: end;
}

.bpxl-agent-card__row:first-of-type {
    padding-top: 0;
}

.bpxl-agent-card__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bpxl-admin-wrap .bpxl-agent-card__row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bpxl-admin-wrap .bpxl-agent-card__row--2 {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.bpxl-admin-wrap .bpxl-agent-card__row--avatar {
    grid-template-columns: 1fr;
    align-items: start;
}

.bpxl-admin-wrap .bpxl-agent-card__row--avatar .bpxl-agent-field--avatar {
    width: 100%;
    max-width: 100%;
}

.bpxl-admin-wrap .bpxl-agent-card__row--footer {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
    align-items: end;
}

@media screen and (max-width: 1100px) {
    .bpxl-admin-wrap .bpxl-agent-card__row--3 {
        grid-template-columns: 1fr 1fr;
    }

    .bpxl-admin-wrap .bpxl-agent-card__row--footer {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 782px) {
    .bpxl-admin-wrap .bpxl-agent-card__row--3,
    .bpxl-admin-wrap .bpxl-agent-card__row--2 {
        grid-template-columns: 1fr;
    }
}

.bpxl-admin-wrap .bpxl-agent-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    min-width: 0;
}

.bpxl-admin-wrap .bpxl-agent-field--grow {
    min-width: 0;
}

.bpxl-admin-wrap .bpxl-agent-field--actions {
    min-width: 160px;
}

.bpxl-admin-wrap .bpxl-agent-field--checkbox .bpxl-agent-field__control {
    min-height: 36px;
    display: flex;
    align-items: center;
}

.bpxl-agent-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}

.bpxl-agent-inline-check input {
    margin: 0;
}

.bpxl-agent-field__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.bpxl-admin-wrap .bpxl-agent-field input[type="text"],
.bpxl-admin-wrap .bpxl-agent-field input[type="url"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.35;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bpxl-admin-wrap .bpxl-agent-field input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px #86efac, inset 0 1px 2px rgba(15, 23, 42, 0.04);
    outline: none;
}

.bpxl-agent-avatar-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.bpxl-agent-avatar-row .bpxl-agent-avatar-url {
    flex: 1 1 auto;
    min-width: 120px;
}

.bpxl-agent-avatar-row--picker .bpxl-agent-avatar-preview-wrap {
    display: flex;
}

.bpxl-admin-wrap .bpxl-agent-select-avatar {
    flex: 0 0 auto;
    white-space: nowrap;
    height: auto;
    min-height: 36px;
    padding: 6px 14px;
    line-height: 1.4;
}

.bpxl-agent-avatar-preview-wrap {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpxl-agent-avatar-preview-wrap[hidden] {
    display: none !important;
}

.bpxl-agent-avatar-preview {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.bpxl-agent-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bpxl-agent-card__muted {
    color: #94a3b8;
    font-size: 13px;
}

.bpxl-admin-toolbar--horizontal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 4px;
}

.bpxl-admin-wrap .tabcontent .form-table th {
    width: 240px;
    padding: 14px 10px 14px 0;
    vertical-align: top;
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
}

.bpxl-admin-wrap .tabcontent .form-table td {
    padding: 14px 10px;
    font-size: 13px;
}

.bpxl-admin-wrap .tabcontent .form-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.bpxl-admin-wrap .tabcontent .form-table tr:last-child {
    border-bottom: none;
}

.bpxl-admin-wrap .tabcontent .form-table input[type="text"],
.bpxl-admin-wrap .tabcontent .form-table input[type="url"],
.bpxl-admin-wrap .tabcontent .form-table input[type="number"],
.bpxl-admin-wrap .tabcontent .form-table input[type="search"],
.bpxl-admin-wrap .tabcontent .form-table select,
.bpxl-admin-wrap .tabcontent .form-table textarea {
    min-width: 280px;
    max-width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bpxl-admin-wrap .tabcontent .form-table input:focus,
.bpxl-admin-wrap .tabcontent .form-table select:focus,
.bpxl-admin-wrap .tabcontent .form-table textarea:focus {
    border-color: #86efac;
    box-shadow: 0 0 0 1px #bbf7d0;
    outline: none;
}

.bpxl-admin-wrap .tabcontent .description,
.bpxl-admin-wrap .tabcontent p.description {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    max-width: 42rem;
}

.bpxl-admin-wrap .tabcontent .button-primary {
    background: #2db742;
    border-color: #3d8f3a;
    color: #111111 !important;
    text-shadow: none;
}

.bpxl-admin-wrap .tabcontent .button-primary:hover,
.bpxl-admin-wrap .tabcontent .button-primary:focus {
    background: #449a42;
    border-color: #3d8f3a;
    color: #111111 !important;
    text-shadow: none;
}

.bpxl-admin-color-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.bpxl-admin-field-label {
    min-width: 3.5rem;
    font-weight: 600;
    font-size: 12px;
    color: #475569;
}

.bpxl-admin-role-fieldset {
    margin: 12px 0 0;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.bpxl-agent-search {
    max-width: 420px;
}

.dsfab-container {
    z-index: 9999 !important;
}

.dsfab-icon-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2db742 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 26px rgba(45, 183, 66, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 56px !important;
    height: 56px !important;
}

.dsfab-icon-holder:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(45, 183, 66, 0.45) !important;
}

.dsfab-icon-holder .bpxl-wa-icon {
    width: 30px !important;
    height: 30px !important;
}

.dsfab-container::before {
    content: "Chat with us";
    position: absolute;
    bottom: 14px;
    right: 68px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.dsfab-container[style*="left"]::before {
    right: auto;
    left: 68px;
}

.dsfab-options li a {
    text-decoration: none;
}

.bpxl-admin-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4px;
    border-radius: 10px;
}

.bpxl-agents-table {
    border: 1px solid #dbe5ef !important;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    min-width: 720px;
}

.bpxl-agents-table thead th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
}

.bpxl-agents-table td input {
    min-width: 140px !important;
    width: 100%;
}

.bpxl-agents-table .button-link-delete {
    color: #dc2626;
}

.woocommerce div.product .textcolor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.dsfab-options {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18) !important;
    padding: 12px !important;
    min-width: 220px !important;
    bottom: 72px !important;
}

.dsfab-options li {
    margin: 0 !important;
    padding: 0 !important;
}

.dsfab-options li + li {
    margin-top: 8px !important;
}

.dsfab-options .textcolor {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: #0f172a !important;
}

.dsfab-options .textcolor:hover {
    background: #ecfdf3 !important;
    border-color: #86efac !important;
}

.bpxl-widget-header {
    display: block !important;
    padding: 8px 6px 10px !important;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 6px !important;
}

.bpxl-widget-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.bpxl-widget-greeting {
    margin-top: 4px;
    font-size: 12px;
    color: #475569;
}

.bpxl-agent-link {
    position: relative;
    padding-left: 12px !important;
}

.bpxl-agent-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #dbeafe;
}

.bpxl-agent-meta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.bpxl-agent-meta strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
}

.bpxl-agent-meta small {
    font-size: 11px;
    color: #64748b;
}

.bpxl-wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: inherit;
    vertical-align: middle;
}

.bpxl-wa-icon svg,
.bpxl-wa-icon__svg {
    display: block;
    width: 100%;
    height: 100%;
}

a.bpxl-wc-archive-enquiry.textcolor,
a.bpxl-wc-archive-enquiry.textcolor:hover,
a.bpxl-wc-archive-enquiry.textcolor:focus,
a.bpxl-wc-archive-enquiry.textcolor:active,
a.bpxl-wc-archive-enquiry.textcolor:visited {
    text-decoration: none;
}

a.bpxl-wc-archive-enquiry.textcolor {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
}

a.bpxl-wc-archive-enquiry .bpxl-wc-archive-enquiry__label {
    font-weight: 700;
    letter-spacing: 0.01em;
}

a.bpxl-wc-archive-enquiry .bpxl-wa-icon.bpxl-whatsapp-icon {
    font-size: 1.45em;
    line-height: 0;
    vertical-align: middle;
}

ul.products li.product .bpxl-wc-enquiry-loop a.bpxl-wc-archive-enquiry.textcolor,
.wc-block-grid__product .bpxl-wc-enquiry-loop a.bpxl-wc-archive-enquiry.textcolor {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5em 0 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
}

.woocommerce div.product a.bpxl-wc-archive-enquiry.textcolor {
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 0;
    padding: 0.5em 0 0;
    justify-content: flex-start;
    box-sizing: border-box;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 782px) {
    .bpxl-wh-device-desktop {
        display: none !important;
    }
}

@media (min-width: 783px) {
    .bpxl-wh-device-mobile {
        display: none !important;
    }
}

.bpxl-widget-response {
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.35;
}

.bpxl-widget-gdpr {
    display: block !important;
    padding: 10px 8px !important;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px !important;
    text-align: left !important;
}

.bpxl-gdpr-label {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #475569;
    line-height: 1.35;
    cursor: pointer;
}

.bpxl-gdpr-label input {
    margin-top: 2px;
}

.bpxl-agent-greeting {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
}

/* --- SaaS admin (tabs, cards, toggles) --- */
.bpxl-admin-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 0;
    padding: 0 0 16px;
    border-bottom: 1px solid #e2e8f0;
}

.bpxl-admin-nav-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bpxl-admin-nav-tab:hover {
    color: #0f172a;
    border-color: #cbd5e1;
}

.bpxl-admin-nav-tab.is-active {
    background: #2db742;
    border-color: #1da855;
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.bpxl-segmented {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bpxl-segmented label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
}

.bpxl-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bpxl-wc-position-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    max-width: 720px;
}

.bpxl-wc-position-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fafafa;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bpxl-wc-position-card:has(input:checked) {
    border-color: #2db742;
    box-shadow: 0 0 0 1px #2db742;
    background: #f0fdf4;
}

.bpxl-wc-position-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bpxl-wc-position-card__mock {
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(180deg, #e2e8f0 0%, #e2e8f0 30%, #fff 30%, #fff 70%, #2db742 70%, #2db742 100%);
    border: 1px solid #cbd5e1;
}

.bpxl-admin-account-pick {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 520px;
}

.bpxl-admin-account-pick__label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bpxl-admin-account-pick__label:hover {
    border-color: #86efac;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.bpxl-admin-account-pick__avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.bpxl-admin-account-pick__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #64748b;
}

.bpxl-admin-account-pick__meta strong {
    font-size: 14px;
    color: #0f172a;
}

.bpxl-role-check {
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 8px;
}

/* --- Floating widget v2 (click-to-open, agent cards) --- */
.bpxl-wh-root {
    position: fixed;
    z-index: 999999;
    bottom: 24px;
    right: 24px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bpxl-wh-root.bpxl-wh-pos-left {
    right: auto;
    left: 24px;
}

.bpxl-wh-root.bpxl-wh--delayed {
    opacity: 0 !important;
    pointer-events: none !important;
}

.bpxl-wh-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.bpxl-wh-pos-left .bpxl-wh-stack {
    align-items: flex-start;
}

.bpxl-wh-panel {
    width: min(380px, calc(100vw - 48px));
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
    animation: bpxl-wh-in 0.28s ease;
}

@keyframes bpxl-wh-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bpxl-wh-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 18px;
    background: var(--bpxl-fab-bg, #2db742);
    color: #fff;
}

.bpxl-wh-panel__header-mark {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bpxl-wh-panel__wa-ico {
    width: 40px !important;
    height: 40px !important;
}

.bpxl-wh-panel__header-text {
    flex: 1;
    min-width: 0;
}

.bpxl-wh-panel__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: #fff;
}

.bpxl-wh-panel__sub {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.bpxl-wh-panel__sub p {
    margin: 0 0 0.35em;
}

.bpxl-wh-panel__sub p:last-child {
    margin-bottom: 0;
}

.bpxl-wh-panel__intro {
    margin: 0;
    padding: 14px 18px 6px;
    font-size: 12px;
    line-height: 1.45;
    color: #999999;
    text-align: center;
}

.bpxl-wh-panel__body {
    padding: 0 0 14px;
    max-height: min(420px, 60vh);
    overflow-y: auto;
}

.bpxl-wh-gdpr {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.bpxl-wh-gdpr__label {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    line-height: 1.4;
}

.bpxl-wh-gdpr--shortcode {
    margin: 1rem 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bpxl-wh-shortcode--icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}

.bpxl-wh-shortcode--all {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.bpxl-wh-shortcode--strip {
    display: block;
    margin: 1rem 0;
    max-width: min(100%, 420px);
}

.bpxl-wh-shortcode--all-strip {
    align-items: stretch;
    max-width: min(100%, 420px);
    margin: 1rem 0;
}

.bpxl-wh-agent-card.bpxl-wh-agent-card--shortcode {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 14px 18px;
    border-left-width: 4px;
}

.bpxl-wh-agent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 12px 4px;
}

.bpxl-wh-agent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin: 0;
    border-radius: 6px;
    border: none;
    border-left: 3px solid var(--bpxl-fab-bg, #2db742);
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    background: #f6f7f9;
    box-shadow: none;
}

.bpxl-wh-agent-card:hover {
    background: #eef0f4;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.bpxl-wh-agent-card.is-online {
    border-left-color: var(--bpxl-fab-bg, #2db742);
}

.bpxl-wh-agent-card.is-offline {
    border-left-color: #c5c5c5;
    background: #f0f1f3;
}

.bpxl-wh-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e5e5e5;
    background: #e8e8e8;
}

a.bpxl-wh-agent-card img.bpxl-wh-card-avatar {
    display: block;
    max-width: none;
    opacity: 1;
    visibility: visible;
}

.bpxl-wh-card-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    border-color: #dcdcdc;
}

.bpxl-wh-card-avatar--placeholder .bpxl-wa-icon {
    width: 26px;
    height: 26px;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.bpxl-wh-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bpxl-wh-card-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #1f2937;
}

.bpxl-wh-card-line2 {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.2;
}

.bpxl-wh-card-away {
    font-size: 11px;
    color: #c2410c;
    margin-top: 2px;
    font-weight: 500;
}

.bpxl-wh-fab-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.bpxl-wh-pos-left .bpxl-wh-fab-row {
    flex-direction: row-reverse;
}

.bpxl-wh-chip {
    background: #f5f6f8;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    line-height: 1.25;
}

.bpxl-wh-chip strong {
    font-weight: 700;
}

.bpxl-wh-fab {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bpxl-fab-bg, #2db742);
    color: var(--bpxl-fab-icon, #111111);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.12),
        0 8px 28px rgba(45, 183, 66, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bpxl-wh-fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.bpxl-wh-fab:hover {
    transform: scale(1.04);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.1),
        0 6px 18px rgba(0, 0, 0, 0.14),
        0 10px 32px rgba(45, 183, 66, 0.42);
}

.bpxl-wh-fab--face {
    padding: 0;
    overflow: hidden;
}

.bpxl-wh-fab__face-wrap {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.bpxl-wh-fab__face {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bpxl-wh-fab .bpxl-wh-fab__open.bpxl-wa-icon {
    width: 30px;
    height: 30px;
    color: var(--bpxl-fab-icon, #111111);
}

.bpxl-wh-fab__close {
    display: none;
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    color: inherit;
}

.bpxl-wh-root.bpxl-wh--open .bpxl-wh-fab__open.bpxl-wa-icon,
.bpxl-wh-root.bpxl-wh--open .bpxl-wh-fab__face-wrap {
    display: none;
}

.bpxl-wh-root.bpxl-wh--open .bpxl-wh-fab__close {
    display: block;
}

@media (min-width: 783px) {
    .bpxl-wh-hide-desktop {
        display: none !important;
    }
}

@media (max-width: 782px) {
    .bpxl-wh-hide-mobile {
        display: none !important;
    }

    .bpxl-wh-root {
        bottom: 16px;
        right: 16px;
    }

    .bpxl-wh-root.bpxl-wh-pos-left {
        left: 16px;
    }

    .bpxl-wh-chip {
        display: none;
    }
}
