
:root{--mbh-blue:#1681E5;--mbh-dark:#091317;--mbh-gold:#EFC67D;--mbh-muted:#6b7280;--mbh-soft:#f5f8fb;--mbh-border:#e5e7eb;--mbh-danger:#dc2626;--mbh-success:#16a34a;--mbh-warning:#d97706}
.mbh-shell{font-family:Montserrat,Arial,sans-serif;color:var(--mbh-dark);background:#fff}.mbh-topbar{background:#000;color:#fff}.mbh-topbar-inner,.mbh-site-header-inner,.mbh-main,.mbh-footer-inner{max-width:1180px;margin:0 auto;padding-left:22px;padding-right:22px}.mbh-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;font-size:14px}.mbh-topbar a{color:#fff;text-decoration:none}.mbh-topbar a:hover{color:var(--mbh-gold)}.mbh-social{display:flex;gap:16px}.mbh-site-header{background:#fff;border-bottom:1px solid rgba(9,19,23,.08);box-shadow:0 4px 18px rgba(0,0,0,.04)}.mbh-site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}.mbh-logo img{height:58px;width:auto;display:block}.mbh-nav-area{display:flex;align-items:center;justify-content:flex-end;flex:1}.mbh-menu ul{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.mbh-menu a{display:block;text-decoration:none;color:#111827;font-weight:600;font-size:15px;padding:12px 14px;border-radius:999px;transition:.2s}.mbh-menu a:hover{color:#fff;background:var(--mbh-blue)}.mbh-main{padding-top:34px;padding-bottom:46px}.mbh-hero{position:relative;overflow:hidden;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#eef7ff 50%,#1681E5 100%);padding:52px 40px;box-shadow:0 22px 60px rgba(22,129,229,.16);border:1px solid rgba(22,129,229,.14)}.mbh-hero:after{content:"";position:absolute;right:-90px;bottom:-120px;width:320px;height:320px;border-radius:999px;background:rgba(239,198,125,.35);pointer-events:none}.mbh-hero .mbh-actions{position:relative;z-index:2}.mbh-hero h1{font-size:44px;line-height:1.05;margin:0 0 14px;max-width:760px;color:#084C68}.mbh-hero p{font-size:18px;color:#405B67;max-width:680px;margin:0 0 24px}.mbh-hero .mbh-form{position:relative;z-index:2;background:#fff;border-radius:18px;padding:16px;display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;box-shadow:0 14px 34px rgba(0,0,0,.12);max-width:920px}.mbh-section-title{margin:0 0 14px;font-size:30px;color:#084C68}.mbh-section-subtitle{margin-top:-6px;color:var(--mbh-muted)}.mbh-box,.mbh-card{background:#fff;border:1px solid var(--mbh-border);border-radius:20px;padding:28px;box-shadow:0 12px 34px rgba(9,19,23,.06)}.mbh-box h2,.mbh-card h2{margin-top:0;color:#084C68}.mbh-card-soft{background:var(--mbh-soft)}.mbh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:22px 0}.mbh-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mbh-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.mbh-service-card,.mbh-step-card,.mbh-box-stat{background:#fff;border:1px solid var(--mbh-border);border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(9,19,23,.05);transition:.2s}.mbh-service-card:hover,.mbh-step-card:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(22,129,229,.12)}.mbh-service-icon{width:46px;height:46px;border-radius:14px;background:rgba(22,129,229,.12);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:12px}.mbh-service-card strong,.mbh-box-stat strong{display:block;color:#111827}.mbh-service-card span,.mbh-box-stat span{color:var(--mbh-muted)}.mbh-box-stat span{display:block;font-size:30px;font-weight:800;color:#084C68;margin-top:4px}.mbh-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(239,198,125,.28);border:1px solid rgba(239,198,125,.55);color:#5b3b00;border-radius:999px;padding:7px 12px;font-weight:700;font-size:13px;margin-bottom:14px}.mbh-form{display:grid;grid-template-columns:1fr;gap:14px;max-width:860px}.mbh-form label{display:grid;gap:7px;font-weight:700;color:#24343b}.mbh-form input,.mbh-form select,.mbh-form textarea,.login-username input,.login-password input{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;padding:13px 14px;background:#fff;font-size:15px}.mbh-form textarea{min-height:110px}.mbh-form input:focus,.mbh-form select:focus,.mbh-form textarea:focus,.login-username input:focus,.login-password input:focus{outline:2px solid rgba(22,129,229,.22);border-color:var(--mbh-blue)}.mbh-btn,.mbh-button,.mbh-form button,.login-submit input{border:0;border-radius:999px;padding:13px 22px;background:var(--mbh-blue);color:#fff!important;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:800;box-shadow:0 10px 22px rgba(22,129,229,.22);transition:.2s}.mbh-btn:hover,.mbh-button:hover,.mbh-form button:hover,.login-submit input:hover{background:#0d6fc9;transform:translateY(-1px)}.mbh-btn-secondary{background:#111827!important;box-shadow:0 10px 22px rgba(17,24,39,.16)}.mbh-btn-outline{background:#fff!important;color:var(--mbh-blue)!important;border:1px solid var(--mbh-blue);box-shadow:none}.mbh-btn-small{padding:8px 13px;font-size:13px}.mbh-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.mbh-alert{padding:13px 15px;border-radius:14px;margin:14px 0;border:1px solid var(--mbh-border);background:#fff}.mbh-alert-error,.mbh-alert-erro{background:#fff3f3;border-color:#fecaca;color:#7f1d1d}.mbh-alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.mbh-alert-success{background:#ecfdf3;border-color:#bbf7d0;color:#14532d}.mbh-alert-warning{background:#fffbeb;border-color:#fde68a;color:#78350f}.mbh-table-wrap{overflow-x:auto;border:1px solid var(--mbh-border);border-radius:16px;background:#fff}.mbh-table{width:100%;border-collapse:collapse}.mbh-table th,.mbh-table td{border-bottom:1px solid var(--mbh-border);padding:13px;text-align:left;vertical-align:top}.mbh-table th{background:#f8fafc;color:#334155;font-size:13px;text-transform:uppercase;letter-spacing:.03em}.mbh-table tr:last-child td{border-bottom:0}.mbh-status{display:inline-block;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;background:#f3f4f6;color:#374151}.mbh-status-ativo,.mbh-status-aprovado,.mbh-status-aceito,.mbh-status-concluido{background:#dcfce7;color:#166534}.mbh-status-pendente,.mbh-status-enviado,.mbh-status-em_distribuicao,.mbh-status-inativo{background:#fef3c7;color:#92400e}.mbh-status-recusado,.mbh-status-expirado,.mbh-status-cancelado,.mbh-status-reprovado{background:#fee2e2;color:#991b1b}.mbh-inline-form{display:flex;gap:8px;flex-wrap:wrap;margin:0}.mbh-layout{display:grid;grid-template-columns:280px 1fr;gap:22px}.mbh-sidebar{background:#fff;border:1px solid var(--mbh-border);border-radius:20px;padding:18px;height:max-content;box-shadow:0 12px 30px rgba(9,19,23,.05)}.mbh-sidebar-title{font-weight:800;color:#084C68;margin-bottom:12px}.mbh-profile-row{display:grid;grid-template-columns:180px 1fr;gap:10px;border-bottom:1px solid var(--mbh-border);padding:11px 0}.mbh-profile-row:last-child{border-bottom:0}.mbh-price{font-size:32px;font-weight:900;color:#084C68;margin:8px 0}.mbh-site-footer{background:#101820;color:#dbeafe;margin-top:30px}.mbh-footer-inner{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding-top:34px;padding-bottom:28px}.mbh-footer-logo{height:52px;width:auto;margin-bottom:10px}.mbh-footer-links{display:grid;gap:8px;align-content:center;justify-items:end}.mbh-footer-links a{color:#fff;text-decoration:none}.mbh-footer-links a:hover{color:var(--mbh-gold)}.mbh-copy{background:#200303;color:#fff;text-align:center;padding:12px;font-size:13px}.mbh-login-wrap .login-username,.mbh-login-wrap .login-password,.mbh-login-wrap .login-remember,.mbh-login-wrap .login-submit{margin:0 0 14px}.mbh-muted{color:var(--mbh-muted)}.mbh-center{text-align:center}.mbh-hidden{display:none!important}@media(max-width:900px){.mbh-topbar-inner{justify-content:center}.mbh-social{display:none}.mbh-site-header-inner{align-items:flex-start;flex-direction:column;padding-top:14px;padding-bottom:14px}.mbh-nav-area,.mbh-menu ul{justify-content:flex-start}.mbh-hero{padding:36px 22px}.mbh-hero h1{font-size:34px}.mbh-hero .mbh-form{grid-template-columns:1fr}.mbh-grid-2,.mbh-layout,.mbh-footer-inner{grid-template-columns:1fr}.mbh-footer-links{justify-items:start}.mbh-profile-row{grid-template-columns:1fr}.mbh-main{padding-top:22px}}@media(max-width:560px){.mbh-topbar-inner,.mbh-site-header-inner,.mbh-main,.mbh-footer-inner{padding-left:16px;padding-right:16px}.mbh-menu ul{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.mbh-menu a{text-align:center;background:#f8fafc}.mbh-hero h1{font-size:29px}.mbh-box,.mbh-card{padding:20px}.mbh-grid{grid-template-columns:1fr}.mbh-actions .mbh-btn,.mbh-actions .mbh-button{width:100%}}


.mbh-logout-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:999px;
    background:#084C68;
    color:#fff !important;
    text-decoration:none;
    font-weight:700;
    margin-left:12px;
}
.mbh-logout-link:hover{background:#1681E5;color:#fff !important;}
@media (max-width: 768px){.mbh-logout-link{margin:10px 0 0 0;width:100%;}}

.mbh-notification-list{display:grid;gap:14px;margin-top:18px}.mbh-notification{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border:1px solid var(--mbh-border);border-radius:16px;padding:16px;background:#fff;box-shadow:0 8px 22px rgba(9,19,23,.04)}.mbh-notification p{margin:6px 0;color:var(--mbh-muted)}.mbh-notification small{color:var(--mbh-muted)}.mbh-notification-unread{border-color:#bfdbfe;background:#eff6ff}.mbh-notification-unread strong{color:#084C68}@media(max-width:700px){.mbh-notification{flex-direction:column}.mbh-notification .mbh-btn{width:100%}}

.mbh-push-box{
    margin:18px 0;
    padding:18px;
    border:1px solid rgba(8,76,104,.15);
    border-radius:14px;
    background:#f8fbff;
}
.mbh-push-box p{margin:8px 0;}
.mbh-onesignal-status{font-size:14px;color:#084C68;}

/* v1.1.19 - categorias múltiplas */
.mbh-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 14px;
    margin: 8px 0 12px;
}
.mbh-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin: 6px 0;
}
.mbh-check input[type="checkbox"] {
    width: auto;
    min-width: 16px;
}
.mbh-form-group {
    margin-bottom: 16px;
}

/* v1.1.24 - menu header agrupado em hambúrguer */
.mbh-site-header{position:relative;z-index:50}
.mbh-site-header-inner{position:relative;align-items:center;flex-direction:row!important}
.mbh-menu-toggle{
    width:48px;
    height:48px;
    border:1px solid rgba(22,129,229,.22);
    border-radius:14px;
    background:#fff;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(9,19,23,.08);
    transition:.2s;
    margin-left:auto;
}
.mbh-menu-toggle:hover{background:#f8fbff;border-color:var(--mbh-blue)}
.mbh-menu-toggle span{width:22px;height:2px;background:#084C68;border-radius:999px;display:block;transition:.2s}
.mbh-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mbh-menu-toggle.is-open span:nth-child(2){opacity:0}
.mbh-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mbh-nav-area[hidden]{display:none!important}
.mbh-nav-area{
    position:absolute;
    top:calc(100% + 12px);
    right:22px;
    width:min(360px,calc(100vw - 44px));
    display:block;
    z-index:999;
}
.mbh-nav-panel{
    background:#fff;
    border:1px solid rgba(9,19,23,.08);
    border-radius:22px;
    padding:16px;
    box-shadow:0 24px 60px rgba(9,19,23,.18);
}
.mbh-nav-panel:before{
    content:"";
    position:absolute;
    top:-8px;
    right:18px;
    width:16px;
    height:16px;
    background:#fff;
    border-left:1px solid rgba(9,19,23,.08);
    border-top:1px solid rgba(9,19,23,.08);
    transform:rotate(45deg);
}
.mbh-nav-panel .mbh-menu ul{
    display:grid!important;
    grid-template-columns:1fr;
    gap:8px;
    width:100%;
    list-style:none;
    margin:0;
    padding:0;
}
.mbh-nav-panel .mbh-menu a,
.mbh-nav-panel .mbh-logout-link{
    width:100%;
    box-sizing:border-box;
    justify-content:flex-start;
    text-align:left;
    border-radius:14px;
    padding:13px 15px;
    background:#f8fafc;
    margin:0;
}
.mbh-nav-panel .mbh-menu a:hover{background:var(--mbh-blue);color:#fff}
.mbh-nav-panel .mbh-logout-link{margin-top:8px;background:#084C68;color:#fff!important}
.mbh-nav-panel .mbh-logout-link:hover{background:#1681E5}
@media(max-width:900px){
    .mbh-site-header-inner{padding-top:12px;padding-bottom:12px}
    .mbh-nav-area{right:16px;width:calc(100vw - 32px)}
    .mbh-logo img{height:52px}
}

/* v1.1.25 - menu responsivo: desktop horizontal, tablet/celular hambúrguer */
@media (min-width:1025px){
    .mbh-site-header-inner{
        align-items:center!important;
        flex-direction:row!important;
    }
    .mbh-menu-toggle{
        display:none!important;
    }
    .mbh-nav-area,
    .mbh-nav-area[hidden]{
        position:static!important;
        top:auto!important;
        right:auto!important;
        width:auto!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-end!important;
        flex:1!important;
        z-index:auto!important;
    }
    .mbh-nav-panel{
        background:transparent!important;
        border:0!important;
        border-radius:0!important;
        padding:0!important;
        box-shadow:none!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-end!important;
        gap:10px!important;
        width:100%!important;
    }
    .mbh-nav-panel:before{
        display:none!important;
    }
    .mbh-nav-panel .mbh-menu ul{
        display:flex!important;
        align-items:center!important;
        justify-content:flex-end!important;
        gap:4px!important;
        flex-wrap:wrap!important;
        width:auto!important;
    }
    .mbh-nav-panel .mbh-menu a{
        width:auto!important;
        text-align:center!important;
        border-radius:999px!important;
        padding:12px 14px!important;
        background:transparent!important;
        color:#111827!important;
        display:block!important;
    }
    .mbh-nav-panel .mbh-menu a:hover{
        color:#fff!important;
        background:var(--mbh-blue)!important;
    }
    .mbh-nav-panel .mbh-logout-link{
        width:auto!important;
        margin-top:0!important;
        border-radius:999px!important;
        padding:12px 16px!important;
        display:inline-flex!important;
        align-items:center!important;
        background:#084C68!important;
        color:#fff!important;
        text-decoration:none!important;
    }
}

@media (max-width:1024px){
    .mbh-menu-toggle{
        display:inline-flex!important;
    }
}

/* v1.1.27 - UX de republicação */
.mbh-card-republicado{
    border-color:#f59e0b!important;
    background:linear-gradient(180deg,#fffaf0 0%,#ffffff 46%);
}
.mbh-republicado-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    background:#fef3c7;
    color:#92400e;
    border:1px solid #fde68a;
    padding:6px 10px;
    font-weight:800;
    font-size:12px;
    margin-bottom:10px;
}
.mbh-rodadas{
    margin-top:14px;
    border-top:1px solid var(--mbh-border);
    padding-top:10px;
}
.mbh-rodadas summary{
    cursor:pointer;
    color:var(--mbh-blue);
    font-weight:800;
}
.mbh-rodadas ul{
    margin:10px 0 0 18px;
    padding:0;
}
.mbh-rodadas li{
    margin:6px 0;
}

/* v1.1.28 - Central de Serviços */
.mbh-service-summary{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:12px;
    margin:18px 0;
}
.mbh-service-stat{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:16px;
    border:1px solid var(--mbh-border);
    border-radius:18px;
    background:#fff;
    text-decoration:none!important;
    color:var(--mbh-dark)!important;
    box-shadow:0 8px 24px rgba(9,19,23,.05);
    transition:.18s;
}
.mbh-service-stat strong{
    font-size:30px;
    line-height:1;
    color:#084C68;
}
.mbh-service-stat span{
    font-weight:800;
    color:#334155;
}
.mbh-service-stat:hover,.mbh-service-stat.is-active{
    transform:translateY(-1px);
    border-color:rgba(22,129,229,.35);
    background:#f8fbff;
}
.mbh-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:18px 0 22px;
}
.mbh-tabs a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border:1px solid var(--mbh-border);
    border-radius:999px;
    background:#fff;
    color:#334155!important;
    font-weight:800;
    text-decoration:none!important;
}
.mbh-tabs a:hover,.mbh-tabs a.is-active{
    background:var(--mbh-blue);
    border-color:var(--mbh-blue);
    color:#fff!important;
}
.mbh-card-headline{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    margin-bottom:8px;
}
.mbh-service-card{
    position:relative;
}
.mbh-service-andamento{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff 0%,#fff 42%)}
.mbh-service-aguardando_avaliacao,.mbh-service-avaliar{border-color:#fde68a;background:linear-gradient(180deg,#fffbeb 0%,#fff 42%)}
.mbh-service-concluidos,.mbh-service-historico{border-color:#bbf7d0;background:linear-gradient(180deg,#f0fdf4 0%,#fff 42%)}
.mbh-service-cancelados{border-color:#fecaca;background:linear-gradient(180deg,#fef2f2 0%,#fff 42%)}
.mbh-inner-box{
    margin:14px 0!important;
    padding:14px!important;
    border-radius:14px!important;
    box-shadow:none!important;
}
.mbh-inner-box h3{margin:0 0 10px;font-size:18px;color:#084C68}
@media(max-width:560px){
    .mbh-card-headline{flex-direction:column;align-items:flex-start}
    .mbh-service-summary{grid-template-columns:1fr 1fr}
    .mbh-service-stat strong{font-size:24px}
}

/* v1.1.29 - Oportunidades inteligentes */
.mbh-op-tabs a span{margin-left:7px;background:rgba(255,255,255,.22);border-radius:999px;padding:2px 7px;font-size:12px}.mbh-op-tabs a:not(.is-active) span{background:#f1f5f9;color:#334155}.mbh-op-filtros{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) auto auto;gap:10px;align-items:end;margin:8px 0 18px;padding:14px;border:1px solid var(--mbh-border);border-radius:18px;background:#f8fafc}.mbh-op-filtros label{display:grid;gap:6px;font-weight:800;color:#334155;font-size:13px}.mbh-op-filtros select{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;background:#fff}.mbh-op-count{margin:8px 0 14px}.mbh-oportunidades-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.mbh-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;flex-wrap:wrap}.mbh-pagination a,.mbh-pagination span{border:1px solid var(--mbh-border);border-radius:999px;padding:10px 14px;text-decoration:none!important;font-weight:800;background:#fff}.mbh-pagination a{color:var(--mbh-blue)!important}.mbh-pagination span{color:#334155;background:#f8fafc}@media(max-width:760px){.mbh-op-filtros{grid-template-columns:1fr}.mbh-op-filtros .mbh-btn{width:100%}.mbh-oportunidades-grid{grid-template-columns:1fr}.mbh-pagination{justify-content:space-between}.mbh-pagination a,.mbh-pagination span{flex:1;text-align:center}.mbh-op-tabs{display:grid;grid-template-columns:1fr 1fr}.mbh-op-tabs a{width:100%}}


/* v1.1.30 - Gestão de notificações */
.mbh-actions-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.mbh-notification-list-compact{display:grid;gap:14px;margin-top:18px}
.mbh-notification{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid var(--mbh-border);border-radius:18px;padding:18px;background:#fff;box-shadow:0 10px 28px rgba(9,19,23,.05)}
.mbh-notification-unread{background:#eff6ff;border-color:#bfdbfe}
.mbh-notification-content{min-width:0;flex:1}
.mbh-notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.mbh-notification p{margin:8px 0;color:#64748b;line-height:1.55}
.mbh-notification small{color:#6b7280}
.mbh-notification-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.mbh-btn-mini{padding:7px 11px;font-size:12px;box-shadow:none}
.mbh-btn-danger-outline{background:#fff!important;color:#991b1b!important;border:1px solid #fecaca;box-shadow:none}
.mbh-btn-danger-outline:hover{background:#fee2e2!important;color:#7f1d1d!important}
.mbh-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;white-space:nowrap}
.mbh-pill-warn{background:#fef3c7;color:#92400e}
.mbh-pill-ok{background:#dcfce7;color:#166534}
@media(max-width:560px){.mbh-notification{flex-direction:column}.mbh-notification-actions{width:100%;justify-content:flex-start}.mbh-notification-actions .mbh-btn{flex:1}.mbh-notification-head{align-items:flex-start}.mbh-actions-row .mbh-btn{width:100%}}

/* v1.1.31 - Página Entrar estilizada + esqueci senha */
.mbh-login-hero{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(320px,1.05fr);
    gap:24px;
    align-items:stretch;
    max-width:1080px;
    margin:0 auto;
}
.mbh-login-panel{
    border:1px solid rgba(22,129,229,.14);
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 48px rgba(9,19,23,.08);
}
.mbh-login-copy{
    position:relative;
    overflow:hidden;
    padding:34px;
    background:linear-gradient(135deg,#ffffff 0%,#eef7ff 58%,rgba(22,129,229,.18) 100%);
}
.mbh-login-copy:after{
    content:"";
    position:absolute;
    right:-70px;
    bottom:-90px;
    width:230px;
    height:230px;
    border-radius:999px;
    background:rgba(239,198,125,.34);
}
.mbh-login-copy h1{
    position:relative;
    z-index:1;
    margin:0 0 12px;
    color:#084C68;
    font-size:38px;
    line-height:1.08;
    letter-spacing:-.03em;
}
.mbh-login-copy p{
    position:relative;
    z-index:1;
    margin:0 0 22px;
    color:#405B67;
    font-size:17px;
    line-height:1.55;
}
.mbh-login-benefits{
    position:relative;
    z-index:1;
    display:grid;
    gap:12px;
    margin:22px 0;
}
.mbh-login-benefits div{
    background:rgba(255,255,255,.78);
    border:1px solid rgba(22,129,229,.12);
    border-radius:18px;
    padding:16px;
}
.mbh-login-benefits strong{
    display:block;
    color:#084C68;
    font-size:16px;
    margin-bottom:4px;
}
.mbh-login-benefits span{
    display:block;
    color:var(--mbh-muted);
    line-height:1.45;
}
.mbh-login-actions{position:relative;z-index:1;margin-top:22px}
.mbh-login-card{padding:34px}.mbh-login-card-head{display:flex;gap:14px;align-items:center;margin-bottom:20px}.mbh-login-card-head h2{margin:0;color:#084C68;font-size:30px}.mbh-login-card-head p{margin:4px 0 0}.mbh-login-icon{width:54px;height:54px;border-radius:18px;background:rgba(22,129,229,.12);display:flex;align-items:center;justify-content:center;font-size:27px}.mbh-login-card form{display:grid;gap:14px}.mbh-login-card .login-username,.mbh-login-card .login-password,.mbh-login-card .login-remember,.mbh-login-card .login-submit{margin:0}.mbh-login-card .login-username label,.mbh-login-card .login-password label{display:grid;gap:7px;font-weight:800;color:#24343b}.mbh-login-card .login-remember label{display:flex;align-items:center;gap:8px;font-weight:700;color:#405B67}.mbh-login-card .login-remember input{width:auto}.mbh-login-card .login-submit input{width:100%;font-size:16px;padding:15px 22px}.mbh-login-help{margin-top:16px;text-align:center}.mbh-login-help a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;color:#084C68;background:#f8fbff;border:1px solid rgba(22,129,229,.18);border-radius:999px;padding:12px 18px;transition:.2s}.mbh-login-help a:hover{color:#fff;background:var(--mbh-blue);border-color:var(--mbh-blue)}
@media(max-width:900px){.mbh-login-hero{grid-template-columns:1fr}.mbh-login-copy h1{font-size:31px}.mbh-login-card,.mbh-login-copy{padding:24px}}
@media(max-width:560px){.mbh-login-panel{border-radius:22px}.mbh-login-card-head{align-items:flex-start}.mbh-login-icon{width:46px;height:46px;font-size:23px}.mbh-login-card-head h2{font-size:26px}.mbh-login-actions .mbh-btn{width:100%}}


/* v1.1.32 - Recuperação de senha front-end */
.mbh-login-card .login-username input,
.mbh-field-email-wide input{
    width:100%;
    min-height:48px;
}
.mbh-login-card .login-password input,
.mbh-field-password-wide input{
    width:78%;
    min-width:260px;
    min-height:48px;
}
.mbh-password-form{
    display:grid;
    gap:15px;
}
.mbh-field{
    display:grid;
    gap:7px;
}
.mbh-field label{
    font-weight:800;
    color:#24343b;
}
.mbh-password-form input{
    border:1px solid rgba(15,23,42,.14);
    border-radius:14px;
    padding:13px 14px;
    font-size:16px;
    background:#fff;
}
.mbh-password-form input:focus,
.mbh-login-card input:focus{
    outline:none;
    border-color:rgba(22,129,229,.65);
    box-shadow:0 0 0 4px rgba(22,129,229,.12);
}
@media(max-width:560px){
    .mbh-login-card .login-password input,
    .mbh-field-password-wide input{width:100%;min-width:0}
}

/* v1.1.33 - alertas em tempo real no painel */
.mbh-realtime-toasts{position:fixed;right:18px;bottom:18px;z-index:999999;display:grid;gap:10px;max-width:360px;width:calc(100% - 36px);pointer-events:none}.mbh-realtime-toast{position:relative;pointer-events:auto;background:#fff;border:1px solid rgba(22,129,229,.22);border-left:5px solid var(--mbh-blue);border-radius:16px;box-shadow:0 18px 44px rgba(9,19,23,.18);padding:14px 42px 14px 16px;display:grid;gap:5px;animation:mbhToastIn .2s ease-out}.mbh-realtime-toast strong{color:#084C68;font-size:15px}.mbh-realtime-toast span{color:#405B67;font-size:14px;line-height:1.35}.mbh-realtime-toast a{margin-top:5px;color:#1681E5;font-weight:800;text-decoration:none}.mbh-realtime-close{position:absolute;right:10px;top:8px;border:0;background:#f1f5f9;color:#334155;border-radius:999px;width:26px;height:26px;line-height:1;cursor:pointer;font-size:18px}.mbh-menu-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:6px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:900;vertical-align:middle}.mbh-has-badge{position:relative}@keyframes mbhToastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.mbh-realtime-toasts{right:12px;left:12px;bottom:12px;width:auto;max-width:none}.mbh-realtime-toast{border-radius:14px}}

/* v1.1.35 - Correção visual dos campos do login front-end */
.mbh-login-card .mbh-login-form,
.mbh-login-card .mbh-password-form{
    width:100%;
}
.mbh-login-card .mbh-login-form .mbh-field,
.mbh-login-card .mbh-password-form .mbh-field{
    width:100%;
}
.mbh-login-card .mbh-login-form input[type="text"],
.mbh-login-card .mbh-login-form input[type="email"],
.mbh-login-card .mbh-login-form input[type="password"],
.mbh-login-card .mbh-password-form input[type="text"],
.mbh-login-card .mbh-password-form input[type="email"],
.mbh-login-card .mbh-password-form input[type="password"],
.mbh-field-email-wide input,
.mbh-field-password-wide input{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
    min-height:54px;
    border:1px solid rgba(15,23,42,.14);
    border-radius:14px;
    padding:13px 14px;
    font-size:16px;
    background:#fff;
}
.mbh-login-card .mbh-login-form .mbh-btn,
.mbh-login-card .mbh-password-form .mbh-btn{
    width:100%;
}
.mbh-remember{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color:#405B67;
}
.mbh-remember input{
    width:18px !important;
    height:18px;
    min-height:0;
}

/* v1.1.36 - Dashboard Premium */
.mbh-dashboard-premium{display:grid;gap:22px}.mbh-dashboard-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:26px;padding:30px;background:linear-gradient(135deg,#fff 0%,#eef7ff 58%,rgba(22,129,229,.24) 100%);border:1px solid rgba(22,129,229,.16);box-shadow:0 18px 50px rgba(22,129,229,.11)}.mbh-dashboard-hero:after{content:"";position:absolute;right:-80px;bottom:-110px;width:260px;height:260px;border-radius:999px;background:rgba(239,198,125,.28)}.mbh-dashboard-hero>*{position:relative;z-index:1}.mbh-dashboard-hero h2{margin:0 0 8px;color:#084C68;font-size:34px}.mbh-dashboard-hero p{margin:0;color:#405B67;max-width:720px}.mbh-dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.mbh-premium-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mbh-premium-stat{position:relative;overflow:hidden;display:grid;gap:7px;text-decoration:none;background:#fff;border:1px solid var(--mbh-border);border-radius:22px;padding:20px;box-shadow:0 14px 34px rgba(9,19,23,.06);transition:.2s}.mbh-premium-stat:hover{transform:translateY(-2px);box-shadow:0 22px 42px rgba(22,129,229,.13)}.mbh-premium-stat span{color:#405B67;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.03em}.mbh-premium-stat strong{font-size:38px;line-height:1;color:#084C68}.mbh-premium-stat small{color:#64748b}.mbh-premium-stat.is-primary{background:linear-gradient(135deg,#1681E5,#0d6fc9);border-color:transparent}.mbh-premium-stat.is-primary span,.mbh-premium-stat.is-primary strong,.mbh-premium-stat.is-primary small{color:#fff}.mbh-dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.mbh-dashboard-main,.mbh-dashboard-side{display:grid;gap:18px}.mbh-panel-card{background:#fff;border:1px solid var(--mbh-border);border-radius:22px;padding:22px;box-shadow:0 14px 34px rgba(9,19,23,.06)}.mbh-panel-card h3{margin:0 0 8px;color:#084C68}.mbh-panel-card p{margin:0 0 12px}.mbh-panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.mbh-link-action{font-weight:900;color:var(--mbh-blue);text-decoration:none;white-space:nowrap}.mbh-link-action:hover{text-decoration:underline}.mbh-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mbh-mini-grid>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.mbh-mini-grid strong{display:block;color:#084C68;font-size:23px}.mbh-mini-grid span{display:block;color:#64748b;font-size:13px;margin-top:4px}.mbh-score-card{background:linear-gradient(135deg,#fff,#f8fcff)}.mbh-score-badge{min-width:74px;height:74px;border-radius:22px;background:#084C68;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900;box-shadow:0 14px 30px rgba(8,76,104,.22)}.mbh-compact-list{display:grid;gap:10px}.mbh-compact-item{display:grid;grid-template-columns:1fr auto;gap:4px 12px;text-decoration:none;padding:14px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;transition:.2s}.mbh-compact-item:hover{border-color:rgba(22,129,229,.45);background:#f8fcff}.mbh-compact-item strong{color:#111827}.mbh-compact-item span{color:#64748b;font-size:14px}.mbh-compact-item em{grid-row:1/3;grid-column:2;font-style:normal;align-self:center;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:6px 10px;font-size:12px;font-weight:900}.mbh-empty-state{padding:18px;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#f8fafc;text-align:center}.mbh-plan-status{display:inline-flex;border-radius:999px;padding:6px 12px;font-weight:900;font-size:13px;margin-bottom:10px}.mbh-plan-status.is-active{background:#dcfce7;color:#166534}.mbh-plan-status.is-inactive{background:#fee2e2;color:#991b1b}.mbh-check-list{display:grid;gap:9px}.mbh-check-list div{display:flex;gap:9px;align-items:center;padding:10px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb}.mbh-check-list span{width:24px;height:24px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:900}.mbh-check-list .ok span{background:#dcfce7;color:#166534}.mbh-check-list .warn span{background:#fef3c7;color:#92400e}.mbh-check-list strong{font-size:14px;color:#334155}.mbh-side-actions{display:grid;gap:9px}.mbh-side-actions a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:#0f172a;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;font-weight:800}.mbh-side-actions a:after{content:"›";font-size:20px;color:#1681E5}.mbh-side-actions a:hover{background:#eef7ff;border-color:rgba(22,129,229,.35)}.mbh-profile-mini{display:grid;gap:10px;margin:12px 0 16px}.mbh-profile-mini div{display:grid;gap:3px;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb}.mbh-profile-mini span{color:#64748b;font-size:13px}.mbh-profile-mini strong{color:#0f172a}@media(max-width:1024px){.mbh-premium-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mbh-dashboard-columns{grid-template-columns:1fr}.mbh-dashboard-hero{align-items:flex-start;flex-direction:column}.mbh-dashboard-hero-actions{justify-content:flex-start}.mbh-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.mbh-dashboard-hero{padding:22px;border-radius:20px}.mbh-dashboard-hero h2{font-size:27px}.mbh-premium-stats{grid-template-columns:1fr}.mbh-premium-stat strong{font-size:34px}.mbh-panel-title-row{display:grid}.mbh-mini-grid{grid-template-columns:1fr}.mbh-compact-item{grid-template-columns:1fr}.mbh-compact-item em{grid-column:auto;grid-row:auto;justify-self:start}.mbh-dashboard-hero-actions .mbh-btn{width:100%}}

/* v1.1.37 - Fotos dos pedidos */
.mbh-pedido-fotos {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}
.mbh-pedido-fotos h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #084C68;
}
.mbh-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}
.mbh-photo-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid rgba(0,0,0,.08);
    aspect-ratio: 1 / 1;
}
.mbh-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .18s ease;
}
.mbh-photo-item:hover img {
    transform: scale(1.04);
}
.mbh-form input[type="file"] {
    padding: 12px;
    background: #fff;
    border: 1px dashed rgba(8,76,104,.35);
    border-radius: 12px;
    width: 100%;
}

.mbh-geo-box{border:1px solid rgba(22,129,229,.18);background:#f8fbff;border-radius:16px;padding:16px;margin:16px 0}.mbh-geo-box strong{display:block;color:#084c68;margin-bottom:4px}.mbh-geo-status{display:inline-block;margin-left:10px;margin-top:8px}.mbh-btn[disabled]{opacity:.65;cursor:not-allowed}@media(max-width:768px){.mbh-geo-status{display:block;margin-left:0}}


/* v1.2.2 - Notificações com vínculo ao pedido */
.mbh-tabs-notificacoes .mbh-tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:800;margin-left:6px}
.mbh-tabs-notificacoes .mbh-tab-badge-unread{background:#fee2e2;color:#991b1b}
.mbh-notification-meta{display:flex;gap:8px;flex-wrap:wrap;color:#64748b;margin-top:8px}
.mbh-notification-actions .mbh-btn:first-child{white-space:nowrap}


/* v1.2.5 - Captura inteligente de localização */
.mbh-geo-confirm {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(22,129,229,.25);
    background: rgba(22,129,229,.07);
    border-radius: 12px;
}
.mbh-geo-confirm strong {
    display: block;
    margin-bottom: 6px;
    color: #084C68;
}
.mbh-geo-confirm p {
    margin: 0 0 6px;
}
.mbh-geo-confirm small {
    display: block;
    color: #5c6b73;
    line-height: 1.4;
}
.mbh-geo-coords {
    margin-top: 4px;
    font-size: 11px;
}


/* v1.3.1 - Localização automática do profissional */
.mbh-prof-auto-location {
    border: 1px solid rgba(2, 137, 255, .18);
    background: linear-gradient(135deg, rgba(2,137,255,.08), rgba(255,255,255,.96));
}
.mbh-location-mode {
    display: grid;
    gap: 10px;
    margin: 10px 0 12px;
}
.mbh-location-mode .mbh-check {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(2, 137, 255, .18);
    border-radius: 14px;
    background: #fff;
}

/* MBH App: remove rodapé e telefone/topbar nas páginas do sistema */
body.mbh-clean-page .mbh-topbar,
body.mbh-clean-template .mbh-topbar,
body.mbh-clean-page .mbh-phone,
body.mbh-clean-template .mbh-phone,
body.mbh-clean-page .mbh-site-footer,
body.mbh-clean-template .mbh-site-footer,
body.mbh-clean-page footer,
body.mbh-clean-template footer,
body.mbh-clean-page .site-footer,
body.mbh-clean-template .site-footer,
body.mbh-clean-page .elementor-location-footer,
body.mbh-clean-template .elementor-location-footer,
body.mbh-clean-page .elementor-location-header .mbh-phone,
body.mbh-clean-template .elementor-location-header .mbh-phone{
    display:none!important;
}


/* UX v1.3 - Badges mais limpos nas abas do app
   O badge vermelho fica apenas onde há item pendente/novo.
   Os badges do realtime ficam restritos ao menu pelo JS, evitando duplicidade nas abas. */
.mbh-tabs-notificacoes .mbh-tab-count-soft{
    margin-left:6px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
}
.mbh-tabs-notificacoes a.is-active .mbh-tab-count-soft{
    color:rgba(255,255,255,.9);
}
.mbh-op-tabs a span.mbh-op-new-badge{
    background:#dc2626!important;
    color:#fff!important;
    min-width:24px;
    text-align:center;
    font-weight:900;
    box-shadow:0 6px 14px rgba(220,38,38,.24);
}
.mbh-op-tabs a.is-active span.mbh-op-new-badge{
    background:#fff!important;
    color:#dc2626!important;
}



/* Suporte flutuante - MaridoBH */
.mbh-support-widget{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:99999;
    font-family:inherit;
}
.mbh-support-toggle{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:68px;
    height:68px;
    border:4px solid rgba(255,255,255,.96);
    border-radius:999px;
    padding:0 20px;
    background:linear-gradient(135deg,#00b7ff 0%,#0d6efd 42%,#0047ff 100%);
    color:#fff;
    font-weight:950;
    letter-spacing:.01em;
    box-shadow:0 20px 44px rgba(13,110,253,.34), 0 8px 18px rgba(0,71,255,.22), inset 0 1px 0 rgba(255,255,255,.24);
    cursor:pointer;
    transform:translateZ(0);
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.mbh-support-toggle:hover,
.mbh-support-toggle:focus-visible{
    filter:saturate(1.08) brightness(1.03);
    transform:translateY(-2px) scale(1.015);
    box-shadow:0 24px 52px rgba(13,110,253,.42), 0 10px 24px rgba(0,71,255,.28), inset 0 1px 0 rgba(255,255,255,.28);
    outline:none;
}
.mbh-support-toggle:active{transform:translateY(0) scale(.98);}
.mbh-support-icon{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#fff;
    line-height:1;
}
.mbh-support-icon svg{display:block;width:32px;height:32px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.14));}
.mbh-support-badge{
    position:absolute;
    top:-7px;
    right:-6px;
    min-width:23px;
    height:23px;
    padding:0 6px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    border:3px solid #fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:950;
    line-height:1;
    box-shadow:0 8px 18px rgba(239,68,68,.28);
}
.mbh-support-widget.has-pending .mbh-support-toggle::after{
    content:"";
    position:absolute;
    inset:-10px;
    border-radius:999px;
    border:2px solid rgba(13,110,253,.24);
    animation:mbhSupportPulse 1.9s ease-out infinite;
    pointer-events:none;
}
@keyframes mbhSupportPulse{
    0%{opacity:.7;transform:scale(.88)}
    70%{opacity:0;transform:scale(1.22)}
    100%{opacity:0;transform:scale(1.22)}
}
.mbh-support-panel{
    position:absolute;
    right:0;
    bottom:82px;
    width:min(350px, calc(100vw - 36px));
    background:rgba(255,255,255,.96);
    border:1px solid rgba(13,110,253,.14);
    border-radius:24px;
    padding:20px;
    box-shadow:0 26px 70px rgba(15,23,42,.25);
    color:#0f172a;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}
.mbh-support-panel strong{display:block;font-size:20px;line-height:1.2;margin-bottom:8px;color:#0f172a;}
.mbh-support-panel p{margin:0 0 16px;color:#64748b;font-size:15px;line-height:1.4;}
.mbh-support-option{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 15px;
    margin-top:10px;
    border-radius:18px;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    font-weight:900;
    border:1px solid rgba(13,110,253,.12);
    box-shadow:0 6px 16px rgba(15,23,42,.05);
}
.mbh-support-option:hover{background:#eef6ff;text-decoration:none;border-color:rgba(13,110,253,.24);}
.mbh-support-option-icon{width:28px;display:inline-flex;align-items:center;justify-content:center;font-size:22px;}
.mbh-support-whatsapp .mbh-support-option-icon{filter:saturate(1.15);}
.mbh-support-arrow{margin-left:auto;font-size:26px;line-height:1;color:#2563eb;}
@media (max-width: 640px){
    .mbh-support-widget{right:18px;bottom:18px;}
    .mbh-support-toggle{width:70px;height:70px;min-width:70px;padding:0;border-width:4px;}
    .mbh-support-label{display:none;}
    .mbh-support-icon{width:38px;height:38px;}
    .mbh-support-icon svg{width:36px;height:36px;}
    .mbh-support-panel{bottom:84px;right:-4px;}
}


/* v1.2.XX - Correção responsiva das abas/botões de oportunidades e notificações */
.mbh-shell *,
.mbh-shell *::before,
.mbh-shell *::after{
    box-sizing:border-box;
}

.mbh-box,
.mbh-card,
.mbh-login-panel,
.mbh-op-filtros,
.mbh-tabs,
.mbh-notification{
    max-width:100%;
}

.mbh-oportunidades-page{
    overflow:hidden;
}

/* Abas de oportunidades: impede que os botões estourem o card */
.mbh-op-tabs{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    align-items:stretch;
}

.mbh-op-tabs a{
    width:100%;
    min-width:0;
    max-width:100%;
    padding:12px 10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:center;
    line-height:1.15;
}

.mbh-op-tabs a span,
.mbh-tab-badge,
.mbh-tab-count-soft{
    flex:0 0 auto;
    min-width:24px;
    text-align:center;
}

.mbh-op-tabs a.is-active{
    box-shadow:none;
}

/* Filtros sempre dentro do container */
.mbh-op-filtros{
    width:100%;
    overflow:hidden;
}

.mbh-op-filtros select,
.mbh-op-filtros input,
.mbh-op-filtros button,
.mbh-op-filtros .mbh-btn{
    max-width:100%;
}

/* Notificações: abas limpas e sem estouro */
.mbh-tabs-notificacoes{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.mbh-tabs-notificacoes a{
    width:100%;
    min-width:0;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding-left:12px;
    padding-right:12px;
}

/* Botões dentro de cards em mobile */
.mbh-notification-actions .mbh-btn,
.mbh-actions-row .mbh-btn,
.mbh-btn{
    max-width:100%;
}

/* Evita que o suporte flutuante cubra botões importantes em telas pequenas */
@media(max-width:760px){
    .mbh-op-tabs{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        padding:0;
    }

    .mbh-op-tabs a{
        min-height:48px;
        padding:12px 8px;
        border-radius:999px;
    }

    .mbh-tabs-notificacoes{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
    }

    .mbh-tabs-notificacoes a{
        min-height:46px;
        padding:10px 8px;
        font-size:14px;
    }

    .mbh-op-filtros{
        grid-template-columns:1fr!important;
        padding:14px;
        margin-left:0;
        margin-right:0;
    }

    .mbh-op-filtros .mbh-btn,
    .mbh-op-filtros button{
        width:100%;
    }

    .mbh-support-widget{
        right:18px;
        bottom:74px;
    }

    .mbh-main{
        overflow-x:hidden;
    }
}

@media(max-width:380px){
    .mbh-op-tabs a,
    .mbh-tabs-notificacoes a{
        font-size:13px;
        padding-left:6px;
        padding-right:6px;
    }

    .mbh-op-tabs a span,
    .mbh-tab-badge,
    .mbh-tab-count-soft{
        min-width:22px;
        padding-left:6px!important;
        padding-right:6px!important;
        font-size:11px!important;
    }
}

/* Ajustes UX Meu Plano: upgrade, bloqueio e pendentes */
.mbh-plan-current{
    border-color:rgba(22,163,74,.35)!important;
    background:linear-gradient(135deg,#fff,#f0fdf4)!important;
}
.mbh-plan-upgrade{
    border-color:rgba(22,129,229,.38)!important;
    background:linear-gradient(135deg,#fff,#eef7ff)!important;
}
.mbh-plan-upgrade-pendente{
    border-color:rgba(245,158,11,.38)!important;
    background:linear-gradient(135deg,#fff,#fffbeb)!important;
}
.mbh-plan-blocked{
    opacity:.72;
    background:#f8fafc!important;
}
.mbh-plan-blocked .mbh-price{
    color:#64748b!important;
}
.mbh-btn[disabled],
button.mbh-btn[disabled]{
    cursor:not-allowed!important;
    opacity:.7!important;
    transform:none!important;
    box-shadow:none!important;
}


/* Acompanhamento simples do profissional a caminho */
.mbh-tracking-card{border-left:4px solid var(--mbh-blue);}
.mbh-tracking-grid{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:8px;}
.mbh-tracking-grid span{display:inline-flex;align-items:center;gap:4px;}
.mbh-tracking-card--compact{display:block!important;text-align:left!important;}
.mbh-tracking-card--compact .mbh-tracking-title{display:block!important;margin:0 0 8px!important;line-height:1.35!important;}
.mbh-tracking-card--compact .mbh-tracking-details{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;margin:0!important;}
.mbh-tracking-card--compact .mbh-tracking-details>div{display:block!important;width:100%!important;min-width:0!important;line-height:1.45!important;}
.mbh-tracking-card--compact .mbh-tracking-updated{display:block!important;margin-top:8px!important;font-size:12px!important;line-height:1.3!important;opacity:.72!important;}

.mbh-compact-item small{display:block;margin-top:4px;color:var(--mbh-muted);font-style:normal;}

/* Fluxo guiado do serviço - Etapa 1 */
.mbh-status-a_caminho{background:#dbeafe;color:#1d4ed8}
.mbh-status-no_local{background:#e0f2fe;color:#0369a1}
.mbh-service-flow{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 10px}
.mbh-flow-step{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800;background:#f3f4f6;color:#6b7280;border:1px solid #e5e7eb}
.mbh-flow-step.is-done{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.mbh-flow-step.is-current{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe;box-shadow:0 0 0 3px rgba(59,130,246,.10)}
.mbh-status-servico-form{margin-top:10px}
.mbh-status-servico-form .mbh-btn{max-width:100%;white-space:normal;text-align:center}
@media(max-width:560px){.mbh-service-flow{gap:5px}.mbh-flow-step{font-size:11px;padding:5px 8px}.mbh-status-servico-form{display:grid;grid-template-columns:1fr}.mbh-status-servico-form .mbh-btn{width:100%}}

/* Lembrete inteligente de conclusão */
.mbh-conclusion-reminder {
    margin: 14px 0;
}
.mbh-conclusion-reminder p {
    margin: 6px 0 12px;
}
.mbh-reminder-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.mbh-reminder-actions .mbh-inline-form {
    margin: 0;
}
@media (max-width: 520px) {
    .mbh-reminder-actions,
    .mbh-reminder-actions .mbh-inline-form,
    .mbh-reminder-actions .mbh-btn {
        width: 100%;
    }
}


.mbh-confirmacao-cliente .mbh-actions{gap:8px;align-items:stretch}.mbh-confirmacao-cliente .mbh-inline-form{margin:0}.mbh-confirmacao-cliente .mbh-btn{width:100%;white-space:normal;text-align:center}.mbh-confirmacao-cliente p{margin:8px 0 12px}
@media(max-width:600px){.mbh-confirmacao-cliente .mbh-actions{display:grid;grid-template-columns:1fr}.mbh-confirmacao-cliente .mbh-btn{justify-content:center}}

/* v2.0.1 - Perfil do profissional mais limpo */
.mbh-profile-page {
    max-width: 980px;
}
.mbh-profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}
.mbh-profile-summary-card {
    border: 1px solid rgba(8, 76, 104, .10);
    background: linear-gradient(135deg, #fff, #f8fcff);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(9, 19, 23, .045);
}
.mbh-profile-summary-card span,
.mbh-profile-card-kicker,
.mbh-plan-summary-line span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    margin-bottom: 4px;
}
.mbh-profile-summary-card strong {
    display: block;
    color: #084C68;
    font-size: 16px;
    line-height: 1.25;
}
.mbh-profile-location-card,
.mbh-profile-categories-card {
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #f8fbff, #fff);
}
.mbh-profile-location-card .mbh-grid-2,
.mbh-profile-categories-card .mbh-check-grid {
    gap: 12px;
}
.mbh-profile-categories-card .mbh-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 8px;
}
.mbh-profile-categories-card .mbh-check,
.mbh-location-mode .mbh-check {
    min-height: 46px;
    align-items: center;
    line-height: 1.25;
}
.mbh-profile-categories-card input[type="checkbox"],
.mbh-location-mode input[type="radio"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.mbh-identidade-card,
.mbh-plano-resumo-card {
    margin-top: 22px;
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #fbfdff);
}
.mbh-profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.mbh-profile-card-head h3 {
    margin: 0;
    color: #084C68;
    font-size: 26px;
    line-height: 1.15;
}
.mbh-profile-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    margin: 8px 0 8px;
}
.mbh-profile-progress-head span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.mbh-profile-progress-bar {
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 8px 0 14px;
}
.mbh-profile-progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 999px;
}
.mbh-profile-checklist {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}
.mbh-profile-checklist > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(9, 19, 23, .035);
}
.mbh-profile-checklist span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 26px;
}
.mbh-profile-checklist .is-ok span {
    background: #dcfce7;
    color: #166534;
}
.mbh-profile-checklist .is-pending span {
    background: #f1f5f9;
    color: #64748b;
}
.mbh-profile-checklist strong {
    color: #24343b;
    font-size: 15px;
}
.mbh-identity-status-box {
    margin-top: 16px;
    padding: 16px;
}
.mbh-identity-upload-form {
    margin-top: 16px;
}
.mbh-plan-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.mbh-plan-chip.is-active {
    background: #dcfce7;
    color: #166534;
}
.mbh-plan-chip.is-inactive {
    background: #f1f5f9;
    color: #475569;
}
.mbh-plan-summary-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0;
}
.mbh-plan-summary-line > div {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px;
}
.mbh-plan-summary-line strong {
    display: block;
    color: #084C68;
    font-size: 22px;
    line-height: 1.1;
}
@media (max-width: 640px) {
    .mbh-profile-page {
        padding: 20px;
    }
    .mbh-profile-card-head,
    .mbh-profile-progress-head {
        display: grid;
    }
    .mbh-profile-card-head h3 {
        font-size: 23px;
    }
    .mbh-plan-summary-line {
        grid-template-columns: 1fr;
    }
    .mbh-profile-categories-card .mbh-check-grid {
        grid-template-columns: 1fr;
    }
    .mbh-identidade-card,
    .mbh-plano-resumo-card {
        padding: 20px;
    }
}

/* Status Sync - acompanhamento inteligente do pedido no painel do cliente */
.mbh-status-sync{position:relative;transition:opacity .18s ease, transform .18s ease, box-shadow .18s ease}.mbh-status-sync.is-updating{opacity:.72;transform:translateY(1px)}.mbh-status-sync.was-updated{animation:mbhStatusPulse .9s ease-out}.mbh-sync-meta{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:5px 9px;border-radius:999px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:700}.mbh-sync-dot{width:8px;height:8px;border-radius:999px;background:#22c55e;display:inline-block;box-shadow:0 0 0 3px rgba(34,197,94,.14)}.mbh-sync-meta.is-loading .mbh-sync-dot{background:#1681E5;animation:mbhSyncBlink .8s ease-in-out infinite}.mbh-sync-meta.is-loading .mbh-sync-text{color:#1681E5}@keyframes mbhStatusPulse{0%{box-shadow:0 0 0 0 rgba(22,129,229,.25)}100%{box-shadow:0 0 0 12px rgba(22,129,229,0)}}@keyframes mbhSyncBlink{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}

/* Central de Ocorrências */
.mbh-ocorrencia-details{margin-top:8px;width:100%}.mbh-ocorrencia-details>summary{list-style:none;cursor:pointer;display:inline-flex}.mbh-ocorrencia-details>summary::-webkit-details-marker{display:none}.mbh-ocorrencia-form{margin-top:12px;padding:14px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc;display:grid;gap:10px}.mbh-ocorrencia-form label{font-weight:800;color:#24343b}.mbh-ocorrencia-form select,.mbh-ocorrencia-form textarea,.mbh-ocorrencia-form input[type=file]{width:100%;box-sizing:border-box}.mbh-ocorrencia-form textarea{resize:vertical;min-height:92px}.mbh-ocorrencia-list{margin-top:12px;display:grid;gap:10px}.mbh-ocorrencia-mini{padding:12px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12}.mbh-ocorrencia-mini strong{display:block;color:#9a3412;margin-bottom:4px}

/* Ocorrências no painel do cliente */
.mbh-ocorrencia-cliente-box{margin-top:14px;border:1px solid #fed7aa;background:#fff7ed}
.mbh-ocorrencia-cliente-card{margin-top:12px;padding:14px;border-radius:16px;background:#fff;border:1px solid #f3d2ad;box-shadow:0 10px 24px rgba(124,45,18,.06)}
.mbh-ocorrencia-timeline{display:grid;gap:10px;margin:12px 0}
.mbh-ocorrencia-msg{padding:12px;border-radius:14px;border:1px solid #e5e7eb;background:#f8fafc}
.mbh-ocorrencia-msg.is-admin{background:#eff6ff;border-color:#bfdbfe}
.mbh-ocorrencia-msg.is-cliente{background:#f9fafb;border-color:#e5e7eb}
.mbh-ocorrencia-msg-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:6px;color:#0f172a}
.mbh-ocorrencia-msg-head small{color:#64748b;font-size:.82rem}
.mbh-ocorrencia-msg p{margin:0;color:#334155;line-height:1.45}
.mbh-ocorrencia-anexos{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.mbh-ocorrencia-anexos img{width:88px;height:70px;object-fit:cover;border-radius:10px;border:1px solid #e5e7eb;background:#fff}
.mbh-ocorrencia-cliente-resposta{display:grid;gap:10px;margin-top:12px}
.mbh-ocorrencia-cliente-resposta textarea{width:100%;box-sizing:border-box;border-radius:14px;border:1px solid #d1d5db;padding:12px;resize:vertical;min-height:84px}
@media (max-width:640px){.mbh-ocorrencia-msg-head{display:block}.mbh-ocorrencia-anexos img{width:74px;height:58px}}

/* Selo de perfil verificado no painel do profissional */
.mbh-hero-kicker-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.mbh-hero-kicker-row .mbh-kicker{margin-bottom:0}.mbh-verified-pill{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 12px;background:#ecfdf3;border:1px solid #86efac;color:#15803d;font-size:13px;font-weight:900;line-height:1;box-shadow:0 8px 18px rgba(22,163,74,.08)}

/* Selo de profissional verificado nos cards do cliente */
.mbh-profissional-nome-cliente{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.mbh-verified-pill-client{
    border:0;
    cursor:pointer;
    padding:6px 10px;
    font-size:12px;
    box-shadow:none;
}
.mbh-verified-pill-client:hover,
.mbh-verified-pill-client:focus{
    filter:brightness(.98);
    outline:2px solid rgba(22,163,74,.18);
    outline-offset:2px;
}

/* Termo de responsabilidade no cadastro profissional */
.mbh-termo-aceite-box{margin:18px 0;padding:14px;border:1px solid #dbeafe;background:#f8fafc;border-radius:16px}.mbh-termo-check{align-items:flex-start;gap:10px}.mbh-link-button{border:0;background:transparent;padding:0;margin:0;color:#1681E5;font:inherit;font-weight:900;text-decoration:underline;cursor:pointer}.mbh-link-button:hover{color:#084C68}.mbh-termo-modal{display:none;position:fixed;inset:0;z-index:99999}.mbh-termo-modal.is-open{display:block}.mbh-termo-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px)}.mbh-termo-dialog{position:relative;width:min(900px,calc(100% - 28px));max-height:86vh;margin:7vh auto;background:#fff;border-radius:22px;box-shadow:0 26px 70px rgba(15,23,42,.28);overflow:hidden;display:flex;flex-direction:column}.mbh-termo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.mbh-termo-head h3{margin:0;color:#084C68;font-size:20px}.mbh-termo-close{width:36px;height:36px;border:0;border-radius:999px;background:#e5e7eb;color:#0f172a;font-size:26px;line-height:1;cursor:pointer}.mbh-termo-close:hover{background:#d1d5db}.mbh-termo-content{padding:20px 24px;overflow:auto;color:#334155;line-height:1.55}.mbh-termo-content h3{margin:0 0 10px;color:#084C68}.mbh-termo-content h4{margin:18px 0 6px;color:#0f172a;font-size:16px}.mbh-termo-content p{margin:0 0 10px}.mbh-termo-actions{padding:14px 22px;border-top:1px solid #e5e7eb;background:#fff;text-align:right}.mbh-termo-modal-open{overflow:hidden}@media(max-width:640px){.mbh-termo-dialog{width:calc(100% - 18px);max-height:90vh;margin:5vh auto;border-radius:18px}.mbh-termo-head{padding:15px 16px}.mbh-termo-head h3{font-size:18px}.mbh-termo-content{padding:16px;font-size:14px}.mbh-termo-actions{padding:12px 16px}.mbh-termo-actions .mbh-btn{width:100%}}

/* Chat interno MaridoBH */
.mbh-chat-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:14px;margin:14px 0;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.mbh-chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#0f172a}
.mbh-chat-header span{font-size:12px;color:#64748b}
.mbh-chat-security{font-size:12px;color:#475569;background:#eef6ff;border:1px solid #cfe7ff;border-radius:12px;padding:9px 10px;margin:8px 0 12px}
.mbh-chat-messages{max-height:320px;overflow:auto;background:#fff;border-radius:14px;padding:10px;border:1px solid #e5edf8}
.mbh-chat-message{max-width:86%;padding:10px 12px;border-radius:14px;margin:8px 0;word-break:break-word;line-height:1.35}
.mbh-chat-message small{display:block;margin-top:4px;font-size:11px;opacity:.75}
.mbh-chat-message.is-mine{margin-left:auto;background:#2563eb;color:#fff;border-bottom-right-radius:4px}
.mbh-chat-message.is-other{margin-right:auto;background:#f1f5f9;color:#0f172a;border-bottom-left-radius:4px}
.mbh-chat-form{display:flex;gap:8px;margin-top:10px;align-items:flex-end}
.mbh-chat-form textarea{flex:1;min-height:48px;resize:vertical}
.mbh-chat-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.mbh-chat-quick-btn{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:999px;padding:7px 10px;font-size:12px;cursor:pointer}
.mbh-chat-quick-btn:hover{background:#f1f5f9}
.mbh-local-preview{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:10px;color:#334155}
@media(max-width:640px){.mbh-chat-header{align-items:flex-start;flex-direction:column}.mbh-chat-form{display:block}.mbh-chat-form textarea{width:100%;box-sizing:border-box}.mbh-chat-form button{width:100%;margin-top:8px}.mbh-chat-message{max-width:96%}}

/* Central do Atendimento - Fase 2 */
.mbh-chat-timeline{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.mbh-chat-step{display:inline-flex;align-items:center;gap:4px;border:1px solid #dbeafe;background:#fff;color:#475569;border-radius:999px;padding:5px 9px;font-size:11px;line-height:1.2;white-space:nowrap}
.mbh-chat-step.is-active{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:700}
.mbh-chat-message small{white-space:normal}
.mbh-chat-box .mbh-alert strong{display:inline-block;margin-bottom:3px}
.mbh-ocorrencia-form[data-confirm-chat-block="1"] .mbh-field-hint:last-child{display:block;margin-top:8px;color:#64748b}
@media(max-width:640px){
  .mbh-chat-timeline{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .mbh-chat-step{flex:0 0 auto}
}

/* v2.0 - Correção mobile da Central do Atendimento */
.mbh-shell,
.mbh-shell body,
.mbh-shell .mbh-main,
.mbh-shell .mbh-box,
.mbh-shell .mbh-card,
.mbh-shell .mbh-inner-box,
.mbh-chat-box,
.mbh-chat-box *{
    box-sizing:border-box;
}

.mbh-chat-box{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
}

.mbh-chat-header,
.mbh-chat-security,
.mbh-chat-messages,
.mbh-chat-message,
.mbh-chat-alert,
.mbh-chat-box .mbh-alert,
.mbh-local-preview{
    max-width:100%;
    min-width:0;
    overflow-wrap:break-word;
    word-wrap:break-word;
    word-break:normal;
}

.mbh-chat-header strong,
.mbh-chat-header span,
.mbh-chat-security,
.mbh-chat-message,
.mbh-chat-box .mbh-alert,
.mbh-chat-box .mbh-muted{
    white-space:normal;
}

.mbh-chat-timeline{
    max-width:100%;
    min-width:0;
}

.mbh-profissional-nome-cliente{
    max-width:100%;
    min-width:0;
    overflow-wrap:break-word;
    word-break:normal;
}

.mbh-profissional-nome-cliente strong,
.mbh-profissional-nome-cliente .mbh-verified-pill-client{
    flex:0 0 auto;
}

@media(max-width:640px){
    .mbh-inner-box{
        padding:12px!important;
        overflow:hidden;
    }

    .mbh-chat-box{
        margin:12px 0;
        padding:12px;
        border-radius:14px;
    }

    .mbh-chat-header{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
    }

    .mbh-chat-header strong{
        font-size:16px;
        line-height:1.25;
    }

    .mbh-chat-timeline{
        display:flex;
        flex-wrap:wrap;
        overflow-x:visible;
        gap:6px;
        padding-bottom:0;
    }

    .mbh-chat-step{
        flex:0 1 auto;
        max-width:100%;
        white-space:normal;
        font-size:11px;
        padding:5px 8px;
        line-height:1.2;
    }

    .mbh-chat-security,
    .mbh-chat-box .mbh-alert,
    .mbh-chat-messages{
        width:100%;
        font-size:13px;
        line-height:1.45;
    }

    .mbh-chat-messages{
        padding:9px;
        max-height:300px;
    }

    .mbh-chat-message{
        max-width:100%;
        font-size:14px;
    }

    .mbh-chat-form{
        display:grid;
        grid-template-columns:1fr;
        gap:8px;
    }

    .mbh-chat-form textarea,
    .mbh-chat-form button{
        width:100%;
        max-width:100%;
    }

    .mbh-chat-quick{
        display:grid;
        grid-template-columns:1fr;
        gap:6px;
    }

    .mbh-chat-quick-btn{
        width:100%;
        justify-content:center;
        white-space:normal;
        text-align:center;
    }

    .mbh-profissional-nome-cliente{
        display:flex;
        align-items:flex-start;
        gap:6px;
        line-height:1.35;
    }

    .mbh-profissional-nome-cliente .mbh-verified-pill-client{
        padding:5px 8px;
        font-size:11px;
        margin-top:2px;
    }
}

/* Cards de pedido retráteis + mensagens não lidas */
.mbh-service-card{
    overflow:hidden;
}

.mbh-service-card.has-unread-chat{
    border-color:#2f80ed;
    box-shadow:0 10px 28px rgba(47,128,237,.14);
}

.mbh-card-toggle{
    width:100%;
    border:0;
    background:transparent;
    padding:0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    text-align:left;
    cursor:pointer;
    color:inherit;
    font:inherit;
}

.mbh-card-toggle:focus-visible{
    outline:2px solid #2f80ed;
    outline-offset:4px;
    border-radius:12px;
}

.mbh-card-title-wrap{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
    flex:1 1 auto;
}

.mbh-card-title-wrap strong{
    overflow-wrap:anywhere;
    line-height:1.25;
}

.mbh-card-subtitle{
    color:#64748b;
    font-size:13px;
    line-height:1.35;
}

.mbh-card-badges{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:6px;
    flex:0 1 auto;
    min-width:0;
}

.mbh-chat-unread-badge,
.mbh-mini-badge,
.mbh-toggle-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:5px 9px;
    font-size:12px;
    font-weight:700;
    line-height:1.1;
    white-space:nowrap;
}

.mbh-chat-unread-badge{
    background:#2f80ed;
    color:#fff;
    box-shadow:0 4px 12px rgba(47,128,237,.24);
}

.mbh-mini-badge{
    background:#eef2ff;
    color:#334155;
}

.mbh-mini-badge-warning{
    background:#fff7ed;
    color:#9a3412;
}

.mbh-toggle-label{
    background:#f1f5f9;
    color:#475569;
    font-weight:600;
}

.mbh-toggle-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border-radius:999px;
    background:#f8fafc;
    color:#475569;
    font-size:17px;
    line-height:1;
    transition:transform .2s ease;
}

.mbh-service-card.is-open .mbh-toggle-icon{
    transform:rotate(180deg);
}

.mbh-service-card-body{
    margin-top:12px;
    overflow:hidden;
    transition:max-height .26s ease, opacity .2s ease, margin-top .2s ease;
}

.mbh-service-card.is-collapsed .mbh-service-card-body{
    max-height:0!important;
    opacity:0;
    margin-top:0;
    pointer-events:none;
}

.mbh-service-card.is-open .mbh-service-card-body{
    max-height:5000px;
    opacity:1;
}

@media(max-width:640px){
    .mbh-card-toggle{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }

    .mbh-card-badges{
        justify-content:flex-start;
        gap:5px;
    }

    .mbh-card-subtitle{
        font-size:12px;
    }

    .mbh-chat-unread-badge,
    .mbh-mini-badge,
    .mbh-toggle-label{
        font-size:11px;
        padding:5px 8px;
    }

    .mbh-toggle-icon{
        width:24px;
        height:24px;
    }
}

/* Central de Atendimento Fase 3 */
.mbh-chat-quick-btn {
    touch-action: manipulation;
}
.mbh-chat-quick::before {
    content: 'Mensagens rápidas';
    display: block;
    flex-basis: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

/* Central de Atendimento Fase 4: fotos e anexos */
.mbh-chat-upload-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.mbh-chat-file-label{display:inline-flex;align-items:center;gap:6px;border:1px dashed #93c5fd;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer}
.mbh-chat-file-label input{display:none}
.mbh-chat-upload-row select{height:36px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;font-size:12px;padding:0 8px;max-width:100%}
.mbh-chat-attachment{display:block;margin-top:8px;text-decoration:none!important;color:inherit;max-width:100%}
.mbh-chat-image img{display:block;max-width:220px;width:100%;height:auto;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#fff}
.mbh-chat-image span,.mbh-chat-file span{display:block;margin-top:4px;font-size:11px;opacity:.8}
.mbh-chat-file{border:1px solid rgba(15,23,42,.12);background:rgba(255,255,255,.72);border-radius:12px;padding:9px 10px;font-size:13px;word-break:break-word}
.mbh-chat-gallery-hint{font-size:12px;color:#64748b;margin-top:6px}
@media(max-width:640px){
  .mbh-chat-upload-row{display:block}
  .mbh-chat-upload-row select,.mbh-chat-file-label{width:100%;box-sizing:border-box;margin-top:6px;justify-content:center}
  .mbh-chat-image img{max-width:100%}
}

/* Central de Atendimento - ajustes de upload no chat */
.mbh-chat-file-status{
    display:inline-flex;
    align-items:center;
    max-width:100%;
    margin-left:6px;
    font-size:12px;
    line-height:1.25;
    color:#64748b;
    word-break:break-word;
}
.mbh-chat-file-status.is-ok{
    color:#15803d;
    font-weight:700;
}
.mbh-chat-file-status.is-error{
    color:#b91c1c;
    font-weight:700;
}
.mbh-chat-upload-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}
@media(max-width:640px){
    .mbh-chat-upload-row{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }
    .mbh-chat-file-status{
        margin-left:0;
        font-size:12px;
    }
    .mbh-chat-upload-row select,
    .mbh-chat-file-label{
        width:100%;
        box-sizing:border-box;
    }
}

/* Central do Atendimento em modal */
.mbh-chat-modal-entry{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.mbh-chat-open-btn{position:relative;display:inline-flex!important;align-items:center;gap:6px;justify-content:center}
.mbh-chat-btn-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#fff;color:#1d4ed8;font-size:11px;font-weight:800;line-height:1}
.mbh-chat-inline-unread{margin-left:2px}
.mbh-chat-modal{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.mbh-chat-modal.is-open{display:flex}
.mbh-chat-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(2px)}
.mbh-chat-modal-panel{position:relative;z-index:1;width:min(980px,100%);height:min(86vh,760px);background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(15,23,42,.32);overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.35)}
.mbh-chat-modal-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:linear-gradient(135deg,#0f5fd7,#2563eb);color:#fff;flex:0 0 auto}
.mbh-chat-modal-topbar strong{display:block;font-size:16px;line-height:1.2}
.mbh-chat-modal-topbar span{display:block;font-size:12px;opacity:.88;margin-top:2px}
.mbh-chat-modal-close{width:36px;height:36px;border:0;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.mbh-chat-modal-close:hover{background:rgba(255,255,255,.24)}
.mbh-chat-modal-content{flex:1;min-height:0;overflow:auto;background:#f8fafc;padding:14px;box-sizing:border-box}
.mbh-chat-modal .mbh-chat-box{margin:0;min-height:100%;display:flex;flex-direction:column;box-shadow:none;border-radius:16px;background:#fff}
.mbh-chat-modal .mbh-chat-messages{max-height:none;flex:1;min-height:220px;overflow:auto}
.mbh-chat-modal .mbh-chat-form{position:sticky;bottom:0;background:#fff;padding-top:10px;border-top:1px solid #e5edf8;z-index:2}
.mbh-chat-modal-open{overflow:hidden!important}
@media(max-width:760px){
  .mbh-chat-modal{padding:8px;align-items:stretch;justify-content:stretch}
  .mbh-chat-modal-panel{width:100%;height:calc(100dvh - 16px);max-height:none;border-radius:18px}
  .mbh-chat-modal-topbar{padding:12px 14px}
  .mbh-chat-modal-content{padding:8px}
  .mbh-chat-modal .mbh-chat-box{border-radius:14px;padding:10px}
  .mbh-chat-modal .mbh-chat-header{display:none}
  .mbh-chat-modal .mbh-chat-security{font-size:11px;padding:8px;margin:6px 0 8px}
  .mbh-chat-modal .mbh-chat-messages{min-height:calc(100dvh - 360px)}
  .mbh-chat-modal .mbh-chat-form{display:flex;flex-direction:column;gap:8px;margin-top:8px}
  .mbh-chat-modal .mbh-chat-form textarea{width:100%;min-height:58px;max-height:110px;resize:vertical;box-sizing:border-box}
  .mbh-chat-modal .mbh-chat-form button{width:100%;margin-top:0}
}

/* v2.0 - Ajustes do modal da Central do Atendimento: tela cheia mobile, topo suave e digitação maior */
.mbh-chat-modal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483000!important;
    padding:16px!important;
    align-items:center!important;
    justify-content:center!important;
}
.mbh-chat-modal.is-open{display:flex!important}
.mbh-chat-modal-backdrop{position:fixed!important;inset:0!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(3px)}
.mbh-chat-modal-panel{
    width:min(980px,calc(100vw - 28px))!important;
    height:min(92vh,820px)!important;
    max-height:92vh!important;
    border-radius:22px!important;
    display:flex!important;
    flex-direction:column!important;
}
.mbh-chat-modal-topbar{
    background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;
    color:#0f172a!important;
    border-bottom:1px solid #bfdbfe!important;
    padding:14px 18px!important;
}
.mbh-chat-modal-topbar strong{color:#0f172a!important;font-size:18px!important;font-weight:900!important}
.mbh-chat-modal-topbar span{color:#2563eb!important;opacity:1!important;font-weight:700!important;font-size:13px!important}
.mbh-chat-modal-close{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:999px!important;
    background:#2563eb!important;
    color:#fff!important;
    font-size:30px!important;
    line-height:1!important;
    box-shadow:0 8px 20px rgba(37,99,235,.22)!important;
    touch-action:manipulation;
}
.mbh-chat-modal-close:hover,.mbh-chat-modal-close:focus{background:#1d4ed8!important;outline:2px solid rgba(37,99,235,.2)}
.mbh-chat-modal-content{flex:1!important;min-height:0!important;overflow:auto!important;padding:12px!important;background:#f8fafc!important}
.mbh-chat-modal .mbh-chat-box{min-height:100%!important;display:flex!important;flex-direction:column!important;padding:14px!important;overflow:hidden!important}
.mbh-chat-modal .mbh-chat-messages{flex:1 1 auto!important;min-height:260px!important;max-height:none!important;overflow:auto!important}
.mbh-chat-modal .mbh-chat-form{flex:0 0 auto!important;position:sticky!important;bottom:0!important;background:#fff!important;padding:12px 0 0!important;border-top:1px solid #e5edf8!important;z-index:3!important}
.mbh-chat-modal .mbh-chat-form textarea{min-height:74px!important;font-size:16px!important;line-height:1.45!important;border-radius:14px!important}

@media(max-width:760px){
    .mbh-chat-modal{
        padding:0!important;
        align-items:stretch!important;
        justify-content:stretch!important;
    }
    .mbh-chat-modal-panel{
        width:100vw!important;
        height:100dvh!important;
        max-height:100dvh!important;
        border-radius:0!important;
        border:0!important;
    }
    .mbh-chat-modal-topbar{
        padding:13px 14px!important;
        min-height:64px!important;
    }
    .mbh-chat-modal-topbar strong{font-size:17px!important}
    .mbh-chat-modal-topbar span{font-size:13px!important;color:#1d4ed8!important}
    .mbh-chat-modal-close{
        width:44px!important;
        height:44px!important;
        min-width:44px!important;
        font-size:32px!important;
    }
    .mbh-chat-modal-content{padding:8px!important}
    .mbh-chat-modal .mbh-chat-box{border-radius:16px!important;padding:10px!important}
    .mbh-chat-modal .mbh-chat-header{display:none!important}
    .mbh-chat-modal .mbh-chat-timeline{
        display:flex!important;
        flex-wrap:nowrap!important;
        overflow-x:auto!important;
        padding-bottom:4px!important;
        margin:2px 0 8px!important;
        -webkit-overflow-scrolling:touch;
    }
    .mbh-chat-modal .mbh-chat-step{flex:0 0 auto!important;font-size:11px!important;white-space:nowrap!important}
    .mbh-chat-modal .mbh-chat-security{font-size:12px!important;line-height:1.35!important;margin:6px 0 8px!important;padding:8px 10px!important}
    .mbh-chat-modal .mbh-chat-messages{
        min-height:calc(100dvh - 305px)!important;
        padding:10px!important;
    }
    .mbh-chat-modal .mbh-chat-form{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:8px!important;
        margin-top:8px!important;
        padding-top:10px!important;
    }
    .mbh-chat-modal .mbh-chat-form textarea{
        min-height:88px!important;
        max-height:150px!important;
        width:100%!important;
        resize:vertical!important;
        box-sizing:border-box!important;
    }
    .mbh-chat-modal .mbh-chat-upload-row{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important}
    .mbh-chat-modal .mbh-chat-form button{width:100%!important;min-height:46px!important;margin-top:0!important}
}

/* MaridoBH - Atendimento Inteligente */
.mbh-attendance-assistant{border:1px solid #dbeafe;background:linear-gradient(180deg,#ffffff,#f8fbff);border-radius:18px;padding:14px;margin:14px 0;box-shadow:0 10px 28px rgba(15,23,42,.06);overflow:hidden}
.mbh-attendance-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.mbh-attendance-assistant-head strong{display:block;font-size:17px;color:#0f172a;font-weight:900;line-height:1.2}
.mbh-attendance-assistant-head span{display:block;color:#64748b;font-size:13px;margin-top:3px;font-weight:700}
.mbh-attendance-sla{display:flex;flex-direction:column;align-items:flex-end;gap:2px;border-radius:14px;padding:8px 10px;min-width:118px;border:1px solid #e2e8f0;background:#fff}
.mbh-attendance-sla span{font-size:11px!important;margin:0!important;text-transform:uppercase;letter-spacing:.02em;color:#64748b}
.mbh-attendance-sla strong{font-size:15px!important;color:#0f172a!important;white-space:nowrap}
.mbh-attendance-sla.is-ok{border-color:#bbf7d0;background:#f0fdf4}.mbh-attendance-sla.is-ok strong{color:#166534!important}
.mbh-attendance-sla.is-warning{border-color:#fde68a;background:#fffbeb}.mbh-attendance-sla.is-warning strong{color:#92400e!important}
.mbh-attendance-sla.is-late{border-color:#fecaca;background:#fef2f2}.mbh-attendance-sla.is-late strong{color:#991b1b!important}
.mbh-attendance-timeline{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:4px 0 10px;margin:4px 0 10px;align-items:center}
.mbh-attendance-step{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;border:1px solid #e5e7eb;background:#f8fafc;color:#64748b;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.mbh-attendance-step.is-done{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.mbh-attendance-step.is-current{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.mbh-attendance-dot{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#fff;border:1px solid currentColor;font-size:11px;line-height:1}
.mbh-next-action-card{border-radius:18px;padding:14px;background:#eff6ff;border:1px solid #bfdbfe;margin-top:10px}
.mbh-next-action-card>span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#2563eb;margin-bottom:4px}
.mbh-next-action-card p{margin:0 0 12px;color:#475569;font-size:14px;line-height:1.35}
.mbh-next-action-card .mbh-next-action-form{display:block;margin:0;width:100%}
.mbh-next-action-card .mbh-next-action-btn{width:100%;font-size:18px!important;font-weight:900!important;min-height:54px;border-radius:16px!important;box-shadow:0 10px 20px rgba(37,99,235,.18)}
.mbh-next-action-card.is-arrive{background:#ecfdf5;border-color:#bbf7d0}.mbh-next-action-card.is-arrive>span{color:#15803d}.mbh-next-action-card.is-arrive .mbh-next-action-btn{background:#16a34a!important}
.mbh-next-action-card.is-work{background:#fff7ed;border-color:#fed7aa}.mbh-next-action-card.is-work>span{color:#c2410c}.mbh-next-action-card.is-work .mbh-next-action-btn{background:#f97316!important}
.mbh-next-action-card.is-finish{background:#f0fdf4;border-color:#86efac}.mbh-next-action-card.is-finish>span{color:#166534}.mbh-next-action-card.is-finish .mbh-next-action-btn{background:#15803d!important}
.mbh-attendance-final-wait{margin-top:10px!important}
.mbh-chat-modal .mbh-attendance-timeline{margin:2px 0 8px;padding-bottom:8px}.mbh-chat-modal .mbh-attendance-step{font-size:11px;padding:6px 9px}
@media(max-width:560px){.mbh-attendance-assistant{padding:12px;border-radius:16px}.mbh-attendance-assistant-head{display:grid;grid-template-columns:1fr;gap:8px}.mbh-attendance-sla{align-items:flex-start;width:100%;box-sizing:border-box}.mbh-attendance-step{font-size:11px;padding:6px 9px}.mbh-next-action-card .mbh-next-action-btn{font-size:17px!important;min-height:52px}.mbh-attendance-timeline{margin-left:-2px;margin-right:-2px}}

/* Central do Atendimento - simplificação final: conversa + atendimento */
.mbh-chat-modal-tabs{
    display:flex;
    gap:8px;
    padding:10px 14px;
    background:#f8fafc;
    border-bottom:1px solid #e2e8f0;
}
.mbh-chat-modal-tabs button{
    flex:1 1 0;
    border:1px solid #dbeafe;
    background:#fff;
    color:#334155;
    border-radius:999px;
    padding:9px 12px;
    font-weight:700;
    cursor:pointer;
}
.mbh-chat-modal-tabs button.is-active{
    background:#eaf3ff;
    color:#1d4ed8;
    border-color:#93c5fd;
}
.mbh-chat-tab-panel{display:none;min-height:0;height:100%;}
.mbh-chat-tab-panel.is-active{display:flex;flex-direction:column;min-height:0;height:100%;}
.mbh-chat-conversation-only{
    display:flex;
    flex-direction:column;
    height:100%;
    min-height:0;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
}
.mbh-chat-statusbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 12px;
    background:#f8fafc;
    border-bottom:1px solid #e2e8f0;
    color:#334155;
    font-size:13px;
}
.mbh-chat-statusbar span{font-weight:800;}
.mbh-chat-statusbar small{color:#64748b;font-weight:700;}
.mbh-chat-conversation-only .mbh-chat-security{
    margin:8px 12px;
    padding:8px 10px;
    font-size:12px;
    border-radius:10px;
}
.mbh-chat-conversation-only .mbh-chat-alert{margin:8px 12px;}
.mbh-chat-conversation-only .mbh-chat-messages{
    flex:1 1 auto;
    min-height:0;
    max-height:none!important;
    overflow:auto;
    padding:12px;
    background:#f8fafc;
}
.mbh-chat-conversation-only .mbh-chat-form{
    flex:0 0 auto;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:8px;
    align-items:end;
    padding:10px;
    border-top:1px solid #e2e8f0;
    background:#fff;
    margin:0;
}
.mbh-chat-conversation-only .mbh-chat-form textarea{
    grid-column:2;
    min-height:54px;
    max-height:120px;
    resize:vertical;
    border-radius:16px;
}
.mbh-chat-conversation-only .mbh-chat-upload-row{
    grid-column:1;
    grid-row:1;
    margin:0;
    align-self:center;
}
.mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{
    grid-column:3;
    grid-row:1;
    align-self:center;
    min-height:44px;
    border-radius:999px;
}
.mbh-chat-plus{
    width:42px;
    height:42px;
    border-radius:50%!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    padding:0!important;
    font-size:20px!important;
    overflow:hidden;
}
.mbh-chat-file-status{
    display:block;
    position:absolute;
    left:10px;
    bottom:56px;
    max-width:250px;
    background:#0f172a;
    color:#fff;
    padding:5px 8px;
    border-radius:8px;
    font-size:11px;
    opacity:.92;
}
.mbh-chat-file-status:empty{display:none;}
.mbh-chat-day-separator{
    display:flex;
    justify-content:center;
    margin:10px 0;
}
.mbh-chat-day-separator span{
    background:#e2e8f0;
    color:#475569;
    border-radius:999px;
    padding:4px 10px;
    font-size:11px;
    font-weight:800;
}
.mbh-chat-message.is-system{
    margin:10px auto;
    max-width:86%;
    text-align:center;
    background:#eef6ff;
    color:#1e3a8a;
    border:1px solid #bfdbfe;
    border-radius:14px;
    font-size:13px;
    box-shadow:none;
}
.mbh-chat-message.is-system small{color:#64748b;justify-content:center;}
.mbh-chat-attachment span{font-weight:700;}
.mbh-chat-attendance-panel{
    padding:14px;
    overflow:auto;
    height:100%;
    background:#fff;
}
.mbh-chat-attendance-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:14px;
}
.mbh-chat-attendance-grid>div{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:12px;
    padding:10px;
    min-width:0;
}
.mbh-chat-attendance-grid strong{
    display:block;
    font-size:11px;
    color:#64748b;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:4px;
}
.mbh-chat-attendance-grid span{
    display:block;
    color:#0f172a;
    font-weight:700;
    overflow-wrap:anywhere;
}
.mbh-chat-attendance-wide{grid-column:1/-1;}
.mbh-chat-attendance-panel h4{margin:12px 0 8px;}
@media(max-width:760px){
    .mbh-chat-modal-tabs{padding:8px 10px;}
    .mbh-chat-modal-tabs button{padding:8px 10px;font-size:13px;}
    .mbh-chat-conversation-only .mbh-chat-form{grid-template-columns:auto 1fr auto;padding:8px;gap:6px;}
    .mbh-chat-conversation-only .mbh-chat-form textarea{min-height:50px;font-size:14px;}
    .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{padding-left:12px;padding-right:12px;}
    .mbh-chat-plus{width:40px;height:40px;}
    .mbh-chat-attendance-grid{grid-template-columns:1fr;}
}
/* Overrides finais para a Central do Atendimento simplificada */
.mbh-chat-modal .mbh-chat-tab-panel{display:none!important;min-height:0!important;height:100%!important;}
.mbh-chat-modal .mbh-chat-tab-panel.is-active{display:flex!important;flex-direction:column!important;}
.mbh-chat-modal .mbh-chat-conversation-only{padding:0!important;border:0!important;border-radius:0!important;min-height:0!important;height:100%!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{min-height:0!important;flex:1 1 auto!important;max-height:none!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px!important;align-items:center!important;margin:0!important;padding:10px!important;position:relative!important;bottom:auto!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form textarea{grid-column:2!important;grid-row:1!important;min-height:54px!important;max-height:120px!important;width:100%!important;margin:0!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-upload-row{grid-column:1!important;grid-row:1!important;display:block!important;width:auto!important;margin:0!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{grid-column:3!important;grid-row:1!important;width:auto!important;min-height:44px!important;margin:0!important;}
@media(max-width:760px){
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form{grid-template-columns:auto 1fr auto!important;padding:8px!important;gap:6px!important;}
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form textarea{min-height:50px!important;font-size:14px!important;}
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{width:auto!important;min-width:72px!important;padding:0 12px!important;}
}

/* MaridoBH Branding 3.0 */
.mbh-logo{display:inline-flex;align-items:center;text-decoration:none;min-width:0}.mbh-logo .mbh-brand-logo{height:82px;max-width:310px;width:auto;display:block;object-fit:contain}.mbh-brand-block{display:flex;align-items:center}.mbh-brand-logo{max-width:100%;height:auto}.mbh-login-card .mbh-brand-block,.mbh-box .mbh-brand-block{margin-bottom:18px}.mbh-clean-template .mbh-site-header .mbh-logo{flex-shrink:0}@media(max-width:768px){.mbh-logo .mbh-brand-logo{height:72px;max-width:260px}.mbh-site-header-inner{gap:12px}}@media(max-width:420px){.mbh-logo .mbh-brand-logo{height:64px;max-width:230px}}

/* Central do Atendimento — Galeria da conversa */
.mbh-chat-gallery-panel{
    padding:14px;
    height:100%;
    overflow:auto;
    background:#f8fafc;
}
.mbh-chat-gallery-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}
.mbh-chat-gallery-head strong{
    display:block;
    font-size:18px;
    color:#0f172a;
}
.mbh-chat-gallery-head span{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-top:3px;
}
.mbh-chat-gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(135px,1fr));
    gap:12px;
}
.mbh-chat-gallery-item{
    display:block;
    border:1px solid #e2e8f0;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    text-decoration:none;
    color:#0f172a;
    box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.mbh-chat-gallery-item img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
    background:#e2e8f0;
}
.mbh-chat-gallery-item span,
.mbh-chat-gallery-item small{
    display:block;
    padding:0 10px;
}
.mbh-chat-gallery-item span{
    padding-top:9px;
    font-weight:800;
    font-size:13px;
}
.mbh-chat-gallery-item small{
    padding-top:2px;
    padding-bottom:10px;
    color:#64748b;
    font-size:11px;
}
.mbh-chat-gallery-empty{
    padding:22px;
    border:1px dashed #cbd5e1;
    border-radius:18px;
    background:#fff;
    color:#64748b;
}
.mbh-chat-gallery-empty strong{
    display:block;
    color:#0f172a;
    margin-bottom:6px;
}
.mbh-chat-gallery-empty p{margin:0;}
@media(max-width:760px){
    .mbh-chat-gallery-panel{padding:10px;}
    .mbh-chat-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .mbh-chat-gallery-head strong{font-size:16px;}
}

/* Central de Suporte / Chamados */
.mbh-support-option{width:100%;border:0;background:#fff;text-align:left;cursor:pointer;font:inherit}
.mbh-support-modal[hidden]{display:none!important}.mbh-support-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center}.mbh-support-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}.mbh-support-modal-panel{position:relative;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.28);width:min(760px,94vw);max-height:92vh;overflow:hidden;display:flex;flex-direction:column}.mbh-support-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-bottom:1px solid #bfdbfe}.mbh-support-modal-head strong{display:block;color:#0f172a;font-size:18px}.mbh-support-modal-head span{display:block;color:#475569;font-size:13px;margin-top:2px}.mbh-support-modal-close{border:0;background:#fff;color:#0f172a;border-radius:999px;width:38px;height:38px;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.12)}.mbh-support-modal-body{padding:16px;overflow:auto}.mbh-support-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.mbh-support-tabs button{border:1px solid #dbeafe;background:#f8fafc;border-radius:999px;padding:9px 13px;cursor:pointer;font-weight:700;color:#334155}.mbh-support-tabs button.is-active{background:#2563eb;color:#fff;border-color:#2563eb}.mbh-support-tab-panel{display:none}.mbh-support-tab-panel.is-active{display:block}.mbh-support-form label{display:block;font-weight:700;margin:12px 0 6px;color:#334155}.mbh-support-form input,.mbh-support-form select,.mbh-support-form textarea,.mbh-support-reply-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:14px;padding:12px;font-size:15px;background:#fff}.mbh-support-form textarea,.mbh-support-reply-form textarea{resize:vertical}.mbh-support-form-actions{margin-top:14px}.mbh-support-ticket-list{display:grid;gap:10px}.mbh-support-ticket{width:100%;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px;cursor:pointer}.mbh-support-ticket strong{display:block;color:#0f172a}.mbh-support-ticket span{display:block;color:#2563eb;margin-top:2px}.mbh-support-ticket small{display:block;color:#64748b;margin-top:5px}.mbh-support-ticket-head{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;margin-bottom:12px}.mbh-support-ticket-head strong,.mbh-support-ticket-head span,.mbh-support-ticket-head small{display:block}.mbh-support-messages{display:flex;flex-direction:column;gap:10px;margin:10px 0}.mbh-support-message{max-width:86%;border-radius:16px;padding:10px 12px;border:1px solid #e2e8f0;background:#f8fafc}.mbh-support-message.is-admin{align-self:flex-start;background:#eff6ff;border-color:#bfdbfe}.mbh-support-message.is-user{align-self:flex-end;background:#ecfdf5;border-color:#bbf7d0}.mbh-support-message p{margin:5px 0}.mbh-support-message small{color:#64748b}.mbh-support-reply-form{display:grid;gap:10px;margin-top:12px}.mbh-support-context{margin-bottom:12px}.mbh-modal-open{overflow:hidden}
@media(max-width:640px){.mbh-support-modal{align-items:flex-end}.mbh-support-modal-panel{width:100vw;max-width:100vw;height:94vh;max-height:94vh;border-radius:22px 22px 0 0}.mbh-support-modal-body{padding:12px}.mbh-support-message{max-width:94%}.mbh-support-tabs button{flex:1;white-space:nowrap}.mbh-support-toggle .mbh-support-label{font-size:13px}}

/* Release 3.1.2 - UX compacta e prioridade visual */
.mbh-chat-modal-entry-hidden{display:none!important;}
.mbh-support-inline-link{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#2563eb;font-weight:800;padding:6px 0;margin:8px 0 0;cursor:pointer;text-decoration:none;font-size:14px;}
.mbh-support-inline-link:hover,.mbh-support-inline-link:focus{text-decoration:underline;color:#1d4ed8;outline:none;}
.mbh-support-open-badge{display:inline-flex;margin:8px 8px 0 0;}
.mbh-support-pedido-select{margin-top:10px;padding:10px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff;}
.mbh-support-pedido-select[hidden]{display:none!important;}
.mbh-support-pedido-select small{display:block;margin-top:6px;}
.mbh-dashboard-side .mbh-panel-card{padding:18px!important;}
.mbh-panel-card h3,.mbh-card h3{line-height:1.2;}
@media(max-width:640px){
  .mbh-dashboard-side .mbh-panel-card{padding:16px!important;margin-bottom:14px!important;}
  .mbh-dashboard-side .mbh-plan-card h3{font-size:26px!important;margin-bottom:12px!important;}
  .mbh-side-actions a{padding:10px 12px!important;}
  .mbh-service-card .mbh-inner-box{padding:14px!important;margin:10px 0!important;}
  .mbh-service-card .mbh-btn{min-height:40px!important;}
  .mbh-card-badges{gap:6px!important;}
}

/* v3.1.4 - Localização Precisa do profissional */
.mbh-precision-card{
    border:1px solid rgba(37,99,235,.16);
    background:linear-gradient(135deg,#f8fbff 0%,#ffffff 100%);
}
.mbh-precision-card.is-active{
    border-color:rgba(34,197,94,.26);
    background:linear-gradient(135deg,rgba(34,197,94,.08),#ffffff 72%);
}
.mbh-precision-card.is-inactive{
    border-color:rgba(100,116,139,.18);
}
.mbh-precision-card .mbh-panel-title-row{
    align-items:flex-start;
    gap:12px;
}
.mbh-precision-card .mbh-toggle-precision-location{
    white-space:nowrap;
}
.mbh-location-quality{
    display:inline-flex;
    align-items:center;
    gap:4px;
}
.mbh-location-quality.is-excelente{color:#15803d;}
.mbh-location-quality.is-boa{color:#b45309;}
.mbh-location-quality.is-desatualizada{color:#b91c1c;}
@media(max-width:640px){
    .mbh-precision-card .mbh-panel-title-row{display:block;}
    .mbh-precision-card .mbh-toggle-precision-location{width:100%;margin-top:10px;}
}


/* v3.6.2 - Correção cards + chat + largura mobile */
.mbh-service-list{
    grid-template-columns:1fr!important;
    gap:16px!important;
    align-items:stretch;
}
.mbh-service-list .mbh-service-card{
    width:100%;
    box-sizing:border-box;
}
.mbh-chat-modal-entry{
    display:flex!important;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin:12px 0 10px;
}
.mbh-chat-open-btn{
    box-shadow:0 10px 22px rgba(22,129,229,.18)!important;
}
.mbh-chat-btn-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:#fff;
    color:#2563eb;
    font-size:12px;
    font-weight:900;
}
@media(max-width:760px){
    .mbh-main:has(.mbh-service-list){
        padding-left:8px!important;
        padding-right:8px!important;
    }
    .mbh-service-list{
        margin-left:0!important;
        margin-right:0!important;
        gap:14px!important;
    }
    .mbh-service-list .mbh-service-card{
        padding:16px!important;
        border-radius:18px!important;
    }
    .mbh-service-list .mbh-card-toggle{
        gap:7px!important;
    }
    .mbh-service-list .mbh-card-title-wrap strong{
        font-size:18px!important;
        line-height:1.22!important;
    }
    .mbh-service-list .mbh-card-subtitle{
        font-size:13px!important;
    }
    .mbh-service-list .mbh-card-badges{
        width:100%;
        justify-content:flex-start!important;
    }
    .mbh-service-list .mbh-status,
    .mbh-service-list .mbh-mini-badge,
    .mbh-service-list .mbh-toggle-label,
    .mbh-service-list .mbh-chat-unread-badge{
        font-size:12px!important;
        padding:6px 9px!important;
    }
    .mbh-service-list .mbh-inner-box{
        padding:13px!important;
    }
    .mbh-chat-modal-entry .mbh-btn{
        width:100%;
        min-height:44px!important;
    }
}

/* 3.6.4 - Ocorrência em modal: evita formulário espremido dentro do card no mobile */
.mbh-ocorrencia-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.mbh-ocorrencia-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:flex-end;justify-content:center;padding:18px;box-sizing:border-box}
.mbh-ocorrencia-modal.is-open{display:flex}
.mbh-ocorrencia-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(3px)}
.mbh-ocorrencia-modal-panel{position:relative;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border:1px solid #dbeafe;border-radius:24px;box-shadow:0 28px 80px rgba(15,23,42,.28);padding:0;box-sizing:border-box}
.mbh-ocorrencia-modal-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#eff6ff,#ffffff);border-bottom:1px solid #dbeafe}
.mbh-ocorrencia-modal-head strong{display:block;font-size:1.1rem;color:#0f172a;line-height:1.2}.mbh-ocorrencia-modal-head small{display:block;color:#2563eb;font-weight:800;margin-top:2px}.mbh-ocorrencia-modal-close{width:42px;height:42px;border:0;border-radius:999px;background:#fff;color:#0f172a;font-size:30px;line-height:1;box-shadow:0 8px 24px rgba(15,23,42,.12);cursor:pointer}.mbh-ocorrencia-form-modal{margin:0;border:0;border-radius:0;background:#fff;padding:18px;display:grid;gap:12px}.mbh-ocorrencia-form-modal select,.mbh-ocorrencia-form-modal textarea,.mbh-ocorrencia-form-modal input[type=file]{font-size:16px;min-height:46px;border-radius:14px;border:1px solid #cbd5e1;padding:10px 12px;background:#fff;max-width:100%}.mbh-ocorrencia-form-modal textarea{min-height:126px;line-height:1.45}.mbh-ocorrencia-modal-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.mbh-ocorrencia-modal-actions .mbh-btn{flex:1 1 160px;justify-content:center;text-align:center}.mbh-modal-lock{overflow:hidden!important}
@media (min-width:720px){.mbh-ocorrencia-modal{align-items:center}.mbh-ocorrencia-modal-panel{max-height:86vh}}
@media (max-width:640px){.mbh-ocorrencia-modal{padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));align-items:flex-end}.mbh-ocorrencia-modal-panel{width:100%;max-height:calc(100vh - 20px);border-radius:22px 22px 18px 18px}.mbh-ocorrencia-form-modal{padding:16px}.mbh-ocorrencia-modal-head{padding:14px 16px}.mbh-ocorrencia-open{width:auto;max-width:100%;white-space:normal}}


/* v3.6.6 - Chamado vinculado ao pedido: formulário simplificado */
.mbh-support-modal.is-pedido-context .mbh-support-categoria-field,
.mbh-support-modal.is-pedido-context .mbh-support-assunto-field{display:none!important;}
.mbh-support-modal.is-pedido-context .mbh-support-context{font-weight:700;line-height:1.45;}
.mbh-support-modal.is-pedido-context .mbh-support-form textarea{min-height:150px;}

/* 3.6.9 - Sincronização silenciosa do chat e chamado */
.mbh-chat-sync-meta,.mbh-ocorrencia-sync-meta{display:none;font-size:11px;color:#64748b;text-align:right;margin:5px 4px 0;min-height:16px}
.mbh-chat-sync-meta.is-error,.mbh-ocorrencia-sync-meta.is-error{display:block;color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:6px 8px;text-align:left}
.mbh-chat-box.was-updated .mbh-chat-messages,.mbh-ocorrencia-cliente-card.was-updated .mbh-ocorrencia-timeline{box-shadow:0 0 0 2px rgba(37,99,235,.12) inset}

/* 3.7.1 - Chamados simplificados e sinalizadores de mensagem */
.mbh-support-status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 9px;font-weight:800;font-size:12px;line-height:1.2;vertical-align:middle}
.mbh-support-status-pill.is-open{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.mbh-support-status-pill.is-resolved{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
.mbh-support-ticket-notice{display:block;margin-top:7px;font-style:normal;font-weight:800;color:#2563eb;font-size:13px}
.mbh-support-ticket .mbh-support-ticket-notice{color:#2563eb}
.mbh-support-ticket-head .mbh-support-ticket-notice{margin-top:8px}

/* MaridoBH 4.0.30 - Modal limpo para ajuste do atendimento */
.mbh-alert.mbh-attendance-final-wait{box-sizing:border-box;overflow:hidden}
.mbh-attendance-final-wait .mbh-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important;width:100%!important;box-sizing:border-box!important}
.mbh-attendance-final-wait .mbh-actions .mbh-inline-form,.mbh-attendance-final-wait .mbh-actions .mbh-btn,.mbh-attendance-final-wait .mbh-actions .mbh-ajuste-atendimento{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.mbh-attendance-final-wait .mbh-actions .mbh-btn{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;text-align:center!important;white-space:normal!important;line-height:1.15!important;border-radius:14px!important;margin:0!important}
.mbh-ajuste-open{cursor:pointer!important;background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
.mbh-ajuste-modal{display:none!important;position:fixed!important;inset:0!important;z-index:999999!important;align-items:center!important;justify-content:center!important;padding:18px!important;box-sizing:border-box!important}
.mbh-ajuste-toggle:checked ~ .mbh-ajuste-modal{display:flex!important}
.mbh-ajuste-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(2px);cursor:pointer!important}
.mbh-ajuste-modal-card{position:relative!important;z-index:2!important;width:min(440px,94vw)!important;max-height:88vh!important;overflow:auto!important;background:#fff!important;border-radius:20px!important;padding:20px!important;box-shadow:0 24px 70px rgba(15,23,42,.30)!important;border:1px solid #e2e8f0!important;box-sizing:border-box!important;color:#0f172a!important}
.mbh-ajuste-modal-card h3{margin:0 34px 6px 0!important;font-size:20px!important;line-height:1.2!important;font-weight:900!important;color:#0f172a!important}
.mbh-ajuste-modal-card p{margin:0 0 14px!important;color:#64748b!important;font-size:14px!important;line-height:1.35!important}
.mbh-ajuste-close{position:absolute!important;right:14px!important;top:12px!important;width:34px!important;height:34px!important;border-radius:999px!important;background:#f1f5f9!important;color:#0f172a!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important}
.mbh-ajuste-form{display:grid!important;gap:10px!important;margin:0!important;width:100%!important;box-sizing:border-box!important}
.mbh-ajuste-form label{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#f8fafc!important;color:#334155!important;font-size:15px!important;line-height:1.3!important;box-sizing:border-box!important;margin:0!important}
.mbh-ajuste-form input[type="radio"]{flex:0 0 auto!important;margin-top:2px!important;width:18px!important;height:18px!important}
.mbh-ajuste-form label span{display:block!important;min-width:0!important;overflow-wrap:anywhere!important}
.mbh-ajuste-form button{width:100%!important;margin-top:4px!important;min-height:48px!important;border-radius:14px!important;background:#0f172a!important;color:#fff!important}
@media(max-width:560px){.mbh-attendance-final-wait{padding:14px!important}.mbh-attendance-final-wait strong{display:block!important;margin-bottom:6px!important}.mbh-attendance-final-wait p{font-size:14px!important;line-height:1.35!important}.mbh-ajuste-modal{align-items:flex-end!important;padding:10px!important}.mbh-ajuste-modal-card{width:100%!important;max-height:84vh!important;border-radius:20px 20px 14px 14px!important;padding:18px!important}.mbh-ajuste-modal-card h3{font-size:19px!important}.mbh-ajuste-form label{font-size:15px!important;padding:12px!important}}


/* MaridoBH 4.0.33 - ajuste visual do alerta de supervisão no card profissional */
.mbh-attendance-assistant .mbh-attendance-final-wait{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:16px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait > strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 6px!important;
  color:#0f172a!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:900!important;
  overflow-wrap:break-word!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait > p{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  color:#7c2d12!important;
  font-size:14px!important;
  line-height:1.4!important;
  overflow-wrap:break-word!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:stretch!important;
  overflow:visible!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions form,
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions .mbh-ajuste-atendimento{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions .mbh-btn,
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions button,
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions label.mbh-btn{
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  line-height:1.2!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
.mbh-attendance-assistant .mbh-attendance-final-wait .mbh-ajuste-open{
  background:#0f172a!important;
  color:#fff!important;
  border-color:#0f172a!important;
}
@media (min-width: 680px){
  .mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions{
    grid-template-columns:1fr 1fr!important;
  }
}
@media (max-width: 420px){
  .mbh-attendance-assistant .mbh-attendance-final-wait{padding:14px!important;border-radius:16px!important;}
  .mbh-attendance-assistant .mbh-attendance-final-wait > strong{font-size:16px!important;}
  .mbh-attendance-assistant .mbh-attendance-final-wait > p{font-size:13px!important;}
  .mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions .mbh-btn,
  .mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions button,
  .mbh-attendance-assistant .mbh-attendance-final-wait .mbh-actions label.mbh-btn{font-size:14px!important;}
}


/* MaridoBH 4.0.34 - padroniza visual do lembrete de atendimento prolongado */
.mbh-conclusion-reminder.mbh-attendance-final-wait{
    margin-top:10px!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    align-items:stretch!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-inline-form,
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-btn{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:48px!important;
    text-align:center!important;
    white-space:normal!important;
    line-height:1.15!important;
    border-radius:14px!important;
    margin:0!important;
}


/* MaridoBH 4.0.35 - aplica o mesmo visual da supervisão de etapas ao lembrete em atendimento (prestador/cliente) */
.mbh-conclusion-reminder.mbh-attendance-final-wait{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:16px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  margin-top:10px!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait > strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 6px!important;
  color:#0f172a!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:900!important;
  overflow-wrap:break-word!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait > p{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
  color:#7c2d12!important;
  font-size:14px!important;
  line-height:1.4!important;
  overflow-wrap:break-word!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:stretch!important;
  overflow:visible!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions form,
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions .mbh-inline-form{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions .mbh-btn,
.mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions button{
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  line-height:1.2!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
@media (min-width:680px){
  .mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions{grid-template-columns:1fr 1fr!important;}
}
@media (max-width:420px){
  .mbh-conclusion-reminder.mbh-attendance-final-wait{padding:14px!important;border-radius:16px!important;}
  .mbh-conclusion-reminder.mbh-attendance-final-wait > strong{font-size:16px!important;}
  .mbh-conclusion-reminder.mbh-attendance-final-wait > p{font-size:13px!important;}
  .mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions .mbh-btn,
  .mbh-conclusion-reminder.mbh-attendance-final-wait .mbh-actions button{font-size:14px!important;}
}


/* 4.0.70 - Chat Pro / estabilidade tipo WhatsApp */
.mbh-chat-message.is-pending{opacity:.78;filter:saturate(.9)}
.mbh-chat-message.is-pending small:after{content:"";display:inline-block;width:8px;height:8px;margin-left:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:mbhChatSpin .8s linear infinite;vertical-align:-1px}
.mbh-chat-message.is-failed{border:1px solid #fecaca!important;background:#fff1f2!important;color:#7f1d1d!important}
.mbh-chat-form button.is-loading{opacity:.75;cursor:wait;pointer-events:none}
.mbh-chat-sync-meta.is-error{display:block;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:6px 10px;margin:6px 0;font-size:12px}
@keyframes mbhChatSpin{to{transform:rotate(360deg)}}

/* 4.1.0 - Central de Campanhas no menu */
.mbh-campanhas-menu{display:grid;gap:12px;margin:0 0 16px;}
.mbh-campanha-card{border-radius:22px;overflow:hidden;box-shadow:0 18px 42px rgba(10,31,68,.14);background:linear-gradient(135deg,#0f6b7a,#0b83d8);color:#fff;}
.mbh-campanha-img{width:100%;max-height:120px;object-fit:cover;display:block;}
.mbh-campanha-body{padding:16px;display:grid;gap:7px;}
.mbh-campanha-body strong{font-size:16px;line-height:1.2;}
.mbh-campanha-body span{font-size:14px;font-weight:700;opacity:.94;}
.mbh-campanha-body small{font-size:13px;line-height:1.35;opacity:.9;}
.mbh-campanha-btn{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.95);color:#0f172a!important;text-decoration:none!important;font-weight:800;font-size:13px;margin-top:4px;}
.mbh-nav-panel .mbh-campanhas-menu + .mbh-menu{margin-top:8px;}
@media (max-width: 782px){.mbh-campanha-card{border-radius:18px}.mbh-campanha-body{padding:14px}.mbh-campanha-img{max-height:96px}}

/* 4.1.3.1 - Refinamento visual do menu do prestador */
.mbh-shell-profissional .mbh-nav-panel{
    padding:18px!important;
    border-radius:26px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
    box-shadow:0 28px 70px rgba(8,76,104,.18)!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu ul{
    gap:10px!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a,
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link{
    position:relative!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    padding:12px 14px 12px 62px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid rgba(226,232,240,.95)!important;
    color:#0f172a!important;
    font-weight:900!important;
    letter-spacing:-.01em!important;
    box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:before,
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:before{
    content:"•";
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,rgba(22,129,229,.14),rgba(8,76,104,.08));
    color:#1681E5;
    font-size:18px;
    line-height:1;
    box-shadow:inset 0 0 0 1px rgba(22,129,229,.10);
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:after{
    content:"›";
    margin-left:auto;
    color:#94a3b8;
    font-size:25px;
    line-height:1;
    font-weight:800;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:hover,
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:focus-visible{
    background:linear-gradient(135deg,#1681E5,#0d6fc9)!important;
    border-color:transparent!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
    box-shadow:0 16px 34px rgba(22,129,229,.25)!important;
    outline:none!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:hover:before,
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:focus-visible:before{
    background:rgba(255,255,255,.20);
    color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:hover:after,
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:focus-visible:after{
    color:rgba(255,255,255,.85);
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="oportun"]:before{content:"🔔";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="meu-plano"]:before{content:"💳";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="meu-perfil"]:before{content:"👤";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="meus-servicos"]:before,
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="meu-trabalho"]:before{content:"🧰";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="notific"]:before{content:"🔔";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="mercado"]:before{content:"🛒";}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a[href*="painel-profissional"]:before{content:"🏠";}
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link{
    margin-top:14px!important;
    background:linear-gradient(135deg,#084C68,#0b5d78)!important;
    border-color:transparent!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(8,76,104,.22)!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:before{
    content:"🚪";
    background:rgba(255,255,255,.18);
    color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:hover,
.mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:focus-visible{
    background:linear-gradient(135deg,#0d6fc9,#1681E5)!important;
    transform:translateY(-1px)!important;
    outline:none!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu-badge{
    order:5;
    margin-left:6px!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 7px!important;
    border:2px solid rgba(255,255,255,.95)!important;
    box-shadow:0 6px 14px rgba(220,38,38,.22)!important;
    font-size:11px!important;
}
.mbh-shell-profissional .mbh-nav-panel .mbh-menu a:hover .mbh-menu-badge{
    border-color:rgba(255,255,255,.45)!important;
}
@media (min-width:1025px){
    .mbh-shell-profissional .mbh-nav-panel .mbh-menu a,
    .mbh-shell-profissional .mbh-nav-panel .mbh-logout-link{
        min-height:auto!important;
        padding:12px 14px!important;
        border-radius:999px!important;
        background:transparent!important;
        border:0!important;
        box-shadow:none!important;
        gap:7px!important;
    }
    .mbh-shell-profissional .mbh-nav-panel .mbh-menu a:before,
    .mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:before{
        position:static;
        transform:none;
        width:auto;
        height:auto;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        font-size:16px;
    }
    .mbh-shell-profissional .mbh-nav-panel .mbh-menu a:after{display:none;}
}
@media (max-width:480px){
    .mbh-shell-profissional .mbh-nav-panel{padding:14px!important;border-radius:22px!important;}
    .mbh-shell-profissional .mbh-nav-panel .mbh-menu a,
    .mbh-shell-profissional .mbh-nav-panel .mbh-logout-link{min-height:54px!important;padding-left:58px!important;border-radius:16px!important;}
    .mbh-shell-profissional .mbh-nav-panel .mbh-menu a:before,
    .mbh-shell-profissional .mbh-nav-panel .mbh-logout-link:before{width:34px;height:34px;border-radius:13px;}
}


/* 4.1.3.9 - Refinamento visual do menu do cliente */
.mbh-shell-cliente .mbh-nav-panel{
    padding:18px!important;
    border-radius:26px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
    box-shadow:0 28px 70px rgba(8,76,104,.18)!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu ul{
    gap:10px!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a,
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link{
    position:relative!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    padding:12px 14px 12px 62px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid rgba(226,232,240,.95)!important;
    color:#0f172a!important;
    font-weight:900!important;
    letter-spacing:-.01em!important;
    box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:before,
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:before{
    content:"•";
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,rgba(22,129,229,.14),rgba(8,76,104,.08));
    color:#1681E5;
    font-size:18px;
    line-height:1;
    box-shadow:inset 0 0 0 1px rgba(22,129,229,.10);
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:after{
    content:"›";
    margin-left:auto;
    color:#94a3b8;
    font-size:25px;
    line-height:1;
    font-weight:800;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:hover,
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:focus-visible{
    background:linear-gradient(135deg,#1681E5,#0d6fc9)!important;
    border-color:transparent!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
    box-shadow:0 16px 34px rgba(22,129,229,.25)!important;
    outline:none!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:hover:before,
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:focus-visible:before{
    background:rgba(255,255,255,.20);
    color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:hover:after,
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:focus-visible:after{
    color:rgba(255,255,255,.85);
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="painel-cliente"]:before{content:"🏠";}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="pedir-servico"]:before,
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="solicitar"]:before{content:"🛠️";}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="meus-pedidos"]:before,
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="pedidos"]:before{content:"📋";}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="meu-perfil"]:before{content:"👤";}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a[href*="notific"]:before{content:"🔔";}
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link{
    margin-top:14px!important;
    background:linear-gradient(135deg,#084C68,#0b5d78)!important;
    border-color:transparent!important;
    color:#fff!important;
    box-shadow:0 16px 34px rgba(8,76,104,.22)!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:before{
    content:"🚪";
    background:rgba(255,255,255,.18);
    color:#fff;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:hover,
.mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:focus-visible{
    background:linear-gradient(135deg,#0d6fc9,#1681E5)!important;
    transform:translateY(-1px)!important;
    outline:none!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu-badge{
    order:5;
    margin-left:6px!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 7px!important;
    border:2px solid rgba(255,255,255,.95)!important;
    box-shadow:0 6px 14px rgba(220,38,38,.22)!important;
    font-size:11px!important;
}
.mbh-shell-cliente .mbh-nav-panel .mbh-menu a:hover .mbh-menu-badge{
    border-color:rgba(255,255,255,.45)!important;
}
@media (min-width:1025px){
    .mbh-shell-cliente .mbh-nav-panel .mbh-menu a,
    .mbh-shell-cliente .mbh-nav-panel .mbh-logout-link{
        min-height:auto!important;
        padding:12px 14px!important;
        border-radius:999px!important;
        background:transparent!important;
        border:0!important;
        box-shadow:none!important;
        gap:7px!important;
    }
    .mbh-shell-cliente .mbh-nav-panel .mbh-menu a:before,
    .mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:before{
        position:static;
        transform:none;
        width:auto;
        height:auto;
        border-radius:0;
        background:transparent;
        box-shadow:none;
        font-size:16px;
    }
    .mbh-shell-cliente .mbh-nav-panel .mbh-menu a:after{display:none;}
}
@media (max-width:480px){
    .mbh-shell-cliente .mbh-nav-panel{padding:14px!important;border-radius:22px!important;}
    .mbh-shell-cliente .mbh-nav-panel .mbh-menu a,
    .mbh-shell-cliente .mbh-nav-panel .mbh-logout-link{min-height:54px!important;padding-left:58px!important;border-radius:16px!important;}
    .mbh-shell-cliente .mbh-nav-panel .mbh-menu a:before,
    .mbh-shell-cliente .mbh-nav-panel .mbh-logout-link:before{width:34px;height:34px;border-radius:13px;}
}


/* 4.1.3.10 - Onboarding seguro de notificações para clientes */
.mbh-client-push-invite[hidden]{display:none!important}
.mbh-client-push-invite{position:fixed;inset:0;z-index:100000;background:rgba(5,18,35,.58);padding:18px;display:flex;align-items:flex-end;justify-content:center}
.mbh-client-push-card{position:relative;width:min(560px,100%);background:#fff;border-radius:22px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.28);display:grid;grid-template-columns:auto 1fr;gap:12px 14px;align-items:center}
.mbh-client-push-icon{font-size:34px}
.mbh-client-push-copy strong{display:block;font-size:18px;color:#10233f;margin-bottom:4px}
.mbh-client-push-copy p{margin:0;color:#506176;font-size:14px;line-height:1.45}
.mbh-client-push-card>.mbh-btn{grid-column:1/-1;width:100%;justify-content:center}
.mbh-client-push-card>.mbh-onesignal-status{grid-column:1/-1;margin:0;text-align:center}
.mbh-client-push-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:28px;line-height:1;color:#65758a;cursor:pointer}
@media(min-width:700px){.mbh-client-push-invite{align-items:center}.mbh-client-push-card{padding:26px}}

/* MaridoBH 4.1.3.13 - contorno externo mais definido nos cards do prestador
 * Escopo intencional: somente cards/blocos principais do ambiente profissional.
 * Elementos internos dos cards permanecem com o visual original.
 */
.mbh-shell-profissional .mbh-service-card,
.mbh-shell-profissional .mbh-op-card,
.mbh-shell-profissional .mbh-panel-card,
.mbh-shell-profissional .mbh-work-summary-card,
.mbh-shell-profissional .mbh-profile-summary-card,
.mbh-shell-profissional .mbh-identidade-card,
.mbh-shell-profissional .mbh-plano-resumo-card,
.mbh-shell-profissional .mbh-verificacao-card,
.mbh-shell-profissional .mbh-op-filtros,
.mbh-shell-profissional .mbh-service-filters,
.mbh-shell-profissional .mbh-card.mbh-plan-card {
    border-color: #64748b !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .10) !important;
}

@media (max-width: 700px) {
    .mbh-shell-profissional .mbh-service-card,
    .mbh-shell-profissional .mbh-op-card,
    .mbh-shell-profissional .mbh-panel-card,
    .mbh-shell-profissional .mbh-work-summary-card,
    .mbh-shell-profissional .mbh-profile-summary-card,
    .mbh-shell-profissional .mbh-identidade-card,
    .mbh-shell-profissional .mbh-plano-resumo-card,
    .mbh-shell-profissional .mbh-verificacao-card,
    .mbh-shell-profissional .mbh-op-filtros,
    .mbh-shell-profissional .mbh-service-filters,
    .mbh-shell-profissional .mbh-card.mbh-plan-card {
        border-color: #526174 !important;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .11) !important;
    }
}

/* MaridoBH 4.1.3.14 - refinamento visual seguro do ambiente do prestador
 * Objetivo: melhorar respiro, hierarquia e resposta visual sem alterar conteúdo,
 * fluxos, estrutura dos cards ou qualquer tela do cliente.
 */
.mbh-shell-profissional .mbh-service-list,
.mbh-shell-profissional .mbh-oportunidades-grid {
    gap: 22px !important;
}

.mbh-shell-profissional .mbh-service-card,
.mbh-shell-profissional .mbh-op-card,
.mbh-shell-profissional .mbh-panel-card,
.mbh-shell-profissional .mbh-work-summary-card,
.mbh-shell-profissional .mbh-profile-summary-card,
.mbh-shell-profissional .mbh-identidade-card,
.mbh-shell-profissional .mbh-plano-resumo-card,
.mbh-shell-profissional .mbh-verificacao-card,
.mbh-shell-profissional .mbh-op-filtros,
.mbh-shell-profissional .mbh-service-filters,
.mbh-shell-profissional .mbh-card.mbh-plan-card {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

/* Cabeçalho do serviço: hierarquia mais clara, sem criar uma faixa pesada. */
.mbh-shell-profissional .mbh-service-card > .mbh-card-toggle {
    padding-bottom: 13px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.mbh-shell-profissional .mbh-service-card.is-collapsed > .mbh-card-toggle {
    padding-bottom: 0 !important;
    border-bottom-color: transparent !important;
}

.mbh-shell-profissional .mbh-card-title-wrap strong,
.mbh-shell-profissional .mbh-op-card-title strong {
    color: #111827 !important;
    letter-spacing: -.01em;
}

/* Badges um pouco mais confortáveis e legíveis. */
.mbh-shell-profissional .mbh-service-card .mbh-status,
.mbh-shell-profissional .mbh-service-card .mbh-mini-badge,
.mbh-shell-profissional .mbh-service-card .mbh-toggle-label,
.mbh-shell-profissional .mbh-op-card .mbh-status {
    padding: 6px 10px !important;
}

/* Assistente recebe respiro próprio, sem alterar os elementos internos. */
.mbh-shell-profissional .mbh-attendance-assistant {
    margin-bottom: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08) !important;
}

/* Interação discreta para desktop e dispositivos com ponteiro preciso. */
@media (hover:hover) and (pointer:fine) {
    .mbh-shell-profissional .mbh-service-card:hover,
    .mbh-shell-profissional .mbh-op-card:hover,
    .mbh-shell-profissional .mbh-panel-card:hover {
        border-color: #475569 !important;
        box-shadow: 0 14px 30px rgba(15, 23, 42, .13) !important;
        transform: translateY(-1px);
    }
}

/* Resposta tátil sutil nos controles clicáveis. */
.mbh-shell-profissional .mbh-card-toggle,
.mbh-shell-profissional .mbh-btn,
.mbh-shell-profissional .mbh-button {
    -webkit-tap-highlight-color: rgba(22, 129, 229, .10);
}

.mbh-shell-profissional .mbh-card-toggle:active,
.mbh-shell-profissional .mbh-btn:active,
.mbh-shell-profissional .mbh-button:active {
    transform: scale(.992);
}

@media (max-width: 700px) {
    .mbh-shell-profissional .mbh-service-list,
    .mbh-shell-profissional .mbh-oportunidades-grid {
        gap: 18px !important;
    }

    .mbh-shell-profissional .mbh-service-card,
    .mbh-shell-profissional .mbh-op-card {
        padding: 18px !important;
    }

    .mbh-shell-profissional .mbh-service-card > .mbh-card-toggle {
        padding-bottom: 11px !important;
    }

    .mbh-shell-profissional .mbh-attendance-assistant {
        margin-bottom: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mbh-shell-profissional .mbh-service-card,
    .mbh-shell-profissional .mbh-op-card,
    .mbh-shell-profissional .mbh-panel-card,
    .mbh-shell-profissional .mbh-work-summary-card,
    .mbh-shell-profissional .mbh-card-toggle,
    .mbh-shell-profissional .mbh-btn,
    .mbh-shell-profissional .mbh-button {
        transition: none !important;
        transform: none !important;
    }
}

/* 4.1.3.21 - Campanhas no painel principal e carrossel responsivo */
.mbh-dashboard-campaigns{position:relative;margin:18px 0 22px;isolation:isolate}
.mbh-dashboard-campaigns-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:24px}
.mbh-dashboard-campaigns-track::-webkit-scrollbar{display:none}
.mbh-dashboard-campaign-slide{--mbh-campaign-bg:linear-gradient(135deg,#0f6b7a,#0b83d8);--mbh-campaign-color:#fff;position:relative;flex:0 0 100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;scroll-snap-align:start;border-radius:24px;background:var(--mbh-campaign-bg);color:var(--mbh-campaign-color);box-shadow:0 16px 36px rgba(15,23,42,.14);border:1px solid rgba(15,23,42,.10)}
.mbh-dashboard-campaign-slide:only-child{flex-basis:100%}
.mbh-dashboard-campaign-media{height:180px;overflow:hidden;background:rgba(255,255,255,.08)}
.mbh-dashboard-campaign-media img{display:block;width:100%;height:100%;object-fit:cover}
.mbh-dashboard-campaign-content{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;min-height:148px}
.mbh-dashboard-campaign-copy{display:grid;gap:7px;min-width:0}
.mbh-dashboard-campaign-copy strong{font-size:clamp(20px,3vw,28px);line-height:1.15;font-weight:900;color:inherit}
.mbh-dashboard-campaign-copy span{font-size:16px;line-height:1.35;font-weight:800;color:inherit;opacity:.96}
.mbh-dashboard-campaign-copy small{font-size:14px;line-height:1.5;color:inherit;opacity:.92;max-width:760px}
.mbh-dashboard-campaign-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:12px 18px;border-radius:999px;background:rgba(255,255,255,.96);color:#0f172a!important;text-decoration:none!important;font-size:14px;font-weight:900;box-shadow:0 8px 18px rgba(15,23,42,.12);transition:transform .18s ease,box-shadow .18s ease}
.mbh-dashboard-campaign-btn:hover,.mbh-dashboard-campaign-btn:focus{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,23,42,.18)}
.mbh-campaign-arrow{position:absolute;top:50%;z-index:3;width:42px;height:42px;margin-top:-21px;border:1px solid rgba(15,23,42,.12);border-radius:50%;background:rgba(255,255,255,.94);color:#0f172a;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(15,23,42,.16);cursor:pointer}
.mbh-campaign-arrow.is-prev{left:-12px}.mbh-campaign-arrow.is-next{right:-12px}
.mbh-campaign-dots{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:11px}
.mbh-campaign-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:width .2s ease,background .2s ease}
.mbh-campaign-dots button.is-active{width:24px;background:#0b83d8}
@media (min-width:760px){.mbh-dashboard-campaign-slide:has(.mbh-dashboard-campaign-media){grid-template-columns:minmax(220px,34%) minmax(0,1fr)}.mbh-dashboard-campaign-slide:has(.mbh-dashboard-campaign-media) .mbh-dashboard-campaign-media{height:100%;min-height:190px}.mbh-dashboard-campaign-slide:has(.mbh-dashboard-campaign-media) .mbh-dashboard-campaign-content{grid-column:2}}
@media (max-width:782px){.mbh-dashboard-campaigns{margin:14px 0 18px}.mbh-dashboard-campaigns-track,.mbh-dashboard-campaign-slide{border-radius:20px}.mbh-dashboard-campaign-media{height:130px}.mbh-dashboard-campaign-content{display:grid;align-items:start;gap:14px;padding:18px;min-height:0}.mbh-dashboard-campaign-copy strong{font-size:21px}.mbh-dashboard-campaign-copy span{font-size:15px}.mbh-dashboard-campaign-btn{width:max-content;max-width:100%;padding:10px 16px}.mbh-campaign-arrow{display:none}}
@media (prefers-reduced-motion:reduce){.mbh-dashboard-campaigns-track{scroll-behavior:auto}.mbh-dashboard-campaign-btn,.mbh-campaign-dots button{transition:none}}

/* 4.1.3.24 - Mini carrossel de campanhas no menu */
.mbh-campanhas-menu{display:block;position:relative;overflow:hidden;margin:0 0 16px;min-width:0}
.mbh-menu-campaign-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:22px;min-width:0}
.mbh-menu-campaign-track::-webkit-scrollbar{display:none}
.mbh-campanhas-menu .mbh-campanha-card{flex:0 0 100%;width:100%;min-width:100%;box-sizing:border-box;scroll-snap-align:start;margin:0;align-self:stretch}
.mbh-campanhas-menu.is-carousel .mbh-campanha-card{height:auto;min-height:0}
.mbh-menu-campaign-dots{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 0 1px}
.mbh-menu-campaign-dots button{width:7px;height:7px;min-width:7px;padding:0;border:0;border-radius:999px;background:#cbd5e1;box-shadow:none;cursor:pointer;transition:width .2s ease,background .2s ease}
.mbh-menu-campaign-dots button.is-active{width:20px;background:#0b83d8}
.mbh-nav-panel .mbh-campanhas-menu + .mbh-menu{margin-top:8px}
@media (prefers-reduced-motion:reduce){.mbh-menu-campaign-track{scroll-behavior:auto}.mbh-menu-campaign-dots button{transition:none}}

/* 4.1.3.26 - Chat amigável: balões, composição compacta e leitura mais clara */
.mbh-chat-modal-content{background:#eef4f8!important}
.mbh-chat-modal .mbh-chat-box,
.mbh-chat-conversation-only{background:#eef4f8!important}
.mbh-chat-modal .mbh-chat-tab-panel[data-mbh-chat-panel="conversa"]{background:#eef4f8!important}
.mbh-chat-statusbar{background:rgba(255,255,255,.88);border-bottom:1px solid #dbe5ef;padding:12px 16px!important;margin:0!important;position:sticky;top:0;z-index:4;backdrop-filter:blur(8px)}
.mbh-chat-security{margin:10px 12px!important;padding:10px 12px!important;border:1px solid #c9dceb!important;border-radius:14px!important;background:#e8f3fb!important;color:#526678!important;font-size:13px!important;line-height:1.4!important}
.mbh-chat-messages{display:flex!important;flex-direction:column!important;gap:3px!important;padding:14px 12px 18px!important;background:linear-gradient(180deg,#f4f8fb 0%,#edf3f7 100%)!important;scroll-behavior:auto!important;overflow-anchor:none}
.mbh-chat-message{position:relative!important;width:auto!important;max-width:min(78%,560px)!important;margin:2px 0!important;padding:9px 11px 7px!important;border:0!important;border-radius:16px!important;font-size:15px!important;line-height:1.38!important;box-shadow:0 1px 2px rgba(15,23,42,.11)!important;overflow:visible!important;word-break:break-word!important}
.mbh-chat-message>div:first-child{white-space:pre-wrap}
.mbh-chat-message.is-mine{align-self:flex-end!important;background:#d8f8df!important;color:#172033!important;border-bottom-right-radius:5px!important}
.mbh-chat-message.is-other{align-self:flex-start!important;background:#fff!important;color:#172033!important;border-bottom-left-radius:5px!important}
.mbh-chat-message.is-mine:after,.mbh-chat-message.is-other:after{content:"";position:absolute;bottom:0;width:9px;height:11px;background:inherit}
.mbh-chat-message.is-mine:after{right:-5px;clip-path:polygon(0 0,0 100%,100% 100%)}
.mbh-chat-message.is-other:after{left:-5px;clip-path:polygon(100% 0,0 100%,100% 100%)}
.mbh-chat-message small{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:3px!important;margin-top:3px!important;color:#64748b!important;font-size:10.5px!important;line-height:1!important;text-align:right!important}
.mbh-chat-message.is-mine small{color:#397552!important}
.mbh-chat-message.is-pending{opacity:.72!important}
.mbh-chat-message.is-failed{background:#fee2e2!important;color:#7f1d1d!important}
.mbh-chat-message.is-system{align-self:center!important;max-width:88%!important;margin:10px auto!important;padding:7px 11px!important;border:1px solid #cfe0ee!important;border-radius:12px!important;background:#e4f0f8!important;color:#36536c!important;font-size:12px!important;box-shadow:none!important}
.mbh-chat-message.is-system:after{display:none!important}
.mbh-chat-day-separator{position:relative!important;top:auto!important;z-index:1!important;display:block!important;flex:0 0 100%!important;width:100%!important;clear:both!important;margin:12px 0 10px!important;pointer-events:none!important;transform:none!important}
.mbh-chat-day-separator span{background:rgba(255,255,255,.9)!important;color:#607487!important;border:1px solid #dae5ed!important;box-shadow:0 1px 2px rgba(15,23,42,.05)!important;font-weight:700!important}
.mbh-chat-empty{margin:auto;padding:34px 18px;text-align:center;color:#64748b;display:grid;justify-items:center;gap:5px}
.mbh-chat-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#fff;border:1px solid #dbe6ee;font-size:23px;box-shadow:0 5px 18px rgba(15,23,42,.07)}
.mbh-chat-empty strong{color:#26384a;font-size:16px}.mbh-chat-empty small{max-width:290px;line-height:1.45}
.mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{display:grid!important;grid-template-columns:44px minmax(0,1fr) 48px!important;align-items:end!important;gap:8px!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dce5ed!important;position:sticky!important;bottom:0!important;z-index:8!important}
.mbh-chat-form textarea{grid-column:2!important;grid-row:1!important;width:100%!important;min-height:44px!important;max-height:120px!important;padding:11px 14px!important;border:1px solid #cad7e2!important;border-radius:22px!important;background:#fff!important;color:#172033!important;font-size:16px!important;line-height:1.35!important;resize:none!important;overflow-y:auto!important;box-shadow:none!important}
.mbh-chat-form textarea:focus{outline:0!important;border-color:#1681e5!important;box-shadow:0 0 0 3px rgba(22,129,229,.12)!important}
.mbh-chat-upload-row{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:flex-end!important;margin:0!important;position:static!important}
.mbh-chat-plus{width:44px!important;height:44px!important;min-width:44px!important;border:1px solid #c8d9e6!important;background:#edf6fc!important;color:#176ca6!important;border-radius:50%!important;font-size:28px!important;font-weight:400!important;line-height:1!important}
.mbh-chat-send-btn{grid-column:3!important;grid-row:1!important;width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#1681e5!important;color:#fff!important;box-shadow:0 5px 13px rgba(22,129,229,.25)!important}
.mbh-chat-send-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mbh-chat-send-icon{display:block!important;font-size:19px!important;line-height:1!important;transform:translateX(1px)}
.mbh-chat-send-btn:disabled{opacity:.58!important;box-shadow:none!important}.mbh-chat-send-btn:active{transform:scale(.96)}
.mbh-chat-file-status{left:12px!important;bottom:68px!important;max-width:calc(100% - 24px)!important}
.mbh-chat-attachment{overflow:hidden;border-radius:12px}.mbh-chat-image img{max-width:320px!important;border-radius:12px!important}
.mbh-chat-sync-meta{margin:0!important;padding:4px 12px!important;background:#fff!important;text-align:center!important}
@media(max-width:760px){
  .mbh-chat-modal-content{padding:0!important}
  .mbh-chat-modal .mbh-chat-box{padding:0!important;border-radius:0!important}
  .mbh-chat-modal .mbh-chat-messages{min-height:calc(100dvh - 305px)!important;padding-left:13px!important;padding-right:13px!important}
  .mbh-chat-message{max-width:84%!important;font-size:15px!important}
  .mbh-chat-security{font-size:12px!important;margin:8px 10px!important}
  .mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{grid-template-columns:42px minmax(0,1fr) 46px!important;padding-left:9px!important;padding-right:9px!important;gap:6px!important}
  .mbh-chat-plus{width:42px!important;height:42px!important;min-width:42px!important}
  .mbh-chat-send-btn{width:44px!important;height:44px!important;min-width:44px!important}
  .mbh-chat-form textarea{min-height:42px!important;padding:10px 13px!important}
}
@media(prefers-reduced-motion:reduce){.mbh-chat-messages{scroll-behavior:auto!important}.mbh-chat-send-btn{transition:none!important}}


/* 4.1.3.31 - Estado discreto do chat em tempo real */
.mbh-chat-realtime-line{display:flex;justify-content:center;min-height:22px;margin:2px 0 6px;padding:0 12px}
.mbh-chat-realtime-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;line-height:1.2;color:#64748b}
.mbh-chat-realtime-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.14)}
.mbh-chat-realtime-status.is-online{color:#18794e}
.mbh-chat-realtime-status.is-online:before{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14)}
.mbh-chat-realtime-status.is-connecting:before{background:#f59e0b;animation:mbh-chat-pulse 1.2s infinite}
.mbh-chat-realtime-status.is-offline,.mbh-chat-realtime-status.is-fallback{color:#64748b}
@keyframes mbh-chat-pulse{0%,100%{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.mbh-chat-realtime-status.is-connecting:before{animation:none}}

/* 4.1.3.32 - confirmação de leitura em tempo real */
.mbh-chat-message-status{transition:color .18s ease,opacity .18s ease}
.mbh-chat-message[data-mbh-read="1"] .mbh-chat-message-status{color:#1687c9!important;font-weight:700}
.mbh-chat-message.is-mine + .mbh-chat-message.is-mine,.mbh-chat-message.is-other + .mbh-chat-message.is-other{margin-top:0!important}

/* 4.1.3.34 - arquitetura visual compacta do chat */
.mbh-chat-modal-topbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
}
.mbh-chat-modal-title{min-width:0;display:flex;flex-direction:column;gap:2px;}
.mbh-chat-modal-title strong,.mbh-chat-modal-title span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mbh-chat-modal-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.mbh-chat-gallery-toggle{
    position:relative;
    width:42px;height:42px;min-width:42px;
    display:inline-flex;align-items:center;justify-content:center;
    border:1px solid #bfdbfe;border-radius:14px;
    background:#fff;color:#0f172a;
    font-size:20px;line-height:1;cursor:pointer;
    box-shadow:0 6px 16px rgba(15,23,42,.10);
    transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.mbh-chat-gallery-toggle:hover,.mbh-chat-gallery-toggle:focus,.mbh-chat-gallery-toggle.is-active{background:#eff6ff;box-shadow:0 8px 20px rgba(37,99,235,.16);outline:none;}
.mbh-chat-gallery-toggle:active{transform:scale(.96);}
.mbh-chat-gallery-toggle small{
    position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;
    display:flex;align-items:center;justify-content:center;border-radius:999px;
    background:#ef4444;color:#fff;font-size:10px;font-weight:900;border:2px solid #fff;
}
.mbh-chat-gallery-toolbar{display:flex;align-items:center;padding:10px 12px 0;background:#f8fafc;}
.mbh-chat-gallery-back{
    border:1px solid #bfdbfe;background:#fff;color:#1d4ed8;border-radius:999px;
    padding:8px 12px;font-size:13px;font-weight:800;cursor:pointer;
}
.mbh-chat-modal-tabs{display:none!important;}
.mbh-chat-modal .mbh-chat-statusbar{display:none!important;}
.mbh-chat-modal-content{padding:0!important;overflow:hidden!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-security{
    margin:10px 12px 6px!important;padding:9px 11px!important;border-radius:14px!important;
    font-size:13px!important;line-height:1.35!important;flex:0 0 auto!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{
    border:0!important;border-radius:0!important;background:linear-gradient(180deg,#f8fbff 0%,#f4f8fc 100%)!important;
    padding:12px 14px!important;
}
.mbh-chat-modal .mbh-chat-realtime-line{padding:5px 12px 3px!important;background:#fff!important;flex:0 0 auto!important;}
.mbh-chat-modal .mbh-chat-sync-meta{display:none!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form{
    border-top:1px solid #dbe5f0!important;background:#fff!important;
    box-shadow:0 -8px 24px rgba(15,23,42,.05)!important;
}
.mbh-chat-modal .mbh-chat-message{box-shadow:0 5px 14px rgba(15,23,42,.07)!important;}
.mbh-chat-modal .mbh-chat-message.is-mine{background:#d9f8df!important;}
.mbh-chat-modal .mbh-chat-message.is-other{background:#fff!important;}

@media(max-width:760px){
    .mbh-chat-modal-topbar{padding:10px 14px!important;min-height:58px!important;}
    .mbh-chat-modal-title strong{font-size:17px!important;line-height:1.15!important;}
    .mbh-chat-modal-title span{font-size:12px!important;}
    .mbh-chat-gallery-toggle{width:38px;height:38px;min-width:38px;border-radius:12px;font-size:18px;}
    .mbh-chat-modal-close{width:38px!important;height:38px!important;min-width:38px!important;font-size:28px!important;}
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-security{margin:8px 10px 4px!important;padding:8px 10px!important;font-size:12px!important;}
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{padding:10px 12px!important;min-height:0!important;}
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form{padding:7px 8px!important;gap:6px!important;}
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form textarea{min-height:46px!important;max-height:110px!important;border-radius:18px!important;padding:11px 13px!important;}
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{min-height:42px!important;border-radius:999px!important;}
    .mbh-chat-plus{width:38px!important;height:38px!important;min-width:38px!important;}
    .mbh-chat-modal .mbh-chat-realtime-line{padding:4px 8px 2px!important;font-size:12px!important;}
    .mbh-chat-gallery-toolbar{padding:8px 10px 0;}
}

/* 4.1.3.35 - aviso de contato sempre acima do chat */
#mbh-ui-notice-modal.mbh-ui-notice-modal{z-index:2147483647!important;position:fixed!important;inset:0!important;}
#mbh-ui-notice-modal .mbh-ui-notice-box{z-index:2!important;}
#mbh-ui-notice-modal .mbh-ui-notice-backdrop{z-index:1!important;}

/* 4.1.3.37 - presença e indicador digitando em tempo real */
.mbh-chat-realtime-line{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.mbh-chat-peer-status,.mbh-chat-typing-status{font-size:12px;font-weight:700;line-height:1.2;min-height:14px}
.mbh-chat-peer-status.is-online{color:#15803d}
.mbh-chat-peer-status.is-online:before{content:"•";font-size:18px;line-height:0;margin-right:3px;color:#22c55e}
.mbh-chat-typing-status{color:#1473b8;font-style:italic;opacity:0;transform:translateY(2px);transition:opacity .16s ease,transform .16s ease}
.mbh-chat-typing-status.is-active{opacity:1;transform:translateY(0)}

/* 4.1.3.38 - Conversas inteligentes: resposta, prévia e upload */
.mbh-chat-message{position:relative}
.mbh-chat-reply-action{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:999px;background:#fff;color:#64748b;box-shadow:0 3px 12px rgba(15,23,42,.16);opacity:.2;cursor:pointer;font-size:16px;display:grid;place-items:center;transition:.18s ease}
.mbh-chat-message.is-mine .mbh-chat-reply-action{left:-36px}.mbh-chat-message.is-other .mbh-chat-reply-action{right:-36px}
.mbh-chat-message:hover .mbh-chat-reply-action,.mbh-chat-message:focus-within .mbh-chat-reply-action,.mbh-chat-reply-action:focus{opacity:1}
.mbh-chat-quote{display:block;width:100%;border:0;border-left:3px solid #1d8fe8;border-radius:9px;background:rgba(255,255,255,.58);padding:7px 9px;margin:0 0 7px;text-align:left;cursor:pointer;color:#334155}
.mbh-chat-quote strong,.mbh-chat-quote span{display:block}.mbh-chat-quote strong{font-size:11px;color:#0b74bd;margin-bottom:2px}.mbh-chat-quote span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mbh-chat-message.is-highlighted{animation:mbhChatHighlight 1.35s ease}
@keyframes mbhChatHighlight{0%,100%{box-shadow:inherit}35%{box-shadow:0 0 0 4px rgba(37,144,232,.28),0 8px 24px rgba(15,23,42,.18)}}
.mbh-chat-reply-preview,.mbh-chat-file-preview{grid-column:1/-1;display:flex;align-items:center;gap:10px;border:1px solid #cfe2f5;background:#f7fbff;border-radius:14px;padding:8px 10px;margin:0 0 4px;min-width:0}
.mbh-chat-reply-preview[hidden],.mbh-chat-file-preview[hidden]{display:none!important}
.mbh-chat-reply-preview>div,.mbh-chat-file-preview>div:nth-child(2){min-width:0;flex:1}.mbh-chat-reply-preview strong,.mbh-chat-reply-preview span,.mbh-chat-file-preview strong,.mbh-chat-file-preview span{display:block}.mbh-chat-reply-preview strong{font-size:11px;color:#1687d9}.mbh-chat-reply-preview span,.mbh-chat-file-preview span{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mbh-chat-reply-preview button,.mbh-chat-file-preview button{border:0;background:#eaf2fa;color:#334155;width:28px;height:28px;border-radius:999px;font-size:20px;cursor:pointer}
.mbh-chat-file-preview-thumb{width:46px;height:46px;border-radius:10px;background:#e8f1f8;display:grid;place-items:center;overflow:hidden;font-size:22px;flex:none}.mbh-chat-file-preview-thumb img{width:100%;height:100%;object-fit:cover}
.mbh-chat-upload-progress{height:4px;background:#dce8f3;border-radius:99px;overflow:hidden;margin-top:5px}.mbh-chat-upload-progress span{display:block;height:100%;width:0;background:#168de1;transition:width .15s linear}
.mbh-chat-new-messages{position:absolute;right:18px;bottom:92px;z-index:6;border:0;border-radius:999px;background:#168de1;color:#fff;padding:9px 14px;font-weight:800;box-shadow:0 8px 24px rgba(22,141,225,.28);cursor:pointer}.mbh-chat-new-messages[hidden]{display:none!important}
@media(max-width:700px){.mbh-chat-reply-action{opacity:.65}.mbh-chat-message.is-mine .mbh-chat-reply-action{left:-31px}.mbh-chat-message.is-other .mbh-chat-reply-action{right:-31px}.mbh-chat-reply-action{width:27px;height:27px}.mbh-chat-new-messages{right:12px;bottom:88px}}


/* 4.1.3.39 - pré-visualização de anexos corrigida */
.mbh-chat-modal .mbh-chat-form,
.mbh-chat-conversation-only .mbh-chat-form{
    grid-template-rows:auto auto!important;
}
.mbh-chat-composer-previews{
    grid-column:1/-1!important;
    grid-row:1!important;
    display:grid!important;
    gap:6px!important;
    min-width:0!important;
    width:100%!important;
}
.mbh-chat-composer-previews:empty{display:none!important}
.mbh-chat-modal .mbh-chat-form textarea,
.mbh-chat-conversation-only .mbh-chat-form textarea{
    grid-row:2!important;
}
.mbh-chat-modal .mbh-chat-upload-row,
.mbh-chat-conversation-only .mbh-chat-upload-row{
    grid-row:2!important;
}
.mbh-chat-modal .mbh-chat-form button[type="submit"],
.mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{
    grid-row:2!important;
}
.mbh-chat-reply-preview,
.mbh-chat-file-preview{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:8px!important;
    gap:9px!important;
    overflow:hidden!important;
}
.mbh-chat-file-preview-info{
    min-width:0!important;
    width:auto!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
}
.mbh-chat-file-preview-info strong,
.mbh-chat-file-preview-info span{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}
.mbh-chat-file-preview-info strong{font-size:13px!important;color:#26384a!important;line-height:1.25!important}
.mbh-chat-file-preview-info span{font-size:11px!important;color:#64748b!important;margin-top:2px!important}
.mbh-chat-file-preview-thumb{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    border-radius:11px!important;
}
.mbh-chat-file-preview>button,
.mbh-chat-reply-preview>button{
    flex:0 0 30px!important;
    width:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    line-height:1!important;
}
.mbh-chat-file-status:empty{display:none!important}
@media(max-width:480px){
    .mbh-chat-file-preview-thumb{width:48px!important;height:48px!important;min-width:48px!important}
    .mbh-chat-reply-preview,.mbh-chat-file-preview{padding:7px!important;gap:8px!important}
}

/* 4.1.3.40 - prévia do anexo acima do compositor */
.mbh-chat-modal .mbh-chat-form,
.mbh-chat-conversation-only .mbh-chat-form{
    overflow:visible!important;
}
.mbh-chat-modal .mbh-chat-composer-previews,
.mbh-chat-conversation-only .mbh-chat-composer-previews{
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(100% + 6px)!important;
    width:auto!important;
    z-index:30!important;
    display:grid!important;
    gap:6px!important;
    pointer-events:auto!important;
}
.mbh-chat-modal .mbh-chat-composer-previews:has(.mbh-chat-reply-preview:not([hidden]), .mbh-chat-file-preview:not([hidden])),
.mbh-chat-conversation-only .mbh-chat-composer-previews:has(.mbh-chat-reply-preview:not([hidden]), .mbh-chat-file-preview:not([hidden])){
    padding:0!important;
}
.mbh-chat-modal .mbh-chat-reply-preview,
.mbh-chat-modal .mbh-chat-file-preview,
.mbh-chat-conversation-only .mbh-chat-reply-preview,
.mbh-chat-conversation-only .mbh-chat-file-preview{
    background:#ffffff!important;
    border:1px solid #c9dceb!important;
    box-shadow:0 8px 24px rgba(15,23,42,.16)!important;
    border-radius:14px!important;
}
@media(max-width:480px){
    .mbh-chat-modal .mbh-chat-composer-previews,
    .mbh-chat-conversation-only .mbh-chat-composer-previews{
        left:6px!important;
        right:6px!important;
        bottom:calc(100% + 5px)!important;
    }
}


/* 4.1.3.41 - vídeos no chat e na galeria */
.mbh-chat-file-preview-thumb video{width:100%;height:100%;object-fit:cover}
.mbh-chat-video{display:block;max-width:290px}
.mbh-chat-video video{display:block;width:100%;max-height:360px;border-radius:12px;background:#0f172a}
.mbh-chat-video>a{display:block;margin-top:6px;font-size:12px;font-weight:700;color:#1687d9;text-decoration:none}
.mbh-chat-gallery-item{position:relative}
.mbh-chat-gallery-item video{width:100%;height:100%;min-height:120px;object-fit:cover;background:#111827}
.mbh-chat-gallery-item em{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;display:grid;place-items:center;font-style:normal;font-size:20px;pointer-events:none}

/* 4.1.3.42 - miniaturas em respostas de mídia */
.mbh-chat-quote.has-media{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px;align-items:center;padding:6px 8px}
.mbh-chat-quote-media{position:relative;width:46px;height:46px;border-radius:8px;overflow:hidden;background:#dbe7f2;display:block;flex:none}
.mbh-chat-quote-media img,.mbh-chat-quote-media video{width:100%;height:100%;object-fit:cover;display:block}
.mbh-chat-quote-media.is-video i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-style:normal;text-shadow:0 1px 4px rgba(0,0,0,.75);background:rgba(0,0,0,.16)}
.mbh-chat-quote-copy{min-width:0;display:block}
.mbh-chat-quote-copy strong,.mbh-chat-quote-copy>span{display:block}


/* 4.1.3.43 - divisores de data fixos no fluxo do chat */
.mbh-chat-messages>.mbh-chat-day-separator{position:relative!important;top:auto!important;bottom:auto!important;inset:auto!important;align-self:stretch!important;order:initial!important}
.mbh-chat-day-separator+ .mbh-chat-day-separator{display:none!important}

/* 4.1.3.44 - divisor de data sticky compacto, estilo mensageiro */
.mbh-chat-messages > .mbh-chat-day-separator{
    position:sticky!important;
    top:8px!important;
    bottom:auto!important;
    inset-inline:auto!important;
    z-index:6!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    align-self:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    max-width:calc(100% - 24px)!important;
    min-height:0!important;
    height:auto!important;
    margin:8px auto 7px!important;
    padding:0!important;
    clear:none!important;
    pointer-events:none!important;
    transform:none!important;
}
.mbh-chat-messages > .mbh-chat-day-separator span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:28px!important;
    padding:4px 11px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    background:rgba(255,255,255,.94)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    border:1px solid #d6e2eb!important;
    border-radius:999px!important;
    box-shadow:0 2px 7px rgba(15,23,42,.09)!important;
}


/* 4.1.3.46 - divisor de data fixo, claro e estável */
.mbh-chat-messages > .mbh-chat-day-separator{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    inset:auto!important;
    z-index:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:stretch!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:none!important;
    min-height:34px!important;
    height:auto!important;
    margin:14px 0 11px!important;
    padding:0 8px!important;
    clear:both!important;
    pointer-events:none!important;
    transform:none!important;
}
.mbh-chat-messages > .mbh-chat-day-separator::before,
.mbh-chat-messages > .mbh-chat-day-separator::after{
    content:"";
    flex:1 1 auto;
    height:1px;
    background:linear-gradient(90deg,transparent,#cbd8e3);
}
.mbh-chat-messages > .mbh-chat-day-separator::after{
    background:linear-gradient(90deg,#cbd8e3,transparent);
}
.mbh-chat-messages > .mbh-chat-day-separator span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    min-height:30px!important;
    margin:0 9px!important;
    padding:5px 12px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    background:#ffffff!important;
    color:#526b80!important;
    border:1px solid #d4e0e9!important;
    border-radius:999px!important;
    box-shadow:0 2px 6px rgba(15,23,42,.07)!important;
    font-size:11.5px!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

/* 4.1.3.47 - visualizador de mídia do chat */
.mbh-chat-image,.mbh-chat-video{position:relative;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.mbh-chat-image img,.mbh-chat-video video{-webkit-touch-callout:none;-webkit-user-drag:none;user-select:none}
.mbh-chat-image{cursor:zoom-in}
.mbh-chat-image span{color:inherit}
.mbh-chat-media-expand{position:absolute;right:8px;top:8px;z-index:2;width:38px;height:38px;border:0;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:21px;line-height:1;display:grid;place-items:center;box-shadow:0 3px 10px rgba(0,0,0,.24);cursor:pointer}
.mbh-chat-media-expand:active{transform:scale(.95)}
.mbh-media-viewer{position:fixed;inset:0;z-index:2147483646;display:none;background:rgba(3,8,18,.96);color:#fff;touch-action:none;-webkit-tap-highlight-color:transparent}
.mbh-media-viewer.is-open{display:flex;flex-direction:column}
.mbh-media-viewer__top{height:64px;flex:0 0 64px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;padding:0 10px;padding-top:env(safe-area-inset-top);background:linear-gradient(180deg,rgba(0,0,0,.62),transparent);z-index:3}
.mbh-media-viewer__counter{text-align:center;font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mbh-media-viewer__button{width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:28px;display:grid;place-items:center;cursor:pointer}
.mbh-media-viewer__stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:6px 54px 54px}
.mbh-media-viewer__content{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center;transform-origin:center center;transition:transform .18s ease}
.mbh-media-viewer__content img{display:block;max-width:100%;max-height:calc(100dvh - 130px);object-fit:contain;border-radius:4px;-webkit-user-drag:none;user-select:none}
.mbh-media-viewer__content video{display:block;width:min(100%,980px);max-height:calc(100dvh - 130px);background:#000;border-radius:8px}
.mbh-media-viewer__content audio{width:min(90vw,620px)}
.mbh-media-viewer__content iframe{width:min(94vw,1000px);height:calc(100dvh - 150px);border:0;background:#fff;border-radius:8px}
.mbh-media-viewer__nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:54px;border:0;border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:34px;display:grid;place-items:center;cursor:pointer;z-index:2}
.mbh-media-viewer__prev{left:8px}.mbh-media-viewer__next{right:8px}
.mbh-media-viewer__nav[hidden]{display:none}
.mbh-media-viewer__caption{position:absolute;left:12px;right:12px;bottom:10px;text-align:center;font-size:13px;font-weight:700;text-shadow:0 1px 3px #000;pointer-events:none}
.mbh-media-viewer__hint{position:absolute;left:50%;bottom:34px;transform:translateX(-50%);font-size:11px;opacity:.72;white-space:nowrap;pointer-events:none}
body.mbh-media-viewer-open{overflow:hidden!important;overscroll-behavior:none}
@media(max-width:640px){.mbh-media-viewer__stage{padding:0 42px 48px}.mbh-media-viewer__nav{width:38px;height:48px;font-size:30px}.mbh-media-viewer__prev{left:3px}.mbh-media-viewer__next{right:3px}.mbh-media-viewer__top{height:56px;flex-basis:56px}}


/* 4.1.3.48 - galeria da conversa integrada ao visualizador de mídia */
.mbh-chat-gallery-item[data-mbh-media]{
    cursor:zoom-in;
    -webkit-tap-highlight-color:transparent;
    -webkit-touch-callout:none;
    user-select:none;
}
.mbh-chat-gallery-item[data-mbh-media] img,
.mbh-chat-gallery-item[data-mbh-media] video{
    -webkit-user-drag:none;
    user-select:none;
}
.mbh-chat-gallery-item[data-mbh-media]:focus-visible{
    outline:3px solid #1f86e5;
    outline-offset:3px;
}


/* 4.1.3.49 - Chat visual premium, sem alterar a lógica de envio/leitura */
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{
    background-color:#f3f7fb!important;
    background-image:radial-gradient(circle at 18px 18px,rgba(29,78,216,.035) 1.2px,transparent 1.4px)!important;
    background-size:34px 34px!important;
    padding:12px 14px!important;
}
.mbh-chat-modal .mbh-chat-message:not(.is-system){
    width:fit-content!important;
    min-width:64px!important;
    max-width:min(82%,560px)!important;
    margin-top:7px!important;
    margin-bottom:2px!important;
    padding:8px 11px 6px!important;
    border-radius:14px!important;
    box-shadow:0 1px 2px rgba(15,23,42,.10)!important;
    line-height:1.34!important;
}
.mbh-chat-modal .mbh-chat-message.is-mine{
    background:#d9fdd3!important;
    color:#172033!important;
    border-bottom-right-radius:4px!important;
}
.mbh-chat-modal .mbh-chat-message.is-other{
    background:#fff!important;
    color:#172033!important;
    border-bottom-left-radius:4px!important;
}
.mbh-chat-modal .mbh-chat-message.is-mine + .mbh-chat-message.is-mine,
.mbh-chat-modal .mbh-chat-message.is-other + .mbh-chat-message.is-other{
    margin-top:2px!important;
}
.mbh-chat-modal .mbh-chat-message.is-mine + .mbh-chat-message.is-mine{border-top-right-radius:8px!important;}
.mbh-chat-modal .mbh-chat-message.is-other + .mbh-chat-message.is-other{border-top-left-radius:8px!important;}
.mbh-chat-modal .mbh-chat-message-text{font-size:15px!important;line-height:1.34!important;overflow-wrap:anywhere;}
.mbh-chat-modal .mbh-chat-message small{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:3px!important;
    min-height:15px!important;
    margin-top:2px!important;
    font-size:10.5px!important;
    line-height:1!important;
    color:#667085!important;
    opacity:1!important;
    white-space:nowrap!important;
}
.mbh-chat-modal .mbh-chat-message-status{font-weight:800!important;letter-spacing:-2px!important;color:#7a8794!important;padding-right:1px;}
.mbh-chat-modal .mbh-chat-message-status[data-mbh-message-status]{font-family:Arial,sans-serif!important;}
.mbh-chat-modal .mbh-chat-message-status:not(:empty){margin-left:1px!important;}
.mbh-chat-modal .mbh-chat-message.is-mine .mbh-chat-message-status{color:#7a8794!important;}
.mbh-chat-modal .mbh-chat-message.is-mine .mbh-chat-message-status:is([data-mbh-message-status]){ }
.mbh-chat-modal .mbh-chat-message.is-mine small .mbh-chat-message-status{color:#7a8794!important;}
.mbh-chat-modal .mbh-chat-message.is-mine small .mbh-chat-message-status[data-mbh-message-status]{ }
/* O texto ✓✓ só é produzido quando a mensagem foi lida; a cor azul preserva essa leitura visual. */
.mbh-chat-modal .mbh-chat-message.is-mine small .mbh-chat-message-status{color:#1687d9!important;}
.mbh-chat-modal .mbh-chat-message.is-mine.is-pending small{color:#7a8794!important;}
.mbh-chat-modal .mbh-chat-day-separator{margin:14px 0 10px!important;clear:both;}
.mbh-chat-modal .mbh-chat-day-separator span{
    background:rgba(255,255,255,.92)!important;
    color:#5d6b7c!important;
    border:1px solid #dce5ee!important;
    box-shadow:0 1px 3px rgba(15,23,42,.08)!important;
    padding:5px 11px!important;
    font-size:11px!important;
}
.mbh-chat-modal .mbh-chat-reply-action{
    opacity:0!important;
    pointer-events:none!important;
    width:27px!important;
    height:27px!important;
    font-size:14px!important;
    box-shadow:0 2px 8px rgba(15,23,42,.14)!important;
}
.mbh-chat-modal .mbh-chat-message.is-actions-open .mbh-chat-reply-action,
.mbh-chat-modal .mbh-chat-message:hover .mbh-chat-reply-action,
.mbh-chat-modal .mbh-chat-reply-action:focus{
    opacity:.96!important;
    pointer-events:auto!important;
}
.mbh-chat-modal .mbh-chat-message.is-mine .mbh-chat-reply-action{left:-31px!important;}
.mbh-chat-modal .mbh-chat-message.is-other .mbh-chat-reply-action{right:-31px!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-security{
    margin:7px 10px 5px!important;
    padding:7px 10px!important;
    line-height:1.3!important;
    border-radius:12px!important;
    background:#eef7ff!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form{
    background:#f7f9fc!important;
    border-top:1px solid #dce5ee!important;
    padding:8px!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form textarea{
    background:#fff!important;
    border:1px solid #cfd9e4!important;
    border-radius:22px!important;
    min-height:46px!important;
    padding:11px 14px!important;
    box-shadow:none!important;
    resize:none!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form textarea:focus{border-color:#75aee8!important;box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;outline:0!important;}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    font-size:0!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form button[type="submit"]::after{content:"➤";font-size:23px!important;line-height:1;color:#fff;transform:translateX(1px);}
.mbh-chat-modal .mbh-chat-plus{width:42px!important;height:42px!important;min-width:42px!important;background:#eef6ff!important;}
.mbh-chat-modal .mbh-chat-image img,.mbh-chat-modal .mbh-chat-video video{border-radius:12px!important;}
@media(max-width:700px){
  .mbh-chat-modal .mbh-chat-message:not(.is-system){max-width:84%!important;}
  .mbh-chat-modal .mbh-chat-message-text{font-size:15px!important;}
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{padding:10px 14px!important;}
}

/* 4.1.3.52 - botão responder com melhor contraste e área de toque */
.mbh-chat-reply-action,
.mbh-chat-modal .mbh-chat-reply-action,
.mbh-chat-conversation-only .mbh-chat-reply-action{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    border:2px solid #2f80ed!important;
    border-radius:999px!important;
    background:#ffffff!important;
    color:#1769d2!important;
    box-shadow:0 5px 16px rgba(23,105,210,.24),0 1px 3px rgba(15,23,42,.12)!important;
    font-family:Arial,"Helvetica Neue",sans-serif!important;
    font-size:23px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:-2px!important;
    text-indent:-2px!important;
    place-items:center!important;
    transition:opacity .18s ease,transform .18s ease,background-color .18s ease,box-shadow .18s ease!important;
    -webkit-tap-highlight-color:transparent;
}
.mbh-chat-reply-action:hover,
.mbh-chat-reply-action:focus-visible,
.mbh-chat-message.is-actions-open .mbh-chat-reply-action{
    background:#edf6ff!important;
    color:#095abf!important;
    box-shadow:0 7px 20px rgba(23,105,210,.30),0 0 0 3px rgba(47,128,237,.14)!important;
}
.mbh-chat-reply-action:active{
    transform:translateY(-50%) scale(.94)!important;
}
.mbh-chat-message.is-mine .mbh-chat-reply-action,
.mbh-chat-modal .mbh-chat-message.is-mine .mbh-chat-reply-action,
.mbh-chat-conversation-only .mbh-chat-message.is-mine .mbh-chat-reply-action{
    left:-44px!important;
}
.mbh-chat-message.is-other .mbh-chat-reply-action,
.mbh-chat-modal .mbh-chat-message.is-other .mbh-chat-reply-action,
.mbh-chat-conversation-only .mbh-chat-message.is-other .mbh-chat-reply-action{
    right:-44px!important;
}
@media(max-width:700px){
    .mbh-chat-reply-action,
    .mbh-chat-modal .mbh-chat-reply-action,
    .mbh-chat-conversation-only .mbh-chat-reply-action{
        width:36px!important;
        height:36px!important;
        min-width:36px!important;
        min-height:36px!important;
        font-size:22px!important;
    }
    .mbh-chat-message.is-mine .mbh-chat-reply-action,
    .mbh-chat-modal .mbh-chat-message.is-mine .mbh-chat-reply-action,
    .mbh-chat-conversation-only .mbh-chat-message.is-mine .mbh-chat-reply-action{
        left:-40px!important;
    }
    .mbh-chat-message.is-other .mbh-chat-reply-action,
    .mbh-chat-modal .mbh-chat-message.is-other .mbh-chat-reply-action,
    .mbh-chat-conversation-only .mbh-chat-message.is-other .mbh-chat-reply-action{
        right:-40px!important;
    }
}

/* Orçamentos no chat — Fase 1 */
.mbh-budget-panel{padding:10px 14px;border-top:1px solid #dbe7f5;background:#f7fbff;position:relative;z-index:3}
.mbh-budget-open,.mbh-budget-submit,.mbh-budget-accept{border:0;border-radius:12px;background:#1464d2;color:#fff;font-weight:800;padding:12px 16px;cursor:pointer;width:100%}
.mbh-budget-waiting{font-size:13px;color:#5f6f82;text-align:center;padding:8px}
.mbh-budget-card{background:#fff;border:1px solid #bed4ed;border-radius:16px;padding:14px;box-shadow:0 4px 14px rgba(15,62,110,.08)}
.mbh-budget-card.is-aceito{border-color:#53b976;background:#f4fff7}.mbh-budget-card.is-alteracao_solicitada{border-color:#e5a53b;background:#fffaf0}
.mbh-budget-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.mbh-budget-head span{font-size:12px;background:#e9f2ff;color:#175baa;padding:5px 9px;border-radius:999px;font-weight:700}
.mbh-budget-values{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mbh-budget-values div{background:#f5f8fc;border-radius:10px;padding:8px}.mbh-budget-values small,.mbh-budget-values b{display:block}.mbh-budget-values small{font-size:10px;color:#68798c}.mbh-budget-values b{font-size:13px;margin-top:3px}.mbh-budget-values .is-total{background:#e8f2ff}.mbh-budget-values .is-total b{color:#075dbf;font-size:15px}
.mbh-budget-card p{margin:12px 0 8px}.mbh-budget-meta{font-size:12px;color:#607286;margin-top:4px}.mbh-budget-change{margin-top:10px;padding:9px;border-radius:9px;background:#fff0cf;color:#765000;font-size:13px}
.mbh-budget-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.mbh-budget-change-open,.mbh-budget-edit{border:1px solid #1464d2;border-radius:12px;background:#fff;color:#1464d2;font-weight:800;padding:11px;cursor:pointer}.mbh-budget-edit{width:100%;margin-top:12px}
.mbh-budget-modal{position:fixed;inset:0;background:rgba(4,15,30,.62);z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}.mbh-budget-modal[hidden]{display:none}.mbh-budget-modal-box{width:min(460px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;position:relative}.mbh-budget-modal-box h3{margin:0 0 14px}.mbh-budget-close{position:absolute;right:12px;top:10px;border:0;background:#edf2f8;border-radius:50%;width:36px;height:36px;font-size:25px}.mbh-budget-modal-box label{display:block;font-weight:700;font-size:13px;margin:11px 0}.mbh-budget-modal-box input,.mbh-budget-modal-box textarea,.mbh-budget-modal-box select{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:11px;border:1px solid #c9d4e2;border-radius:10px;font:inherit}.mbh-budget-modal-box>small{display:block;color:#68798c;margin-top:9px;text-align:center}
@media(max-width:480px){.mbh-budget-values{grid-template-columns:1fr 1fr}.mbh-budget-values .is-total{grid-column:1/-1}.mbh-budget-actions{grid-template-columns:1fr}}


/* Orçamentos no chat — Fase 1.1: painel retrátil */
.mbh-budget-panel{padding:8px 12px;background:#f7fbff}
.mbh-budget-toolbar{display:flex;align-items:center}
.mbh-budget-toggle{width:100%;min-height:46px;border:1px solid #c5d9ef;border-radius:14px;background:#fff;color:#17324f;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:6px 10px;cursor:pointer;box-shadow:0 3px 10px rgba(15,62,110,.08);text-align:left}
.mbh-budget-toggle-icon{width:32px;height:32px;border-radius:10px;background:#1464d2;color:#fff;display:grid;place-items:center;font-size:25px;line-height:1;font-weight:900;transform:rotate(90deg)}
.mbh-budget-toggle-label{font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mbh-budget-toggle strong{font-size:13px;color:#075dbf;white-space:nowrap}
.mbh-budget-panel.is-open .mbh-budget-toggle{border-color:#1464d2;border-radius:14px 14px 10px 10px}
.mbh-budget-panel.is-open .mbh-budget-toggle-icon{transform:rotate(0deg)}
.mbh-budget-content{padding-top:9px}
.mbh-budget-content[hidden]{display:none!important}
@media(max-width:380px){.mbh-budget-toggle{grid-template-columns:32px 1fr}.mbh-budget-toggle strong{grid-column:2;font-size:12px;margin-top:-5px}}


/* 4.1.3.57 - limpeza visual do chat e orçamento ultracompacto */
.mbh-chat-realtime-status,.mbh-chat-peer-status{display:none!important}
.mbh-chat-sync-meta{display:none!important}
.mbh-chat-realtime-line{min-height:0!important;margin:0!important;padding:0 10px!important;background:transparent!important}
.mbh-chat-typing-status{display:none!important;margin:3px 0 5px!important;font-size:12px!important}
.mbh-chat-typing-status.is-active{display:inline-flex!important}

.mbh-chat-statusbar{padding:8px 12px!important}
.mbh-chat-security{margin:6px 10px!important;padding:7px 10px!important;border-radius:12px!important;font-size:12px!important;line-height:1.3!important}
.mbh-chat-messages{gap:1px!important;padding-top:9px!important;padding-bottom:10px!important}
.mbh-chat-message{margin:1px 0!important;padding:7px 10px 6px!important;line-height:1.32!important}
.mbh-chat-message.is-system{margin:5px auto!important;padding:6px 9px!important;max-width:84%!important;font-size:11.5px!important;line-height:1.3!important}
.mbh-chat-day-separator{margin:8px 0 6px!important}

.mbh-budget-panel{padding:4px 9px!important;border-top:0!important;background:#fff!important;transition:opacity .16s ease,transform .16s ease,max-height .16s ease,padding .16s ease;overflow:hidden}
.mbh-budget-toolbar{justify-content:center!important}
.mbh-budget-toggle{width:auto!important;max-width:100%!important;min-height:36px!important;grid-template-columns:26px auto auto!important;gap:6px!important;padding:3px 9px 3px 4px!important;border-radius:999px!important;box-shadow:0 2px 7px rgba(15,62,110,.09)!important}
.mbh-budget-toggle-icon{width:26px!important;height:26px!important;border-radius:999px!important;font-size:20px!important}
.mbh-budget-toggle-label{font-size:12.5px!important}
.mbh-budget-toggle strong{font-size:12.5px!important}
.mbh-budget-panel.is-open{padding:6px 10px 9px!important}
.mbh-budget-panel.is-open .mbh-budget-toggle{border-radius:999px!important}
.mbh-budget-panel.is-auto-hidden{max-height:0!important;padding-top:0!important;padding-bottom:0!important;border:0!important;opacity:0!important;transform:translateY(6px)!important;pointer-events:none!important}
.mbh-budget-content{padding-top:6px!important}

.mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{padding-top:7px!important;padding-bottom:calc(7px + env(safe-area-inset-bottom))!important}
.mbh-chat-send-btn{overflow:hidden!important}
.mbh-chat-send-icon{display:grid!important;place-items:center!important;width:23px!important;height:23px!important;font-size:0!important;line-height:0!important;transform:none!important}
.mbh-chat-send-icon svg{display:block!important;width:23px!important;height:23px!important;fill:currentColor!important;pointer-events:none!important}
.mbh-chat-send-btn:before,.mbh-chat-send-btn:after,.mbh-chat-send-icon:before,.mbh-chat-send-icon:after{content:none!important;display:none!important}

@media(max-width:380px){
 .mbh-budget-toggle{grid-template-columns:25px auto!important;padding-right:8px!important}
 .mbh-budget-toggle strong{grid-column:auto!important;margin-top:0!important}
 .mbh-budget-toggle-label{max-width:150px!important}
}

/* 4.1.3.58 - orçamento sempre acima do campo e chevron único */
.mbh-chat-modal .mbh-chat-conversation-only .mbh-budget-panel,
.mbh-chat-conversation-only .mbh-budget-panel,
.mbh-chat-modal .mbh-budget-panel{
    position:sticky!important;
    bottom:calc(66px + env(safe-area-inset-bottom))!important;
    z-index:9!important;
    flex:0 0 auto!important;
    width:100%!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -5px 14px rgba(15,62,110,.05)!important;
}
.mbh-budget-panel.is-auto-hidden{
    overflow:hidden!important;
    box-shadow:none!important;
}
.mbh-budget-toggle{
    grid-template-columns:minmax(0,1fr) auto 24px!important;
    padding:5px 9px 5px 12px!important;
    min-height:40px!important;
}
.mbh-budget-toggle-label{grid-column:1!important;min-width:0!important}
.mbh-budget-toggle strong{grid-column:2!important}
.mbh-budget-toggle-icon{
    grid-column:3!important;
    width:24px!important;
    height:24px!important;
    padding:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#1464d2!important;
    transform:none!important;
    transition:transform .18s ease!important;
}
.mbh-budget-toggle-icon svg{display:block!important;width:20px!important;height:20px!important;fill:currentColor!important}
.mbh-budget-panel.is-open .mbh-budget-toggle-icon{transform:rotate(180deg)!important}
.mbh-budget-panel.is-open .mbh-budget-content{
    max-height:min(58dvh,520px)!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    padding-bottom:3px!important;
}
@media(max-width:380px){
    .mbh-budget-toggle{grid-template-columns:minmax(0,1fr) auto 22px!important;padding-left:10px!important}
    .mbh-budget-toggle-label{max-width:none!important}
    .mbh-budget-toggle-icon{width:22px!important;height:22px!important}
}

/* 4.1.3.59 - barra de orçamento em fluxo normal, largura total e acima do compositor */
.mbh-chat-modal .mbh-chat-conversation-only .mbh-budget-panel,
.mbh-chat-conversation-only .mbh-budget-panel,
.mbh-chat-modal .mbh-budget-panel{
    position:relative!important;
    inset:auto!important;
    bottom:auto!important;
    z-index:7!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:5px 12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#fff!important;
    border-top:1px solid #e1e9f2!important;
    box-shadow:none!important;
}
.mbh-budget-toolbar{
    display:block!important;
    width:100%!important;
}
.mbh-budget-toggle{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto 26px!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    min-height:48px!important;
    gap:9px!important;
    padding:7px 12px 7px 14px!important;
    border:1px solid #bdd6ef!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 3px 10px rgba(15,62,110,.08)!important;
}
.mbh-budget-toggle-label{
    grid-column:1!important;
    min-width:0!important;
    max-width:none!important;
    font-size:13.5px!important;
    font-weight:800!important;
    color:#172b44!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.mbh-budget-toggle strong{
    grid-column:2!important;
    font-size:13.5px!important;
    font-weight:900!important;
    color:#075fca!important;
    white-space:nowrap!important;
}
.mbh-budget-toggle-icon{
    grid-column:3!important;
    width:26px!important;
    height:26px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#1464d2!important;
    transform:none!important;
    transition:transform .18s ease!important;
}
.mbh-budget-toggle-icon svg{
    width:21px!important;
    height:21px!important;
}
.mbh-budget-panel.is-open{
    padding:5px 12px 9px!important;
}
.mbh-budget-panel.is-open .mbh-budget-toggle{
    border-radius:15px!important;
}
.mbh-budget-panel.is-open .mbh-budget-toggle-icon{
    transform:rotate(180deg)!important;
}
.mbh-budget-panel.is-open .mbh-budget-content{
    max-height:min(56dvh,500px)!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    padding-top:7px!important;
}
.mbh-budget-panel.is-auto-hidden{
    max-height:0!important;
    min-height:0!important;
    margin:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    border:0!important;
    opacity:0!important;
    transform:none!important;
    pointer-events:none!important;
}
@media(max-width:380px){
    .mbh-chat-modal .mbh-chat-conversation-only .mbh-budget-panel,
    .mbh-chat-conversation-only .mbh-budget-panel,
    .mbh-chat-modal .mbh-budget-panel{padding-left:8px!important;padding-right:8px!important}
    .mbh-budget-toggle{grid-template-columns:minmax(0,1fr) auto 23px!important;padding-left:11px!important;padding-right:9px!important;gap:6px!important}
    .mbh-budget-toggle-label,.mbh-budget-toggle strong{font-size:12.5px!important}
    .mbh-budget-toggle-icon{width:23px!important;height:23px!important}
}

/* 4.1.3.60 - mantém resumo do orçamento em uma única linha compacta */
.mbh-budget-toggle{
    grid-template-rows:1fr!important;
    align-content:center!important;
    min-height:46px!important;
    height:46px!important;
    padding:5px 12px 5px 14px!important;
}
.mbh-budget-toggle-label,
.mbh-budget-toggle strong,
.mbh-budget-toggle-icon{
    grid-row:1!important;
    align-self:center!important;
    margin:0!important;
}
.mbh-budget-toggle-label{grid-column:1!important;line-height:1.15!important}
.mbh-budget-toggle strong{grid-column:2!important;line-height:1.15!important}
.mbh-budget-toggle-icon{grid-column:3!important;line-height:1!important}
.mbh-budget-panel:not(.is-open) .mbh-budget-content{display:none!important}

/* 4.1.3.62 - Mensagens de áudio: gravador isolado do fluxo existente */
.mbh-chat-mic-btn{grid-column:3!important;grid-row:1!important;width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#1681e5!important;color:#fff!important;box-shadow:0 5px 13px rgba(22,129,229,.25)!important;cursor:pointer!important}
.mbh-chat-mic-btn svg{width:23px!important;height:23px!important;fill:currentColor!important}
.mbh-chat-mic-btn:active{transform:scale(.96)}
.mbh-chat-mic-btn[hidden],.mbh-chat-send-btn[hidden],.mbh-chat-audio-recorder[hidden],.mbh-chat-audio-preview[hidden]{display:none!important}
.mbh-chat-audio-recorder{grid-column:1/-1!important;grid-row:1!important;min-height:46px!important;display:flex!important;align-items:center!important;gap:9px!important;padding:7px 9px!important;border:1px solid #fecaca!important;border-radius:24px!important;background:#fff7f7!important;color:#991b1b!important;z-index:12!important}
.mbh-chat-audio-recorder>span:not(.mbh-chat-audio-dot){flex:1;font-size:13px;color:#7f1d1d}
.mbh-chat-audio-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:mbhAudioPulse 1s infinite}
.mbh-chat-audio-recorder button{border:0!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important}
.mbh-chat-audio-recorder [data-mbh-audio-cancel]{background:#fee2e2!important;color:#991b1b!important}
.mbh-chat-audio-recorder [data-mbh-audio-stop]{background:#1681e5!important;color:#fff!important}
.mbh-chat-audio-preview{grid-column:1/-1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:3px 5px 3px 8px!important;border:1px solid #cbdbe8!important;border-radius:24px!important;background:#f7fbff!important;z-index:11!important}
.mbh-chat-audio-preview audio{flex:1!important;min-width:0!important;height:40px!important}
.mbh-chat-audio-preview button{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fee2e2!important;color:#b91c1c!important;font-size:22px!important;line-height:1!important}
.mbh-chat-audio{min-width:min(290px,78vw);padding:8px 10px!important;border:1px solid rgba(15,23,42,.10)!important;background:rgba(255,255,255,.68)!important;border-radius:14px!important}
.mbh-chat-audio-title{font-size:12px;font-weight:800;margin-bottom:5px;opacity:.78}
.mbh-chat-audio audio{display:block;width:100%;height:42px}
@keyframes mbhAudioPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}
@media(max-width:760px){.mbh-chat-mic-btn{width:44px!important;height:44px!important;min-width:44px!important}.mbh-chat-audio-recorder{gap:6px!important}.mbh-chat-audio-recorder>span:not(.mbh-chat-audio-dot){display:none}.mbh-chat-audio-recorder button{padding:7px 9px!important}}


/* 4.1.3.65 - Composer definitivo: um único espaço para microfone ou enviar */
.mbh-chat-action-slot{
    grid-column:3!important;grid-row:1!important;
    width:46px!important;height:46px!important;min-width:46px!important;
    display:grid!important;place-items:center!important;position:relative!important;
    align-self:end!important;margin:0!important;padding:0!important;
}
.mbh-chat-action-slot>.mbh-chat-mic-btn,
.mbh-chat-action-slot>.mbh-chat-send-btn{
    grid-column:1!important;grid-row:1!important;position:relative!important;
    width:46px!important;height:46px!important;min-width:46px!important;
    margin:0!important;padding:0!important;
}
.mbh-chat-action-slot>.mbh-chat-mic-btn[hidden],
.mbh-chat-action-slot>.mbh-chat-send-btn[hidden]{display:none!important}
.mbh-chat-action-slot.is-send-mode>.mbh-chat-mic-btn{display:none!important}
.mbh-chat-action-slot:not(.is-send-mode)>.mbh-chat-send-btn{display:none!important}
.mbh-chat-action-slot.is-send-mode>.mbh-chat-send-btn,
.mbh-chat-action-slot:not(.is-send-mode)>.mbh-chat-mic-btn{display:grid!important}
@media(max-width:760px){
  .mbh-chat-action-slot{width:44px!important;height:44px!important;min-width:44px!important}
  .mbh-chat-action-slot>.mbh-chat-mic-btn,.mbh-chat-action-slot>.mbh-chat-send-btn{width:44px!important;height:44px!important;min-width:44px!important}
}


/* 4.1.3.66 - Composer de áudio 2.0: gravação substitui o campo e nunca extrapola a tela */
.mbh-chat-form.is-audio-recording{
    grid-template-columns:minmax(0,1fr)!important;
}
.mbh-chat-form.is-audio-recording>textarea,
.mbh-chat-form.is-audio-recording>.mbh-chat-upload-row,
.mbh-chat-form.is-audio-recording>.mbh-chat-action-slot,
.mbh-chat-form.is-audio-recording>.mbh-chat-composer-previews,
.mbh-chat-form.is-audio-recording>.mbh-chat-audio-preview{
    display:none!important;
}
.mbh-chat-form>.mbh-chat-audio-recorder{
    grid-column:1/-1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:48px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 42px 46px!important;
    align-items:center!important;
    gap:7px!important;
    padding:5px 6px!important;
    margin:0!important;
    overflow:hidden!important;
    border:1px solid #f3b7b7!important;
    border-radius:25px!important;
    background:#fff7f7!important;
    color:#991b1b!important;
    z-index:20!important;
}
.mbh-chat-form>.mbh-chat-audio-recorder[hidden]{display:none!important}
.mbh-audio-recording-info{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}
.mbh-audio-recording-info strong{font-size:15px!important;min-width:42px!important;color:#991b1b!important}
.mbh-audio-recording-info [data-mbh-audio-status]{font-size:13px!important;font-weight:700!important;color:#9f3030!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-control{
    width:40px!important;height:40px!important;min-width:40px!important;
    display:grid!important;place-items:center!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
    font-size:19px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;
}
.mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-cancel{background:#fee2e2!important;color:#b91c1c!important}
.mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-pause{background:#fff!important;color:#7f1d1d!important;border:1px solid #fecaca!important}
.mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-send{width:44px!important;height:44px!important;min-width:44px!important;background:#1681e5!important;color:#fff!important;box-shadow:0 4px 10px rgba(22,129,229,.24)!important}
.mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-send svg{width:22px!important;height:22px!important;fill:currentColor!important}
.mbh-chat-form.is-audio-paused .mbh-chat-audio-dot{animation:none!important;opacity:.45!important}
.mbh-chat-form.is-audio-paused .mbh-audio-pause{background:#1681e5!important;color:#fff!important;border-color:#1681e5!important}
@media(max-width:420px){
  .mbh-chat-form>.mbh-chat-audio-recorder{grid-template-columns:38px minmax(0,1fr) 38px 42px!important;gap:5px!important;padding:4px!important}
  .mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-control{width:36px!important;height:36px!important;min-width:36px!important}
  .mbh-chat-form>.mbh-chat-audio-recorder .mbh-audio-send{width:40px!important;height:40px!important;min-width:40px!important}
  .mbh-audio-recording-info [data-mbh-audio-status]{display:none!important}
}


/* 4.1.3.67 - Um único botão no slot e correção definitiva do áudio */
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot,
.mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot{
    grid-column:3!important;grid-row:1!important;
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;
    position:relative!important;overflow:hidden!important;display:block!important;
    padding:0!important;margin:0!important;align-self:center!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-mic-btn,
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn,
.mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-mic-btn,
.mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn{
    position:absolute!important;inset:0!important;
    grid-column:auto!important;grid-row:auto!important;
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;
    margin:0!important;padding:0!important;border-radius:50%!important;
    overflow:hidden!important;transform:none!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn::before,
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn::after,
.mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn::before,
.mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn::after{
    content:none!important;display:none!important;
}
.mbh-chat-action-slot>.mbh-chat-mic-btn[hidden],
.mbh-chat-action-slot>.mbh-chat-send-btn[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.mbh-chat-action-slot.is-send-mode>.mbh-chat-send-btn,
.mbh-chat-action-slot:not(.is-send-mode)>.mbh-chat-mic-btn{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.mbh-chat-action-slot.is-send-mode>.mbh-chat-mic-btn,
.mbh-chat-action-slot:not(.is-send-mode)>.mbh-chat-send-btn{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
@media(max-width:760px){
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot,
  .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot,
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-mic-btn,
  .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn,
  .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-mic-btn,
  .mbh-chat-conversation-only .mbh-chat-form .mbh-chat-action-slot>.mbh-chat-send-btn{
      width:44px!important;min-width:44px!important;max-width:44px!important;
      height:44px!important;min-height:44px!important;max-height:44px!important;
  }
}


/* Central do Atendimento 2.0 — orçamento no topo e central de anexos */
.mbh-chat-budget-top,.mbh-chat-gallery-toggle{
  width:48px;height:48px;min-width:48px;border:1px solid #d7e4f3;border-radius:16px;background:#fff;
  display:grid;place-items:center;position:relative;font-size:21px;box-shadow:0 5px 14px rgba(15,62,110,.09);cursor:pointer;
}
.mbh-chat-budget-top[hidden]{display:none!important}
.mbh-chat-budget-top i{display:none;position:absolute;right:5px;top:5px;width:9px;height:9px;border-radius:50%;background:#ef3340;border:2px solid #fff;box-shadow:0 0 0 1px rgba(180,0,15,.15)}
.mbh-chat-budget-top.has-update i{display:block}
.mbh-chat-modal-actions{gap:7px!important}
.mbh-chat-gallery-toggle>span{font-size:22px}

/* Antes do primeiro orçamento: barra mínima; depois do envio: sai do rodapé. */
.mbh-budget-panel.is-empty-budget{padding:3px 12px!important;background:#fff!important}
.mbh-budget-panel.is-empty-budget .mbh-budget-toggle{min-height:34px!important;height:34px!important;border-radius:12px!important;box-shadow:none!important}
.mbh-budget-panel.is-empty-budget .mbh-budget-toggle-label{font-size:12px!important}
.mbh-budget-panel.has-budget{height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:visible!important;background:transparent!important;position:static!important}
.mbh-budget-panel.has-budget>.mbh-budget-toolbar{display:none!important}
.mbh-budget-panel.has-budget>.mbh-budget-content{display:none!important}

/* Orçamento aberto pelo ícone: bottom sheet, sem ocupar o composer. */
.mbh-budget-panel.has-budget.is-open{position:fixed!important;inset:0!important;height:auto!important;z-index:100120!important;background:rgba(4,15,30,.55)!important;display:flex!important;align-items:flex-end!important;padding:0!important}
.mbh-budget-panel.has-budget.is-open>.mbh-budget-content{display:block!important;width:100%!important;max-height:min(78vh,720px)!important;overflow:auto!important;background:#fff!important;border-radius:22px 22px 0 0!important;padding:12px 14px calc(18px + env(safe-area-inset-bottom))!important;box-shadow:0 -18px 50px rgba(2,20,45,.22)!important}
.mbh-budget-panel.has-budget.is-open>.mbh-budget-content:before{content:"";display:block;width:42px;height:4px;border-radius:999px;background:#cbd5e1;margin:0 auto 12px}
.mbh-budget-panel.has-budget.is-open .mbh-budget-card{box-shadow:none!important;border:0!important;padding:4px 2px 10px!important;background:#fff!important}
.mbh-budget-panel.has-budget.is-open .mbh-budget-head{padding-bottom:10px;border-bottom:1px solid #e8eef5}
.mbh-budget-panel.has-budget.is-open .mbh-budget-values{margin-top:12px}
body:has(.mbh-budget-panel.has-budget.is-open){overflow:hidden}

.mbh-chat-gallery-audio,.mbh-chat-gallery-file{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;background:#f5f9ff;border-radius:14px}
.mbh-chat-gallery-audio>span,.mbh-chat-gallery-file>span{font-size:32px}
.mbh-chat-gallery-audio audio{width:100%;max-width:230px}
.mbh-chat-gallery-file b{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:480px){.mbh-chat-budget-top,.mbh-chat-gallery-toggle{width:44px;height:44px;min-width:44px;border-radius:14px}.mbh-chat-modal-actions{gap:6px!important}}

/* 4.1.3.71 — bottom sheet sem reservar espaço no composer */
.mbh-budget-panel.has-budget:not(.is-open){
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.mbh-budget-panel.has-budget.is-open{
  display:flex!important;
}
.mbh-budget-panel.has-budget.is-open>.mbh-budget-content{
  position:relative!important;
  touch-action:pan-y!important;
}
.mbh-budget-panel.has-budget.is-open>.mbh-budget-content::after{
  content:"Deslize para baixo ou toque fora para fechar";
  display:block;
  text-align:center;
  color:#7b8a9c;
  font-size:11px;
  margin:10px 0 0;
}

/* 4.1.3.72 — Central do Atendimento: identidade visual premium e ícones vivos */
.mbh-chat-modal-topbar{
  background:linear-gradient(135deg,#f4f9ff 0%,#eaf4ff 100%)!important;
  border-bottom:1px solid #cfe1f4!important;
  box-shadow:0 6px 18px rgba(15,62,110,.07)!important;
}
.mbh-chat-modal-title strong{color:#10233c!important;font-weight:900!important;letter-spacing:-.02em!important}
.mbh-chat-modal-title span{color:#0f6bdc!important;font-weight:800!important}
.mbh-chat-modal-actions{gap:14px!important}
.mbh-chat-budget-top,.mbh-chat-gallery-toggle,.mbh-chat-modal-close{
  width:38px!important;height:38px!important;min-width:38px!important;
  padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;
  box-shadow:none!important;display:grid!important;place-items:center!important;
  transition:transform .16s ease,filter .16s ease!important;
}
.mbh-chat-budget-top:hover,.mbh-chat-gallery-toggle:hover,.mbh-chat-modal-close:hover,
.mbh-chat-budget-top:focus-visible,.mbh-chat-gallery-toggle:focus-visible,.mbh-chat-modal-close:focus-visible{
  transform:translateY(-1px) scale(1.06)!important;filter:brightness(1.08)!important;outline:none!important;
}
.mbh-chat-budget-top:active,.mbh-chat-gallery-toggle:active,.mbh-chat-modal-close:active{transform:scale(.93)!important}
.mbh-tool-icon,.mbh-chat-modal-close svg{display:block!important;width:31px!important;height:31px!important}
.mbh-tool-icon svg,.mbh-chat-modal-close svg{display:block!important;width:100%!important;height:100%!important;fill:currentColor!important}
.mbh-tool-wallet{color:#f2b500!important;filter:drop-shadow(0 3px 5px rgba(242,181,0,.25))}
.mbh-tool-attach{color:#1479ea!important;filter:drop-shadow(0 3px 5px rgba(20,121,234,.22))}
.mbh-chat-modal-close{color:#10233c!important}
.mbh-chat-modal-close svg{width:29px!important;height:29px!important}
.mbh-chat-budget-top i{right:1px!important;top:0!important;width:10px!important;height:10px!important;background:#ef3340!important;box-shadow:0 0 0 3px #edf6ff,0 2px 6px rgba(239,51,64,.35)!important}
.mbh-chat-gallery-toggle small{
  right:-2px!important;top:-3px!important;min-width:19px!important;height:19px!important;padding:0 4px!important;
  background:#ef3340!important;border:2px solid #edf6ff!important;box-shadow:0 3px 8px rgba(239,51,64,.32)!important;
  font-size:10px!important;font-weight:900!important;
}

.mbh-chat-security{
  background:linear-gradient(135deg,#fff9f0 0%,#fffdf9 100%)!important;
  border:1px solid #ffd49a!important;color:#41546b!important;
  box-shadow:0 4px 13px rgba(244,145,0,.08)!important;
}
.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{
  background:
    radial-gradient(circle at 12px 12px,rgba(20,121,234,.035) 1.2px,transparent 1.3px) 0 0/28px 28px,
    linear-gradient(180deg,#f8fbff 0%,#f5f9fd 100%)!important;
}
.mbh-chat-message{
  border:1px solid rgba(137,166,196,.22)!important;
  box-shadow:0 5px 15px rgba(18,53,87,.08)!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
.mbh-chat-message.is-mine{
  background:linear-gradient(135deg,#d7ffd8 0%,#c7f7ca 100%)!important;
  border-color:#a8e8ad!important;color:#173d22!important;
}
.mbh-chat-message.is-other{
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  border-color:#dce8f3!important;color:#172033!important;
}
.mbh-chat-message.is-system{
  max-width:82%!important;border-left:3px solid #3687e8!important;
  background:linear-gradient(135deg,#edf6ff 0%,#f6faff 100%)!important;
  color:#294963!important;
}
.mbh-chat-message.is-system-budget{
  border-left-color:#f0b400!important;background:linear-gradient(135deg,#fff8df 0%,#fffdf4 100%)!important;color:#5e4a0d!important;
}
.mbh-chat-message.is-system-warning{
  border-left-color:#ff7a1a!important;background:linear-gradient(135deg,#fff0e4 0%,#fff8f2 100%)!important;color:#6d3a15!important;
}
.mbh-chat-message.is-system-success{
  border-left-color:#20b15a!important;background:linear-gradient(135deg,#e9faed 0%,#f5fff7 100%)!important;color:#1d5b32!important;
}
.mbh-chat-message.is-system-progress{
  border-left-color:#1d7fe8!important;background:linear-gradient(135deg,#eaf4ff 0%,#f6fbff 100%)!important;color:#244e75!important;
}
.mbh-chat-message.is-system .mbh-chat-message-text{font-weight:600!important}
.mbh-chat-message small{color:#64748b!important;opacity:.92!important}
.mbh-chat-message.is-mine .mbh-chat-message-status{color:#079145!important;font-weight:900!important}

.mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{
  background:rgba(255,255,255,.98)!important;
  border-top:1px solid #dce8f3!important;
  box-shadow:0 -10px 26px rgba(24,65,104,.08)!important;
}
.mbh-chat-form textarea{
  background:#fff!important;border-color:#cbdcec!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03),0 4px 12px rgba(15,62,110,.05)!important;
}
.mbh-chat-plus,.mbh-chat-mic-btn,.mbh-chat-send-btn{
  background:linear-gradient(145deg,#188ef0,#076bd4)!important;color:#fff!important;border:0!important;
  box-shadow:0 7px 16px rgba(14,112,218,.27)!important;
}
.mbh-chat-plus{font-size:31px!important;font-weight:300!important}
.mbh-chat-mic-btn svg,.mbh-chat-send-btn svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.12))}

.mbh-chat-audio-card{background:rgba(255,255,255,.78)!important;border:1px solid rgba(52,168,83,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
.mbh-chat-audio-card strong:before{color:#1db954!important}

@media(max-width:760px){
  .mbh-chat-modal-actions{gap:10px!important}
  .mbh-chat-budget-top,.mbh-chat-gallery-toggle,.mbh-chat-modal-close{width:36px!important;height:36px!important;min-width:36px!important}
  .mbh-tool-icon{width:29px!important;height:29px!important}
  .mbh-chat-modal-close svg{width:27px!important;height:27px!important}
  .mbh-chat-message.is-system{max-width:86%!important}
}
@media(prefers-reduced-motion:no-preference){
  .mbh-chat-message[data-message-id]{animation:mbhMessagePop .18s ease-out both}
  @keyframes mbhMessagePop{from{opacity:.55;transform:translateY(3px) scale(.985)}to{opacity:1;transform:none}}
}

/* 4.1.3.73 — acabamento fiel ao mockup aprovado */
.mbh-chat-modal,.mbh-chat-modal *{font-family:Roboto,"Segoe UI",Arial,sans-serif!important}
.mbh-chat-modal-panel{background:#f8fbff!important}
.mbh-chat-modal-topbar{
  display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;
  min-height:86px!important;padding:14px 22px!important;background:#fff!important;border-bottom:1px solid #e3ebf4!important;
  box-shadow:0 5px 18px rgba(20,53,90,.06)!important;
}
.mbh-chat-modal-back{width:42px;height:42px;border:0;background:transparent;color:#071b3a;padding:5px;display:grid;place-items:center;cursor:pointer}
.mbh-chat-modal-back svg{width:32px;height:32px;fill:currentColor}
.mbh-chat-modal-title{padding-left:4px!important}
.mbh-chat-modal-title strong{display:block!important;font-size:24px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.035em!important;color:#0d1d38!important}
.mbh-chat-modal-title span{display:block!important;margin-top:7px!important;font-size:17px!important;line-height:1!important;font-weight:800!important;color:#0876f9!important}
.mbh-chat-modal-actions{display:flex!important;align-items:center!important;gap:19px!important}
.mbh-chat-budget-top,.mbh-chat-gallery-toggle,.mbh-chat-modal-close{width:43px!important;height:43px!important;min-width:43px!important;border-radius:0!important}
.mbh-tool-icon{width:39px!important;height:39px!important}
.mbh-chat-modal-close svg{width:34px!important;height:34px!important}
.mbh-tool-wallet{color:#ffbd00!important;filter:drop-shadow(0 4px 5px rgba(255,177,0,.22))}
.mbh-tool-attach{color:#087af5!important;filter:drop-shadow(0 3px 4px rgba(0,112,240,.18))}
.mbh-chat-modal-close{color:#06162f!important}
.mbh-chat-budget-top i,.mbh-chat-gallery-toggle small{background:#ff3345!important;border:2px solid #fff!important;box-shadow:0 3px 8px rgba(227,28,52,.3)!important}
.mbh-chat-gallery-toggle small{right:-5px!important;top:-7px!important;min-width:23px!important;height:23px!important;font-size:12px!important}
.mbh-chat-budget-top i{right:-3px!important;top:-4px!important;width:13px!important;height:13px!important}

.mbh-chat-security{
  display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;
  margin:20px 28px 16px!important;padding:15px 20px!important;border:1px solid #ffd18b!important;border-radius:22px!important;
  background:linear-gradient(135deg,#fffaf4,#fff)!important;box-shadow:0 7px 18px rgba(218,124,0,.09)!important;
  font-size:15px!important;line-height:1.35!important;color:#263a55!important;
}
.mbh-security-icon{width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,#ff9c00,#ff6a00);display:grid;place-items:center;box-shadow:0 6px 13px rgba(255,113,0,.25)}
.mbh-security-icon svg{width:28px;height:28px;fill:#fff}
.mbh-security-copy strong{font-weight:900!important;color:#12223a!important}
.mbh-security-copy small{display:block!important;margin-top:3px!important;font-size:14px!important;color:#53647a!important}

.mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{
  padding:10px 28px 28px!important;background-color:#fbfdff!important;
  background-image:
    linear-gradient(rgba(255,255,255,.88),rgba(255,255,255,.88)),
    radial-gradient(circle at 11px 11px,rgba(32,97,166,.09) 1px,transparent 1.4px)!important;
  background-size:auto,34px 34px!important;
}
.mbh-chat-message{font-size:17px!important;line-height:1.42!important;border-radius:21px!important;box-shadow:0 7px 19px rgba(18,53,87,.10)!important}
.mbh-chat-message.is-mine{max-width:78%!important;padding:15px 17px 12px!important;background:linear-gradient(135deg,#dfffdc,#cff7cd)!important;border-color:#bfeabb!important}
.mbh-chat-message.is-other{max-width:68%!important;padding:13px 16px 11px!important;background:#fff!important;border-color:#e0e8f0!important}
.mbh-chat-message small{font-size:12px!important;margin-top:7px!important}
.mbh-chat-message.is-mine small{text-align:right!important}

.mbh-chat-message.is-system{
  position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;align-items:center!important;
  gap:14px!important;width:min(88%,620px)!important;max-width:88%!important;min-height:92px!important;margin:15px auto!important;
  padding:13px 15px 13px 12px!important;border:1px solid!important;border-left-width:3px!important;border-radius:18px!important;
  text-align:left!important;font-size:17px!important;line-height:1.35!important;box-shadow:0 7px 18px rgba(23,54,86,.10)!important;
}
.mbh-chat-message.is-system .mbh-chat-message-text{grid-column:2!important;font-weight:500!important;color:#17304f!important}
.mbh-chat-message.is-system .mbh-chat-message-text strong{font-weight:900!important}
.mbh-chat-message.is-system small{grid-column:3!important;align-self:end!important;margin:0!important;white-space:nowrap!important;color:#65768b!important}
.mbh-system-icon{grid-column:1!important;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 10px rgba(255,255,255,.42)}
.mbh-system-icon:before{font-size:27px;line-height:1;font-weight:900}
.mbh-system-icon.is-wallet:before{content:"▰";transform:scaleX(1.15)}
.mbh-system-icon.is-edit:before{content:"✎"}
.mbh-system-icon.is-check:before{content:"✓"}
.mbh-system-icon.is-progress:before{content:"●"}
.mbh-system-icon.is-info:before{content:"i"}
.mbh-chat-message.is-system-budget{border-color:#f2bd36!important;border-left-color:#f2b400!important;background:linear-gradient(135deg,#fff8e8,#fffdf8)!important}
.mbh-chat-message.is-system-budget .mbh-system-icon{background:#ffe9a7;color:#e8a600}
.mbh-chat-message.is-system-warning{border-color:#ffb275!important;border-left-color:#ff7a1a!important;background:linear-gradient(135deg,#fff2e8,#fffaf6)!important}
.mbh-chat-message.is-system-warning .mbh-system-icon{background:#ffd8bd;color:#ff6b00}
.mbh-chat-message.is-system-success{border-color:#a7df9e!important;border-left-color:#18b94b!important;background:linear-gradient(135deg,#eafbe7,#f8fff6)!important}
.mbh-chat-message.is-system-success .mbh-system-icon{background:#bff0bb;color:#08a83d}
.mbh-chat-message.is-system-progress{border-color:#b5d8ff!important;border-left-color:#1885f4!important;background:linear-gradient(135deg,#ecf6ff,#f8fbff)!important}
.mbh-chat-message.is-system-progress .mbh-system-icon{background:#cce5ff;color:#0877e8}

.mbh-chat-audio{padding:15px 17px!important;border-radius:20px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(53,166,82,.18)!important}
.mbh-chat-audio-title{font-size:16px!important;font-weight:900!important;margin-bottom:9px!important;color:#26364d!important}
.mbh-chat-audio-title::first-letter{color:#08b547}
.mbh-chat-audio audio{height:52px!important}

.mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{
  grid-template-columns:58px minmax(0,1fr) 58px!important;gap:12px!important;padding:13px 20px calc(13px + env(safe-area-inset-bottom))!important;
  background:#fff!important;border-top:0!important;box-shadow:0 -9px 28px rgba(17,49,82,.10)!important;
}
.mbh-chat-form textarea{height:54px!important;min-height:54px!important;padding:15px 20px!important;border-radius:28px!important;border:1px solid #d8e1eb!important;font-size:17px!important;box-shadow:0 5px 13px rgba(21,55,90,.07)!important}
.mbh-chat-plus,.mbh-chat-mic-btn,.mbh-chat-send-btn{width:54px!important;height:54px!important;min-width:54px!important;border-radius:50%!important;background:linear-gradient(145deg,#178df7,#0064e7)!important;box-shadow:0 8px 18px rgba(0,101,230,.28)!important}
.mbh-chat-plus{font-size:36px!important;line-height:1!important}
.mbh-chat-mic-btn svg,.mbh-chat-send-btn svg{width:28px!important;height:28px!important}

@media(max-width:600px){
 .mbh-chat-modal-topbar{grid-template-columns:42px minmax(0,1fr) auto!important;min-height:78px!important;padding:11px 15px!important}
 .mbh-chat-modal-back{width:38px;height:38px}.mbh-chat-modal-back svg{width:29px;height:29px}
 .mbh-chat-modal-title strong{font-size:21px!important}.mbh-chat-modal-title span{font-size:15px!important;margin-top:6px!important}
 .mbh-chat-modal-actions{gap:12px!important}.mbh-chat-budget-top,.mbh-chat-gallery-toggle,.mbh-chat-modal-close{width:38px!important;height:38px!important;min-width:38px!important}
 .mbh-tool-icon{width:34px!important;height:34px!important}.mbh-chat-modal-close svg{width:31px!important;height:31px!important}
 .mbh-chat-security{margin:12px 16px 10px!important;padding:12px 14px!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;border-radius:17px!important;font-size:13.5px!important}
 .mbh-security-icon{width:36px;height:36px;border-radius:12px}.mbh-security-icon svg{width:24px;height:24px}.mbh-security-copy small{font-size:12.5px!important}
 .mbh-chat-modal .mbh-chat-conversation-only .mbh-chat-messages{padding:8px 18px 22px!important}
 .mbh-chat-message{font-size:15.5px!important}.mbh-chat-message.is-mine{max-width:82%!important}.mbh-chat-message.is-other{max-width:74%!important}
 .mbh-chat-message.is-system{grid-template-columns:47px minmax(0,1fr)!important;grid-template-rows:auto auto!important;width:88%!important;max-width:88%!important;min-height:82px!important;gap:9px 12px!important;padding:11px 13px 9px 10px!important;font-size:15px!important}
 .mbh-system-icon{width:44px;height:44px}.mbh-system-icon:before{font-size:23px}
 .mbh-chat-message.is-system .mbh-chat-message-text{grid-column:2!important;grid-row:1!important}
 .mbh-chat-message.is-system small{grid-column:2!important;grid-row:2!important;justify-self:end!important}
 .mbh-chat-modal .mbh-chat-form,.mbh-chat-conversation-only .mbh-chat-form{grid-template-columns:50px minmax(0,1fr) 50px!important;gap:9px!important;padding:10px 13px calc(10px + env(safe-area-inset-bottom))!important}
 .mbh-chat-form textarea{height:50px!important;min-height:50px!important;padding:13px 16px!important;font-size:16px!important}
 .mbh-chat-plus,.mbh-chat-mic-btn,.mbh-chat-send-btn{width:49px!important;height:49px!important;min-width:49px!important}.mbh-chat-plus{font-size:32px!important}
}

/* 4.1.3.74 — ícones completos nos cards de sistema */
.mbh-system-icon::before{
  content:""!important;
  display:block!important;
  width:29px!important;
  height:29px!important;
  background:currentColor!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  -webkit-mask-size:contain!important;
  mask-size:contain!important;
  transform:none!important;
}
.mbh-system-icon.is-wallet::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7h-1V5c0-1.1-.9-2-2-2H5C3.34 3 2 4.34 2 6v12c0 1.66 1.34 3 3 3h16c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1ZM5 5h13v2H5c-.55 0-1-.45-1-1s.45-1 1-1Zm15 11h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4Zm-4-3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 7h-1V5c0-1.1-.9-2-2-2H5C3.34 3 2 4.34 2 6v12c0 1.66 1.34 3 3 3h16c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1ZM5 5h13v2H5c-.55 0-1-.45-1-1s.45-1 1-1Zm15 11h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4Zm-4-3c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1Z'/%3E%3C/svg%3E")!important;
}
.mbh-system-icon.is-edit::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 17.25-.75 4.5 4.5-.75L19.81 7.94l-3.75-3.75L3 17.25ZM22.71 5.04a.996.996 0 0 0 0-1.41L20.37 1.29a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 17.25-.75 4.5 4.5-.75L19.81 7.94l-3.75-3.75L3 17.25ZM22.71 5.04a.996.996 0 0 0 0-1.41L20.37 1.29a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83Z'/%3E%3C/svg%3E")!important;
}
.mbh-system-icon.is-check::before{
  width:31px!important;height:31px!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z'/%3E%3C/svg%3E")!important;
}
.mbh-system-icon.is-progress::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6a5 5 0 0 0-10 0v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm-6 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm3-9H9V6a3 3 0 0 1 6 0v2Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6a5 5 0 0 0-10 0v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2Zm-6 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm3-9H9V6a3 3 0 0 1 6 0v2Z'/%3E%3C/svg%3E")!important;
}
.mbh-system-icon.is-info::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 17h2v-6h-2v6Zm1-15a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16ZM11 9h2V7h-2v2Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 17h2v-6h-2v6Zm1-15a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16ZM11 9h2V7h-2v2Z'/%3E%3C/svg%3E")!important;
}
@media(max-width:600px){.mbh-system-icon::before{width:25px!important;height:25px!important}.mbh-system-icon.is-check::before{width:27px!important;height:27px!important}}


/* 4.1.3.75 — respostas inteligentes para áudio e anexos */
.mbh-chat-quote.has-media{display:flex!important;align-items:center!important;gap:9px!important;}
.mbh-chat-quote-media.is-audio,.mbh-chat-quote-media.is-file{width:36px!important;height:36px!important;min-width:36px!important;border-radius:11px!important;display:grid!important;place-items:center!important;font-size:19px!important;line-height:1!important;}
.mbh-chat-quote-media.is-audio{background:linear-gradient(145deg,#dcfce7,#bbf7d0)!important;color:#15803d!important;}
.mbh-chat-quote-media.is-file{background:linear-gradient(145deg,#eff6ff,#dbeafe)!important;color:#1d4ed8!important;}
.mbh-chat-quote-copy{min-width:0!important;flex:1!important;}
.mbh-chat-quote-copy>span{font-weight:650!important;color:#475569!important;}
.mbh-chat-message.is-highlighted{animation:mbhChatReplyHighlight 2s ease!important;}
@keyframes mbhChatReplyHighlight{0%,100%{transform:translateZ(0);filter:none}20%,55%{box-shadow:0 0 0 4px rgba(22,141,225,.28),0 10px 30px rgba(15,23,42,.18)!important;filter:saturate(1.08)}}


/* 4.1.3.80 - Central de Suporte: anexo responsivo e limpo */
.mbh-support-attachment-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 4px;min-width:0}
.mbh-support-attachment-button{display:inline-flex!important;align-items:center!important;justify-content:center;gap:8px;min-height:46px;max-width:100%;padding:10px 16px!important;border:1px solid #bfdbfe!important;border-radius:14px!important;background:linear-gradient(135deg,#eff6ff,#f8fbff)!important;color:#1d4ed8!important;font-weight:800!important;cursor:pointer;box-sizing:border-box;overflow:hidden;white-space:nowrap;box-shadow:0 6px 16px rgba(37,99,235,.08)}
.mbh-support-attachment-button:hover,.mbh-support-attachment-button:focus-within{border-color:#60a5fa!important;background:#eff6ff!important;box-shadow:0 8px 20px rgba(37,99,235,.14)}
.mbh-support-attachment-button input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
.mbh-support-attachment-status{display:block;min-width:0;max-width:100%;font-size:13px;color:#475569;overflow-wrap:anywhere}
.mbh-support-reply-form .mbh-support-attachment-picker{margin:0}
@media(max-width:640px){.mbh-support-attachment-picker{display:grid;grid-template-columns:minmax(0,1fr)}.mbh-support-attachment-button{width:100%;white-space:normal}.mbh-support-attachment-status{padding:0 4px}}


/* 4.1.3.81 - Áudio premium fase 1 */
.mbh-chat-audio{position:relative!important;padding-right:58px!important}
.mbh-audio-speed{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:38px!important;height:38px!important;border:0!important;border-radius:999px!important;background:#e8f2ff!important;color:#0877df!important;font-size:11px!important;font-weight:900!important;box-shadow:0 2px 7px rgba(8,119,223,.13)!important;cursor:pointer!important}
.mbh-audio-speed:active{transform:translateY(-50%) scale(.94)!important}
.mbh-chat-gallery-audio{position:relative!important}.mbh-chat-gallery-audio .mbh-audio-speed{right:8px!important;top:12px!important;transform:none!important}
.mbh-chat-typing-status.is-recording{color:#ef4444!important;font-weight:800!important}
.mbh-chat-typing-status.is-recording:before{content:'●';display:inline-block;margin-right:6px;animation:mbhAudioPulse 1s infinite}
.mbh-chat-audio-preview{padding-right:48px!important;position:relative!important}
.mbh-chat-audio-preview:before{content:'Ouça antes de enviar';position:absolute;left:18px;top:-19px;font-size:10px;font-weight:800;color:#64748b;background:#fff;padding:1px 6px;border-radius:8px}


/* 4.1.3.82 - Pré-escuta integrada ao composer, sem sobreposição no rodapé */
.mbh-chat-form.is-audio-preview{
    grid-template-columns:minmax(0,1fr) 48px!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    gap:8px!important;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;
    min-height:64px!important;
    background:#fff!important;
    z-index:30!important;
}
.mbh-chat-form.is-audio-preview>textarea,
.mbh-chat-form.is-audio-preview>.mbh-chat-upload-row,
.mbh-chat-form.is-audio-preview>.mbh-chat-composer-previews,
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-recorder{
    display:none!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview{
    display:grid!important;
    grid-column:1!important;
    grid-row:1!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:4px 7px 4px 5px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border:1px solid #cbdbe8!important;
    border-radius:25px!important;
    background:#f7fbff!important;
    box-shadow:0 3px 12px rgba(30,91,144,.08)!important;
    position:relative!important;
    z-index:31!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview:before{
    content:none!important;
    display:none!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview audio{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    margin:0!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview [data-mbh-audio-remove]{
    grid-column:1!important;
    grid-row:1!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#fee2e2!important;
    color:#b91c1c!important;
    font-size:23px!important;
    font-weight:800!important;
    line-height:1!important;
    cursor:pointer!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-action-slot{
    display:block!important;
    grid-column:2!important;
    grid-row:1!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    margin:0!important;
    align-self:center!important;
    overflow:visible!important;
    position:relative!important;
    z-index:32!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-action-slot>.mbh-chat-mic-btn{
    display:none!important;
}
.mbh-chat-form.is-audio-preview>.mbh-chat-action-slot>.mbh-chat-send-btn{
    display:grid!important;
    position:absolute!important;
    inset:0!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
}
@media(max-width:420px){
  .mbh-chat-form.is-audio-preview{
      grid-template-columns:minmax(0,1fr) 44px!important;
      gap:6px!important;
      padding-left:8px!important;
      padding-right:8px!important;
  }
  .mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview{
      grid-template-columns:38px minmax(0,1fr)!important;
      gap:4px!important;
      padding-left:4px!important;
      padding-right:5px!important;
  }
  .mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview [data-mbh-audio-remove]{
      width:36px!important;height:36px!important;min-width:36px!important;
  }
  .mbh-chat-form.is-audio-preview>.mbh-chat-action-slot,
  .mbh-chat-form.is-audio-preview>.mbh-chat-action-slot>.mbh-chat-send-btn{
      width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  }
}


/* 4.1.3.83 - Pré-escuta nativa visível no Android WebView */
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview audio[data-mbh-audio-player]{display:block!important;visibility:visible!important;opacity:1!important;max-width:100%!important;}


/* 4.1.3.84 - Pré-escuta nativa real no Android */
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview:has(.mbh-native-audio-preview:not([hidden])){grid-template-columns:42px minmax(0,1fr)!important}
.mbh-native-audio-preview{grid-column:2!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;height:42px!important}
.mbh-native-audio-preview[hidden]{display:none!important}
.mbh-native-audio-play{width:40px!important;height:40px!important;min-width:40px!important;border:0!important;border-radius:50%!important;background:#e6f1ff!important;color:#0877df!important;font-size:18px!important;font-weight:900!important;display:grid!important;place-items:center!important;padding:0!important}
.mbh-native-audio-meta{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.15!important}
.mbh-native-audio-meta strong{font-size:13px!important;color:#243b53!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mbh-native-audio-meta span{font-size:12px!important;color:#64748b!important;margin-top:3px!important}


/* 4.1.3.85 - Pré-escuta web customizada e estável */
.mbh-web-audio-preview{grid-column:2!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;height:42px!important}
.mbh-web-audio-preview[hidden]{display:none!important}
.mbh-web-audio-play{width:40px!important;height:40px!important;min-width:40px!important;border:0!important;border-radius:50%!important;background:#e6f1ff!important;color:#0877df!important;font-size:18px!important;font-weight:900!important;display:grid!important;place-items:center!important;padding:0!important}
.mbh-web-audio-meta{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.15!important}
.mbh-web-audio-meta strong{font-size:13px!important;color:#243b53!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mbh-web-audio-meta span{font-size:12px!important;color:#64748b!important;margin-top:3px!important}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview:has(.mbh-web-audio-preview:not([hidden])){grid-template-columns:42px minmax(0,1fr)!important}
.mbh-chat-form.is-audio-preview>.mbh-chat-audio-preview audio[data-mbh-audio-player]{display:none!important}

/* 4.1.4.2 - Chat Etapa A: refinamento visual seguro */
.mbh-chat-messages{
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}
.mbh-chat-messages::-webkit-scrollbar{width:6px}
.mbh-chat-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.mbh-chat-message{
  position:relative;
  isolation:isolate;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
  border:1px solid rgba(148,163,184,.18);
}
.mbh-chat-message.is-mine{
  background:linear-gradient(145deg,#2563eb,#1d4ed8)!important;
  box-shadow:0 8px 20px rgba(37,99,235,.16)!important;
  border-color:rgba(255,255,255,.16)!important;
}
.mbh-chat-message.is-other{
  background:linear-gradient(145deg,#fff,#f8fafc)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.07)!important;
  border-color:#e2e8f0!important;
}
.mbh-chat-message small{
  display:flex!important;
  justify-content:flex-end;
  align-items:center;
  gap:4px;
  margin-top:6px!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  letter-spacing:.01em;
  opacity:.72!important;
}
.mbh-chat-message.is-mine small{color:rgba(255,255,255,.88)}
.mbh-chat-message.is-other small{color:#64748b}
.mbh-chat-message-text{white-space:pre-wrap}
.mbh-chat-message.mbh-chat-message-enter{
  animation:mbhChatBubbleIn .24s cubic-bezier(.2,.8,.2,1) both;
}
.mbh-chat-message.mbh-chat-message-new{
  animation:mbhChatNewPulse .75s ease both;
}
.mbh-chat-message.is-pending{opacity:.78;box-shadow:none!important}
.mbh-chat-message.is-pending::after{
  content:"";
  display:inline-block;
  width:11px;height:11px;
  margin-left:7px;
  border:2px solid rgba(255,255,255,.42);
  border-top-color:#fff;
  border-radius:50%;
  vertical-align:-2px;
  animation:mbhChatSpin .75s linear infinite;
}
.mbh-chat-message.is-failed{
  border-color:#fecaca!important;
  background:#fff1f2!important;
  color:#991b1b!important;
  box-shadow:0 7px 18px rgba(190,24,93,.08)!important;
}
.mbh-chat-message.is-failed small{color:#be123c!important;font-weight:700}
.mbh-chat-upload-progress-wrap,
.mbh-chat-form [data-mbh-upload-progress-wrap]{
  overflow:hidden;
  height:4px;
  border-radius:999px;
  background:#e2e8f0;
}
.mbh-chat-form [data-mbh-upload-progress]{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#2563eb,#60a5fa);
  transition:width .18s ease;
  box-shadow:0 0 10px rgba(37,99,235,.24);
}
.mbh-chat-sync-meta:not(.is-error){color:#2563eb}
.mbh-chat-sync-meta.is-error{color:#b91c1c}
.mbh-chat-send-btn{
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease!important;
}
.mbh-chat-send-btn:not(:disabled):active{transform:scale(.96)}
.mbh-chat-send-btn.is-loading{opacity:.8;cursor:wait}
.mbh-chat-send-btn.is-loading .mbh-chat-send-icon{animation:mbhChatSendFloat .8s ease-in-out infinite alternate}
.mbh-chat-image img,.mbh-chat-video video{
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
.mbh-chat-image:active img,.mbh-chat-video:active video{transform:scale(.985)}
.mbh-chat-audio{
  min-width:min(290px,72vw);
  padding:8px 10px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}
.mbh-chat-message.is-other .mbh-chat-audio{
  background:#f1f5f9;
  border-color:#e2e8f0;
}
.mbh-chat-audio audio{width:100%;max-width:100%;height:40px;display:block}
.mbh-chat-audio button,.mbh-chat-audio select{
  transition:transform .15s ease,background .15s ease;
}
.mbh-chat-audio button:active{transform:scale(.94)}
.mbh-chat-file-status{transition:opacity .18s ease,color .18s ease}
.mbh-chat-file-status:not(:empty){animation:mbhChatStatusIn .2s ease both}
@keyframes mbhChatBubbleIn{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:none}
}
@keyframes mbhChatNewPulse{
  0%{box-shadow:0 0 0 0 rgba(37,99,235,.22)}
  55%{box-shadow:0 0 0 7px rgba(37,99,235,0)}
  100%{box-shadow:var(--mbh-shadow-soft)}
}
@keyframes mbhChatSpin{to{transform:rotate(360deg)}}
@keyframes mbhChatSendFloat{from{transform:translate(0,0)}to{transform:translate(2px,-2px)}}
@keyframes mbhChatStatusIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .mbh-chat-message,.mbh-chat-send-btn,.mbh-chat-image img,.mbh-chat-video video,.mbh-chat-file-status{animation:none!important;transition:none!important}
  .mbh-chat-messages{scroll-behavior:auto}
}
@media(max-width:640px){
  .mbh-chat-message{max-width:90%!important;padding:9px 11px!important}
  .mbh-chat-audio{min-width:min(250px,70vw)}
}

/* 4.1.4.5 — encerramento leve da negociação de orçamento */
.mbh-budget-actions{grid-template-columns:1fr 1fr}.mbh-budget-decline-open{grid-column:1/-1;border:0;border-radius:12px;background:#fff5f5;color:#a11b1b;font-weight:800;padding:11px;cursor:pointer}.mbh-budget-decline-modal{position:fixed;inset:0;z-index:100006;background:rgba(15,23,42,.56);display:flex;align-items:flex-end;justify-content:center;padding:14px}.mbh-budget-decline-modal[hidden]{display:none!important}.mbh-budget-decline-box{width:min(100%,560px);max-height:88vh;overflow:auto}.mbh-budget-decline-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.mbh-budget-reasons{display:grid;gap:8px;margin:14px 0}.mbh-budget-reasons label{display:flex!important;align-items:center;gap:10px;padding:12px;border:1px solid #dbe3ee;border-radius:13px;background:#f8fafc;cursor:pointer}.mbh-budget-reasons input{width:18px!important;height:18px;margin:0}.mbh-budget-detail-label{display:grid!important;gap:7px}.mbh-budget-detail-label textarea{width:100%;resize:vertical}.mbh-budget-decline-confirm{width:100%;margin-top:12px;border:0;border-radius:13px;background:#a11b1b;color:#fff;font-weight:900;padding:13px;cursor:pointer}.mbh-budget-decline-confirm:disabled{opacity:.6}.mbh-budget-refused-summary{display:grid;gap:5px;margin-top:12px;padding:12px;border:1px solid #fecaca;border-radius:13px;background:#fff5f5;color:#7f1d1d}.mbh-budget-refused-summary span{font-weight:700}.mbh-budget-refused-summary small{color:#7f1d1d;opacity:.8}

/* 4.1.4.7 - rolagem contínua do chat: âncora estável no fim da conversa */
.mbh-chat-messages > *{overflow-anchor:none}
.mbh-chat-messages::after{content:"";display:block;height:1px;flex:0 0 1px;overflow-anchor:auto}

/* 4.1.4.12 - duração visível do áudio */
.mbh-audio-duration{display:block;margin-top:5px;padding-right:42px;font-size:12px;font-weight:800;color:#64748b;line-height:1.2}
.mbh-chat-message.is-mine .mbh-audio-duration{color:#47705a}

/* MaridoBH 4.1.4.16 — Assistente comunicador */
.mbh-ajuste-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:11px;font:inherit;resize:vertical}
.mbh-client-update-card{margin:12px 0;padding:14px;border:1px solid #bfdbfe;border-radius:16px;background:#eff6ff;color:#0f172a}
.mbh-client-update-card>strong{display:block;margin-bottom:6px}.mbh-client-update-card p{margin:5px 0}.mbh-client-update-card small{display:block;color:#64748b;margin-top:7px}.mbh-client-update-actions form{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.mbh-client-update-actions .mbh-btn{flex:1 1 150px}.mbh-btn-danger{background:#b91c1c!important;border-color:#b91c1c!important;color:#fff!important}
@media(max-width:560px){.mbh-client-update-actions form{display:grid;grid-template-columns:1fr}.mbh-client-update-actions .mbh-btn{width:100%}}

/* 4.2.1 — ações da confirmação do cliente sempre contidas no card */
.mbh-status-sync-inner .mbh-confirmacao-cliente{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.mbh-status-sync-inner .mbh-confirmacao-cliente > strong,
.mbh-status-sync-inner .mbh-confirmacao-cliente > p{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere!important;
}
.mbh-status-sync-inner .mbh-confirmacao-cliente .mbh-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:12px 0 0!important;
  box-sizing:border-box!important;
  align-items:stretch!important;
}
.mbh-status-sync-inner .mbh-confirmacao-cliente .mbh-inline-form,
.mbh-status-sync-inner .mbh-confirmacao-cliente .mbh-ocorrencia-form-wrap,
.mbh-status-sync-inner .mbh-confirmacao-cliente .mbh-ocorrencia-trigger-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.mbh-status-sync-inner .mbh-confirmacao-cliente .mbh-btn,
.mbh-status-sync-inner .mbh-confirmacao-cliente button.mbh-btn,
.mbh-status-sync-inner .mbh-confirmacao-cliente a.mbh-btn{
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  padding:11px 14px!important;
  margin:0!important;
  box-sizing:border-box!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.2!important;
  border-radius:14px!important;
}


/* v4.3.1 - Modal de oportunidade aceita por outro profissional */
.mbh-op-card{transition:opacity .22s ease,transform .22s ease,max-height .22s ease,margin .22s ease,padding .22s ease}
.mbh-op-card.mbh-op-card-removing{opacity:0;transform:scale(.985);pointer-events:none}
.mbh-opportunity-taken-dialog{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .18s ease}
.mbh-opportunity-taken-dialog.is-visible{opacity:1}
.mbh-opportunity-taken-dialog[hidden]{display:none!important}
.mbh-opportunity-taken-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(2px)}
.mbh-opportunity-taken-box{position:relative;width:min(100%,430px);background:#fff;border-radius:20px;padding:28px 24px 22px;box-shadow:0 24px 70px rgba(15,23,42,.28);text-align:center;transform:translateY(10px) scale(.985);transition:transform .18s ease}
.mbh-opportunity-taken-dialog.is-visible .mbh-opportunity-taken-box{transform:translateY(0) scale(1)}
.mbh-opportunity-taken-x{position:absolute;top:10px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#64748b;font-size:28px;line-height:1;cursor:pointer}
.mbh-opportunity-taken-x:hover{background:#f1f5f9;color:#0f172a}
.mbh-opportunity-taken-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 14px;border-radius:50%;background:#fff7ed;color:#c2410c;font-size:28px;font-weight:900}
.mbh-opportunity-taken-box h3{margin:0 28px 10px;font-size:21px;line-height:1.25;color:#0f172a}
.mbh-opportunity-taken-box p{margin:0 0 20px;color:#475569;line-height:1.55}
.mbh-opportunity-taken-close{min-width:130px}
@media(max-width:480px){.mbh-opportunity-taken-dialog{padding:14px}.mbh-opportunity-taken-box{padding:26px 18px 18px;border-radius:18px}.mbh-opportunity-taken-box h3{font-size:19px}}


/* 4.3.5 — desistência segura antes do deslocamento */
.mbh-pre-route-decline-form{width:100%;margin-top:12px}.mbh-pre-route-decline-btn{width:100%;min-height:48px;border-color:#cbd5e1!important;color:#475569!important;background:#fff!important;box-shadow:none!important}.mbh-pre-route-decline-btn:hover{border-color:#ef4444!important;color:#b91c1c!important;background:#fff7f7!important}.mbh-pre-route-decline-note{margin:8px 4px 0;color:#64748b;font-size:12px;line-height:1.45;text-align:center}


/* v4.3.18 - cabeçalho compacto durante a rolagem no app/celular */
@media (max-width:1024px){
    .mbh-shell-cliente .mbh-site-header,
    .mbh-shell-profissional .mbh-site-header{
        position:sticky;
        top:0;
        z-index:1000;
        transform:translateZ(0);
        transition:box-shadow .22s ease, background-color .22s ease;
    }
    .mbh-shell-cliente .mbh-site-header-inner,
    .mbh-shell-profissional .mbh-site-header-inner{
        min-height:76px;
        transition:min-height .22s ease, padding .22s ease, gap .22s ease;
    }
    .mbh-shell-cliente .mbh-logo .mbh-brand-logo,
    .mbh-shell-profissional .mbh-logo .mbh-brand-logo{
        transition:height .22s ease, max-width .22s ease, opacity .22s ease;
        transform-origin:left center;
    }
    .mbh-shell-cliente .mbh-menu-toggle,
    .mbh-shell-profissional .mbh-menu-toggle{
        flex:0 0 auto;
        transition:width .22s ease, height .22s ease, border-radius .22s ease, box-shadow .22s ease, background-color .22s ease;
    }
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto{
        background:rgba(255,255,255,.97);
        box-shadow:0 8px 24px rgba(9,19,23,.12);
        -webkit-backdrop-filter:blur(10px);
        backdrop-filter:blur(10px);
    }
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-site-header-inner,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-site-header-inner{
        min-height:58px;
        padding-top:5px;
        padding-bottom:5px;
        gap:8px;
    }
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo{
        height:46px;
        max-width:178px;
    }
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-menu-toggle,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-menu-toggle{
        width:42px;
        height:42px;
        border-radius:13px;
        box-shadow:0 5px 16px rgba(9,19,23,.09);
    }
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-nav-area,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-nav-area{
        top:calc(100% + 8px);
    }
}
@media (max-width:420px){
    .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo,
    .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo{
        height:42px;
        max-width:158px;
    }
}
@media (prefers-reduced-motion:reduce){
    .mbh-shell-cliente .mbh-site-header,
    .mbh-shell-profissional .mbh-site-header,
    .mbh-shell-cliente .mbh-site-header *,
    .mbh-shell-profissional .mbh-site-header *{
        transition:none!important;
    }
}


/* 4.3.20 — bloqueio seguro do início das etapas até aprovação do orçamento */
.mbh-budget-stage-lock{
    display:flex;
    flex-direction:column;
    gap:5px;
    width:100%;
    padding:14px 16px;
    border:1px solid #f0c36a;
    border-radius:14px;
    background:#fff8e8;
    color:#6b4a0b;
    line-height:1.45;
}
.mbh-budget-stage-lock strong{font-size:15px}
.mbh-budget-stage-lock span{font-size:13px}
.mbh-budget-stage-lock em{font-style:normal;font-weight:700}


/* 4.3.27 - especialidades nos serviços em andamento e leitura compacta */
.mbh-service-specialties-summary{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;max-width:100%}
.mbh-service-specialty-chip{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#eef6ff;border:1px solid #cfe4fb;color:#145ca8;font-size:12px;font-weight:800;line-height:1.15;white-space:nowrap}
.mbh-service-specialty-chip.is-more{background:#f8fafc;border-color:#e2e8f0;color:#64748b}
.mbh-service-specialties-box{margin:0 0 14px;padding:13px 14px;border:1px solid #dbeafe;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}
.mbh-service-specialties-title{display:block;margin-bottom:9px;color:#334155;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.025em}
.mbh-service-specialties-list{display:flex;flex-wrap:wrap;gap:7px}
.mbh-service-description{font-size:16px;line-height:1.5;color:#1f2937;margin:0 0 14px}
.mbh-service-card.is-collapsed .mbh-service-specialties-summary{display:flex}
.mbh-service-card .mbh-card-title-wrap{min-width:0}

@media(max-width:560px){
  .mbh-service-specialties-summary{gap:5px;margin-top:7px}
  .mbh-service-specialty-chip{font-size:11px;min-height:25px;padding:4px 8px}
  .mbh-service-specialties-box{padding:12px;margin-bottom:12px}
  .mbh-service-card .mbh-attendance-assistant-head{display:flex;align-items:center;gap:8px;margin-bottom:9px}
  .mbh-service-card .mbh-attendance-assistant-head>div:first-child{min-width:0;flex:1}
  .mbh-service-card .mbh-attendance-assistant-head>div:first-child strong{font-size:15px}
  .mbh-service-card .mbh-attendance-assistant-head>div:first-child span{font-size:12px;margin-top:2px}
  .mbh-service-card .mbh-attendance-sla{width:auto;min-width:0;align-items:flex-end;padding:6px 8px;border-radius:12px}
  .mbh-service-card .mbh-attendance-sla span{font-size:9px!important}
  .mbh-service-card .mbh-attendance-sla strong{font-size:13px!important}
  .mbh-service-card .mbh-attendance-timeline{margin-top:0;margin-bottom:7px;padding-bottom:7px}
}

/* 4.3.33 — visita técnica antes do deslocamento */
.mbh-budget-entry-actions{display:grid;gap:10px}
.mbh-budget-entry-actions .mbh-visit-open{border:1px solid #b8c7d9;background:#f5f8fc;color:#183b63;border-radius:12px;padding:12px 14px;font-weight:800;cursor:pointer}
.mbh-visit-modal{position:fixed;inset:0;background:rgba(4,15,30,.62);z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px}
.mbh-visit-modal[hidden]{display:none}
.mbh-visit-close{position:absolute;right:12px;top:10px;border:0;background:#edf2f8;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer}
.mbh-visit-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.mbh-visit-options label{margin:0;padding:12px;border:1px solid #d5dee9;border-radius:12px;background:#f8fafc;cursor:pointer}
.mbh-visit-options input{display:inline-block;width:auto;margin:0 6px 0 0}
.mbh-visit-submit{width:100%;border:0;border-radius:12px;padding:13px 16px;background:#0d6efd;color:#fff;font-weight:800;cursor:pointer}
.mbh-visit-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border-radius:12px;background:#eef7ff;margin:10px 0}
.mbh-budget-decision-actions{display:grid;gap:9px;margin-top:14px}
.mbh-budget-decision-actions .mbh-budget-decline-confirm{width:100%}
.mbh-budget-decision-actions .is-cancel{background:#fff;color:#a52828;border:1px solid #e1b8b8}
@media(max-width:520px){.mbh-visit-options{grid-template-columns:1fr}}


/* 4.3.37 — navegação inferior do profissional, controlada pelo plugin */
.mbh-pro-bottom-nav{display:none}
@media(max-width:782px){
  body:has(.mbh-pro-bottom-nav){padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
  .mbh-pro-bottom-nav{
    display:block;position:fixed;left:0;right:0;bottom:0;z-index:99970;
    padding:0 max(8px,env(safe-area-inset-left,0px)) env(safe-area-inset-bottom,0px) max(8px,env(safe-area-inset-right,0px));
    background:rgba(250,252,255,.97);border-top:1px solid #dbe3ee;
    box-shadow:0 -8px 30px rgba(15,45,85,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
  }
  .mbh-pro-bottom-nav-inner{height:72px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;max-width:720px;margin:0 auto}
  .mbh-pro-bottom-nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:7px 2px 5px;color:#526174;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
  .mbh-pro-bottom-nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:46px;height:31px;border-radius:18px;transition:background .18s ease,color .18s ease,transform .18s ease}
  .mbh-pro-bottom-nav-icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
  .mbh-pro-bottom-nav-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:750;line-height:1.1;letter-spacing:-.01em}
  .mbh-pro-bottom-nav-item.is-active{color:#075dcc}
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-icon{background:#dbeafe;color:#075dcc}
  .mbh-pro-bottom-nav-item.is-featured .mbh-pro-bottom-nav-icon{width:53px;height:35px;background:#e6f1ff;color:#075dcc}
  .mbh-pro-bottom-nav-item.is-featured.is-active .mbh-pro-bottom-nav-icon{background:#1269d3;color:#fff;transform:translateY(-1px);box-shadow:0 5px 15px rgba(18,105,211,.25)}
  .mbh-pro-bottom-nav-item.is-featured .mbh-pro-bottom-nav-icon svg path:first-child{fill:currentColor;stroke:currentColor}
  .mbh-pro-bottom-nav-badge{position:absolute;top:-6px;right:-7px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#dc2626;color:#fff;font-size:9px;font-weight:900;line-height:1}
  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  body:has(.mbh-pro-bottom-nav) .mbh-support-panel{bottom:64px}
}
@media(max-width:370px){
  .mbh-pro-bottom-nav-label{font-size:9.5px}
  .mbh-pro-bottom-nav-icon{width:40px}
}

/* 4.3.39 — menu inferior em largura total, colado à navegação do aparelho */
@media(max-width:782px){
  body:has(.mbh-pro-bottom-nav){padding-bottom:calc(62px + env(safe-area-inset-bottom,0px))}

  .mbh-pro-bottom-nav{
    left:0;
    right:0;
    bottom:0;
    width:100%;
    box-sizing:border-box;
    padding:0 max(5px,env(safe-area-inset-left,0px)) env(safe-area-inset-bottom,0px) max(5px,env(safe-area-inset-right,0px));
    background:rgba(255,255,255,.94);
    border:0;
    border-top:1px solid rgba(203,213,225,.78);
    border-radius:18px 18px 0 0;
    box-shadow:0 -8px 26px rgba(15,23,42,.12);
    backdrop-filter:blur(20px) saturate(1.2);
    -webkit-backdrop-filter:blur(20px) saturate(1.2);
    overflow:visible;
  }
  .mbh-pro-bottom-nav-inner{height:62px}
  .mbh-pro-bottom-nav-item{gap:2px;padding:5px 1px 4px;border-radius:15px;transition:background .18s ease,color .18s ease,transform .18s ease}
  .mbh-pro-bottom-nav-item:active{transform:scale(.96)}
  .mbh-pro-bottom-nav-icon{width:39px;height:27px;border-radius:15px}
  .mbh-pro-bottom-nav-icon svg{width:20px;height:20px}
  .mbh-pro-bottom-nav-label{font-size:9.7px;font-weight:780}

  .mbh-pro-bottom-nav-item.is-active{color:#075dcc}
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-icon{background:#e1efff;color:#075dcc}
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-label{font-weight:900}

  .mbh-pro-bottom-nav-item.is-featured .mbh-pro-bottom-nav-icon{width:45px;height:29px;background:#e7f2ff}
  .mbh-pro-bottom-nav-item.is-featured.is-active .mbh-pro-bottom-nav-icon{
    background:#1269d3;color:#fff;transform:none;
    box-shadow:0 4px 11px rgba(18,105,211,.22)
  }
  .mbh-pro-bottom-nav-badge{top:-5px;right:-7px;min-width:17px;height:17px;padding:0 4px;font-size:8px;border-width:2px}

  /* O menu inferior passa a ser a navegação principal no painel profissional. */
  .mbh-shell-profissional .mbh-menu-toggle{display:none!important}
  .mbh-shell-profissional .mbh-site-header-inner{justify-content:center;min-height:64px;padding-top:5px;padding-bottom:5px}
  .mbh-shell-profissional .mbh-logo .mbh-brand-logo{height:54px;max-width:205px}
  .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-site-header-inner{min-height:54px}
  .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo{height:43px;max-width:165px}

  /* Suporte mais discreto e com distância confortável do menu. */
  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{right:13px;bottom:calc(70px + env(safe-area-inset-bottom,0px))}
  body:has(.mbh-pro-bottom-nav) .mbh-support-toggle{
    min-width:54px;height:54px;padding:0 14px;gap:7px;border-width:3px;
    box-shadow:0 12px 28px rgba(13,110,253,.27),0 4px 12px rgba(0,71,255,.16)
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon{width:27px;height:27px}
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon svg{width:25px;height:25px}
  body:has(.mbh-pro-bottom-nav) .mbh-support-label{font-size:12px}
  body:has(.mbh-pro-bottom-nav) .mbh-support-badge{top:-6px;right:-5px;min-width:20px;height:20px;font-size:10px;border-width:2px}
  body:has(.mbh-pro-bottom-nav) .mbh-support-panel{bottom:60px}

  /* Acabamento mais leve nos principais cards do painel profissional. */
  .mbh-shell-profissional .mbh-card,
  .mbh-shell-profissional .mbh-box,
  .mbh-shell-profissional .mbh-panel-card,
  .mbh-shell-profissional .mbh-service-card,
  .mbh-shell-profissional .mbh-op-card{
    border-radius:18px;
    box-shadow:0 7px 22px rgba(15,23,42,.065);
  }
}
@media(max-width:370px){
  .mbh-pro-bottom-nav{left:0;right:0}
  .mbh-pro-bottom-nav-label{font-size:8.8px}
  .mbh-pro-bottom-nav-icon{width:36px}
  body:has(.mbh-pro-bottom-nav) .mbh-support-label{display:none}
  body:has(.mbh-pro-bottom-nav) .mbh-support-toggle{min-width:52px;width:52px;padding:0}
}
@media(prefers-reduced-motion:reduce){
  .mbh-pro-bottom-nav-item,.mbh-pro-bottom-nav-icon{transition:none!important}
}

/* 4.3.40 — remove reserva inferior duplicada no WebView Android */
@media(max-width:782px){
  body:has(.mbh-pro-bottom-nav){padding-bottom:62px!important}
  .mbh-pro-bottom-nav{
    bottom:0!important;
    margin-bottom:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:max(5px,env(safe-area-inset-left,0px))!important;
    padding-right:max(5px,env(safe-area-inset-right,0px))!important;
  }
  .mbh-pro-bottom-nav-inner{height:62px!important;margin-bottom:0!important;padding-bottom:0!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{bottom:77px!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-panel{bottom:62px!important}
}


/* 4.3.41 — refinamento visual e resposta tátil do menu profissional */
@media(max-width:782px){
  .mbh-pro-bottom-nav{
    background:rgba(255,255,255,.965);
    border-top-color:rgba(148,163,184,.34);
    box-shadow:0 -7px 24px rgba(15,23,42,.105);
  }
  .mbh-pro-bottom-nav-inner{padding:3px 7px 2px;box-sizing:border-box}
  .mbh-pro-bottom-nav-item{
    height:56px;
    align-self:center;
    border-radius:17px;
    transition:background-color .16s ease,color .16s ease,transform .12s ease;
  }
  .mbh-pro-bottom-nav-item.is-active{
    color:#075dcc;
    background:linear-gradient(180deg,rgba(225,239,255,.78),rgba(239,247,255,.48));
  }
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-icon{
    background:#cfe7ff;
    box-shadow:inset 0 0 0 1px rgba(7,93,204,.06);
  }
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-label{
    color:#075dcc;
    font-weight:900;
  }
  .mbh-pro-bottom-nav-item.is-featured.is-active{
    background:linear-gradient(180deg,rgba(218,236,255,.92),rgba(238,247,255,.6));
  }
  .mbh-pro-bottom-nav-item.is-featured.is-active .mbh-pro-bottom-nav-icon{
    background:#1269d3;
    color:#fff;
    box-shadow:0 4px 12px rgba(18,105,211,.25);
  }
  .mbh-pro-bottom-nav-item.is-pressed{transform:scale(.94)}

  .mbh-pro-bottom-nav-badge{
    top:-6px;
    right:-8px;
    min-width:18px;
    height:18px;
    font-size:8.5px;
    box-shadow:0 2px 7px rgba(185,28,28,.28);
  }
  .mbh-pro-bottom-nav-item.is-oportunidades .mbh-pro-bottom-nav-badge{
    animation:mbhNavBadgePulse 2.2s ease-in-out infinite;
  }

  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{
    right:14px!important;
    bottom:77px!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-toggle{
    width:52px!important;
    min-width:52px!important;
    height:52px!important;
    padding:0!important;
    border-width:3px!important;
    box-shadow:0 10px 24px rgba(13,110,253,.25),0 3px 9px rgba(0,71,255,.14)!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-label{display:none!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon,
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon svg{width:25px;height:25px}
}
@keyframes mbhNavBadgePulse{
  0%,72%,100%{transform:scale(1)}
  82%{transform:scale(1.12)}
  91%{transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .mbh-pro-bottom-nav-item.is-oportunidades .mbh-pro-bottom-nav-badge{animation:none!important}
}


/* 4.3.42 — painel de Perfil com saída e atalhos secundários */
.mbh-profile-sheet{display:none}
@media(max-width:782px){
  html.mbh-profile-sheet-open,html.mbh-profile-sheet-open body{overflow:hidden!important}
  .mbh-profile-sheet[hidden]{display:none!important}
  .mbh-profile-sheet{display:block;position:fixed;inset:0;z-index:1000000;pointer-events:none}
  .mbh-profile-sheet.is-open{pointer-events:auto}
  .mbh-profile-sheet-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(3px);opacity:0;transition:opacity .18s ease}
  .mbh-profile-sheet.is-open .mbh-profile-sheet-backdrop{opacity:1}
  .mbh-profile-sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:min(88vh,760px);overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:10px 18px 18px;box-sizing:border-box;box-shadow:0 -22px 60px rgba(15,23,42,.25);transform:translateY(104%);transition:transform .2s ease;outline:none}
  .mbh-profile-sheet.is-open .mbh-profile-sheet-panel{transform:translateY(0)}
  .mbh-profile-sheet-handle{width:42px;height:5px;border-radius:999px;background:#cbd5e1;margin:0 auto 12px}
  .mbh-profile-sheet-close{position:absolute;right:15px;top:16px;width:36px;height:36px;border:0;border-radius:999px;background:#f1f5f9;color:#334155;font-size:25px;line-height:1;cursor:pointer}
  .mbh-profile-sheet-head{display:flex;align-items:center;gap:13px;padding:4px 42px 13px 1px}
  .mbh-profile-sheet-avatar{width:62px;height:62px;border-radius:19px;object-fit:cover;background:#eaf3ff;border:2px solid #dbeafe}
  .mbh-profile-sheet-identity{min-width:0;display:flex;flex-direction:column;gap:2px}
  .mbh-profile-sheet-identity strong{font-size:19px;color:#10233f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mbh-profile-sheet-identity span{font-size:12px;color:#64748b;font-weight:700}
  .mbh-profile-sheet-identity em{align-self:flex-start;margin-top:3px;padding:4px 8px;border-radius:999px;background:#e8fff1;color:#16803c;font-size:11px;font-style:normal;font-weight:900}
  .mbh-profile-sheet-identity em.is-pending{background:#fff7e7;color:#9a6700}
  .mbh-profile-sheet-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}
  .mbh-profile-sheet-stats>div{padding:11px 12px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fbff}
  .mbh-profile-sheet-stats span,.mbh-profile-sheet-stats strong{display:block}
  .mbh-profile-sheet-stats span{font-size:10px;text-transform:uppercase;letter-spacing:.035em;color:#64748b;font-weight:800}
  .mbh-profile-sheet-stats strong{margin-top:3px;color:#0f5e9c;font-size:14px}
  .mbh-profile-sheet-edit{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:13px;background:#1175d1;color:#fff!important;text-decoration:none!important;font-weight:900;margin-bottom:11px}
  .mbh-profile-sheet-list{overflow:hidden;border:1px solid #e2e8f0;border-radius:17px;background:#fff}
  .mbh-profile-sheet-list a,.mbh-profile-sheet-list button{width:100%;min-height:48px;box-sizing:border-box;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;padding:7px 13px;border:0;border-bottom:1px solid #edf2f7;background:#fff;color:#24364d!important;text-align:left;text-decoration:none!important;font:inherit;cursor:pointer}
  .mbh-profile-sheet-list a:last-child,.mbh-profile-sheet-list button:last-child{border-bottom:0}
  .mbh-profile-sheet-list span{font-size:18px;text-align:center}.mbh-profile-sheet-list strong{font-size:14px}.mbh-profile-sheet-list i{font-size:23px;color:#94a3b8;font-style:normal}
  .mbh-profile-sheet-secondary{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:13px 4px 9px;color:#94a3b8;font-size:11px}
  .mbh-profile-sheet-secondary a{color:#64748b!important;text-decoration:none!important}.mbh-profile-sheet-secondary a+a:before{content:'•';margin-right:10px;color:#cbd5e1}
  .mbh-profile-sheet-logout{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #fecaca;border-radius:14px;background:#fff5f5;color:#b42318!important;text-decoration:none!important;font-weight:900}
}
@media(max-width:370px){
  .mbh-profile-sheet-panel{padding-left:13px;padding-right:13px}
  .mbh-profile-sheet-head{padding-right:39px}
}
@media(prefers-reduced-motion:reduce){.mbh-profile-sheet-backdrop,.mbh-profile-sheet-panel{transition:none!important}}


/* 4.3.43 — avatar neutro enquanto não houver foto de perfil cadastrável */
.mbh-profile-sheet-avatar-fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e7f3ff,#f5faff);color:#0877c9;font-size:28px;font-weight:800;text-transform:uppercase;border:1px solid rgba(8,119,201,.16);object-fit:initial}

/* 4.3.58 — cabeçalho do app profissional: marca à esquerda e suporte no topo */
@media(max-width:782px){
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-site-header-inner{
    justify-content:flex-start!important;
    min-height:62px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
    padding-left:max(14px,env(safe-area-inset-left,0px))!important;
    padding-right:max(78px,calc(64px + env(safe-area-inset-right,0px)))!important;
    gap:8px!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    margin:0!important;
    min-width:0!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-logo .mbh-brand-logo{
    height:50px!important;
    width:auto!important;
    max-width:188px!important;
    object-position:left center!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-site-header-inner{
    min-height:56px!important;
    padding-top:3px!important;
    padding-bottom:3px!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo{
    height:44px!important;
    max-width:170px!important;
  }

  /* O botão usa o mesmo widget e a mesma Central de Suporte; muda apenas de posição. */
  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{
    top:5px!important;
    right:max(12px,env(safe-area-inset-right,0px))!important;
    bottom:auto!important;
    z-index:1005!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-toggle{
    width:50px!important;
    min-width:50px!important;
    height:50px!important;
    padding:0!important;
    border-width:3px!important;
    box-shadow:0 7px 19px rgba(13,110,253,.23),0 2px 7px rgba(0,71,255,.12)!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-label{display:none!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon,
  body:has(.mbh-pro-bottom-nav) .mbh-support-icon svg{width:25px!important;height:25px!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-panel{
    top:58px!important;
    right:0!important;
    bottom:auto!important;
    max-height:calc(100vh - 76px)!important;
    overflow:auto!important;
  }
}
@media(max-width:380px){
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-site-header-inner{
    padding-left:10px!important;
    padding-right:68px!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-shell-profissional .mbh-logo .mbh-brand-logo{
    height:46px!important;
    max-width:166px!important;
  }
  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{right:9px!important;top:5px!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-toggle{width:48px!important;min-width:48px!important;height:48px!important}
}


/* 4.3.59 — navegação inferior e cabeçalho compacto também no painel do cliente */
@media(max-width:782px){
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-menu-toggle{display:none!important}
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-site-header-inner{
    justify-content:flex-start!important;
    min-height:62px!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
    padding-left:max(14px,env(safe-area-inset-left,0px))!important;
    padding-right:max(78px,calc(64px + env(safe-area-inset-right,0px)))!important;
    gap:8px!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-logo{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    margin:0!important;min-width:0!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-logo .mbh-brand-logo{
    height:50px!important;width:auto!important;max-width:188px!important;object-position:left center!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-site-header-inner{
    min-height:56px!important;padding-top:3px!important;padding-bottom:3px!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-site-header.mbh-header-compacto .mbh-logo .mbh-brand-logo{
    height:44px!important;max-width:170px!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-support-widget{
    top:5px!important;right:max(12px,env(safe-area-inset-right,0px))!important;
    bottom:auto!important;z-index:1005!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-support-toggle{
    width:50px!important;min-width:50px!important;height:50px!important;padding:0!important;border-width:3px!important;
    box-shadow:0 7px 19px rgba(13,110,253,.23),0 2px 7px rgba(0,71,255,.12)!important;
  }
  body:has(.mbh-client-bottom-nav) .mbh-support-label{display:none!important}
  body:has(.mbh-client-bottom-nav) .mbh-support-icon,
  body:has(.mbh-client-bottom-nav) .mbh-support-icon svg{width:25px!important;height:25px!important}
  body:has(.mbh-client-bottom-nav) .mbh-support-panel{
    top:58px!important;right:0!important;bottom:auto!important;
    max-height:calc(100vh - 76px)!important;overflow:auto!important;
  }
  .mbh-client-bottom-nav .mbh-pro-bottom-nav-item.is-solicitar .mbh-pro-bottom-nav-icon svg path:first-child{
    fill:none!important;stroke:currentColor!important;
  }
  .mbh-shell-cliente .mbh-card,.mbh-shell-cliente .mbh-box,.mbh-shell-cliente .mbh-panel-card,.mbh-shell-cliente .mbh-order-card{
    border-radius:18px;box-shadow:0 7px 22px rgba(15,23,42,.065);
  }
}
@media(max-width:380px){
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-site-header-inner{padding-left:10px!important;padding-right:68px!important}
  body:has(.mbh-client-bottom-nav) .mbh-shell-cliente .mbh-logo .mbh-brand-logo{height:46px!important;max-width:166px!important}
  body:has(.mbh-client-bottom-nav) .mbh-support-widget{right:9px!important;top:5px!important}
  body:has(.mbh-client-bottom-nav) .mbh-support-toggle{width:48px!important;min-width:48px!important;height:48px!important}
}

/* 4.3.60 — menu mobile premium compartilhado entre cliente e profissional */
@media(max-width:782px){
  .mbh-pro-bottom-nav{
    background:rgba(248,250,253,.975)!important;
    border-top:1px solid rgba(148,163,184,.30)!important;
    box-shadow:0 -9px 30px rgba(15,23,42,.13)!important;
  }
  .mbh-pro-bottom-nav-inner{
    height:66px!important;
    padding:5px 6px 4px!important;
    gap:4px;
  }
  body:has(.mbh-pro-bottom-nav){padding-bottom:66px!important}

  .mbh-pro-bottom-nav-item{
    height:56px!important;
    padding:4px 1px 3px!important;
    gap:3px!important;
    border-radius:16px!important;
    color:#35516d!important;
    background:linear-gradient(180deg,#f1f5f9 0%,#e9eff5 100%);
    border:1px solid rgba(148,163,184,.18);
    box-shadow:0 2px 7px rgba(15,23,42,.055),inset 0 1px 0 rgba(255,255,255,.9);
    transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .13s ease,border-color .2s ease!important;
  }
  .mbh-pro-bottom-nav-item:hover,
  .mbh-pro-bottom-nav-item:focus-visible{
    color:#075dcc!important;
    border-color:rgba(18,105,211,.20);
    background:linear-gradient(180deg,#edf6ff 0%,#e3effb 100%);
  }
  .mbh-pro-bottom-nav-item:focus-visible{outline:2px solid rgba(18,105,211,.34);outline-offset:1px}
  .mbh-pro-bottom-nav-item:active,
  .mbh-pro-bottom-nav-item.is-pressed{transform:scale(.95)!important}

  .mbh-pro-bottom-nav-icon{
    width:38px!important;
    height:29px!important;
    border-radius:14px!important;
    color:#176fc2;
    background:rgba(255,255,255,.58);
    transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease!important;
  }
  .mbh-pro-bottom-nav-icon svg{width:22px!important;height:22px!important;stroke-width:2.15!important}
  .mbh-pro-bottom-nav-label{
    font-size:10.1px!important;
    font-weight:820!important;
    color:inherit!important;
  }

  .mbh-pro-bottom-nav-item.is-active,
  .mbh-pro-bottom-nav-item.is-featured.is-active{
    color:#fff!important;
    border-color:#0d69c7!important;
    background:linear-gradient(145deg,#2493ec 0%,#0865c7 100%)!important;
    box-shadow:0 7px 17px rgba(8,101,199,.28),inset 0 1px 0 rgba(255,255,255,.25)!important;
    transform:translateY(-2px);
  }
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-icon,
  .mbh-pro-bottom-nav-item.is-featured.is-active .mbh-pro-bottom-nav-icon{
    width:40px!important;
    height:30px!important;
    color:#fff!important;
    background:rgba(255,255,255,.17)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)!important;
    transform:none!important;
  }
  .mbh-pro-bottom-nav-item.is-active .mbh-pro-bottom-nav-label{color:#fff!important;text-shadow:0 1px 2px rgba(0,45,100,.22)}

  .mbh-pro-bottom-nav-badge{
    top:-7px!important;
    right:-8px!important;
    min-width:19px!important;
    height:19px!important;
    padding:0 5px!important;
    border:2px solid #fff!important;
    background:linear-gradient(145deg,#f04444,#c91f2a)!important;
    box-shadow:0 3px 9px rgba(185,28,28,.34)!important;
    font-size:9px!important;
  }

  body:has(.mbh-pro-bottom-nav) .mbh-support-widget{bottom:81px!important}
  body:has(.mbh-pro-bottom-nav) .mbh-support-panel{bottom:66px!important}
}
@media(max-width:390px){
  .mbh-pro-bottom-nav-inner{gap:3px;padding-left:4px!important;padding-right:4px!important}
  .mbh-pro-bottom-nav-item{border-radius:14px!important}
  .mbh-pro-bottom-nav-icon{width:34px!important}
  .mbh-pro-bottom-nav-label{font-size:9.1px!important}
}
@media(max-width:350px){
  .mbh-pro-bottom-nav-inner{gap:2px!important}
  .mbh-pro-bottom-nav-label{font-size:8.5px!important}
  .mbh-pro-bottom-nav-icon svg{width:20px!important;height:20px!important}
}
@media(prefers-reduced-motion:reduce){
  .mbh-pro-bottom-nav-item,.mbh-pro-bottom-nav-icon{transition:none!important}
}

/* 4.3.63 — gravador de vídeo otimizado Web/PWA */
.mbh-chat-upload-row{position:relative!important}
.mbh-chat-attach-menu{display:none;position:absolute;left:0;bottom:calc(100% + 12px);z-index:10020;width:min(310px,calc(100vw - 28px));padding:8px;background:#fff;border:1px solid #d8e4ef;border-radius:18px;box-shadow:0 18px 45px rgba(15,48,82,.22)}
.mbh-chat-attach-menu.is-open{display:grid;gap:5px;animation:mbhAttachIn .16s ease-out}
.mbh-chat-attach-menu button{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;gap:1px 10px;width:100%;padding:11px 12px;border:0;border-radius:13px;background:#f7fafc;text-align:left;color:#17243a;cursor:pointer}
.mbh-chat-attach-menu button:hover,.mbh-chat-attach-menu button:active{background:#eaf4ff}
.mbh-chat-attach-menu button>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e3f1ff;font-size:22px}
.mbh-chat-attach-menu strong{font-size:14px;align-self:end}.mbh-chat-attach-menu small{font-size:12px;color:#6d7b8e}
@keyframes mbhAttachIn{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
body.mbh-video-recorder-open{overflow:hidden!important}
.mbh-video-recorder-modal{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(6,19,38,.82);backdrop-filter:blur(7px)}
.mbh-video-recorder-modal[hidden]{display:none!important}
.mbh-video-recorder-card{width:min(520px,100%);overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.38)}
.mbh-video-recorder-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;color:#fff;background:linear-gradient(135deg,#168cf4,#075ad7)}
.mbh-video-recorder-head div{display:grid}.mbh-video-recorder-head strong{font-size:18px}.mbh-video-recorder-head small{opacity:.86;font-size:12px}
.mbh-video-recorder-head button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.17);color:#fff;font-size:27px;line-height:1}
.mbh-video-recorder-stage{position:relative;width:100%;aspect-ratio:9/16;max-height:64vh;overflow:hidden;background:#071120}
.mbh-video-recorder-stage video{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;background:#071120}
.mbh-video-recorder-timer{position:absolute;top:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(3,14,30,.72);color:#fff;font-weight:800;font-variant-numeric:tabular-nums}
.mbh-video-recorder-timer i{width:9px;height:9px;margin-right:7px;border-radius:50%;background:#a6b2c2}.mbh-video-recorder-card.is-recording .mbh-video-recorder-timer i{background:#ff334c;animation:mbhVideoPulse 1s infinite}
@keyframes mbhVideoPulse{50%{opacity:.35}}
.mbh-video-recorder-help{min-height:42px;padding:12px 18px 4px;color:#637187;font-size:13px;text-align:center}
.mbh-video-recorder-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;padding:12px 16px 17px}
.mbh-video-recorder-actions button{min-height:48px;border:0;border-radius:15px;font-size:15px;font-weight:850}
.mbh-video-secondary{background:#eef2f6;color:#334155}.mbh-video-primary{background:linear-gradient(135deg,#168cf4,#075ad7);color:#fff;box-shadow:0 8px 18px rgba(6,99,222,.24)}
.mbh-video-primary.is-stop{background:linear-gradient(135deg,#ff4c5f,#d81732)}
@media(max-width:600px){
  .mbh-video-recorder-modal{padding:0;align-items:end;overflow:hidden}
  .mbh-video-recorder-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:100%;max-width:100vw;max-width:100dvw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border-radius:24px 24px 0 0}
  .mbh-video-recorder-stage{width:100%;height:auto;min-height:280px;max-height:none;aspect-ratio:auto;overflow:hidden}
  .mbh-video-recorder-stage video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center center}
  .mbh-video-recorder-help{padding-top:10px}
  .mbh-video-recorder-actions{padding-bottom:max(17px,env(safe-area-inset-bottom))}
  .mbh-chat-attach-menu{position:fixed;left:14px;bottom:calc(78px + env(safe-area-inset-bottom));width:calc(100vw - 28px);width:calc(100dvw - 28px)}
}


/* Carteira de Benefícios 4.4.6 */

/* Carteira de Beneficios 4.4.7 */
.mbh-wallet-app{margin:20px 0;color:#10254a;font-family:inherit}.mbh-wallet-view{display:none}.mbh-wallet-view.is-active{display:block}.mbh-wallet-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 9%,rgba(33,128,255,.38),transparent 28%),linear-gradient(145deg,#062d69 0%,#07448e 48%,#0754ad 100%);border-radius:28px;padding:28px;color:#fff;box-shadow:0 22px 55px rgba(6,45,105,.22)}.mbh-wallet-hero:before{content:"";position:absolute;inset:0;opacity:.07;background-image:linear-gradient(30deg,#fff 1px,transparent 1px),linear-gradient(120deg,#fff 1px,transparent 1px);background-size:34px 34px;pointer-events:none}.mbh-wallet-hero>*{position:relative;z-index:1}.mbh-wallet-hero-copy{max-width:58%;min-height:190px}.mbh-wallet-hero-copy .mbh-kicker{display:inline-flex;align-items:center;border:1.5px solid #ffc431;border-radius:999px;color:#ffc431;padding:9px 16px;font-size:15px;font-weight:800;background:rgba(3,28,69,.32)}.mbh-wallet-hero-copy h2{font-size:38px;line-height:1.05;margin:24px 0 12px;color:#fff;font-weight:850;letter-spacing:-.8px}.mbh-wallet-hero-copy p{font-size:18px;line-height:1.45;margin:0;color:rgba(255,255,255,.9)}.mbh-wallet-illustration{position:absolute;right:5%;top:27px;width:190px;height:150px;border-radius:45% 45% 20% 20%;background:linear-gradient(145deg,#267de2,#06469d);box-shadow:inset 0 0 0 5px rgba(255,255,255,.08),0 20px 40px rgba(1,24,64,.35);transform:rotate(2deg)}.mbh-wallet-illustration:before,.mbh-wallet-illustration:after{content:"";position:absolute;border-radius:50%;background:linear-gradient(145deg,#ffd96b,#f3a500);box-shadow:inset 0 0 0 5px rgba(255,255,255,.25)}.mbh-wallet-illustration:before{width:55px;height:55px;left:20px;top:-22px}.mbh-wallet-illustration:after{width:45px;height:45px;left:64px;top:-34px}.mbh-wallet-illustration span{position:absolute;right:18px;top:-22px;background:#438cff;color:#fff;border-radius:12px;padding:16px 13px;font-size:28px;font-weight:900;transform:rotate(12deg)}.mbh-wallet-illustration b{position:absolute;left:58px;bottom:35px;color:#073b82;font-size:30px;font-style:italic;text-shadow:0 1px rgba(255,255,255,.16)}.mbh-wallet-illustration i{position:absolute;right:10px;bottom:27px;background:#ffb514;border:4px solid #f7d25c;width:23px;height:23px;border-radius:50%;font-size:0}.mbh-wallet-balance-premium{display:flex;align-items:center;justify-content:space-between;background:#fff;color:#13264b;border-radius:22px;padding:21px 28px;margin:3px 0 18px;box-shadow:0 12px 30px rgba(1,27,66,.2)}.mbh-wallet-balance-premium span,.mbh-wallet-balance-premium small{display:block}.mbh-wallet-balance-premium>div>span{font-size:17px;font-weight:700}.mbh-wallet-balance-premium strong{display:block;color:#08a36f;font-size:38px;line-height:1.1;margin:8px 0;font-weight:900}.mbh-wallet-balance-premium small{color:#63718b;font-size:13px}.mbh-wallet-balance-icon{display:grid!important;place-items:center;width:70px;height:70px;border-radius:50%;background:#d9f7e9;color:#00a16d;font-size:32px}.mbh-wallet-summary-premium{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.mbh-wallet-summary-premium button{position:relative;display:grid;grid-template-columns:48px auto;grid-template-rows:auto auto auto;gap:1px 11px;text-align:left;border:1px solid rgba(255,255,255,.17);background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.06));color:#fff;border-radius:18px;padding:17px;cursor:pointer;transition:.2s;box-shadow:none}.mbh-wallet-summary-premium button:hover{transform:translateY(-2px);background:rgba(255,255,255,.16)}.mbh-wallet-summary-icon{grid-row:1/4;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;font-size:21px}.mbh-wallet-summary-icon.is-green{background:#079b71}.mbh-wallet-summary-icon.is-blue{background:#3272db}.mbh-wallet-summary-icon.is-purple{background:#7654d6}.mbh-wallet-summary-premium strong{font-size:28px;line-height:1}.mbh-wallet-summary-premium em{font-style:normal;font-size:14px}.mbh-wallet-summary-premium small{font-size:12px;color:rgba(255,255,255,.88);margin-top:9px}.mbh-wallet-panel{background:#fff;color:#13264b;border-radius:20px;padding:18px 20px;margin-top:15px;box-shadow:0 10px 26px rgba(0,27,69,.15)}.mbh-wallet-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.mbh-wallet-panel h3{margin:0;font-size:22px;color:#13264b}.mbh-wallet-panel header button{border:0;background:none;color:#075be2;font-weight:700;cursor:pointer;padding:6px}.mbh-wallet-empty-premium{display:flex;align-items:center;gap:20px;border:1px dashed #c9daf4;border-radius:16px;padding:18px;background:#fbfdff}.mbh-wallet-empty-premium>span{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e8f1ff;color:#1763dd;font-size:25px;transform:rotate(-5deg)}.mbh-wallet-empty-premium strong{display:block;font-size:15px}.mbh-wallet-empty-premium p{margin:5px 0 0;color:#697892;font-size:13px}.mbh-wallet-note-premium{display:flex;align-items:center;gap:14px;margin-top:16px;border-radius:18px;padding:15px 18px;background:linear-gradient(90deg,#eaf4ff,#dbeaff);color:#16458d}.mbh-wallet-note-premium>span{font-size:25px}.mbh-wallet-note-premium p{margin:0;line-height:1.45;font-size:13px;flex:1}.mbh-wallet-note-premium b{font-size:24px;color:#1466e8}.mbh-wallet-detail-head{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#07366f,#0860c6);color:#fff;padding:22px;border-radius:24px 24px 0 0}.mbh-wallet-detail-head button{width:42px;height:42px;border:0;border-radius:50%;font-size:36px;line-height:1;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}.mbh-wallet-detail-head h2{margin:0;color:#fff;font-size:25px}.mbh-wallet-detail-head p{margin:4px 0 0;color:rgba(255,255,255,.8)}.mbh-wallet-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#fff;padding:18px;border:1px solid #e0e8f2;border-top:0}.mbh-wallet-tabs button{border:1px solid #dce5f1;border-radius:12px;padding:12px;background:#f8fafc;color:#42516b;font-weight:700;cursor:pointer}.mbh-wallet-tabs button.is-active{background:#075be5;color:#fff;border-color:#075be5;box-shadow:0 8px 18px rgba(7,91,229,.2)}.mbh-wallet-tabs span{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:999px;margin-left:5px;background:rgba(0,0,0,.08)}.mbh-wallet-tab-content{display:none;padding:18px;background:#f6f9fd;border:1px solid #e0e8f2;border-top:0;border-radius:0 0 24px 24px;min-height:250px}.mbh-wallet-tab-content.is-active{display:grid;gap:16px}.mbh-wallet-ticket{display:grid;grid-template-columns:112px 1fr;background:#fff;border:1px solid #cbdcf1;border-radius:18px;overflow:hidden;box-shadow:0 7px 18px rgba(16,37,74,.07)}.mbh-wallet-ticket-value{display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(150deg,#09a873,#047c58);color:#fff;position:relative}.mbh-wallet-ticket-value:after{content:"";position:absolute;right:-8px;top:0;width:16px;height:100%;background:radial-gradient(circle at 8px 8px,transparent 7px,#fff 7.5px) 0 0/16px 20px}.mbh-wallet-ticket-value small{font-size:15px}.mbh-wallet-ticket-value strong{font-size:31px;line-height:1}.mbh-wallet-ticket-body{padding:17px 20px}.mbh-wallet-ticket-top{display:flex;justify-content:space-between;align-items:center}.mbh-wallet-status,.mbh-wallet-state{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:850;text-transform:uppercase}.mbh-wallet-status{background:#e5f8ef;color:#038b61}.mbh-wallet-state{background:#08a873;color:#fff}.mbh-wallet-ticket h4{margin:8px 0 5px;color:#13264b;font-size:18px}.mbh-wallet-ticket p{margin:0 0 12px;color:#61708a;font-size:13px}.mbh-wallet-ticket-meta{display:flex;justify-content:space-between;gap:10px;color:#65748c;font-size:12px}.mbh-wallet-code{display:flex;align-items:center;gap:8px;border-top:1px solid #edf1f6;margin-top:12px;padding-top:10px}.mbh-wallet-code span{font-size:11px;color:#78869c}.mbh-wallet-code code{font-weight:850;color:#075bdc;background:#edf4ff;padding:5px 8px;border-radius:7px}.mbh-wallet-copy{margin-left:auto;border:0;background:#eef5ff;color:#075bdc;border-radius:8px;padding:6px 10px;font-weight:700;cursor:pointer}.mbh-wallet-ticket.is-utilizado{opacity:.82}.mbh-wallet-ticket.is-utilizado .mbh-wallet-ticket-value{background:linear-gradient(150deg,#397be2,#175ac6)}.mbh-wallet-ticket.is-utilizado .mbh-wallet-state{background:#397be2}.mbh-wallet-ticket.is-expirado{opacity:.72;filter:saturate(.65)}.mbh-wallet-ticket.is-expirado .mbh-wallet-ticket-value{background:linear-gradient(150deg,#7e5bd7,#5e3eb5)}.mbh-wallet-ticket.is-expirado .mbh-wallet-state{background:#7353c8}.mbh-wallet-preview-list{display:grid;gap:12px}.mbh-wallet-preview-list .mbh-wallet-ticket{grid-template-columns:90px 1fr}.mbh-wallet-preview-list .mbh-wallet-ticket-body{padding:13px 16px}.mbh-wallet-preview-list .mbh-wallet-code{display:none}.mbh-wallet-movement-list{display:grid;gap:10px}.mbh-wallet-movement-list.is-full{padding:18px;background:#f6f9fd;border:1px solid #e0e8f2;border-top:0;border-radius:0 0 24px 24px;min-height:220px}.mbh-wallet-movement-premium{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid #e1e8f2;border-radius:15px;padding:14px}.mbh-wallet-movement-premium>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;font-size:22px;font-weight:800}.mbh-wallet-movement-premium>span.is-credit{background:#dcf8eb;color:#00a16d}.mbh-wallet-movement-premium>span.is-debit{background:#f0e6ff;color:#7544c9}.mbh-wallet-movement-premium small,.mbh-wallet-movement-premium strong,.mbh-wallet-movement-premium em{display:block}.mbh-wallet-movement-premium small{color:#71809a;font-size:11px}.mbh-wallet-movement-premium strong{font-size:14px;color:#182a4d;margin:2px 0}.mbh-wallet-movement-premium em{font-style:normal;color:#8490a4;font-size:11px}.mbh-wallet-movement-premium b{font-size:15px;white-space:nowrap}.mbh-wallet-movement-premium b.is-credit{color:#00a16d}.mbh-wallet-movement-premium b.is-debit{color:#7b42d0}.mbh-wallet-detail-empty{text-align:center;padding:45px 20px;color:#66758d}.mbh-wallet-detail-empty span{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 14px;border-radius:22px;background:#eaf2ff;font-size:32px}.mbh-wallet-detail-empty h3{margin:0;color:#172b4f}.mbh-wallet-detail-empty p{margin:6px 0 0}.mbh-wallet-filter-tabs{border-radius:0}.mbh-wallet-app [hidden]{display:none!important}
@media(max-width:720px){.mbh-wallet-app{margin:14px 0}.mbh-wallet-hero{border-radius:22px;padding:18px}.mbh-wallet-hero-copy{max-width:67%;min-height:185px}.mbh-wallet-hero-copy .mbh-kicker{font-size:12px;padding:7px 10px}.mbh-wallet-hero-copy h2{font-size:30px;margin-top:20px}.mbh-wallet-hero-copy p{font-size:15px}.mbh-wallet-illustration{width:118px;height:105px;right:-8px;top:60px}.mbh-wallet-illustration:before{width:38px;height:38px}.mbh-wallet-illustration:after{width:32px;height:32px}.mbh-wallet-illustration span{font-size:20px;padding:11px 9px;right:10px}.mbh-wallet-illustration b{left:35px;bottom:24px;font-size:21px}.mbh-wallet-balance-premium{padding:17px 18px;border-radius:18px}.mbh-wallet-balance-premium strong{font-size:31px}.mbh-wallet-balance-icon{width:56px;height:56px}.mbh-wallet-summary-premium{gap:8px}.mbh-wallet-summary-premium button{display:flex;flex-direction:column;align-items:flex-start;padding:12px 9px;gap:4px}.mbh-wallet-summary-icon{width:38px;height:38px;font-size:17px}.mbh-wallet-summary-premium strong{position:absolute;left:53px;top:16px;font-size:23px}.mbh-wallet-summary-premium em{font-size:11px;min-height:29px}.mbh-wallet-summary-premium small{font-size:10px;margin-top:1px}.mbh-wallet-panel{padding:15px;border-radius:17px}.mbh-wallet-panel h3{font-size:19px}.mbh-wallet-empty-premium{padding:14px;gap:12px}.mbh-wallet-empty-premium>span{width:43px;height:43px}.mbh-wallet-note-premium{padding:13px}.mbh-wallet-ticket{grid-template-columns:82px 1fr}.mbh-wallet-ticket-body{padding:14px}.mbh-wallet-ticket-value strong{font-size:24px}.mbh-wallet-ticket-meta{display:grid;gap:3px}.mbh-wallet-code{flex-wrap:wrap}.mbh-wallet-copy{margin-left:0}.mbh-wallet-tabs{gap:6px;padding:12px}.mbh-wallet-tabs button{font-size:11px;padding:10px 5px}.mbh-wallet-tabs span{display:none}.mbh-wallet-tab-content{padding:12px}.mbh-wallet-movement-premium{grid-template-columns:40px 1fr;padding:12px}.mbh-wallet-movement-premium>span{width:38px;height:38px}.mbh-wallet-movement-premium>b{grid-column:2}.mbh-wallet-detail-head{padding:16px;border-radius:20px 20px 0 0}.mbh-wallet-detail-head h2{font-size:21px}.mbh-wallet-detail-head p{font-size:12px}.mbh-wallet-preview-list .mbh-wallet-ticket{grid-template-columns:72px 1fr}}

/* Carteira de Benefícios 4.4.8 — ícones vetoriais premium */
.mbh-wallet-svg{display:inline-grid;place-items:center;line-height:0;flex:0 0 auto}.mbh-wallet-svg svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mbh-kicker .mbh-wallet-svg{font-size:19px}.mbh-wallet-balance-icon .mbh-wallet-svg{font-size:34px}.mbh-wallet-summary-icon .mbh-wallet-svg{font-size:25px;color:#fff}.mbh-wallet-empty-premium>span .mbh-wallet-svg{font-size:27px}.mbh-wallet-note-premium>span .mbh-wallet-svg,.mbh-wallet-note-premium>b .mbh-wallet-svg{font-size:25px}.mbh-wallet-detail-head button .mbh-wallet-svg{font-size:25px}.mbh-wallet-detail-empty .mbh-wallet-svg{font-size:36px}.mbh-wallet-movement-premium>span .mbh-wallet-svg{font-size:23px}.mbh-wallet-summary-premium button{align-items:center}.mbh-wallet-summary-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(0,0,0,.12)}.mbh-wallet-summary-icon.is-green{background:linear-gradient(145deg,#0cbb82,#05865f)}.mbh-wallet-summary-icon.is-blue{background:linear-gradient(145deg,#4b8df5,#245fcf)}.mbh-wallet-summary-icon.is-purple{background:linear-gradient(145deg,#9467ee,#6843c2)}.mbh-wallet-empty-premium>span{transform:none;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(23,99,221,.05)}

/* Carteira de Benefícios 4.4.9 — correção de renderização dos ícones no Android/WebView */
.mbh-wallet-svg{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1em!important;
  height:1em!important;
  min-width:1em!important;
  line-height:1!important;
  vertical-align:middle!important;
  flex:none!important;
}
.mbh-wallet-svg svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  overflow:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.25!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
  shape-rendering:geometricPrecision!important;
}
.mbh-wallet-svg svg .mbh-wallet-icon-dot{
  fill:currentColor!important;
  stroke:none!important;
}
.mbh-kicker .mbh-wallet-svg{width:22px!important;height:22px!important;min-width:22px!important;margin-right:7px!important}
.mbh-wallet-balance-icon .mbh-wallet-svg{width:38px!important;height:38px!important;min-width:38px!important}
.mbh-wallet-summary-icon .mbh-wallet-svg{width:27px!important;height:27px!important;min-width:27px!important;color:#fff!important}
.mbh-wallet-empty-premium>span .mbh-wallet-svg{width:29px!important;height:29px!important;min-width:29px!important}
.mbh-wallet-note-premium>span .mbh-wallet-svg,.mbh-wallet-note-premium>b .mbh-wallet-svg{width:27px!important;height:27px!important;min-width:27px!important}
.mbh-wallet-detail-head button .mbh-wallet-svg{width:27px!important;height:27px!important;min-width:27px!important}
.mbh-wallet-detail-empty .mbh-wallet-svg{width:39px!important;height:39px!important;min-width:39px!important}
.mbh-wallet-movement-premium>span .mbh-wallet-svg{width:24px!important;height:24px!important;min-width:24px!important}
.mbh-wallet-summary-icon{overflow:hidden!important}
.mbh-wallet-summary-icon.is-green,.mbh-wallet-summary-icon.is-blue,.mbh-wallet-summary-icon.is-purple{color:#fff!important}
@media(max-width:720px){
  .mbh-wallet-balance-icon .mbh-wallet-svg{width:33px!important;height:33px!important;min-width:33px!important}
  .mbh-wallet-summary-icon .mbh-wallet-svg{width:24px!important;height:24px!important;min-width:24px!important}
  .mbh-wallet-empty-premium>span .mbh-wallet-svg{width:25px!important;height:25px!important;min-width:25px!important}
}


/* Carteira de Benefícios 4.4.10 — ícones PNG compatíveis com Android WebView */
.mbh-wallet-img{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:1em!important;height:1em!important;min-width:1em!important;line-height:0!important;flex:none!important;overflow:visible!important}
.mbh-wallet-img img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;border:0!important;box-shadow:none!important;filter:none!important;opacity:1!important;transform:none!important}
.mbh-kicker .mbh-wallet-img{width:22px!important;height:22px!important;min-width:22px!important;margin-right:7px!important}
.mbh-wallet-balance-icon .mbh-wallet-img{width:38px!important;height:38px!important;min-width:38px!important}
.mbh-wallet-summary-icon .mbh-wallet-img{width:27px!important;height:27px!important;min-width:27px!important}
.mbh-wallet-empty-premium>span .mbh-wallet-img{width:29px!important;height:29px!important;min-width:29px!important}
.mbh-wallet-note-premium>span .mbh-wallet-img,.mbh-wallet-note-premium>b .mbh-wallet-img{width:27px!important;height:27px!important;min-width:27px!important}
.mbh-wallet-detail-head button .mbh-wallet-img{width:27px!important;height:27px!important;min-width:27px!important}
.mbh-wallet-detail-empty .mbh-wallet-img{width:39px!important;height:39px!important;min-width:39px!important}
.mbh-wallet-movement-premium>span .mbh-wallet-img{width:24px!important;height:24px!important;min-width:24px!important}
@media(max-width:720px){.mbh-wallet-balance-icon .mbh-wallet-img{width:33px!important;height:33px!important;min-width:33px!important}.mbh-wallet-summary-icon .mbh-wallet-img{width:24px!important;height:24px!important;min-width:24px!important}.mbh-wallet-empty-premium>span .mbh-wallet-img{width:25px!important;height:25px!important;min-width:25px!important}}

/* Carteira de Benefícios 4.4.11 — contadores abaixo dos ícones e ilustração de carteira real */
.mbh-wallet-summary-premium button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  gap:5px!important;
}
.mbh-wallet-summary-premium .mbh-wallet-summary-icon{
  order:1!important;
  position:relative!important;
  margin:0 auto 2px!important;
}
.mbh-wallet-summary-premium button>strong{
  order:2!important;
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  line-height:1!important;
  transform:none!important;
}
.mbh-wallet-summary-premium button>em{order:3!important;margin:0!important}
.mbh-wallet-summary-premium button>small{order:4!important;margin-top:auto!important;padding-top:7px!important}

/* A ilustração superior passa a ter corpo, aba, costura, fecho, moedas e ticket. */
.mbh-wallet-illustration{
  width:170px!important;
  height:126px!important;
  right:14px!important;
  top:55px!important;
  border-radius:22px 22px 26px 26px!important;
  background:linear-gradient(145deg,#237cf0 0%,#0751bd 58%,#063f99 100%)!important;
  border:2px solid rgba(91,167,255,.74)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.18),inset 0 -9px 18px rgba(0,28,92,.28),0 16px 28px rgba(0,23,74,.3)!important;
  transform:rotate(-1deg)!important;
  overflow:visible!important;
}
.mbh-wallet-illustration:before{
  content:"$"!important;
  position:absolute!important;
  width:48px!important;
  height:48px!important;
  left:16px!important;
  top:-25px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#cc7d00!important;
  font-size:26px!important;
  font-weight:900!important;
  background:radial-gradient(circle at 35% 30%,#ffe476 0 18%,#ffc43c 19% 62%,#ee9616 63% 100%)!important;
  border:4px solid #ffce4f!important;
  box-shadow:26px 6px 0 -2px #ffb62e,26px 6px 0 2px #ffd35d,0 7px 12px rgba(1,28,84,.28)!important;
  transform:rotate(-8deg)!important;
}
.mbh-wallet-illustration:after{
  content:""!important;
  position:absolute!important;
  left:11px!important;
  right:12px!important;
  top:15px!important;
  height:24px!important;
  border-radius:15px 15px 7px 7px!important;
  background:linear-gradient(#0c4ca9,#073b8f)!important;
  border:2px solid rgba(101,173,255,.5)!important;
  box-shadow:inset 0 2px 3px rgba(0,0,0,.25)!important;
}
.mbh-wallet-illustration span{
  position:absolute!important;
  z-index:4!important;
  right:7px!important;
  top:-31px!important;
  width:49px!important;
  height:70px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  font-size:28px!important;
  font-weight:900!important;
  line-height:1!important;
  border-radius:7px 7px 12px 12px!important;
  background:linear-gradient(160deg,#4d98ff,#1764db)!important;
  border:2px solid rgba(138,194,255,.75)!important;
  box-shadow:0 8px 14px rgba(0,35,102,.32)!important;
  transform:rotate(9deg)!important;
}
.mbh-wallet-illustration b{
  position:absolute!important;
  z-index:3!important;
  left:52px!important;
  bottom:28px!important;
  color:#063d91!important;
  font-size:29px!important;
  font-weight:900!important;
  font-style:italic!important;
  text-shadow:0 1px 0 rgba(105,175,255,.35)!important;
  transform:none!important;
}
.mbh-wallet-illustration i{
  position:absolute!important;
  z-index:5!important;
  right:-12px!important;
  bottom:26px!important;
  width:55px!important;
  height:34px!important;
  border-radius:18px 8px 8px 18px!important;
  background:linear-gradient(145deg,#1b72df,#0849ac)!important;
  border:2px solid rgba(105,176,255,.7)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.14),0 4px 9px rgba(0,24,80,.3)!important;
  font-size:0!important;
}
.mbh-wallet-illustration i:after{
  content:"";
  position:absolute;
  width:17px;
  height:17px;
  left:9px;
  top:6px;
  border-radius:50%;
  background:linear-gradient(145deg,#ffd54b,#f2a20e);
  border:2px solid #ffc331;
  box-shadow:0 2px 5px rgba(0,32,88,.3);
}

@media(max-width:720px){
  .mbh-wallet-summary-premium button{padding:13px 8px 12px!important;gap:5px!important}
  .mbh-wallet-summary-premium button>strong{font-size:23px!important;line-height:1!important}
  .mbh-wallet-summary-premium button>em{min-height:28px!important;font-size:11px!important}
  .mbh-wallet-summary-premium button>small{font-size:10px!important;padding-top:5px!important}
  .mbh-wallet-illustration{
    width:132px!important;
    height:100px!important;
    right:-3px!important;
    top:67px!important;
    border-radius:18px 18px 21px 21px!important;
  }
  .mbh-wallet-illustration:before{
    width:39px!important;height:39px!important;left:13px!important;top:-21px!important;
    font-size:21px!important;border-width:3px!important;
    box-shadow:21px 5px 0 -2px #ffb62e,21px 5px 0 1px #ffd35d,0 5px 9px rgba(1,28,84,.25)!important;
  }
  .mbh-wallet-illustration:after{left:8px!important;right:9px!important;top:12px!important;height:20px!important}
  .mbh-wallet-illustration span{right:4px!important;top:-25px!important;width:40px!important;height:57px!important;font-size:23px!important}
  .mbh-wallet-illustration b{left:40px!important;bottom:22px!important;font-size:23px!important}
  .mbh-wallet-illustration i{right:-9px!important;bottom:20px!important;width:44px!important;height:28px!important}
  .mbh-wallet-illustration i:after{width:14px;height:14px;left:7px;top:5px}
}

/* Carteira de Benefícios 4.4.13 — PNG final fornecida pelo projeto */
.mbh-wallet-illustration{
  position:absolute!important;
  top:31px!important;
  right:4px!important;
  width:264px!important;
  height:226px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  transform:none!important;
  z-index:1!important;
  pointer-events:none!important;
}
.mbh-wallet-illustration:before,
.mbh-wallet-illustration:after,
.mbh-wallet-illustration>span,
.mbh-wallet-illustration>b,
.mbh-wallet-illustration>i{display:none!important;content:none!important}
.mbh-wallet-illustration img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:right center!important;
  border:0!important;
  background:transparent!important;
  filter:none!important;
}
@media(max-width:720px){
  .mbh-wallet-illustration{
    top:38px!important;
    right:-3px!important;
    width:188px!important;
    height:166px!important;
  }
}
@media(max-width:430px){
  .mbh-wallet-illustration{
    top:45px!important;
    right:-7px!important;
    width:174px!important;
    height:154px!important;
  }
}

/* Central de Missões 4.5.0 */
.mbh-missions{margin:24px 0;font-family:inherit}.mbh-missions *{box-sizing:border-box}.mbh-missions-hero{position:relative;overflow:hidden;padding:24px;border-radius:24px;background:linear-gradient(135deg,#0d47b8 0%,#176de0 58%,#4b8df0 100%);color:#fff;box-shadow:0 14px 34px rgba(20,85,190,.2)}.mbh-missions-copy{max-width:67%;position:relative;z-index:2}.mbh-missions-kicker{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;opacity:.82}.mbh-missions-copy h2{margin:7px 0 6px;color:#fff;font-size:27px}.mbh-missions-copy p{margin:0;line-height:1.45;color:rgba(255,255,255,.9)}.mbh-missions-trophy{position:absolute;right:21px;top:20px;font-size:70px;filter:drop-shadow(0 10px 14px rgba(0,0,0,.18));transform:rotate(5deg)}.mbh-missions-level{position:relative;z-index:2;margin-top:22px;padding:15px 16px;border-radius:17px;background:rgba(255,255,255,.14);backdrop-filter:blur(7px)}.mbh-missions-level>div:first-child{display:flex;align-items:center;gap:10px}.mbh-missions-level small{opacity:.78}.mbh-missions-level strong{font-size:18px}.mbh-missions-level span{margin-left:auto;font-weight:800}.mbh-missions-level-track{height:8px;margin:10px 0 7px;background:rgba(255,255,255,.22);border-radius:99px;overflow:hidden}.mbh-missions-level-track i{display:block;height:100%;border-radius:inherit;background:#fff}.mbh-missions-level em{font-size:12px;font-style:normal;opacity:.85}.mbh-missions-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 3px 14px}.mbh-missions-heading h3{margin:0 0 3px;font-size:20px}.mbh-missions-heading p{margin:0;color:#6f7b90;font-size:13px}.mbh-missions-heading>span{padding:7px 11px;border-radius:99px;background:#eaf2ff;color:#135bc8;font-weight:800}.mbh-missions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mbh-mission-card{display:flex;gap:13px;padding:17px;border:1px solid #e5eaf2;border-radius:19px;background:#fff;box-shadow:0 7px 20px rgba(33,50,82,.06)}.mbh-mission-card.is-complete{border-color:#cdebd9;background:linear-gradient(180deg,#fff,#f7fff9)}.mbh-mission-icon{flex:0 0 45px;width:45px;height:45px;display:grid;place-items:center;border-radius:14px;background:#edf4ff;font-size:23px}.mbh-mission-card.is-complete .mbh-mission-icon{background:#e4f7eb}.mbh-mission-body{min-width:0;flex:1}.mbh-mission-title{display:flex;align-items:flex-start;gap:7px}.mbh-mission-title h4{margin:1px 0 5px;font-size:15px;line-height:1.2}.mbh-mission-title span{margin-left:auto;padding:4px 7px;border-radius:99px;background:#dff5e7;color:#148148;font-size:10px;font-weight:800}.mbh-mission-body>p{margin:0;color:#6b7588;font-size:12px;line-height:1.45}.mbh-mission-progress{display:flex;align-items:center;gap:9px;margin-top:12px}.mbh-mission-progress>div{height:7px;flex:1;border-radius:99px;background:#e9edf4;overflow:hidden}.mbh-mission-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769d4,#42a3ff)}.mbh-mission-card.is-complete .mbh-mission-progress i{background:#29a85f}.mbh-mission-progress small{font-size:11px;font-weight:800;color:#667085}.mbh-mission-footer{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #eef1f5}.mbh-mission-footer>span{font-size:11px;color:#687385}.mbh-mission-footer>span b{color:#1563ca}.mbh-mission-footer a,.mbh-mission-footer button{margin-left:auto;border:0;border-radius:9px;padding:7px 9px;background:#135fc9;color:#fff;font:inherit;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.mbh-mission-done{margin-left:auto;color:#23824b;font-size:11px}.mbh-missions-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:13px 15px;border-radius:14px;background:#f5f8fc;color:#69758a}.mbh-missions-note p{margin:0;font-size:12px;line-height:1.5}@media(max-width:720px){.mbh-missions-hero{padding:20px;border-radius:20px}.mbh-missions-copy{max-width:72%}.mbh-missions-copy h2{font-size:23px}.mbh-missions-trophy{right:13px;top:22px;font-size:56px}.mbh-missions-grid{grid-template-columns:1fr}.mbh-mission-card{padding:15px}.mbh-mission-footer{align-items:flex-end}.mbh-mission-footer>span{max-width:58%}}
/* Carteira Inteligente 4.6.0 */
.mbh-credit-choice{display:flex;align-items:center;gap:12px;margin:14px 0 8px;padding:14px;border:1px solid #bfe5d5;background:#f0fdf8;border-radius:14px;cursor:pointer}.mbh-credit-choice input{width:21px;height:21px;flex:0 0 auto;accent-color:#08a77a}.mbh-credit-choice span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.mbh-credit-choice strong{font-size:14px;color:#15314a}.mbh-credit-choice small{font-size:12px;color:#607487}.mbh-credit-choice b{color:#07966f;white-space:nowrap;font-size:16px}.mbh-credit-summary{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;margin:0 0 12px;background:#eff7ff;border-radius:11px;color:#36536b}.mbh-credit-summary strong{color:#0c70c9;font-size:18px}.mbh-credit-unavailable{padding:11px 13px;margin:12px 0;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:11px;color:#64748b;font-size:13px}

/* Missões segmentadas — 4.6.3 */
.mbh-mission-card.is-locked{opacity:.72;background:#f8fafc;border-style:dashed}.mbh-mission-card.is-locked .mbh-mission-icon{filter:grayscale(1)}.mbh-mission-title .mbh-mission-locked-label{background:#eef1f5;color:#667085}.mbh-mission-locked-text{margin-left:auto;color:#667085;font-size:11px;text-align:right}


/* Transparência financeira e subsídios — 4.6.4 */
.mbh-budget-financial-summary{margin:14px 0;padding:14px;border:1px solid #cbdff6;border-radius:16px;background:#f7fbff;display:grid;gap:8px}.mbh-budget-financial-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#334155}.mbh-budget-financial-summary .is-discount strong{color:#0b76c5}.mbh-budget-financial-summary .is-highlight{border-top:1px solid #dbeafe;padding-top:9px}.mbh-budget-financial-summary .is-highlight strong{font-size:18px;color:#0f5fa8}.mbh-budget-financial-summary small{display:block;color:#64748b;line-height:1.45}.mbh-chat-message.is-system-financial{border-color:#e4b600;background:linear-gradient(180deg,#fffdf4,#fffaf0)}.mbh-chat-financial-card{width:100%;display:grid;gap:8px}.mbh-chat-financial-title{display:block;text-align:center;font-size:16px;color:#172033;margin-bottom:3px}.mbh-chat-financial-row{display:flex;justify-content:space-between;gap:12px;padding:2px 0;color:#475569}.mbh-chat-financial-row strong{color:#172033;text-align:right}.mbh-chat-financial-row.is-total{border-top:1px solid rgba(180,138,0,.22);padding-top:8px;font-weight:800}.mbh-chat-financial-card small{display:block;margin-top:4px;line-height:1.42;color:#64748b;text-align:center}@media(max-width:600px){.mbh-budget-financial-summary{padding:12px}.mbh-chat-financial-row{font-size:13px}.mbh-chat-financial-title{font-size:15px}}

/* MaridoBH 4.7.0 — Home Premium do profissional
 * Cabeçalho compacto, sem duplicar os indicadores da carteira e da reputação.
 */
.mbh-shell-profissional .mbh-pro-home-hero{
    min-height:250px;
    padding:28px 30px;
    border:1px solid rgba(255,255,255,.18);
    background:
        radial-gradient(circle at 88% 18%,rgba(255,205,85,.20) 0 2px,transparent 3px),
        radial-gradient(circle at 79% 72%,rgba(255,205,85,.15) 0 3px,transparent 4px),
        linear-gradient(145deg,#073a78 0%,#0755aa 48%,#0b78d3 100%);
    box-shadow:0 22px 50px rgba(4,58,120,.24);
    color:#fff;
    isolation:isolate;
}
.mbh-shell-profissional .mbh-pro-home-hero:before{
    content:"";
    position:absolute;
    width:330px;
    height:330px;
    right:-155px;
    bottom:-215px;
    border-radius:50%;
    border:45px solid rgba(255,255,255,.055);
    background:rgba(255,255,255,.025);
    z-index:0;
}
.mbh-shell-profissional .mbh-pro-home-hero:after{
    width:210px;
    height:210px;
    right:35px;
    bottom:-145px;
    background:rgba(239,198,125,.14);
    z-index:0;
}
.mbh-pro-home-copy{max-width:680px;display:grid;gap:14px}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-hero-kicker-row{margin-bottom:0}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-kicker{
    padding:8px 13px;
    border:1px solid rgba(255,211,111,.68);
    background:rgba(5,38,82,.36);
    color:#ffd971;
    box-shadow:none;
}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-verified-pill{
    border-color:rgba(134,239,172,.68);
    background:rgba(9,78,72,.42);
    color:#c8ffda;
    box-shadow:none;
}
.mbh-pro-home-greeting{
    margin:0!important;
    color:#fff!important;
    font-size:clamp(27px,4vw,39px)!important;
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.025em;
}
.mbh-pro-home-context{
    display:inline-flex;
    align-items:center;
    gap:10px;
    width:fit-content;
    max-width:100%;
    padding:10px 13px;
    border-radius:15px;
    background:rgba(2,30,70,.32);
    border:1px solid rgba(255,255,255,.15);
    color:rgba(255,255,255,.92);
    font-size:15px;
    font-weight:750;
    backdrop-filter:blur(7px);
}
.mbh-pro-home-context-dot{width:9px;height:9px;border-radius:50%;background:#86efac;box-shadow:0 0 0 5px rgba(134,239,172,.13);flex:0 0 auto}
.mbh-pro-home-context.is-working .mbh-pro-home-context-dot{background:#facc15;box-shadow:0 0 0 5px rgba(250,204,21,.14)}
.mbh-pro-home-context.is-opportunity .mbh-pro-home-context-dot{background:#7dd3fc;box-shadow:0 0 0 5px rgba(125,211,252,.14)}
.mbh-pro-home-context.is-attention .mbh-pro-home-context-dot{background:#fb923c;box-shadow:0 0 0 5px rgba(251,146,60,.14)}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{justify-content:flex-start;margin-top:2px}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-btn{
    min-height:48px;
    padding:12px 18px;
    border-radius:15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-weight:900;
}
.mbh-shell-profissional .mbh-pro-home-primary{
    background:linear-gradient(135deg,#ffd35a,#f0b92f)!important;
    border-color:#ffe091!important;
    color:#17365d!important;
    box-shadow:0 12px 26px rgba(238,182,43,.24)!important;
}
.mbh-shell-profissional .mbh-pro-home-secondary{
    background:rgba(255,255,255,.09)!important;
    border-color:rgba(255,255,255,.44)!important;
    color:#fff!important;
    box-shadow:none!important;
}
.mbh-shell-profissional .mbh-pro-home-secondary:hover{background:rgba(255,255,255,.16)!important}
.mbh-pro-home-emblem{
    position:relative;
    width:150px;
    height:150px;
    flex:0 0 150px;
    display:grid;
    place-items:center;
}
.mbh-pro-home-emblem-ring{
    position:absolute;
    inset:9px;
    border-radius:38px;
    transform:rotate(8deg);
    background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.055));
    border:1px solid rgba(255,255,255,.23);
    box-shadow:inset 0 0 35px rgba(255,255,255,.07),0 18px 35px rgba(1,28,69,.25);
}
.mbh-pro-home-emblem-icon{position:relative;font-size:66px;filter:drop-shadow(0 11px 14px rgba(0,0,0,.22))}
.mbh-pro-home-spark{position:absolute;color:#ffd356;text-shadow:0 3px 8px rgba(0,0,0,.22);font-size:22px}
.mbh-pro-home-spark.spark-one{top:5px;right:9px}.mbh-pro-home-spark.spark-two{bottom:5px;left:8px;font-size:15px}
@media(max-width:700px){
    .mbh-shell-profissional .mbh-pro-home-hero{min-height:auto;padding:24px 22px;display:block}
    .mbh-pro-home-emblem{position:absolute;right:-7px;top:25px;width:105px;height:105px;opacity:.32;pointer-events:none}
    .mbh-pro-home-emblem-ring{inset:12px;border-radius:29px}
    .mbh-pro-home-emblem-icon{font-size:45px}
    .mbh-pro-home-spark{display:none}
    .mbh-pro-home-copy{position:relative;z-index:2;padding-right:30px}
    .mbh-pro-home-greeting{font-size:30px!important;max-width:85%}
    .mbh-pro-home-context{font-size:13px;line-height:1.4;width:auto}
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-btn{width:100%;padding:11px 10px;font-size:13px;min-height:46px}
}
@media(max-width:390px){
    .mbh-pro-home-copy{padding-right:0}
    .mbh-pro-home-emblem{display:none}
    .mbh-pro-home-greeting{max-width:100%;font-size:28px!important}
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{grid-template-columns:1fr}
}

/* MaridoBH 4.7.1 — Home Premium refinada */
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    width:100%;
    gap:14px;
}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-btn{width:100%;min-width:0}
.mbh-pro-quick-panel{
    margin:24px 0;
    padding:24px;
    border:1px solid #dce5ef;
    border-radius:26px;
    background:#fff;
    box-shadow:0 14px 36px rgba(20,57,92,.08);
}
.mbh-pro-quick-title{font-size:15px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#425d73;margin-bottom:18px}
.mbh-pro-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.mbh-pro-quick-link{display:grid;justify-items:center;text-align:center;gap:5px;text-decoration:none!important;color:#1a3654!important;min-width:0}
.mbh-pro-quick-link strong{font-size:13px;line-height:1.2}
.mbh-pro-quick-link small{font-size:11px;line-height:1.25;color:#728297}
.mbh-pro-quick-icon,.mbh-pro-stat-icon{display:grid;place-items:center;border-radius:18px}
.mbh-pro-quick-icon{width:54px;height:54px;font-size:25px;margin-bottom:3px}
.mbh-pro-quick-icon.is-blue,.mbh-pro-stat-icon.is-blue{background:#e7f1ff;color:#1479df}
.mbh-pro-quick-icon.is-green,.mbh-pro-stat-icon.is-green{background:#e9f9f1;color:#159764}
.mbh-pro-quick-icon.is-gold,.mbh-pro-stat-icon.is-gold{background:#fff4d9;color:#e3a200}
.mbh-pro-quick-icon.is-purple,.mbh-pro-stat-icon.is-purple{background:#f1eaff;color:#8548d9}
.mbh-pro-quick-icon.is-sky{background:#eaf5ff;color:#166ec5}
.mbh-pro-verified-strip{margin-top:20px;padding:14px 16px;border:1px solid #b9ead1;border-radius:18px;background:linear-gradient(90deg,#effcf5,#fbfffd);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-decoration:none!important;color:#246a4a!important}
.mbh-pro-verified-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#d7f7e6;color:#168b59;font-size:20px;font-weight:900}
.mbh-pro-verified-strip span:nth-child(2){display:grid;gap:2px}.mbh-pro-verified-strip strong{font-size:14px}.mbh-pro-verified-strip small{color:#5d8070;font-size:12px}.mbh-pro-strip-arrow,.mbh-pro-stat-arrow{font-size:30px;line-height:1;color:#3d617e}
.mbh-shell-profissional .mbh-pro-compact-stats{display:grid;grid-template-columns:1fr;gap:14px;margin:0 0 22px}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat{min-height:0;padding:15px 18px;border-radius:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:#fff;color:#183550;border:1px solid #e2e8f0;box-shadow:0 9px 24px rgba(28,59,90,.06)}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat.is-primary{background:linear-gradient(100deg,#eef6ff,#f9fcff);border-color:#c8def7;color:#183550}
.mbh-pro-stat-icon{width:48px;height:48px;font-size:21px;font-weight:900}
.mbh-pro-stat-copy{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:end;min-width:0}
.mbh-pro-stat-copy>span{grid-column:1/-1;text-transform:uppercase;font-size:11px;line-height:1.2;font-weight:900;letter-spacing:.035em;color:#53708a}
.mbh-pro-stat-copy>strong{font-size:28px!important;line-height:1!important;color:#0d466d!important;margin-top:3px}
.mbh-pro-stat-copy>small{font-size:11px!important;color:#718096!important;margin-bottom:2px}
.mbh-pro-wallet-anchor{scroll-margin-top:100px}
@media(max-width:700px){
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{grid-template-columns:1fr 1fr;gap:10px}
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-btn{min-height:54px;padding:12px 8px;font-size:13px}
    .mbh-pro-quick-panel{padding:19px 14px;border-radius:22px;margin:20px 0}
    .mbh-pro-quick-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
    .mbh-pro-quick-icon{width:45px;height:45px;border-radius:15px;font-size:21px}
    .mbh-pro-quick-link strong{font-size:10px}.mbh-pro-quick-link small{display:none}
    .mbh-pro-verified-strip{padding:12px;margin-top:16px}.mbh-pro-verified-strip small{font-size:11px}
    .mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat{padding:14px 15px;border-radius:18px}
}
@media(max-width:390px){
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{grid-template-columns:1fr 1fr}
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-btn{font-size:12px}
    .mbh-pro-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}
}

/* MaridoBH 4.7.2 — Home do profissional alinhada ao protótipo aprovado */
.mbh-shell-profissional .mbh-pro-home-hero{
    display:block;
}
.mbh-shell-profissional .mbh-pro-home-copy{
    width:100%;
    max-width:none;
    padding-right:0;
    position:relative;
    z-index:2;
}
.mbh-shell-profissional .mbh-pro-home-emblem{
    position:absolute;
    right:28px;
    top:35px;
    z-index:1;
    opacity:.48;
    pointer-events:none;
}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{
    width:100%;
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    margin-top:4px;
}
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions > a{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding-left:12px;
    padding-right:12px;
}
.mbh-shell-profissional .mbh-pro-home-greeting,
.mbh-shell-profissional .mbh-pro-home-context{
    max-width:calc(100% - 120px);
}

.mbh-pro-quick-panel{
    border-color:#d8e3ef;
    box-shadow:0 12px 32px rgba(24,64,105,.08);
}
.mbh-pro-quick-title{
    color:#3e5870;
}

.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat{
    overflow:hidden;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(1){
    background:linear-gradient(100deg,#eef6ff 0%,#fbfdff 100%);
    border-color:#bdd9f8;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(2){
    background:linear-gradient(100deg,#effbf5 0%,#fcfffd 100%);
    border-color:#cfeedd;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(3){
    background:linear-gradient(100deg,#fff8e9 0%,#fffdf9 100%);
    border-color:#f4dfad;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(4){
    background:linear-gradient(100deg,#f7f1ff 0%,#fdfbff 100%);
    border-color:#e3d4fa;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat,
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:visited,
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:hover{
    color:#183550!important;
    text-decoration:none!important;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-pro-stat-copy > span{
    color:#315e83!important;
    opacity:1!important;
    visibility:visible!important;
    text-shadow:none!important;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-pro-stat-copy > strong{
    color:#0b4d76!important;
    opacity:1!important;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-pro-stat-copy > small{
    color:#62748a!important;
    opacity:1!important;
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(2) .mbh-pro-stat-copy > span{color:#297151!important}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(3) .mbh-pro-stat-copy > span{color:#79601e!important}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(4) .mbh-pro-stat-copy > span{color:#68409a!important}

@media(max-width:700px){
    .mbh-shell-profissional .mbh-pro-home-emblem{
        right:-6px;
        top:22px;
        opacity:.27;
    }
    .mbh-shell-profissional .mbh-pro-home-greeting,
    .mbh-shell-profissional .mbh-pro-home-context{
        max-width:100%;
    }
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        width:100%;
        gap:10px;
    }
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions > a{
        min-height:56px;
        font-size:13px;
        line-height:1.18;
    }
    .mbh-shell-profissional .mbh-pro-compact-stats .mbh-pro-stat-copy > span{
        font-size:11px!important;
        white-space:normal!important;
    }
}
@media(max-width:360px){
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions{
        gap:7px;
    }
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions > a{
        font-size:11.5px;
        padding-left:7px;
        padding-right:7px;
    }
}

/* MaridoBH 4.7.3 — Home Premium do cliente alinhada ao painel profissional */
.mbh-shell-cliente .mbh-client-home-hero{
    position:relative;
    overflow:hidden;
    display:block;
    min-height:350px;
    padding:38px 36px;
    border-radius:30px;
    background:
        radial-gradient(circle at 82% 18%,rgba(56,157,255,.28),transparent 28%),
        linear-gradient(135deg,#073f89 0%,#0759b7 46%,#168ae5 100%);
    color:#fff;
    box-shadow:0 18px 42px rgba(1,64,139,.22);
}
.mbh-shell-cliente .mbh-client-home-copy{width:100%;max-width:none;position:relative;z-index:2}
.mbh-shell-cliente .mbh-client-home-hero .mbh-kicker{
    color:#ffd35a;
    border:1px solid rgba(255,211,90,.85);
    background:rgba(4,47,105,.28);
}
.mbh-client-active-pill{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:7px 15px;
    border:1px solid rgba(74,236,156,.75);
    border-radius:999px;
    background:rgba(13,116,81,.28);
    color:#bfffdc;
    font-size:13px;
    font-weight:900;
}
.mbh-client-home-greeting{
    margin:24px 0 17px!important;
    color:#fff!important;
    font-size:40px!important;
    line-height:1.08!important;
    font-weight:900!important;
    letter-spacing:-.03em;
    max-width:calc(100% - 120px);
}
.mbh-shell-cliente .mbh-client-home-hero .mbh-pro-home-context{max-width:calc(100% - 120px)}
.mbh-shell-cliente .mbh-client-home-hero .mbh-dashboard-hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    width:100%;
    max-width:none;
    gap:12px;
    margin-top:24px;
}
.mbh-shell-cliente .mbh-client-home-hero .mbh-dashboard-hero-actions>a{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:64px;
    margin:0!important;
    padding:14px 12px;
    border-radius:18px;
    font-size:15px;
    font-weight:900;
}
.mbh-shell-cliente .mbh-client-home-primary{
    background:linear-gradient(135deg,#ffd85d,#ffbd2d)!important;
    border-color:#ffe89b!important;
    color:#11345d!important;
    box-shadow:0 10px 22px rgba(255,183,29,.22)!important;
}
.mbh-shell-cliente .mbh-client-home-secondary{
    background:rgba(255,255,255,.10)!important;
    border:1px solid rgba(255,255,255,.72)!important;
    color:#fff!important;
}
.mbh-client-home-emblem{
    position:absolute;
    right:28px;
    top:35px;
    width:118px;
    height:118px;
    display:grid;
    place-items:center;
    z-index:1;
    opacity:.48;
    pointer-events:none;
}
.mbh-client-home-emblem .mbh-pro-home-emblem-ring{position:absolute;inset:0}
.mbh-client-home-emblem .mbh-pro-home-emblem-icon{position:relative;z-index:2}
.mbh-client-quick-panel{
    margin:24px 0;
    padding:24px;
    border:1px solid #d8e3ef;
    border-radius:26px;
    background:#fff;
    box-shadow:0 12px 32px rgba(24,64,105,.08);
}
.mbh-client-quick-title{font-size:15px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#3e5870;margin-bottom:18px}
.mbh-client-quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.mbh-client-quick-link{display:grid;justify-items:center;text-align:center;gap:5px;text-decoration:none!important;color:#1a3654!important;min-width:0}
.mbh-client-quick-link strong{font-size:13px;line-height:1.2}.mbh-client-quick-link small{font-size:11px;line-height:1.25;color:#728297}
.mbh-client-ready-strip{
    margin-top:20px;
    padding:14px 16px;
    border:1px solid #b9dff4;
    border-radius:18px;
    background:linear-gradient(90deg,#eff8ff,#fbfdff);
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:12px;
    text-decoration:none!important;
    color:#24607f!important;
}
.mbh-client-ready-strip span:nth-child(2){display:grid;gap:2px}.mbh-client-ready-strip strong{font-size:14px}.mbh-client-ready-strip small{color:#638093;font-size:12px}
.mbh-shell-cliente .mbh-client-compact-stats{display:grid;grid-template-columns:1fr;gap:14px;margin:0 0 22px}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat{
    min-height:0;
    padding:15px 18px;
    border-radius:20px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:14px;
    color:#183550!important;
    border:1px solid #e2e8f0;
    box-shadow:0 9px 24px rgba(28,59,90,.06);
    text-decoration:none!important;
    overflow:hidden;
}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(1){background:linear-gradient(100deg,#eef6ff,#fbfdff);border-color:#bdd9f8}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(2){background:linear-gradient(100deg,#effbf5,#fcfffd);border-color:#cfeedd}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(3){background:linear-gradient(100deg,#fff8e9,#fffdf9);border-color:#f4dfad}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(4){background:linear-gradient(100deg,#f7f1ff,#fdfbff);border-color:#e3d4fa}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-pro-stat-copy>span{color:#315e83!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-pro-stat-copy>strong{color:#0b4d76!important;opacity:1!important}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-pro-stat-copy>small{color:#62748a!important;opacity:1!important}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(2) .mbh-pro-stat-copy>span{color:#297151!important}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(3) .mbh-pro-stat-copy>span{color:#79601e!important}
.mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat:nth-child(4) .mbh-pro-stat-copy>span{color:#68409a!important}
@media(max-width:700px){
    .mbh-shell-cliente .mbh-client-home-hero{min-height:auto;padding:24px 22px;border-radius:26px}
    .mbh-client-home-emblem{right:-6px;top:22px;width:105px;height:105px;opacity:.27}
    .mbh-client-home-greeting{max-width:100%;font-size:30px!important}
    .mbh-shell-cliente .mbh-client-home-hero .mbh-pro-home-context{max-width:100%;font-size:13px;line-height:1.4}
    .mbh-shell-cliente .mbh-client-home-hero .mbh-dashboard-hero-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
    .mbh-shell-cliente .mbh-client-home-hero .mbh-dashboard-hero-actions>a{min-height:56px;font-size:13px;line-height:1.18;padding:12px 8px}
    .mbh-client-quick-panel{padding:19px 14px;border-radius:22px;margin:20px 0}
    .mbh-client-quick-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
    .mbh-client-quick-link strong{font-size:10px}.mbh-client-quick-link small{display:none}
    .mbh-client-ready-strip{padding:12px;margin-top:16px}.mbh-client-ready-strip small{font-size:11px}
    .mbh-shell-cliente .mbh-client-compact-stats .mbh-premium-stat{padding:14px 15px;border-radius:18px}
    .mbh-shell-cliente .mbh-client-compact-stats .mbh-pro-stat-copy>span{font-size:11px!important;white-space:normal!important}
}
@media(max-width:390px){
    .mbh-client-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}
    .mbh-shell-cliente .mbh-client-home-hero .mbh-dashboard-hero-actions>a{font-size:12px;padding-left:7px;padding-right:7px}
}

/* Carteira profissional — Etapa 1: captura segura do valor final */
.mbh-valor-final-field{display:grid;gap:6px;flex:1 1 100%;padding:14px;border:1px solid #dbeafe;border-radius:16px;background:#f8fbff;color:#0f172a}
.mbh-valor-final-field>span:first-child{font-weight:800;font-size:14px}
.mbh-money-input{display:flex;align-items:center;overflow:hidden;border:1px solid #bfdbfe;border-radius:12px;background:#fff;min-height:46px}
.mbh-money-input b{padding:0 12px;color:#1d4ed8;border-right:1px solid #dbeafe}
.mbh-money-input input{width:100%;border:0!important;box-shadow:none!important;padding:11px 12px!important;font-size:18px;font-weight:800;color:#0f172a;background:transparent!important}
.mbh-valor-final-field small{color:#64748b;line-height:1.35}

/* MaridoBH 5.0.1 — Acesso rápido deslizante no painel profissional */
@media (max-width:700px){
    .mbh-pro-quick-grid{
        display:flex;
        grid-template-columns:none;
        gap:10px;
        overflow-x:auto;
        overflow-y:hidden;
        margin:0 -14px;
        padding:2px 14px 10px;
        scroll-padding-inline:14px;
        scroll-snap-type:x proximity;
        overscroll-behavior-inline:contain;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .mbh-pro-quick-grid::-webkit-scrollbar{display:none}
    .mbh-pro-quick-link{
        flex:0 0 72px;
        min-width:72px;
        scroll-snap-align:start;
    }
    .mbh-pro-quick-link strong{
        width:100%;
        font-size:10px;
        line-height:1.2;
        white-space:normal;
    }
}
@media (max-width:390px){
    .mbh-pro-quick-grid{
        display:flex;
        grid-template-columns:none;
        row-gap:0;
    }
}


/* MaridoBH 5.0.2 — reforço visual e funcional do acesso rápido deslizante */
@media (max-width:700px){
    .mbh-pro-quick-panel{
        position:relative;
        overflow:hidden;
    }
    .mbh-pro-quick-title{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
    }
    .mbh-pro-quick-title::after{
        content:"Deslize →";
        flex:0 0 auto;
        font-size:10px;
        font-weight:800;
        letter-spacing:0;
        text-transform:none;
        color:#70869a;
        padding:5px 9px;
        border-radius:999px;
        background:#f2f6fa;
    }
    .mbh-pro-quick-grid{
        display:flex!important;
        width:auto;
        max-width:none;
        grid-template-columns:none!important;
        flex-wrap:nowrap!important;
        justify-content:flex-start!important;
        gap:12px!important;
        overflow-x:scroll!important;
        overflow-y:hidden!important;
        margin:0 -14px!important;
        padding:3px 34px 12px 14px!important;
        scroll-padding-inline:14px;
        scroll-snap-type:x mandatory;
        overscroll-behavior-x:contain;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        touch-action:pan-x;
    }
    .mbh-pro-quick-grid::-webkit-scrollbar{
        width:0;
        height:0;
        display:none;
    }
    .mbh-pro-quick-link{
        display:grid!important;
        flex:0 0 82px!important;
        width:82px!important;
        min-width:82px!important;
        max-width:82px!important;
        scroll-snap-align:start;
        scroll-snap-stop:normal;
    }
    .mbh-pro-quick-grid::after{
        content:"";
        flex:0 0 2px;
        width:2px;
    }
    .mbh-pro-quick-panel::after{
        content:"";
        position:absolute;
        z-index:2;
        top:70px;
        right:0;
        width:30px;
        height:86px;
        pointer-events:none;
        background:linear-gradient(90deg,rgba(255,255,255,0),#fff 82%);
    }
}
@media (max-width:390px){
    .mbh-pro-quick-grid{
        display:flex!important;
        flex-wrap:nowrap!important;
        grid-template-columns:none!important;
        row-gap:0!important;
    }
}


/* MaridoBH 5.0.3 — micro-polimento do painel profissional */
.mbh-shell-profissional .mbh-pro-quick-panel,
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat,
.mbh-shell-profissional .mbh-pro-verified-strip{
    transition:transform .18s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}
.mbh-shell-profissional .mbh-pro-quick-link,
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions>a{
    transition:transform .16s ease,filter .18s ease,opacity .18s ease;
    -webkit-tap-highlight-color:transparent;
}
.mbh-shell-profissional .mbh-pro-quick-link:active,
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:active,
.mbh-shell-profissional .mbh-pro-verified-strip:active,
.mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions>a:active{
    transform:scale(.975);
}
.mbh-shell-profissional .mbh-pro-quick-icon,
.mbh-shell-profissional .mbh-pro-stat-icon{
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 5px 14px rgba(28,59,90,.055);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat{
    box-shadow:0 10px 26px rgba(28,59,90,.07);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:hover{
    border-color:#cbd9e7;
    box-shadow:0 13px 30px rgba(28,59,90,.10);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(1){
    background:linear-gradient(105deg,#eef7ff 0%,#f9fcff 72%,#ffffff 100%);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(2){
    background:linear-gradient(105deg,#eefbf5 0%,#fafffc 72%,#ffffff 100%);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(3){
    background:linear-gradient(105deg,#fff8e8 0%,#fffdf8 72%,#ffffff 100%);
}
.mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat:nth-child(4){
    background:linear-gradient(105deg,#f7f1ff 0%,#fcfaff 72%,#ffffff 100%);
}
.mbh-shell-profissional .mbh-pro-stat-copy>strong{
    transition:transform .22s ease,opacity .22s ease;
    font-variant-numeric:tabular-nums;
}
.mbh-shell-profissional .mbh-premium-stat.has-new-opportunities{
    position:relative;
    isolation:isolate;
    border-color:#9bc8f4;
    box-shadow:0 12px 30px rgba(24,121,223,.14);
}
.mbh-shell-profissional .mbh-premium-stat.has-new-opportunities::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset:-1px;
    border-radius:inherit;
    pointer-events:none;
    box-shadow:0 0 0 0 rgba(20,121,223,.18);
    animation:mbh-opportunity-soft-pulse 2.8s ease-out infinite;
}
@keyframes mbh-opportunity-soft-pulse{
    0%,56%,100%{box-shadow:0 0 0 0 rgba(20,121,223,0)}
    64%{box-shadow:0 0 0 0 rgba(20,121,223,.16)}
    86%{box-shadow:0 0 0 9px rgba(20,121,223,0)}
}
@media (hover:hover) and (pointer:fine){
    .mbh-shell-profissional .mbh-pro-quick-link:hover{transform:translateY(-2px)}
    .mbh-shell-profissional .mbh-pro-verified-strip:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(22,139,89,.09)}
}
@media(max-width:700px){
    .mbh-shell-profissional .mbh-pro-quick-panel{margin-top:22px;margin-bottom:22px}
    .mbh-shell-profissional .mbh-pro-compact-stats{gap:13px}
    .mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat{padding:14px 16px}
    .mbh-shell-profissional .mbh-pro-stat-arrow{opacity:.82}
}
@media(prefers-reduced-motion:reduce){
    .mbh-shell-profissional .mbh-pro-quick-panel,
    .mbh-shell-profissional .mbh-pro-quick-link,
    .mbh-shell-profissional .mbh-pro-compact-stats .mbh-premium-stat,
    .mbh-shell-profissional .mbh-pro-verified-strip,
    .mbh-shell-profissional .mbh-pro-home-hero .mbh-dashboard-hero-actions>a,
    .mbh-shell-profissional .mbh-pro-stat-copy>strong{
        transition:none!important;
    }
    .mbh-shell-profissional .mbh-premium-stat.has-new-opportunities::before{animation:none!important}
}

/* 5.0.8.5 — campanhas e resgate de cupons */
.mbh-wallet-campaign-source{display:block;margin:2px 0 5px;color:#08785d;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:11px}.mbh-wallet-redeem{width:100%;margin-top:14px;border:0;border-radius:14px;padding:13px 14px;background:#087f5b;color:#fff;font-weight:800;font-size:14px;box-shadow:0 8px 18px rgba(8,127,91,.18)}.mbh-wallet-redeem:disabled{opacity:.72}.mbh-wallet-redeem.is-success{background:#0a9f68}.mbh-wallet-redeem-help{display:block;margin-top:7px;color:#657487;font-size:11px;line-height:1.35}


/* 5.0.9.3 — Checkout promocional de plano pela carteira */
.mbh-wallet-plan-offer{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:14px 0 10px;padding:12px 14px;border-radius:14px;background:#f3fbf7;border:1px solid #cdebdc}.mbh-wallet-plan-offer strong{width:100%;color:#17324d;font-size:15px}.mbh-wallet-plan-offer span{color:#66758a;font-size:13px}.mbh-wallet-plan-offer b{color:#078b61;font-size:22px}.mbh-wallet-plan-offer small{width:100%;color:#078b61;font-weight:700}.mbh-wallet-plan-checkout{display:block;text-align:center;text-decoration:none}.mbh-wallet-ticket .mbh-wallet-state{max-width:155px;text-align:center}

/* 5.1.0.2 — orçamento aprovado responsivo no chat */
.mbh-chat-message.is-system-financial{
  width:min(94%,680px)!important;
  max-width:min(94%,680px)!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  overflow:hidden!important;
}
.mbh-chat-message.is-system-financial .mbh-system-icon{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
}
.mbh-chat-message.is-system-financial .mbh-system-content{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  box-sizing:border-box!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-title{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 7px!important;
  text-align:left!important;
  font-size:16px!important;
  line-height:1.25!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-row{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:5px 0!important;
  box-sizing:border-box!important;
  word-break:normal!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-row span{
  min-width:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-row strong{
  min-width:max-content!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  text-align:right!important;
}
.mbh-chat-message.is-system-financial .mbh-chat-financial-card small{
  display:block!important;
  width:100%!important;
  margin:6px 0 0!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.mbh-chat-message.is-system-financial .mbh-system-content>small{
  display:flex!important;
  justify-content:flex-end!important;
  width:100%!important;
  margin-top:8px!important;
  white-space:nowrap!important;
}
@media(max-width:600px){
  .mbh-chat-message.is-system-financial{
    width:calc(100% - 8px)!important;
    max-width:calc(100% - 8px)!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px 12px 10px 10px!important;
    margin:10px 4px!important;
  }
  .mbh-chat-message.is-system-financial .mbh-system-icon{
    width:40px!important;
    height:40px!important;
  }
  .mbh-chat-message.is-system-financial .mbh-chat-financial-title{
    font-size:15px!important;
  }
  .mbh-chat-message.is-system-financial .mbh-chat-financial-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    font-size:14px!important;
  }
  .mbh-chat-message.is-system-financial .mbh-chat-financial-row.is-total{
    padding-top:9px!important;
  }
}
@media(max-width:390px){
  .mbh-chat-message.is-system-financial{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .mbh-chat-message.is-system-financial .mbh-system-icon{
    grid-column:1!important;
    justify-self:start!important;
  }
  .mbh-chat-message.is-system-financial .mbh-system-content{
    grid-column:1!important;
  }
}


/* 5.3.2 — menus mais compactos no desktop e refinamento do perfil mobile */
@media (min-width:783px){
  .mbh-shell-cliente .mbh-site-header-inner,
  .mbh-shell-profissional .mbh-site-header-inner{
    min-height:64px;
    gap:16px;
    padding-top:6px;
    padding-bottom:6px;
  }
  .mbh-shell-cliente .mbh-logo img,
  .mbh-shell-profissional .mbh-logo img,
  .mbh-shell-cliente .mbh-logo .mbh-brand-logo,
  .mbh-shell-profissional .mbh-logo .mbh-brand-logo{
    height:46px;
    max-width:170px;
    object-fit:contain;
  }
  .mbh-shell-cliente .mbh-nav-panel,
  .mbh-shell-profissional .mbh-nav-panel{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
  }
  .mbh-shell-cliente .mbh-menu ul,
  .mbh-shell-profissional .mbh-menu ul{
    gap:2px;
    row-gap:4px;
  }
  .mbh-shell-cliente .mbh-menu a,
  .mbh-shell-profissional .mbh-menu a{
    display:flex;
    align-items:center;
    min-height:36px;
    padding:8px 10px;
    border-radius:11px;
    font-size:13.5px;
    line-height:1.15;
    white-space:nowrap;
  }
  .mbh-shell-cliente .mbh-menu .current-menu-item>a,
  .mbh-shell-cliente .mbh-menu .current_page_item>a,
  .mbh-shell-cliente .mbh-menu a[aria-current="page"],
  .mbh-shell-profissional .mbh-menu .current-menu-item>a,
  .mbh-shell-profissional .mbh-menu .current_page_item>a,
  .mbh-shell-profissional .mbh-menu a[aria-current="page"]{
    color:#075dcc;
    background:#e9f3ff;
    box-shadow:inset 0 0 0 1px rgba(7,93,204,.10);
  }
  .mbh-shell-cliente .mbh-menu .current-menu-item>a:hover,
  .mbh-shell-cliente .mbh-menu .current_page_item>a:hover,
  .mbh-shell-profissional .mbh-menu .current-menu-item>a:hover,
  .mbh-shell-profissional .mbh-menu .current_page_item>a:hover{
    color:#fff;
    background:var(--mbh-blue);
  }
  .mbh-shell-cliente .mbh-logout-link,
  .mbh-shell-profissional .mbh-logout-link{
    padding:8px 11px;
    font-size:13px;
    border-radius:10px;
  }
}

@media (max-width:782px){
  .mbh-profile-sheet-panel{
    max-height:min(86vh,720px);
    padding:8px 15px 14px;
  }
  .mbh-profile-sheet-handle{
    margin-bottom:9px;
  }
  .mbh-profile-sheet-close{
    right:13px;
    top:13px;
    width:33px;
    height:33px;
    font-size:23px;
  }
  .mbh-profile-sheet-head{
    gap:11px;
    padding:2px 39px 10px 0;
  }
  .mbh-profile-sheet-avatar{
    width:56px;
    height:56px;
    border-radius:17px;
  }
  .mbh-profile-sheet-avatar-fallback{
    font-size:25px;
  }
  .mbh-profile-sheet-identity strong{
    font-size:17px;
  }
  .mbh-profile-sheet-identity span{
    font-size:11.5px;
  }
  .mbh-profile-sheet-identity em{
    margin-top:2px;
    padding:3px 7px;
    font-size:10.5px;
  }
  .mbh-profile-sheet-stats{
    gap:8px;
    margin-bottom:8px;
  }
  .mbh-profile-sheet-stats>div{
    padding:9px 10px;
    border-radius:13px;
  }
  .mbh-profile-sheet-stats strong{
    font-size:13px;
  }
  .mbh-profile-sheet-edit{
    min-height:38px;
    margin-bottom:9px;
    border-radius:12px;
    font-size:14px;
  }
  .mbh-profile-sheet-list{
    border-radius:15px;
  }
  .mbh-profile-sheet-list a,
  .mbh-profile-sheet-list button{
    min-height:43px;
    grid-template-columns:26px 1fr auto;
    gap:8px;
    padding:5px 11px;
  }
  .mbh-profile-sheet-list span{font-size:17px}
  .mbh-profile-sheet-list strong{font-size:13.5px}
  .mbh-profile-sheet-list i{font-size:21px}
  .mbh-profile-sheet-secondary{
    padding:10px 4px 7px;
  }
  .mbh-profile-sheet-logout{
    min-height:42px;
    border-radius:13px;
    font-size:14px;
  }
}

/* 5.3.4.3 — Respiro visual do card de exclusão de conta nos perfis. */
.mbh-profile-page .mbh-account-deletion-card{
  margin-top:22px !important;
}
@media (max-width:720px){
  .mbh-profile-page .mbh-account-deletion-card{
    margin-top:18px !important;
  }
}


/* MaridoBH Branding oficial 5.3.4.4 — PNG estável e sem recortes */
.mbh-brand-logo,
.mbh-logo .mbh-brand-logo{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left center!important;
  overflow:visible!important;
}
.mbh-brand-block,.mbh-logo{overflow:visible!important;min-width:0;}


/* v5.3.4.12 - Login unificado Cliente/Profissional + validação visual */
.mbh-login-v2{padding:24px 16px 42px;background:linear-gradient(180deg,#f7fbff 0%,#fff 65%)}
.mbh-login-v2-shell{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr);border:1px solid rgba(22,129,229,.14);border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 24px 70px rgba(8,76,104,.12)}
.mbh-login-v2-brand{position:relative;overflow:hidden;padding:42px;background:linear-gradient(145deg,#eaf6ff 0%,#f7fcff 50%,#e9fff4 100%)}
.mbh-login-v2-brand:before,.mbh-login-v2-brand:after{content:"";position:absolute;border-radius:999px;pointer-events:none}.mbh-login-v2-brand:before{width:260px;height:260px;right:-120px;top:-105px;background:rgba(22,129,229,.12)}.mbh-login-v2-brand:after{width:220px;height:220px;left:-100px;bottom:-120px;background:rgba(0,173,104,.11)}
.mbh-login-v2-brand>*{position:relative;z-index:1}.mbh-login-v2-logo{margin-bottom:32px}.mbh-login-v2-logo img{display:block;width:auto;height:80px;max-width:290px;object-fit:contain}.mbh-login-v2-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#fff;color:#1681e5;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;border:1px solid rgba(22,129,229,.14)}
.mbh-login-v2-brand h1{margin:16px 0 12px;color:#073f5a;font-size:40px;line-height:1.07;letter-spacing:-.035em}.mbh-login-v2-brand>p{margin:0;color:#4b6470;font-size:16px;line-height:1.65}
.mbh-login-v2-trust{display:grid;gap:11px;margin-top:28px}.mbh-login-v2-trust>div{display:grid;grid-template-columns:32px 1fr;gap:2px 10px;align-items:center;padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.72);border:1px solid rgba(22,129,229,.11)}.mbh-login-v2-trust>div>span{grid-row:1/3;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#ddf8e9;color:#087a47;font-weight:900}.mbh-login-v2-trust strong{color:#163e50;font-size:14px}.mbh-login-v2-trust small{color:#6a7f89;line-height:1.35}
.mbh-login-v2-card{padding:42px;background:#fff;display:flex;flex-direction:column;justify-content:center;min-width:0}.mbh-login-v2-card-head{display:flex;gap:13px;align-items:center;margin-bottom:22px}.mbh-login-v2-card-head h2{margin:0;color:#073f5a;font-size:29px;letter-spacing:-.02em}.mbh-login-v2-card-head p{margin:4px 0 0;color:#6b7f89}.mbh-login-v2-lock{flex:0 0 50px;width:50px;height:50px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eef7ff;font-size:23px}
.mbh-login-role-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.mbh-login-role{appearance:none;border:1px solid #dce7ed;background:#fff;border-radius:18px;padding:15px;display:flex;text-align:left;gap:11px;align-items:center;cursor:pointer;transition:.18s;min-width:0}.mbh-login-role:hover{border-color:#93c8f4;background:#f9fcff}.mbh-login-role.is-active{border-color:#1681e5;background:#eef7ff;box-shadow:0 0 0 3px rgba(22,129,229,.09)}.mbh-login-role-icon{font-size:25px;flex:0 0 auto}.mbh-login-role strong,.mbh-login-role small{display:block}.mbh-login-role strong{color:#173e51;font-size:14px}.mbh-login-role small{color:#71838c;font-size:11px;margin-top:3px;line-height:1.25}.mbh-login-role-notice{margin-bottom:18px;padding:9px 12px;border-radius:12px;background:#f7fafc;color:#61747d;font-size:12px;font-weight:700;text-align:center}
.mbh-login-v2-card .mbh-login-form,.mbh-login-v2-card .mbh-password-form{display:grid;gap:15px;width:100%}.mbh-login-v2-card .mbh-field label{font-size:14px;color:#294856}.mbh-login-v2-card input[type="text"],.mbh-login-v2-card input[type="email"],.mbh-login-v2-card input[type="password"]{width:100%!important;box-sizing:border-box;min-height:54px;border:1px solid #d9e3e8;border-radius:14px;padding:13px 14px;font-size:16px;background:#fff;transition:.18s}.mbh-login-v2-card input:focus{outline:none;border-color:#1681e5;box-shadow:0 0 0 4px rgba(22,129,229,.11)}
.mbh-password-wrap{position:relative}.mbh-password-wrap input{padding-right:78px!important}.mbh-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:#eef7ff;color:#0d6fc9;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:900;cursor:pointer}.mbh-login-v2-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.mbh-login-v2-options a{font-weight:800;color:#1681e5;text-decoration:none}.mbh-login-v2-options a:hover{text-decoration:underline}.mbh-login-v2-submit{width:100%;justify-content:center;min-height:52px;font-size:15px}.mbh-login-v2-register{margin-top:18px;padding-top:17px;border-top:1px solid #edf1f3;text-align:center;color:#71838c;font-size:13px}.mbh-login-v2-register a{display:inline-block;margin-left:5px;font-weight:900;color:#0f7dcf;text-decoration:none}.mbh-login-v2-register a:hover{text-decoration:underline}.mbh-login-v2-register .is-hidden{display:none}
@media(max-width:860px){.mbh-login-v2{padding:12px 10px 28px}.mbh-login-v2-shell{grid-template-columns:1fr;border-radius:24px}.mbh-login-v2-brand{padding:28px}.mbh-login-v2-logo{margin-bottom:20px}.mbh-login-v2-logo img{height:68px;max-width:250px}.mbh-login-v2-brand h1{font-size:31px}.mbh-login-v2-trust{grid-template-columns:1fr 1fr}.mbh-login-v2-trust>div:last-child{grid-column:1/-1}.mbh-login-v2-card{padding:28px}}
@media(max-width:560px){.mbh-login-v2-brand{padding:22px}.mbh-login-v2-brand h1{font-size:27px}.mbh-login-v2-brand>p{font-size:14px}.mbh-login-v2-trust{grid-template-columns:1fr}.mbh-login-v2-trust>div:last-child{grid-column:auto}.mbh-login-v2-card{padding:22px}.mbh-login-v2-card-head h2{font-size:25px}.mbh-login-role-switch{grid-template-columns:1fr}.mbh-login-role{padding:13px}.mbh-login-v2-options{align-items:flex-start;flex-direction:column}.mbh-login-v2-logo img{height:62px;max-width:225px}}

/* Login 5.3.4.14 - escolha progressiva de perfil */
.mbh-login-v2-logo{display:inline-block;text-decoration:none}
.mbh-login-access-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .32s ease,opacity .25s ease;margin-top:0;scroll-margin-top:90px;overflow:hidden}
.mbh-login-access-panel>*{min-height:0}
.mbh-login-access-panel.is-open{grid-template-rows:auto;opacity:1;margin-top:4px;overflow:visible}
.mbh-login-access-panel.is-open .mbh-login-role-notice{margin-top:4px}


/* v5.3.4.15 - Login retrátil real, sem espaço vazio quando fechado */
.mbh-login-access-panel{
  display:grid!important;
  grid-template-rows:0fr!important;
  opacity:0;
  margin-top:0!important;
  overflow:hidden!important;
  transition:grid-template-rows .34s ease,opacity .22s ease,margin-top .34s ease;
  scroll-margin-top:88px;
}
.mbh-login-access-panel-inner{
  min-height:0;
  overflow:hidden;
  visibility:hidden;
  transform:translateY(-8px);
  transition:transform .28s ease,visibility 0s linear .34s;
}
.mbh-login-access-panel.is-open{
  grid-template-rows:1fr!important;
  opacity:1;
  margin-top:10px!important;
  overflow:hidden!important;
}
.mbh-login-access-panel.is-open .mbh-login-access-panel-inner{
  visibility:visible;
  transform:translateY(0);
  transition:transform .28s ease,visibility 0s linear 0s;
}
.mbh-login-access-panel.is-open .mbh-login-role-notice{margin-top:4px}
@media(max-width:860px){
  .mbh-login-v2-card{justify-content:flex-start!important;}
}
@media(prefers-reduced-motion:reduce){
  .mbh-login-access-panel,.mbh-login-access-panel-inner{transition:none!important;}
}


/* 5.3.4.27 — chamada de decisão do orçamento dentro do chat do cliente */
.mbh-chat-budget-cta{margin:10px 0 2px;padding:12px;border:1px solid #bfdbfe;border-radius:13px;background:#f8fbff;display:grid;gap:6px}
.mbh-chat-budget-cta>strong{color:#0f3d63;font-size:13px}
.mbh-chat-budget-cta>span{color:#52677a;font-size:12px;line-height:1.4}
.mbh-chat-budget-cta-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}
.mbh-chat-budget-cta-actions button{appearance:none;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:700;cursor:pointer}
.mbh-chat-budget-cta-actions button.is-primary{border-color:#147dcc;background:#147dcc;color:#fff}
@media(max-width:640px){.mbh-chat-budget-cta-actions{display:grid;grid-template-columns:1fr}.mbh-chat-budget-cta-actions button{width:100%}}

/* 5.3.4.28 — estado final do CTA de orçamento no chat do cliente */
.mbh-chat-budget-cta.is-approved{border-color:#bbf7d0;background:#f0fdf4}
.mbh-chat-budget-cta.is-approved>strong{color:#15803d}
.mbh-chat-budget-cta.is-rejected{border-color:#fecaca;background:#fff7f7}
.mbh-chat-budget-cta.is-rejected>strong{color:#b91c1c}
