/* V1234 — Alocação de Mão de Obra: status sem quebra, linhas em etiquetas, botão "Distribuir" e painel de distribuição. */
.mo-v1234 .mo-filtros{display:grid;grid-template-columns:1fr 1fr 1fr 2fr;gap:8px;padding:10px 14px!important;margin-bottom:12px}
.mo-v1234 .mo-filtros select,.mo-v1234 .mo-filtros input{height:38px;width:100%;min-width:0}
.mo-v1234 .mo-card{padding:0!important;overflow:hidden}
.mo-v1234 .mo-wrap{overflow-x:hidden!important}
#main .mo-v1234 table.mo-table.mp-no-column-picker{width:100%!important;min-width:0!important;table-layout:fixed}
.mo-table col.c-col{width:27%}.mo-table col.c-custo{width:12%}.mo-table col.c-aloc{width:18%}.mo-table col.c-linhas{width:auto}.mo-table col.c-status{width:140px}.mo-table col.c-acoes{width:122px}
#main .mo-v1234 table.mo-table.mp-no-column-picker>thead>tr>th{padding:11px 12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main .mo-v1234 table.mo-table.mp-no-column-picker>tbody>tr>td{padding:11px 12px!important;vertical-align:middle;overflow:hidden}
.mo-v1234 .mo-num{text-align:right!important}
.mo-v1234 .mo-acoes-th,.mo-v1234 .mo-acoes{text-align:right!important}
.mo-v1234 .mo-nome{display:block;color:#17385f;font-size:13px;line-height:1.3}
.mo-v1234 td small{display:block;margin-top:3px;color:#72859a;font-size:11.5px}
.mo-v1234 .mo-sub{white-space:normal;line-height:1.35}
.mo-v1234 tr.mo-aberto>td{background:#f3f8ff!important}
.mo-v1234 tr.mo-aberto>td:first-child{box-shadow:inset 3px 0 0 #f58216}

/* barra de alocação */
.mo-v1234 .mo-aloc{display:flex;align-items:center;gap:8px}
.mo-v1234 .mo-barra{flex:1;height:7px;border-radius:5px;background:#e8edf5;overflow:hidden;min-width:40px}
.mo-v1234 .mo-barra i{display:block;height:100%;border-radius:5px;background:#f28a17}
.mo-v1234 .completo .mo-barra i{background:#2aa876}
.mo-v1234 .vazio .mo-barra i{background:#c3cfdd}
.mo-v1234 .mo-aloc strong{font-size:12.5px;color:#17385f;font-variant-numeric:tabular-nums;min-width:44px;text-align:right}

/* etiquetas de linha */
.mo-v1234 .mo-chips{display:flex;flex-direction:column;gap:4px;min-width:0}
.mo-v1234 .mo-chip{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;max-width:100%;padding:3px 8px;border:1px solid #d8e5f5;border-radius:6px;background:#f7faff;font-size:11.5px;color:#33485f}
.mo-v1234 .mo-chip>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mo-v1234 .mo-chip b{flex-shrink:0;color:#1d4f91;font-variant-numeric:tabular-nums}
.mo-v1234 .mo-sem{color:#9fb2c8}

/* status sem quebra */
.mo-v1234 .mo-status{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:11.5px;font-weight:800;white-space:nowrap}
.mo-v1234 .mo-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.mo-v1234 .mo-status.completo{background:#e3f6e9;color:#14743a}
.mo-v1234 .mo-status.parcial{background:#fff3dd;color:#9a5d0b}
.mo-v1234 .mo-status.vazio{background:#eef1f5;color:#5d6b7c}
.mo-v1234 .mo-acoes button{min-width:96px}

/* painel de distribuição */
#main .mo-v1234 table.mo-table>tbody>tr.mo-painel-tr>td{padding:0 12px 14px!important;background:#f3f8ff!important}
.mo-v1234 .mo-painel{padding:14px 16px;background:#fff;border:1px solid #d8e5f5;border-left:4px solid #f58216;border-radius:10px}
.mo-v1234 .mo-painel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.mo-v1234 .mo-painel-head strong{display:block;color:#1d4f91;font-size:14px}
.mo-v1234 .mo-painel-head span{font-size:12px;color:#637994}
.mo-v1234 .mo-pnl-wrap{overflow:visible!important;border:1px solid #e1e8f1;border-radius:8px}
#main .mo-v1234 table.mo-pnl-table.mp-no-column-picker{width:100%!important;min-width:0!important;table-layout:fixed}
#main .mo-v1234 table.mo-pnl-table.mp-no-column-picker>thead>tr>th{padding:8px 10px!important;background:#edf3fb!important;color:#244d7d!important;font-size:11px!important}
#main .mo-v1234 table.mo-pnl-table.mp-no-column-picker>tbody>tr>td{padding:7px 10px!important;border-bottom:1px solid #eef3f9!important}
.mo-v1234 .mo-pnl-table th:nth-child(2){width:130px}.mo-v1234 .mo-pnl-table th:nth-child(3){width:150px}.mo-v1234 .mo-pnl-table th:nth-child(4){width:70px}
.mo-v1234 .mo-pnl-table select{width:100%;height:36px}
.mo-v1234 .pf-c{text-align:center!important}
.mo-v1234 .mo-pct{position:relative;display:flex;align-items:center}
.mo-v1234 .mo-pct input{width:100%;height:36px;text-align:right;padding-right:26px!important;-moz-appearance:textfield;appearance:textfield}
.mo-v1234 .mo-pct input::-webkit-outer-spin-button,.mo-v1234 .mo-pct input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.mo-v1234 .mo-pct span{position:absolute;right:10px;font-size:12px;color:#637994}
.mo-v1234 .mo-vazio{margin:4px 0;color:#72859a;font-size:12.5px}
.mo-v1234 .mo-painel-pe{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px}
.mo-v1234 .mo-total{display:flex;align-items:center;gap:10px;min-width:280px;flex:1}
.mo-v1234 .mo-total .mo-barra{max-width:220px;height:9px}
.mo-v1234 .mo-total strong{font-size:15px;color:#17385f;font-variant-numeric:tabular-nums}
.mo-v1234 .mo-total span{font-size:12px;color:#637994}
.mo-v1234 .mo-total.excede .mo-barra i{background:#dc3939}
.mo-v1234 .mo-total.excede strong,.mo-v1234 .mo-total.excede span{color:#b52e2b}
.mo-v1234 .mo-erro{font-size:12px;font-weight:600;color:#b52e2b}
.mo-v1234 .mo-painel-btns{display:flex;gap:8px;margin-left:auto}
.mo-v1234 .mo-nada{text-align:center;padding:25px!important;color:#72859a}

/* rodapé */
.mo-v1234 .mo-rodape{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #e5ebf2;background:#fbfcfe;color:#72859a;font-size:12px}
.mo-v1234 .mo-rodape b{color:#234666}
.mo-v1234 .mo-rodape-st{display:inline-flex;align-items:center;gap:6px}
.mo-v1234 .mo-rodape-st i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:6px}
.mo-v1234 .mo-rodape-st i.completo{background:#2aa876}.mo-v1234 .mo-rodape-st i.parcial{background:#f28a17}

@media(max-width:1100px){
  .mo-v1234 .mo-filtros{grid-template-columns:1fr 1fr}
  .mo-table col.c-col{width:30%}.mo-table col.c-custo{width:0}.mo-table col.c-aloc{width:22%}
  #main .mo-v1234 table.mo-table.mp-no-column-picker>thead>tr>th:nth-child(2){font-size:0!important;padding:0!important}
  #main .mo-v1234 table.mo-table.mp-no-column-picker>tbody>tr.mo-row>td:nth-child(2){font-size:0!important;padding:0!important}
}
@media(max-width:760px){.mo-v1234 .mo-filtros{grid-template-columns:1fr}}

/* V1235 — mesmo ajuste dos campos de seleção (texto cortado) */
.mo-v1234 .mo-pnl-table select,.mo-v1234 .mo-pct input,.mo-v1234 .mo-filtros select,.mo-v1234 .mo-filtros input{height:38px!important;padding-top:0!important;padding-bottom:0!important;line-height:36px!important}
.mo-v1234 .mo-pnl-table select,.mo-v1234 .mo-filtros select{padding-left:10px!important;padding-right:30px!important;text-overflow:ellipsis}
