/* V6.1.84 - layout opção 2, 4º bloco vinculado, sem replicação de habilidades */
#v500Matriz .mh6184-hub{margin:17px 0 20px;padding:16px;border:1px solid #c9dce9;border-radius:14px;background:linear-gradient(130deg,#eaf4fa,#f7fbfd);box-shadow:0 6px 20px #0e3d6d0b}
#v500Matriz .mh6184-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#094774;font-size:13px}
#v500Matriz .mh6184-head span{font-size:10px;font-weight:700;color:#56819e}
#v500Matriz .mh6184-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#v500Matriz .mh6184-card{appearance:none;width:100%;min-width:0;border:1px solid #bed4e5;border-radius:12px;padding:12px;background:#fff;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer;color:#123a5b;min-height:94px;transition:box-shadow .15s,border-color .15s}
#v500Matriz .mh6184-card:hover,#v500Matriz .mh6184-card.active{border-color:#1377ba;box-shadow:0 2px 9px #167db22b}
#v500Matriz .mh6184-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center;color:white;background:#17956d;font-size:15px;font-weight:900}
#v500Matriz .mh6184-card.red .mh6184-avatar{background:#c4536c}
#v500Matriz .mh6184-card.blue .mh6184-avatar{background:#2881cd}
#v500Matriz .mh6184-card.purple .mh6184-avatar{background:#864bd1}
#v500Matriz .mh6184-copy{display:flex;flex-direction:column;min-width:0;gap:2px;flex:1}
#v500Matriz .mh6184-copy b{font-size:13px;font-weight:900}
#v500Matriz .mh6184-copy small{font-size:9px;color:#698398}
#v500Matriz .mh6184-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#v500Matriz .mh6184-copy em{font-size:10px;color:#47718f;font-style:normal;line-height:1.45}
#v500Matriz .mh6184-chevron{font-size:23px;color:#6c9bbc}
#v500Matriz .mh6184-block{margin:14px 0 20px;border:1px solid #cbb6e8;border-radius:14px;overflow:hidden;background:#fff}
#v500Matriz .mh6184-block[hidden]{display:none!important}
#v500Matriz .mh6184-panel-head{display:flex;align-items:center;gap:12px;padding:18px;background:linear-gradient(100deg,#28205c,#552a9b);color:white}
#v500Matriz .mh6184-panel-head h2{font-size:18px;font-weight:900;margin:3px 0}
#v500Matriz .mh6184-panel-head small,#v500Matriz .mh6184-panel-head p{font-size:10px;color:#eee3ff;margin:0}
#v500Matriz .mh6184-panel-head>b{margin-left:auto;white-space:nowrap;font-size:11px;background:#ffffff22;border-radius:15px;padding:7px}
#v500Matriz .mh6184-panel-symbol{background:#ffffff29;border-radius:10px;padding:10px;font-size:18px;font-weight:900}
#v500Matriz .mh6184-panel-tools,#v500Matriz .mh6184-consult{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #e2eaf1;font-size:11px;color:#416781}
#v500Matriz .mh6184-panel-tools>span{flex:1;min-width:200px}
#v500Matriz .mh6184-panel-tools select,#v500Matriz .mh6184-consult select{padding:10px;border:1px solid #b3ccdf;border-radius:8px;max-width:100%;font-size:11px;background:white;color:#153d5c;min-width:190px}
#v500Matriz .mh6184-panel-tools button,#v500Matriz .mh6184-consult button{padding:10px 12px;border:0;border-radius:8px;background:#265b94;color:white;font-size:10px;font-weight:800;cursor:pointer;min-height:38px}
#v500Matriz .mh6184-consult .mh6184-unlink{background:#f8ebeb;border:1px solid #f0c5c5;color:#ad3e42}
#v500Matriz .mh6184-panel-tools button:disabled{opacity:.5;cursor:not-allowed}
#v500Matriz .mh6184-empty{padding:26px;text-align:center;color:#355a77}
#v500Matriz .mh6184-empty b{font-size:13px}
#v500Matriz .mh6184-empty p{font-size:11px;margin-top:6px}
#v500Matriz .mh6184-view-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800}
#v500Matriz .mh6184-person-title{padding:15px 16px 10px;display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;color:#173b5e}
#v500Matriz .mh6184-person-title span{font-size:10px;color:#758a9c}
#v500Matriz .mh6184-dual{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:7px 14px 16px}
#v500Matriz .mh6184-section{min-width:0;border:1px solid #d5e1ed;border-radius:10px;overflow:hidden}
#v500Matriz .mh6184-section-head{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;background:#eaf3fa;padding:12px;font-size:11px;color:#114b77}
#v500Matriz .mh6184-section-head small{font-size:9px;color:#5e839c}
#v500Matriz .mh6184-skill{display:flex;align-items:center;gap:8px;padding:9px 10px;border-top:1px solid #e7eef5;font-size:11px;color:#183e60}
#v500Matriz .mh6184-skill>span:first-child{flex:1;min-width:0;font-weight:750}
#v500Matriz .mh6184-skill small{display:block;color:#6a88a0;font-size:9px;margin-top:2px}
#v500Matriz .mh6184-state{border-radius:6px;padding:5px 8px;text-align:center;font-size:9px;font-weight:850;max-width:43%}
#v500Matriz .mh6184-state.validated{background:#def7e8;color:#087849}
#v500Matriz .mh6184-state.pending{background:#fff1d1;color:#9c6000}
#v500Matriz .mh6184-state.untrained{background:#fbe5e5;color:#bc3232}
#v500Matriz .mh6184-state.training{background:#e1edff;color:#2375bf}
#v500Matriz .mh6184-state.na,#v500Matriz .mh6184-state.empty{background:#edf0f3;color:#687989}
#v500Matriz .mh6184-skill button{border:1px solid #b9d6ea;border-radius:6px;padding:6px 8px;background:white;color:#145789;cursor:pointer;font-weight:800;font-size:9px}
#v500Matriz .mh6184-disclaimer{margin:0;padding:11px 14px;border-top:1px solid #e8ecf0;color:#697f94;font-size:10px;line-height:1.5}
@media(max-width:1050px){#v500Matriz .mh6184-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#v500Matriz .mh6184-dual{grid-template-columns:1fr}#v500Matriz .mh6184-head{display:block}#v500Matriz .mh6184-grid{gap:7px}#v500Matriz .mh6184-card{padding:10px;min-height:88px}#v500Matriz .mh6184-avatar{width:31px;height:31px;flex-basis:31px}#v500Matriz .mh6184-panel-head h2{font-size:14px}#v500Matriz .mh6184-panel-head{gap:8px;padding:12px}#v500Matriz .mh6184-panel-tools select{flex:1}#v500Matriz .mh6184-card .mh6184-chevron{display:none}}

@media(max-width:700px){#v500Matriz .mh6184-head>span{display:block;margin-top:4px;line-height:1.5}#v500Matriz .mh6184-panel-head>b{font-size:9px;padding:5px}}

/* V6.1.89: os 4 times ocupam uma única linha no desktop;
   Todos os blocos é uma AÇÃO separada, sem virar quinto bloco. */
#v500Matriz .mh6189-all-btn{appearance:none;border:1px solid #9bbddd;border-radius:8px;
  padding:10px 14px;background:#fff;color:#105487;font-size:11px;font-weight:850;cursor:pointer}
#v500Matriz .mh6189-all-btn.active{background:#1762a3;color:#fff;border-color:#1762a3}
#v500Matriz .mh6184-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#v500Matriz .mh6184-block .mh585-table{table-layout:fixed!important;max-width:none!important}
#v500Matriz .mh6184-block .mh585-table col.mh5103-col-station{width:225px!important}
#v500Matriz .mh6184-block .mh585-table col.mh5103-col-qty{width:55px!important}
#v500Matriz .mh6184-block .mh585-table col.mh5103-col-person{width:146px!important}
#v500Matriz .mh6184-block .mh586-person-head, #v500Matriz .mh6184-block .mh613-header-name,
#v500Matriz .mh6184-block .mh613-header-name small{color:#fff!important;opacity:1!important}
@media(max-width:1050px){#v500Matriz .mh6184-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#v500Matriz .mh6184-head{display:flex;flex-wrap:wrap}}
