/* Scoped message-list controls: independent of the active theme's form defaults. */
.pdv-dashboard .pdv-db-messages>aside>.pdv-conversation-toolbar{
    position:relative!important;display:flex!important;align-items:center!important;
    justify-content:space-between!important;gap:12px;min-height:56px;
    margin:0!important;padding:12px!important;box-sizing:border-box;
}
.pdv-dashboard .pdv-db-messages>aside>.pdv-conversation-toolbar>h2{
    position:static!important;flex:1 1 auto;min-width:0;margin:0!important;
    padding:0!important;font-size:14px;line-height:1.35!important;
}
.pdv-dashboard .pdv-conversation-toolbar>button[data-pdv-chat-refresh]{
    position:static!important;inset:auto!important;transform:none!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 32px!important;width:32px!important;min-width:32px!important;
    height:32px!important;min-height:32px!important;margin:0!important;padding:0!important;
    box-sizing:border-box;border:1px solid #ede9fe;border-radius:8px;
    background:#f5f3ff;color:#64748b;line-height:1!important;cursor:pointer;
}
.pdv-dashboard .pdv-conversation-toolbar>button[data-pdv-chat-refresh]>svg{
    position:static!important;display:block!important;flex:none!important;
    width:16px!important;height:16px!important;margin:0!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;
}
.pdv-dashboard .pdv-db-messages>aside>.pdv-conversation-search{
    position:relative!important;display:block!important;box-sizing:border-box;
    width:calc(100% - 24px)!important;max-width:none!important;min-width:0;
    margin:0 12px 12px!important;padding:0!important;border:0!important;
    background:transparent!important;line-height:normal;
}
.pdv-dashboard .pdv-conversation-search>svg{
    position:absolute!important;inset:auto!important;left:12px!important;top:50%!important;
    transform:translateY(-50%)!important;display:block!important;
    width:16px!important;height:16px!important;margin:0!important;padding:0!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8;
    color:#7a879b;pointer-events:none;z-index:1;
}
.pdv-dashboard .pdv-conversation-search>input[type="search"][data-pdv-chat-search]{
    position:static!important;display:block!important;box-sizing:border-box!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    height:40px!important;min-height:40px!important;margin:0!important;
    padding:0 12px 0 38px!important;text-indent:0!important;
    border:1px solid #ede9fe!important;border-radius:8px!important;
    background:#f5f3ff!important;color:#182752!important;font-family:inherit;
    font-size:12px!important;line-height:normal!important;appearance:none;
}
.pdv-dashboard .pdv-conversation-search>input::placeholder{color:#7a879b;opacity:1}
.pdv-dashboard .pdv-conversation-search:focus-within>input[type="search"]{
    border-color:var(--pdv-db-blue,#6c5ce7)!important;outline:2px solid #ede9fe;outline-offset:1px;
}
.pdv-dashboard .pdv-conversation-toolbar>button[data-pdv-chat-refresh]:focus-visible{
    outline:2px solid var(--pdv-db-blue,#6c5ce7);outline-offset:2px;
}

/* 3.8.78: unread counters retain white numerals in every navigation state. */
body #dashboard.pdv-dashboard .pdv-dashboard-sidebar a[href*="/messages"] b.pdv-nav-badge,
body #dashboard.pdv-dashboard .pdv-dashboard-sidebar a[href*="/messages"] b.pdv-chat-unread-badge,
body .pdv-dashboard .pdv-dashboard-sidebar a[href*="/messages"] .pdv-chat-unread-badge,
body .pdv-dashboard [data-pdv-mobile-chat] .pdv-mobile-icon-wrap>b,
body .pdv-dashboard b.pdv-chat-unread-badge{color:#fff!important;-webkit-text-fill-color:#fff!important}