/* CONTROLE DE MÁQUINAS — chamados: quadro, lista, ficha e impressão da OS (abertura: form-chamado.css; etiquetas: etiquetas.css) */
.num { font-variant-numeric: tabular-nums; }
.so-leitor { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0 !important; overflow: hidden; }
.chip { white-space: nowrap; }
input[type=date], input[type=datetime-local] { color-scheme: dark; }
.chip.prio { padding: 1px 7px; font-size: 11px; }
.falta input, .falta textarea, .falta select, input.invalido { border-color: var(--cor-vermelha) !important; background: var(--perigo-fundo); }
.fc-msg { color: var(--perigo-texto); font-size: 12px; font-weight: 500; margin: 0; } .fc-msg:empty { display: none; }
input:disabled, textarea:disabled, select:disabled { opacity: 1; color: var(--tx); background: transparent; border-style: dashed; -webkit-text-fill-color: var(--tx); }
body .ac-lista .ac-it.sel { outline: 1px solid var(--az); }
@media (pointer: coarse) { body .ac-lista .ac-it { padding: 13px 12px; font-size: 16px; } }

/* tela */
.pg-chamados main { max-width: none; }
.pg-chamados .kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pg-chamados .kpis div { border-top: 3px solid var(--c, var(--bd)); } .pg-chamados .kpis small { display: block; color: var(--sub); font-size: 12px; }
.barra-ch { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.barra-ch .abas { margin: 0; } a.btn { color: var(--tx); display: inline-block; text-align: center; }

/* quadro */
.quadro { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(158px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 8px; align-items: stretch; }
.kol { background: var(--p1); border: 1px solid var(--bd); border-radius: 12px; min-height: 320px; display: flex; flex-direction: column; min-width: 0; transition: opacity .15s; }
.kol > header { background: var(--c); color: var(--t); border-radius: 11px 11px 0 0; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; line-height: 1.2; min-height: 46px; }
.kol > header b { font-weight: 650; } .kol-n { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.kol-c { padding: 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; max-height: calc(100vh - 330px); min-height: 180px; overflow-y: auto; }
.kol-v { text-align: center; margin: 14px 0; }
.kol.pode { border-color: var(--c); } .kol.nao { opacity: .4; } .kol.sobre { outline: 2px dashed var(--c); outline-offset: -2px; background: color-mix(in srgb, var(--c) 14%, var(--p1)); opacity: 1; }
.kc { background: var(--p2); border: 1px solid var(--bd); border-left: 4px solid var(--c); border-radius: 9px; padding: 8px 9px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.3; }
.kc.movel { cursor: grab; } .kc:hover, .kc:focus-visible { border-color: var(--az); border-left-color: var(--c); outline: none; box-shadow: 0 0 0 1px var(--az); }
.kc.indo { opacity: .4; } .kc.salvando { opacity: .5; pointer-events: none; }
.kc.novo, .cc.novo, tr.novo td { animation: destaque 4s; } @keyframes destaque { 0%, 60% { background: var(--info-fundo); } }
.kc-l { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; } .kc-l > b { font-size: 14px; font-weight: 700; }
.kc-nm { color: var(--sub); font-size: 12px; } .kc-mot { font-weight: 600; overflow-wrap: anywhere; } .kc .t { font-weight: 700; color: var(--tx); font-size: 13px; }
.kc-tec { font-size: 12px; overflow-wrap: anywhere; } .kc-tec.sem { color: var(--perigo-texto); }

/* lista */
.fl-ch { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); align-items: end; } .fl-ch label { min-width: 0; } .fl-ch input, .fl-ch select { width: 100%; min-width: 0; height: 38px; }
.fl-bts { display: flex; gap: 8px; flex-wrap: wrap; align-self: end; } .fl-ch .fl-bts { grid-column: span 2; }
.tab-ch tbody tr[data-id] { cursor: pointer; } .tab-ch tr:focus-visible { outline: 2px solid var(--az); outline-offset: -2px; } .em-aberto { color: var(--perigo-texto); }
.tab-ch td { font-size: 13px; } .tab-ch thead th { z-index: 1; }
.esc-lst { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; } .esc-lst .btn { text-align: left; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ficha */
.ficha-fundo { position: fixed; inset: 0; background: var(--sobreposicao); z-index: 60; display: flex; justify-content: center; }
body.com-ficha { overflow: hidden; }
.ficha { display: flex; flex-direction: column; width: min(960px, 100%); height: 100%; overflow: hidden; background: var(--bg); border-inline: 1px solid var(--bd); outline: none; }
.fc-cab { padding: 16px 20px 14px; border-top: 6px solid var(--c); background: var(--p1); border-bottom: 1px solid var(--bd); } .fc-cab h2 { margin: 8px 0 2px; font-size: 20px; line-height: 1.25; } .fc-cab p { margin: 0 0 10px; font-size: 13px; } .fc-cab .sub b { color: var(--tx); }
.fc-tit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .fc-tit > b { font-size: 16px; } .fc-x { margin-left: auto; min-width: 36px; min-height: 36px; }
.fc-novidade, .fc-erro { margin: 12px 20px 0; }
.fc-sec { padding: 16px 20px; border-bottom: 1px solid var(--bd); } .fc-sec h3 { margin: 0 0 10px; font-size: 15px; font-weight: 650; } .fc-sec .cab-sec h3 { margin: 0; }
.fc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .g2 { grid-column: span 2; } .g4 { grid-column: 1 / -1; }
.fc-campo { min-width: 0; } .fc-campo input, .fc-campo select, .fc-campo textarea { width: 100%; min-width: 0; } .fc-campo input, .fc-campo select, .fc-campo textarea, .tab-pecas input { font-size: 14px; font-weight: 400; } .fc-campo textarea { resize: vertical; } .fc-rot small { font-weight: 400; }
.fc-datas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .fc-datas span { font-size: 12px; color: var(--sub); } .fc-datas b { display: block; font-size: 14px; color: var(--tx); font-weight: 600; font-variant-numeric: tabular-nums; } .fc-datas small { display: block; }
.fc-extra { margin-top: 8px; }
.fc-sts { display: flex; flex-wrap: wrap; gap: 8px; } .fc-st, .fc-conf { background: var(--c); color: var(--t); border: 2px solid transparent; border-radius: 9px; padding: 9px 14px; font: inherit; font-weight: 650; cursor: pointer; min-height: 42px; } .fc-st:hover, .fc-conf:hover { filter: brightness(1.12); } .fc-st[aria-pressed=true] { border-color: var(--branco); } .fc-st:focus-visible { outline: 2px solid var(--branco); outline-offset: 2px; } .fc-conf { border-color: transparent !important; }
.fc-mudar { margin-top: 12px; border: 1px solid var(--c); border-left-width: 5px; border-radius: 10px; padding: 12px; background: var(--p1); display: flex; flex-direction: column; gap: 10px; } .fc-peca-nova p { margin: 0 0 8px; }
.fc-fotos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; } .fc-fotos img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid var(--bd); display: block; } .fc-foto { color: var(--tx); flex-direction: row; padding: 10px 14px; position: relative; }
.iv-sec { display: flex; flex-direction: column; gap: 10px; } .iv-sec .iv-novo { align-self: flex-start; }
.iv-form { display: flex; flex-direction: column; gap: 10px; } .iv-form h4 { margin: 0; font-size: 15px; } .iv-form textarea { width: 100%; resize: vertical; }
.iv-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.iv-op { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 8px 12px; background: var(--p2); color: var(--tx); border: 2px solid var(--bd); border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.iv-op svg { width: 19px; height: 19px; flex: none; } .iv-op[style] { border-left: 6px solid var(--c); } .iv-op.on { border-color: var(--az); background: var(--info-fundo); } .iv-op[style].on { border-color: var(--c); border-left-color: var(--c); }
.iv-form [data-campo].falta .fc-rot, .iv-form .fc-msg { color: var(--perigo-texto); } .iv-peca { align-items: center; justify-content: space-between; }
.iv-fotos { align-self: flex-start; } .iv-sugestao { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fc-tempo li.iv { align-items: flex-start; } .fc-tempo li.iv > div { min-width: 0; flex: 1; } .iv-ic { display: inline-flex; flex: none; margin-right: 8px; color: var(--c); } .iv-ic svg { width: 20px; height: 20px; }
.fc-tempo li.iv p { margin: 4px 0; white-space: pre-line; overflow-wrap: anywhere; } .iv-res { display: inline-block; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--c); font-size: 12px; font-weight: 600; }
.fc-tempo[data-filtro="int"] li:not(.iv) { display: none; } .fc-tempo[data-filtro="st"] li:not(.st) { display: none; }
/* Ficha em uma coluna, com rolagem apenas no corpo. */
.fc-cab { flex: none; position: relative; z-index: 2; }
.fc-cab p, .fc-numeros > span { overflow-wrap: anywhere; }
.fc-st:hover, .fc-conf:hover { filter: none; box-shadow: inset 0 0 0 2px var(--t); }
.fc-corpo { flex: 1; min-height: 0; overflow-y: auto; scroll-padding: 12px 0; overscroll-behavior: contain; }
.fc-sec-tempo > .cab-sec {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-block: var(--esp-2);
  background: var(--superficie-1);
  border-bottom: 1px solid var(--borda);
}
.fc-atalhos { display: none; }
.fc-sec-status:has(+ .iv-sec) { padding-bottom: 0; border-bottom: 0; }
.fc-sec-status + .iv-sec { padding-top: 10px; }
.fc-numeros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; } .fc-numeros > span { background: var(--p2); border: 1px solid var(--bd); border-radius: 8px; padding: 6px 12px; min-width: 120px; } .fc-numeros small { display: block; color: var(--sub); font-size: 11.5px; } .fc-numeros b { font-size: 17px; font-variant-numeric: tabular-nums; } .fc-numeros i { font-style: normal; }
.fc-cab .fc-datas { margin-bottom: 10px; } .fc-acoes-cab { align-items: center; }
.fc-mais { position: relative; } .fc-mais > summary { list-style: none; cursor: pointer; } .fc-mais > summary::-webkit-details-marker { display: none; } .fc-mais-itens { position: absolute; top: calc(100% + 6px); left: 0; z-index: 6; display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--p1); border: 1px solid var(--bd); border-radius: 10px; min-width: 220px; box-shadow: 0 8px 24px var(--sombra); }
.fc-sec-status .fc-st { padding: 6px 12px; min-height: 36px; font-size: 13.5px; } .fc-sec-status.vazia { padding: 0; border: 0; } .fc-sec-status.vazia h3 { display: none; }
.fc-leitura { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 14px; margin: 10px 0 0; } .fc-leitura dt { color: var(--sub); font-size: 11.5px; } .fc-leitura dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; } .fc-leitura .larga { grid-column: 1 / -1; } .fc-leitura .larga dd { font-weight: 400; white-space: pre-line; }
.fc-edicao { display: none; margin-top: 10px; } .fc-dados.editando .fc-edicao { display: block; } .fc-dados.editando .fc-leitura { display: none; } .fc-salvar-bloco { margin-top: 10px; } .fc-salvar-bloco [data-salvar-bloco][hidden] { display: none; }
.fc-sec-fotos figure { margin: 0; } .fc-sec-fotos figcaption { font-size: 11px; color: var(--sub); max-width: 110px; }
.fc-luz { position: fixed; inset: 0; z-index: 80; background: var(--sobreposicao); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; } .fc-luz.oculto { display: none; } .fc-luz img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.fc-peca-lin { width: 100%; text-align: left; background: none; border: 0; color: var(--tx); font: inherit; font-weight: 600; padding: 8px 6px; cursor: pointer; overflow-wrap: anywhere; } .fc-peca-lin[aria-expanded=true] { color: var(--az); }
.tab-pecas > tbody > tr:not(.res) { display: none; } .tab-pecas > tbody.aberta > tr:not(.res) { display: table-row; } .tab-pecas > thead { display: none; }
.selo { display: inline-block; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--cor-neutra); font-size: 11.5px; font-weight: 700; } .selo-resolveu { border-color: var(--cor-operando); color: var(--sucesso-texto); } .selo-nao_resolveu { border-color: var(--cor-vermelha); color: var(--perigo-texto); } .selo-nao_usada, .selo-devolvida { border-color: var(--aviso-texto); color: var(--aviso-texto); } .selo-estoque { border-color: var(--info); color: var(--info); }
.fc-tempo li.anulada b, .fc-tempo li.anulada .sub { text-decoration: line-through; opacity: .6; } .lt-acoes { gap: 14px; margin-top: 2px; } .lt-acoes .lnk { font-size: 12.5px; font-weight: 600; color: var(--sub); }
.lt-form { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; padding: 10px; border: 1px solid var(--az); border-radius: 10px; background: var(--p1); } .lt-form textarea { width: 100%; } .lt-form .falta .fc-msg, .fc-tent .falta .fc-msg { color: var(--perigo-texto); } .lt-form .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fc-tempo .lt-nota li { display: list-item; padding: 0; } .fc-tempo .lt-nota li::before, .fc-tempo .lt-nota li::after { content: none; }
.lt-nota { font-size: 12px; color: var(--sub); margin-top: 3px; } .lt-nota summary { cursor: pointer; } .lt-nota ul { margin: 2px 0 6px; padding-left: 18px; overflow-wrap: anywhere; }
.fc-tent { display: flex; flex-direction: column; gap: 8px; } .fc-tent.oculto, .fc-tent-op.oculto { display: none; }
@media (max-width: 900px) {
  .ficha { width: 100%; }
  .fc-cab { max-height: none; overflow: visible; padding-top: 8px; padding-bottom: 8px; } .fc-cab h2 { margin: 2px 0; font-size: 16px; } .fc-cab p { margin-bottom: 6px; font-size: 12px; }
  .fc-numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-bottom: 6px; } .fc-numeros > span { min-width: 0; padding: 4px 6px; } .fc-numeros small { font-size: 9.5px; line-height: 1.2; } .fc-numeros b { font-size: 13px; }
  .fc-cab .fc-datas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-bottom: 6px; } .fc-cab .fc-datas span { font-size: 10px; } .fc-cab .fc-datas b { font-size: 11px; }
  .fc-cab .linha { gap: 6px; } .fc-cab .btn { padding: 6px 10px; font-size: 13px; }
  .fc-atalhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: none; background: var(--fundo); border-bottom: 1px solid var(--bd); }
  .fc-atalhos a { display: grid; place-items: center; min-height: 46px; padding: 2px 6px; color: var(--tx); text-align: center; font-size: 13px; font-weight: 600; text-decoration: none; }
  .fc-atalhos a:hover, .fc-atalhos a:focus-visible { text-decoration: underline; }
  .fc-sec-status + .iv-sec:not(:has(.iv-form:not(.oculto), .iv-sugestao)) { padding: 0; }
  .fc-sec-status:has(+ .iv-sec) { padding-bottom: 16px; }
  .iv-sec .iv-novo { position: fixed; right: 14px; bottom: 14px; z-index: 5; border-radius: 99px; min-height: 52px; padding: 0 20px; box-shadow: 0 6px 18px var(--sombra); }
  .fc-corpo { padding-bottom: 80px; }
}
.fc-tempo { list-style: none; margin: 0; padding: 0; } .fc-tempo li { position: relative; padding: 0 0 12px 24px; display: flex; justify-content: space-between; gap: 14px; } .fc-tempo li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--c); z-index: 1; } .fc-tempo li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: -4px; width: 2px; background: var(--c); opacity: .5; }
.fc-tempo .sub { display: inline; } .fc-tempo div > .sub:last-of-type { display: block; } .fc-tempo q { display: block; quotes: none; font-size: 13px; color: var(--texto-2); border-left: 2px solid var(--bd); padding-left: 8px; margin-top: 3px; overflow-wrap: anywhere; } .fc-dur { text-align: right; white-space: nowrap; } .fc-dur b { display: block; font-weight: 650; } .fc-dur small { color: var(--sub); font-size: 11.5px; }
.tab-pecas { border: 1px solid var(--bd); border-radius: 8px; border-collapse: separate; border-spacing: 0; table-layout: fixed; } .tab-pecas > thead th { font-size: 11px; padding: 7px 8px; position: static; letter-spacing: 0; text-transform: none; } .tab-pecas > thead th:last-child { width: 44px; }
.tab-pecas td { padding: 5px 6px; border: 0; vertical-align: top; } .tab-pecas > tbody + tbody > tr:first-child > td { border-top: 1px solid var(--bd); } .tab-pecas input { width: 100%; min-width: 0; padding: 7px 8px; } .tab-pecas tbody.novo { background: var(--info-fundo); } .tab-pecas tr:hover td { background: none; }
.tab-pecas details { padding: 0 2px 4px; } .tab-pecas summary { cursor: pointer; font-size: 12px; color: var(--sub); padding: 2px 0 6px; } .tab-pecas summary b { color: var(--tx); } .tab-pecas details tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tab-pecas details td { padding: 0; } .tab-pecas details td::before { content: attr(data-rot); display: block; font-size: 11.5px; color: var(--sub); margin-bottom: 3px; }
.fc-ac { text-align: center; }
.fc-encerrar { margin-top: 14px; padding: 12px; border: 1px solid var(--bd); border-radius: 10px; background: var(--p1); } .fc-check { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 2px; }
.fc-check button { background: none; border: 0; padding: 3px 0; font: inherit; font-size: 13.5px; color: inherit; text-align: left; display: flex; gap: 8px; cursor: default; width: 100%; } .fc-check .nao button { color: var(--perigo-texto); cursor: pointer; } .fc-check .nao button:hover { text-decoration: underline; } .fc-check .ok { color: var(--sucesso-texto); } .fc-check i { font-style: normal; font-weight: 700; width: 14px; flex: none; }
.fc-porque { font-size: 13px; color: var(--sucesso-texto); flex: 1; min-width: 220px; } .fc-porque.nao { color: var(--perigo-texto); } [data-acao=encerrar]:disabled { cursor: not-allowed; opacity: .5; } .fc-encerrar .linha { align-items: center; } .fc-ok { color: var(--sucesso-texto); font-weight: 600; margin: 12px 0 0; }
.fc-pe { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 10px 20px; background: var(--fundo); border-top: 1px solid var(--bd); z-index: 3; } .fc-pe .btn { min-width: 130px; min-height: 42px; }
.toast { z-index: 10050; max-width: min(520px, calc(100vw - 40px)); } body.com-ficha .toast { right: auto; left: 20px; } @media (max-width: 1500px) { body.com-ficha .toast { left: auto; right: 20px; bottom: 76px; } } .ficha h2, .ficha h3 { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .pg-chamados main { padding: 14px 12px 30px; } .pg-chamados .kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; } .pg-chamados .kpis b { font-size: 22px; }
  .quadro { grid-template-columns: repeat(var(--n, 5), 80vw); scroll-snap-type: x proximity; } .kol { scroll-snap-align: start; } .kol-c { max-height: none; }
  .barra-ch .btn.pri { min-height: 46px; } .fl-ch { grid-template-columns: 1fr 1fr; } .fl-ch .fl-bts { grid-column: 1 / -1; } .modal .caixa { padding: 14px; }
  .fc-cab, .fc-sec { padding-left: 14px; padding-right: 14px; } .fc-grid { grid-template-columns: 1fr 1fr; } .fc-datas { grid-template-columns: 1fr 1fr; } .fc-campo input, .fc-campo select, .fc-campo textarea, .tab-pecas input { font-size: 16px; min-height: 44px; }
  .fc-tempo li { flex-direction: column; gap: 2px; } .fc-dur { text-align: left; } .fc-dur b { display: inline; margin-right: 8px; } .fc-st, .fc-conf { min-height: 48px; } .fc-pe { padding: 10px 14px; } .fc-pe .btn { flex: 1; min-height: 50px; font-size: 16px; } .fc-pend { display: none; }
  .tab-pecas, .tab-pecas > tbody { display: block; } .tab-pecas > thead { display: none; } .tab-pecas > tbody.aberta > tr:not(.res) { display: grid; grid-template-columns: 1fr 1fr; } .tab-pecas > tbody > tr.res { display: block; } .tab-pecas > tbody > tr > td::before { content: attr(data-rot); display: block; font-size: 12px; color: var(--sub); margin-bottom: 3px; } .tab-pecas > tbody > tr > td:first-child, .tab-pecas > tbody > tr.mais > td { grid-column: 1 / -1; } .tab-pecas > tbody > tr > td.fc-ac { grid-column: 1 / -1; text-align: right; } .tab-pecas details tr { grid-template-columns: 1fr 1fr; } .tab-pecas .fc-ac .btn { min-height: 44px; min-width: 44px; }
}

/* OS impressa */
#os { display: none; }
@media print {
  body { background: var(--branco); }
  body.imprimindo-os { overflow: visible; } body.imprimindo-os > :not(#os) { display: none !important; }
  body.imprimindo-os #os { display: block; color: var(--preto); font-size: 9.5pt; line-height: 1.3; }
  #os * { color: var(--preto); -webkit-text-fill-color: var(--preto); } #os header { display: flex; align-items: center; gap: 5mm; border-bottom: .6mm solid var(--preto); padding-bottom: 3mm; } #os header img { height: 13mm; max-width: 48mm; object-fit: contain; background: var(--campo); -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 1mm; border-radius: 1mm; } #os h1 { font-size: 14pt; margin: 0; } #os header p { margin: 0; font-size: 9pt; } .os-num { margin-left: auto; text-align: right; } .os-num b { display: block; font-size: 15pt; white-space: nowrap; } .os-num span { font-size: 9pt; }
  #os h2 { font-size: 10pt; margin: 4mm 0 1.2mm; break-after: avoid; } .os-g { display: grid; grid-template-columns: repeat(4, 1fr); border: .25mm solid var(--linha-impressa); border-width: .25mm 0 0 .25mm; margin-top: 3mm; } #os h2 + .os-g { margin-top: 0; } .os-g > div { border: .25mm solid var(--linha-impressa); border-width: 0 .25mm .25mm 0; padding: .9mm 1.6mm; min-width: 0; overflow-wrap: anywhere; } .os-g small { display: block; font-size: 7pt; } .os-g b { font-weight: 600; }
  .os-cx { border: .25mm solid var(--linha-impressa); min-height: 12mm; padding: 1.6mm; white-space: pre-wrap; overflow-wrap: anywhere; } .os-cx.alta { min-height: 22mm; border-top: 0; }
  #os table { border-collapse: collapse; width: 100%; } #os th, #os td { border: .25mm solid var(--linha-impressa); padding: .9mm 1.4mm; font-size: 8pt; background: none; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; vertical-align: top; position: static; } #os th { font-size: 7.5pt; background: var(--fundo-impresso); -webkit-print-color-adjust: exact; print-color-adjust: exact; } #os tr { break-inside: avoid; }
  .os-ass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9mm; margin-top: 16mm; break-inside: avoid; text-align: center; } .os-ass span { display: block; border-top: .3mm solid var(--preto); } .os-ass b, .os-ass small { display: block; } .os-ass b { font-size: 9pt; margin-top: 1mm; } .os-ass small { font-size: 8pt; } .os-ass small:last-child { margin-top: 2mm; }
  #os footer { margin-top: 6mm; font-size: 7.5pt; text-align: center; }
}
/* encerrado com restrição e chamados vinculados */
.enc-restr { color: var(--sucesso-texto); } .fc-vinc p { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.lnk { background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.fc-restr { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid var(--c); background: var(--sucesso-fundo); border-radius: 6px; color: var(--texto-2); }
.fc-enc-restr { margin-top: 12px; align-items: center; flex-wrap: wrap; gap: 8px 12px; } .fc-enc-restr label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-size: 14px; color: var(--tx, var(--texto-1)); }
.fc-enc-restr input { width: 64px; } .fc-enc-restr .sub { flex-basis: 100%; } [data-acao=encerrarRestricao]:disabled { cursor: not-allowed; opacity: .5; }
/* % que a máquina com restrição produz (topo da ficha) */
.fc-pct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-left: 4px solid var(--c); }
.fc-pct label { display: inline-flex; flex-flow: row wrap; align-items: center; gap: 8px; font-weight: 650; }
.fc-pct input { width: 76px; font-size: 18px; text-align: center; } .fc-pct .sub { flex-basis: 100%; } .fc-pct .fc-msg:empty { display: none; }
/* data e hora à mão (etapas liberadas) */
.fc-hora { display: inline-flex; flex-flow: row wrap; align-items: center; gap: 6px; font-size: 13px; } .fc-hora input { width: auto; max-width: 100%; }
