#mj-team-open{width:calc(100% - 20px);margin:6px 10px 12px;padding:11px;text-align:left;color:#e8f4ff;background:#163a60;border:1px solid #5985aa;border-radius:10px;font-weight:700;cursor:pointer}
#mj-team-dialog{width:min(1050px,96vw);height:min(91vh,970px);max-width:none;max-height:none;padding:0;background:#081c35;color:#eaf5ff;border:1px solid #3b6486;border-radius:17px;box-shadow:0 18px 90px #000b}
#mj-team-dialog::backdrop{background:#000b20c9}
.mj-team-wrap{height:100%;overflow:auto;padding:22px;box-sizing:border-box}
.mj-team-head{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #375a77;padding-bottom:12px;align-items:start}
.mj-team-head h2{margin:4px 0 8px;font-size:23px;color:#fff}.mj-team-head p{max-width:700px;font-size:13px;line-height:1.6;color:#b6d0e8}
.mj-team-head small{color:#8ec8ff;font-weight:750}.mj-team-tabs{display:flex;gap:7px;margin:16px 0}
#mj-team-dialog button{padding:9px 12px;border-radius:8px;cursor:pointer;background:#1e6099;color:#fff;border:1px solid #4e90c5;font-weight:650}
#mj-team-dialog button.active{background:#287bbd}#mj-team-dialog label{display:grid;gap:5px;font-size:13px;color:#dfedfb}
#mj-team-dialog input,#mj-team-dialog select{padding:10px 12px;color:#fff;border-radius:8px;border:1px solid #58768f;background:#153452;width:100%;box-sizing:border-box;min-width:0}
#mj-team-dialog input[type=checkbox]{width:auto}
#mj-team-dialog fieldset{border:1px solid #52718e;border-radius:9px;padding:9px;display:flex;gap:12px;flex-wrap:wrap}
#mj-team-dialog legend{font-size:13px;padding:0 6px;color:#d5e6f6}
#mj-team-dialog fieldset label{display:flex;align-items:center;gap:8px}
.mj-team-summary,.mj-team-card,.mj-team-person{border:1px solid #305577;border-radius:12px;padding:14px;margin-bottom:13px;background:#112e4d}
.mj-team-summary{display:grid;gap:5px;background:#153c55}.mj-team-summary span{font-size:13px;color:#c5e1f8}.mj-team-summary small{color:#abc5de}
.mj-team-card h3{font-size:18px;margin:0 0 9px;color:#fff}.mj-team-card p,.mj-team-note p{color:#bfd4e8;font-size:13px;line-height:1.6}
#mj-team-invite{display:grid;gap:12px}.mj-team-people{display:grid;gap:10px}
.mj-team-person{margin:0;background:#193853}.mj-team-person-head{display:flex;align-items:start;justify-content:space-between;gap:10px}
.mj-team-person-head div{display:grid;gap:5px;min-width:0}.mj-team-person-head strong{overflow-wrap:anywhere}.mj-team-person-head small{color:#adc4dd;font-size:12px}.mj-team-person-head span{color:#91e5bf;font-size:12px}
.mj-team-edit,.mj-team-scope,.mj-team-filters{display:flex;gap:9px;align-items:end;flex-wrap:wrap;margin:13px 0}
.mj-team-edit label{flex:1 1 170px}.mj-team-scope label{flex:1 1 180px}.mj-team-existing{margin:9px 0;font-size:12px;color:#bdd0df;line-height:1.5}
#mj-team-dialog .mj-team-revoke{margin-top:9px;background:#683a46;border-color:#b15a68}.mj-team-note{border-left:3px solid #7badd3;padding:5px 14px}
#mj-team-feedback{margin:8px 0;color:#9ee5c5;font-size:13px;min-height:16px}#mj-team-feedback.error{color:#ffb2bb}
.mj-team-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
#mj-team-report-list{display:grid;gap:10px}
@media(max-width:640px){.mj-team-wrap{padding:13px}.mj-team-head{flex-direction:column}.mj-team-head h2{font-size:20px}.mj-team-edit{display:grid}.mj-team-scope{display:grid}}

/* Central administrativa visível: controles anteriores continuam funcionais. */
#sidebar > #mj-team-open{display:none!important} /* Menu principal agora contém a seção nativa */
.mj-governance-banner{margin:18px 0 20px;padding:22px 24px;border:1px solid #3288cb;border-radius:18px;background:linear-gradient(115deg,#0b3158 0%,#164c7e 68%,#1a628d 100%);box-shadow:0 14px 40px rgba(9,55,95,.18);color:#fff}
.mj-gov-eyebrow{display:block;margin-bottom:7px;font-size:11px;font-weight:800;letter-spacing:1.4px;color:#addefd}
.mj-governance-banner h2{margin:2px 0 9px;font-size:clamp(20px,2.2vw,27px);line-height:1.18;color:#fff}
.mj-governance-banner p{margin:0 0 17px;max-width:760px;color:#d4eafb;font-size:13px;line-height:1.6}
.mj-gov-actions{display:flex;gap:10px;flex-wrap:wrap}
.mj-gov-actions button{width:auto;min-width:190px;cursor:pointer}
.mj-gov-panel{max-width:1050px}
.mj-gov-text{font-size:14px;line-height:1.7;color:#a8bbd1}
.mj-gov-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:19px 0}
.mj-gov-level{display:flex;flex-direction:column;gap:8px;padding:15px;background:#163450;border:1px solid #376b92;border-radius:12px;min-height:138px;color:#fff}
.mj-gov-level strong{font-size:13px;line-height:1.35;color:#fff}
.mj-gov-level small{font-size:11px;line-height:1.5;color:#bdd4e6}
.mj-gov-number{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#348dd2;color:#fff;font-weight:800}
.mj-gov-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}
.mj-gov-area{border:1px solid #426e91;border-radius:12px;padding:14px;background:#173655}
.mj-gov-area strong{color:#fff}.mj-gov-area p{margin:7px 0 0;font-size:12px;color:#bed6e8}
.mj-gov-footnote{font-size:12px;color:#9db4cc;margin-top:15px;line-height:1.6}
.mj-gov-open{cursor:pointer}
@media(max-width:760px){.mj-gov-levels{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mj-governance-banner{padding:17px}.mj-gov-levels,.mj-gov-areas{grid-template-columns:1fr}.mj-gov-level{min-height:0}.mj-gov-actions button{width:100%}}
