/* Layout: barra de ações fixa no topo, abas, e a grade mensal seg–dom como peça central. */
:root {
  --bg: #f3f5f7; --surface: #ffffff; --ink: #17212b; --muted: #5b6875; --line: #d5dbe1; --wash: #e9edf1;
  --accent: #0d5f73; --accent-ink: #ffffff;
  --ok: #1f7a4d; --warn: #9a6200; --crit: #b3261e; --crit-bg: #fbe9e7; --warn-bg: #fdf1d8; --ok-bg: #e2f3ea;
  --sv: #b3261e; --sv-bg: #fbe4e1; --dm: #b85a00; --dm-bg: #fdebd6; --ft: #1b5fb3; --ft-bg: #e1edfb; --vo: #8a6d00; --vo-bg: #fbf2c4;
  --q: #1f7a4d; --d: #b9c6d2; --e: #e0a100; --i: #c9453c; --f: #7a5ab8;
  --display: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --cond: 'IBM Plex Sans Condensed', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #11171c; --surface: #1a2229; --ink: #e6ecf1; --muted: #9aa8b5; --line: #33404b; --wash: #232d36;
  --accent: #4fb3c8; --accent-ink: #06222a;
  --ok: #6fce9d; --warn: #f0b955; --crit: #ff8a80; --crit-bg: #47201d; --warn-bg: #40300f; --ok-bg: #173527;
  --sv: #ff8a80; --sv-bg: #4a211e; --dm: #ffb066; --dm-bg: #472c12; --ft: #86b8f5; --ft-bg: #1b3352; --vo: #e8cf5a; --vo-bg: #3f3710;
  --q: #4fbf85; --d: #4a5966; --e: #e0a100; --i: #d9574d; --f: #a58be0;
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11171c; --surface: #1a2229; --ink: #e6ecf1; --muted: #9aa8b5; --line: #33404b; --wash: #232d36;
  --accent: #4fb3c8; --accent-ink: #06222a;
  --ok: #6fce9d; --warn: #f0b955; --crit: #ff8a80; --crit-bg: #47201d; --warn-bg: #40300f; --ok-bg: #173527;
  --sv: #ff8a80; --sv-bg: #4a211e; --dm: #ffb066; --dm-bg: #472c12; --ft: #86b8f5; --ft-bg: #1b3352; --vo: #e8cf5a; --vo-bg: #3f3710;
  --q: #4fbf85; --d: #4a5966; --e: #e0a100; --i: #d9574d; --f: #a58be0;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 var(--body); }
a { color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#app { max-width: 1320px; margin: 0 auto; padding: 0 16px 48px; }
.topo { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; padding: 20px 0 12px; }
.marca h1 { font: 600 22px/1.1 var(--display); margin: 0; letter-spacing: -0.01em; }
.marca span { color: var(--muted); font-size: 13px; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.btn { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 6px; padding: 7px 12px; font-weight: 500; cursor: pointer; }
.btn.sec { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.link, .link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-weight: 500; }
.campo { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.campo input, .campo select, .linha > input { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; color: var(--ink); font-size: 14px; }
.campo.chk { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; padding: 4px 0; }
.campo .in { display: flex; gap: 8px; align-items: center; } .campo .in em { font-style: normal; }
.num { width: 76px; font-variant-numeric: tabular-nums; }
.abas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.abas a { padding: 8px 12px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.abas a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }
.nota { color: var(--muted); max-width: 86ch; margin: 8px 0 12px; }
.mudo { color: var(--muted); } .mal { color: var(--crit); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; }
.tile b { font: 600 22px/1.1 var(--display); font-variant-numeric: tabular-nums; } .tile span { color: var(--muted); font-size: 12px; }
.tile.ok { border-left-color: var(--ok); } .tile.warn { border-left-color: var(--warn); } .tile.crit { border-left-color: var(--crit); }
.alertas { background: var(--crit-bg); border: 1px solid var(--crit); border-radius: 6px; padding: 10px 14px; margin-bottom: 12px; }
.alertas h3 { margin: 0 0 4px; font-size: 14px; } .alertas ul { margin: 0; padding-left: 18px; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; align-items: center; }
.chip { font: 500 12px/1.25 var(--cond); padding: 2px 6px; border-radius: 4px; border-left: 3px solid var(--muted); background: var(--wash); color: var(--ink); white-space: nowrap; }
.chip.s0 { border-left-color: var(--sv); background: var(--sv-bg); } .chip.s1 { border-left-color: var(--dm); background: var(--dm-bg); }
.chip.s2 { border-left-color: var(--ft); background: var(--ft-bg); } .chip.s3 { border-left-color: var(--vo); background: var(--vo-bg); }
.chip.furo { border: 1px dashed var(--crit); color: var(--crit); background: var(--crit-bg); font-weight: 600; }
.chip.vaga { border: 1px dashed var(--line); color: var(--muted); background: none; }
.chip.ruim { outline: 2px solid var(--crit); } .chip.evita { text-decoration: underline dotted; }
.calwrap { overflow-x: auto; } .cal { min-width: 1040px; display: flex; flex-direction: column; gap: 6px; }
.cab, .sem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cab div { font: 600 12px var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 4px; }
.dia { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dia.fds { background: var(--wash); } .dia.fora { background: none; border: 0; }
.dh { display: flex; gap: 6px; align-items: baseline; } .dh b { font: 600 15px var(--display); } .fer { font-size: 11px; color: var(--warn); font-weight: 500; }
.turno { display: grid; grid-template-columns: 30px 1fr; gap: 4px; text-align: left; background: none; border: 1px solid transparent; border-top-color: var(--line); border-radius: 4px; padding: 4px 2px; cursor: pointer; min-width: 0; }
.turno:hover, .turno.sel { border-color: var(--accent); } .turno.temfuro { background: var(--crit-bg); }
.tl { font: 600 13px var(--display); display: flex; flex-direction: column; } .tl small { font: 400 10px var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.nomes { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.painel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0,0,0,.18); padding: 16px; overflow-y: auto; z-index: 5; }
.ph { display: flex; justify-content: space-between; gap: 8px; align-items: start; } .ph h3 { margin: 0; font-size: 16px; }
.painel h4 { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lista li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.lista li.prob { opacity: .8; } .lista small { color: var(--muted); } .lista.fino li { padding: 4px 0; }
.lista.cols2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.marc { font: 500 11px var(--body); padding: 1px 6px; border-radius: 10px; border: 1px solid var(--line); white-space: nowrap; }
.marc.mQ { border-color: var(--q); color: var(--q); } .marc.mE { border-color: var(--e); color: var(--warn); } .marc.mI { border-color: var(--i); color: var(--crit); } .marc.mF { border-color: var(--f); color: var(--f); }
.twrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.tab { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.tab th, .tab td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.tab th { font-size: 12px; color: var(--muted); font-weight: 600; } .tab .nome, .tab td small { text-align: left; } .tab td small { white-space: normal; color: var(--muted); }
.tab tfoot td { font-weight: 600; border-bottom: 0; } .tab.lot th, .tab.lot td { text-align: center; } .tab.lot .nome { text-align: left; }
.saldo { font-weight: 600; padding: 1px 8px; border-radius: 10px; } .saldo.neg { background: var(--crit-bg); color: var(--crit); } .saldo.pos { background: var(--warn-bg); color: var(--warn); } .saldo.zero { background: var(--ok-bg); color: var(--ok); }
.grade { border-collapse: collapse; font-size: 11px; } .grade th { padding: 4px 2px; color: var(--muted); font-weight: 600; text-align: center; line-height: 1.2; } .grade th.fds { color: var(--warn); }
.grade td { padding: 2px 2px; border-top: 1px solid var(--line); } .grade .nome { text-align: left; white-space: nowrap; padding: 2px 10px; position: sticky; left: 0; background: var(--surface); font-size: 13px; z-index: 1; }
.tri { display: flex; gap: 1px; } .cz { width: 9px; height: 20px; border: 0; padding: 0; border-radius: 2px; cursor: pointer; background: var(--d); }
.cz.mQ { background: var(--q); } .cz.mE { background: var(--e); } .cz.mI { background: var(--i); } .cz.mF { background: var(--f); cursor: default; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.cartao { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.cartao h3 { margin: 0; font: 600 15px var(--display); } .cartao p { margin: 0; }
.linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.erros { margin: 0; padding: 8px 12px 8px 28px; background: var(--crit-bg); color: var(--crit); border-radius: 6px; }
.equipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 4px; }
.eqp.ativa { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.vazio { background: var(--surface); border: 1px dashed var(--line); border-radius: 6px; padding: 28px; max-width: 70ch; } .vazio h2 { margin: 0 0 6px; font-size: 17px; }
.chip.meu { box-shadow: 0 0 0 2px var(--accent); font-weight: 600; } .chip.troc::before { content: '⇄ '; } .chip.anun { outline: 1px dashed var(--accent); outline-offset: 1px; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 600 11px/18px var(--body); text-align: center; vertical-align: 1px; }
.bloco { margin-bottom: 20px; } .bloco h3 { font: 600 15px var(--display); margin: 0 0 8px; }
.sols { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; align-items: start; } .sols .cartao { margin: 0; }
.solh { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.saldo.cinza { background: var(--wash); color: var(--muted); } .okline { color: var(--ok); margin: 0; } .sim { color: var(--ok); font-weight: 600; }
details summary { cursor: pointer; color: var(--muted); font-size: 12px; } .hist { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; }
.tab.perm td, .tab.perm th { text-align: center; } .tab.perm .nome { text-align: left; white-space: normal; }
.lista .linha { flex-wrap: nowrap; align-items: center; } .lista select { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 5px 6px; }
.lista small.mal { color: var(--crit); } .painel .campo { margin-top: 10px; } .painel p.mal { margin: 0; }
.veu { position: fixed; inset: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; z-index: 20; }
.senha { width: min(420px, 100%); box-shadow: 0 12px 40px rgba(0,0,0,.25); } .senha .campo input { width: 100%; }
.barra { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; }
.empurra { flex: 1; } .barra .saldo { align-self: center; } .barra .mudo { align-self: center; }
.erro { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--crit-bg); border: 1px solid var(--crit); color: var(--crit); border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; }
.pilha { display: flex; flex-direction: column; gap: 12px; } .pilha p { margin: 0; } .logo { font: 600 22px/1.1 var(--display); margin: 0 0 4px; }
.qr { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 6px; align-self: center; }
code { font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--wash); padding: 2px 6px; border-radius: 4px; word-break: break-all; }
.codigos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.destaque { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.quebra { white-space: normal !important; } .lista input[type=email] { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; min-width: 220px; }
main > .twrap { margin-top: 12px; }
.nomes .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lista li > div:first-child { min-width: 0; overflow-wrap: anywhere; } .lista.cols2 li { min-width: 0; } .painel b { overflow-wrap: anywhere; }
.grade .nome { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tab td.nome { max-width: 420px; overflow: hidden; text-overflow: ellipsis; } .tab td.quebra { max-width: none; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--wash); align-self: flex-start; }
.segb { border: 0; background: none; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--muted); }
.segb.ativo { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
a.btn { text-decoration: none; display: inline-block; }
.campo select, .campo input { max-width: 100%; } .barra .campo { min-width: 0; max-width: 100%; }

/* ---------- versão 1.2 ---------- */
.so-impressao { display: none; }
.faixa { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; background: var(--ok-bg); border: 1px solid var(--ok); border-radius: 6px; padding: 10px 12px; margin-bottom: 12px; }
.faixa > span { min-width: 0; flex: 1 1 260px; }
.alertas.pend { background: var(--warn-bg); border-color: var(--warn); } .alertas.pend h3 { color: var(--warn); } .alertas.pend p { margin: 4px 0 8px; }
details.cien, details.porque { margin: 0 0 12px; } details.cien summary, details.porque summary { cursor: pointer; font-weight: 600; } details.porque { background: var(--wash); border-radius: 6px; padding: 8px 10px; } details.porque p { margin: 6px 0; }
.linha.exp { margin-bottom: 12px; align-items: center; }
.campo.largo { flex: 2 1 280px; } .campo.largo input { width: 100%; }
.oculto { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; } label.arq { cursor: pointer; display: inline-block; }
.sino { text-decoration: none; }
.lista.avisos li.novo { border-left: 3px solid var(--accent); padding-left: 9px; font-weight: 600; } .lista.avisos li.novo small { font-weight: 400; }
.lista li.bloco { display: block; } .lista li.bloco summary { cursor: pointer; } .lista li.bloco h4 { margin: 12px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tab.mapa td { font-size: 11px; line-height: 1.25; white-space: nowrap; } .tab.mapa td.mfer { background: color-mix(in srgb, var(--f) 26%, transparent); font-weight: 600; } .tab.mapa td.mpend { background: color-mix(in srgb, var(--e) 22%, transparent); }
dl.priv { margin: 10px 0; } dl.priv dt { font-weight: 600; margin-top: 10px; } dl.priv dd { margin: 2px 0 0; color: var(--muted); }
.cartao.senha.larga { width: min(640px, 100%); max-height: 92vh; overflow: auto; } .cartao.senha h2 { margin: 6px 0; font-size: 18px; }
.rodape { text-align: center; margin-top: 20px; }
/* visão dia a dia: nomes inteiros e áreas de toque grandes */
.diasL { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.diaL { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; } .diaL.fds { background: var(--wash); }
.diaL h4 { margin: 0 0 6px; font-size: 14px; text-transform: capitalize; } .diaL .fer { color: var(--warn); font-weight: 500; text-transform: none; }
.turnoL { display: grid; grid-template-columns: 92px 1fr; gap: 8px; width: 100%; min-height: 46px; align-items: center; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 6px 2px; cursor: pointer; color: inherit; font: inherit; }
.turnoL:hover, .turnoL.sel { background: color-mix(in srgb, var(--accent) 10%, transparent); } .turnoL.temfuro { box-shadow: inset 3px 0 0 var(--crit); }
.tlL b { display: block; font-size: 13px; } .tlL small { color: var(--muted); } .turnoL .nomes { display: flex; flex-wrap: wrap; gap: 4px; } .turnoL .chip { font-size: 13px; padding: 3px 8px; }
@media (max-width: 760px) {
  .cz { width: 13px; height: 30px; } .btn { min-height: 40px; } .abas a { padding: 12px 12px; } .campo input, .campo select { min-height: 40px; font-size: 16px; }
  .topo .acoes { flex-wrap: wrap; } .painel { width: 100vw; } .diasL { grid-template-columns: 1fr; } .linha.exp .empurra { display: none; }
}
/* impressão e PDF: só a escala, em paisagem */
@media print {
  @page { size: A4 landscape; margin: 9mm; }
  body { background: #fff; color: #000; }
  .topo, .abas, .barra, .painel, .tiles, .legenda, .nota, .linha, .alertas, .faixa, .okline, details.cien, .erro { display: none !important; }
  .so-impressao { display: block; font-size: 15px; margin: 0 0 6px; }
  main { padding: 0; } .calwrap { overflow: visible; } .cal { min-width: 0; } .dia { break-inside: avoid; } .diaL { break-inside: avoid; border-color: #999; }
  .chip { border: 1px solid #999; background: none !important; color: #000 !important; } .turno, .turnoL { border-color: #bbb; }
}

/* ---------- versão 1.3 ---------- */
.lista.achados li { align-items: flex-start; } .lista.achados li .saldo { margin-right: 4px; }
code.quebra { overflow-wrap: anywhere; word-break: break-all; }

/* ---------- versão 1.4 ---------- */
/* disponibilidade do plantonista: pincéis e calendário */
.passo { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; vertical-align: 1px; }
.pinceis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.pincel { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 48px; text-align: left; background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: 8px; cursor: pointer; font: inherit; min-width: 0; }
.pincel.ativo { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.pincel:disabled { opacity: .55; cursor: default; }
.pincel .p-rot { display: block; font-weight: 600; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; } .pincel .p-cont { display: block; font-size: 12px; color: var(--muted); }
.amostra { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 6px; font-size: 13px; font-weight: 700; font-style: normal; }
.amostra.mQ, .dz.mQ { background: var(--q); color: #fff; } .amostra.mD, .dz.mD { background: var(--d); color: var(--ink); }
.amostra.mE, .dz.mE { background: var(--e); color: #1b1300; } .amostra.mI, .dz.mI { background: var(--i); color: #fff; } .amostra.mF, .dz.mF { background: var(--f); color: #fff; }
.turnos-leg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; font-size: 13px; color: var(--muted); } .turnos-leg b { color: var(--ink); } .turnos-leg b.amostra { width: 18px; height: 18px; font-size: 11px; color: #fff; }
.dcal { display: grid; gap: 4px; } .dcab, .dsem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dcab div { text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 2px 0; }
.ddia { display: flex; flex-direction: column; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; } .ddia.fds { background: var(--wash); } .ddia.fora { border: 0; background: none; }
.ddia .fer { font-size: 10px; line-height: 1.1; color: var(--warn); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dnum { align-self: flex-start; min-width: 30px; min-height: 26px; padding: 0 6px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 700 14px/1 var(--body); cursor: pointer; text-align: left; } .dnum:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 14%, transparent); } .dnum:disabled { cursor: default; color: var(--muted); }
.dz { display: flex; align-items: center; justify-content: space-between; gap: 2px; width: 100%; min-height: 32px; padding: 0 8px; border: 0; border-radius: 6px; cursor: pointer; font: 600 13px/1 var(--body); }
.dz i { font-style: normal; font-size: 12px; } .dz:disabled { cursor: default; } .dz.mF { opacity: .8; } .dz:focus-visible, .dnum:focus-visible, .pincel:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
details.lote { margin-top: 12px; } details.lote summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
/* banco de horas */
.num.larga { width: 110px; } .lista li.apagado > div:first-child { color: var(--muted); } h4.subt { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 760px) {
  .pinceis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dcal, .dcab, .dsem { gap: 2px; } .ddia { padding: 2px; border-radius: 6px; gap: 2px; }
  .dz { min-height: 34px; padding: 0 4px; font-size: 12px; justify-content: center; } .dz i { font-size: 10px; } .dnum { min-width: 0; padding: 0 3px; font-size: 13px; } .ddia .fer { font-size: 9px; }
}
@media print { .pinceis, details.lote { display: none !important; } }

/* abas: com muitas seções (coordenação), quebram em duas linhas em vez de esconder as últimas fora da tela */
@media (min-width: 761px) { .abas { flex-wrap: wrap; overflow-x: visible; } }
