/* Registro tipo planilha (computador) e facilidades de preenchimento. */
.so-computador { display: none; }
@media (min-width: 900px) {
  .so-celular, .so-celular-bloco { display: none !important; }
  .so-computador { display: block; }
}
.salvo-ind { font-size: .8rem; font-weight: 600; color: var(--tinta-3); display: inline-flex; align-items: center; gap: 6px; }
.salvo-ind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b7c3d4; }
.salvo-ind.ok { color: var(--ok); }
.salvo-ind.ok::before { background: var(--trab); }
.salvo-ind.salvando::before { background: var(--apoio); }
.salvo-ind.erro { color: var(--erro); }
.salvo-ind.erro::before { background: var(--retrab); }
.salvo-ind.falta { color: #8a5a00; }
.salvo-ind.falta::before { background: var(--espera); }

table.grade-reg { font-size: .84rem; table-layout: fixed; min-width: 1160px; }
.grade-reg col.c-cod { width: 46px; }
.grade-reg col.c-hora { width: 102px; }
.grade-reg col.c-rec { width: 128px; }
.grade-reg col.c-est { width: 134px; }
.grade-reg col.c-causa { width: 176px; }
.grade-reg col.c-num { width: 56px; }
.grade-reg col.c-calc { width: 66px; }
.grade-reg col.c-acoes { width: 92px; }
.grade-reg th { position: sticky; top: 0; z-index: 1; padding: 7px 6px; white-space: normal; line-height: 1.2; vertical-align: bottom; }
.grade-reg th.calc-th { background: #eef1f5; }
.grade-reg td { padding: 0; border-right: 1px solid #eef1f6; vertical-align: middle; }
.grade-reg tbody tr:hover { background: none; }
.grade-reg td.cod-cel { padding: 0 6px; font-weight: 700; color: var(--azul-escuro); font-size: .78rem; }
.grade-reg tr.linha-reg td:first-child { box-shadow: inset 4px 0 0 #d5dce6; }
.grade-reg tr.e-trab td:first-child { box-shadow: inset 4px 0 0 var(--trab); }
.grade-reg tr.e-apoio td:first-child { box-shadow: inset 4px 0 0 var(--apoio); }
.grade-reg tr.e-espera td:first-child { box-shadow: inset 4px 0 0 var(--espera); }
.grade-reg tr.e-retrab td:first-child { box-shadow: inset 4px 0 0 var(--retrab); }
.cel { border: 0; border-radius: 0; min-height: 34px; padding: 5px 6px; font-size: .84rem; background: #fffdf2; width: 100%; }
.cel:focus { box-shadow: inset 0 0 0 2px var(--azul-claro); background: #fff; border-color: transparent; }
select.cel { padding-right: 2px; }
select.cel:disabled { background: #f3f5f8; color: transparent; cursor: default; }
td.sem-causa { background: #f3f5f8; }
.cel[aria-invalid] { background: #fdecea; box-shadow: inset 0 0 0 2px #e6a19b; }
.cel.aviso-cel { box-shadow: inset 0 0 0 2px var(--espera); }
.cel-num { text-align: right; }
.cel-hora-wrap { display: flex; align-items: center; position: relative; }
.cel-hora { font-variant-numeric: tabular-nums; }
.btn-agora { border: 0; background: transparent; cursor: pointer; font-size: .85rem; padding: 0 5px; color: var(--tinta-3); min-height: 34px; }
.btn-agora:hover { color: var(--azul); }
.btn-estimado { position: absolute; top: 3px; bottom: 3px; left: 3px; right: 26px; border: 1px dashed #e0892b; background: #fde8d0; color: #8a3f00; border-radius: 5px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.cel-hora:focus ~ .btn-estimado { display: none; }
td.calc { padding: 0 8px; background: #f6f7f9; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
td.calc.estimado { background: #fde8d0; color: #8a3f00; }
td.calc.verificar { color: var(--erro); font-weight: 700; }
.acoes-cel { white-space: nowrap; padding: 0 4px !important; }
.st { display: inline-block; width: 14px; text-align: center; font-weight: 800; }
.st-ok { color: #9db8a6; }
.st-salvando { color: var(--apoio); }
.st-erro { color: var(--erro); }
.st-falta { color: #b07800; }
.btn-mini { border: 0; background: transparent; cursor: pointer; padding: 4px 6px; border-radius: 6px; color: var(--tinta-3); font-size: .9rem; }
.btn-mini:hover { background: #eef2f7; color: var(--tinta); }
.btn-mini.perigo:hover { background: #fdecea; color: var(--erro); }

.previa { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .88rem; }
.previa .dados-lista { width: 100%; background: #f6f8fb; border-radius: 10px; padding: 10px; }
.estimado-txt { background: #fde8d0; color: #8a3f00; padding: 3px 8px; border-radius: 6px; }
.aviso-txt { color: #8a5a00; font-size: .82rem; width: 100%; }
.com-agora { position: relative; }
.campo.com-agora input { padding-right: 70px; }
.btn-agora-form { position: absolute; right: 4px; bottom: 4px; min-height: 34px; }
.oc-item { width: 100%; text-align: left; font: inherit; color: inherit; }
