/* V6.1.87 - ajustes finais do layout */
#v5144LayoutPanel .v500-page-title{display:flex;gap:16px;align-items:stretch;flex-wrap:nowrap}
#v5144LayoutPanel .v500-page-title>div:first-child{flex:1 1 370px;min-width:0}
#v5144LayoutPanel .v5146-team-quick{flex:1 1 590px;min-width:0;width:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-self:stretch}
#v5144LayoutPanel .v5146-team-card{min-width:0;width:100%;min-height:84px}
#v5144LayoutPanel .v5146-team-card span{font-size:10px;overflow-wrap:anywhere}
#v5144LayoutPanel .v5146-team-card.reservado{border-top-color:#8143c5;background:#f5edff}
#v5144LayoutPanel .v5146-team-card.reservado b{color:#7842b7}
.v5144-position-label{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;min-width:0;white-space:nowrap!important;overflow:hidden}
.v5144-position-label .ccq185-edit-position{order:0;flex:0 0 22px!important;padding:2px!important}
.v5144-position-label .ccq187-position-name{order:1;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px){#v5144LayoutPanel .v500-page-title{flex-direction:column}#v5144LayoutPanel .v5146-team-quick{width:100%;flex:0 0 auto}}
@media(max-width:650px){#v5144LayoutPanel .v5146-team-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Bloco 04: mesma tabela e mesmo cabeçalho azul das demais matrizes. */
#v500Matriz .mh6184-block{border:0;background:transparent;overflow:visible;padding:0}
#v500Matriz .mh6184-block .mh6187-matrix{border-radius:15px;overflow:hidden}
#v500Matriz .mh6184-block .mh585-block-head{background:linear-gradient(100deg,#11477e,#1765aa);color:#fff}
#v500Matriz .mh6184-block .mh610-block-mark{font-size:28px;font-weight:bold}
#v500Matriz .mh6184-block .mh585-table-wrap{overflow:auto;max-height:640px}
#v500Matriz .mh6184-block .mh585-table{min-width:680px}
#v500Matriz .mh6184-block .mh6187-no-record .mh585-cell{background:#f1f5fa;color:#506c82}
#v500Matriz .mh6184-block .mh585-skill[data-mh6184-skill]{cursor:pointer}
#v500Matriz .mh6184-block .mh6187-auto-note{font-size:10px;font-weight:700;color:#4b7599;margin-left:auto}
#v500Matriz .mh6184-block .mh613-header-name small{display:block;font-size:10px;line-height:1.15}

/* V6.1.89: impede duas colunas de inspetores de esticarem até a largura da tela. */
#v500Matriz .mh6184-block .mh585-table{width:var(--ccq-b4-width,auto)!important;min-width:0!important;table-layout:fixed!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 .mh613-header-name,
#v500Matriz .mh6184-block .mh613-header-name small{color:#fff!important;opacity:1!important}
