/* Personal connection cards use the same light tokens as the common WhatsApp tab. */
:is(#well-personal-whatsapp,#well-account-whatsapp){--well-wa-accent:var(--fx-wa-accent,#6554c0);background:#fff;border:1px solid #e4e7ec;border-radius:22px;padding:22px;margin:0 0 22px;color:#202a32;min-width:0}
:is(#well-personal-whatsapp,#well-account-whatsapp) header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#app-container :is(#well-personal-whatsapp,#well-account-whatsapp):is(#well-personal-whatsapp,#well-account-whatsapp) h2{font-size:19px!important;line-height:1.3!important;color:#202a32!important;margin:0 0 6px}
:is(#well-personal-whatsapp,#well-account-whatsapp) p{font-size:13px;line-height:1.5;color:#66717c;margin:0}
#app-container :is(#well-personal-whatsapp,#well-account-whatsapp):is(#well-personal-whatsapp,#well-account-whatsapp) button{min-height:44px!important;padding:10px 14px!important;border:1px solid #e4e7ec!important;background:#f6f7f9!important;color:#202a32!important;border-radius:12px!important;font:inherit;font-size:13px!important;cursor:pointer;touch-action:manipulation}
#app-container :is(#well-personal-whatsapp,#well-account-whatsapp):is(#well-personal-whatsapp,#well-account-whatsapp) [data-well-wa-open]{background:var(--well-wa-accent)!important;color:#fff!important;border-color:var(--well-wa-accent)!important;font-weight:600}
:is(#well-personal-whatsapp,#well-account-whatsapp) .well-wa-action{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}
:is(#well-personal-whatsapp,#well-account-whatsapp,#well-wa-dialog) .well-wa-status{display:inline-flex;align-items:center;gap:7px;background:#fff5dd;color:#86651f;padding:7px 10px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.4}
:is(#well-personal-whatsapp,#well-account-whatsapp,#well-wa-dialog) .well-wa-status:before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
:is(#well-personal-whatsapp,#well-account-whatsapp,#well-wa-dialog) .well-wa-status.is-connected{background:#eaf5ee;color:#287347}
:is(#well-personal-whatsapp,#well-account-whatsapp,#well-wa-dialog) .well-wa-status.is-disconnected{background:#fff0ed;color:#a04736}
:is(#well-personal-whatsapp,#well-account-whatsapp,#well-wa-dialog) .well-wa-status.is-unknown{background:#f0f2f3;color:#5c6770}
:is(#well-personal-whatsapp,#well-account-whatsapp) .well-wa-team{display:grid;gap:10px;margin-top:16px}
:is(#well-personal-whatsapp,#well-account-whatsapp) .well-wa-team>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;background:#f6f7f9;border-radius:12px;font-size:13px}
:is(#well-personal-whatsapp,#well-account-whatsapp) button:disabled{opacity:.6;cursor:wait}
:is(#well-personal-whatsapp,#well-account-whatsapp) button:focus-visible{outline:2px solid var(--well-wa-accent);outline-offset:3px}
#app-container .well-wa-card .well-wa-updated{margin-top:14px;font-size:11px;color:#66717c}
#app-container .well-wa-card .well-wa-note{margin-top:12px;font-size:13px;line-height:1.5}
#app-container #well-account-whatsapp{margin:20px 0;min-width:0}
#well-wa-dialog [data-dialog-status]{margin-bottom:18px}
#well-wa-dialog form{margin:0;padding:0}
#well-wa-dialog [data-status]{width:100%;margin-top:20px;background:var(--wa-surface);color:var(--wa-muted);font-size:13px}
@media(max-width:600px){:is(#well-personal-whatsapp,#well-account-whatsapp){padding:18px}:is(#well-personal-whatsapp,#well-account-whatsapp) header>button{padding:8px;font-size:12px}:is(#well-personal-whatsapp,#well-account-whatsapp) .well-wa-action,:is(#well-personal-whatsapp,#well-account-whatsapp) .well-wa-team>div{align-items:flex-start;flex-direction:column}:is(#well-personal-whatsapp,#well-account-whatsapp) [data-well-wa-open]{width:100%}}

/* Owner's team: heading, indicators, connections, professional records. */
#tab-barber-team.well-team-page #well-personal-whatsapp{order:0;margin:0!important;padding:20px!important;border-radius:20px}
#tab-barber-team.well-team-page #well-personal-whatsapp .well-wa-team{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#tab-barber-team.well-team-page #well-personal-whatsapp .well-wa-person{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:16px;border:1px solid #e5ece7;background:#f8faf9;border-radius:14px}
#tab-barber-team.well-team-page .well-wa-person-info{display:grid;gap:6px;min-width:0}
#tab-barber-team.well-team-page .well-wa-person-info strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#tab-barber-team.well-team-page .well-wa-person-info small{font-size:13px;color:#68766d;font-variant-numeric:tabular-nums}
#tab-barber-team.well-team-page #well-personal-whatsapp h2{font-size:18px!important}
#tab-barber-team.well-team-page #well-personal-whatsapp .well-wa-status{margin-top:auto}
@media(max-width:700px){#tab-barber-team.well-team-page #well-personal-whatsapp .well-wa-team{grid-template-columns:1fr}#tab-barber-team.well-team-page #well-personal-whatsapp{padding:16px!important}}

html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-team-page{max-width:1280px!important;gap:20px!important}
html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-team-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-team-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important}
html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-card__who h3{font-size:16px!important;line-height:1.45!important}
@media(max-width:1250px){html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page #barber-team-list{grid-template-columns:1fr!important}}
@media(max-width:900px){html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-team-layout{grid-template-columns:1fr!important}html.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team.p90-web-team #app-container #app-main-column #tab-barber-team.well-team-page .barber-team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

#app-container #tab-barber-team.well-team-page .barber-team-head{order:0!important}
#app-container #tab-barber-team.well-team-page .barber-team-kpis{order:1!important}
#app-container #tab-barber-team.well-team-page #well-personal-whatsapp{order:2!important}
#app-container #tab-barber-team.well-team-page .barber-team-layout{order:3!important}
