/* 6.110 — demandas organizadas, vendas que somam */
.mf-nb { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #0A0A0A; font: 700 10px/16px var(--font); letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.mf-spot { animation: mfSpot 1.2s ease 3; border-radius: 12px; }
tr.mf-spot > td { animation: mfSpotBg 1.2s ease 3; }
@keyframes mfSpot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); } 40% { box-shadow: 0 0 0 4px rgba(255,107,0,.55); } }
@keyframes mfSpotBg { 0%, 100% { background: transparent; } 40% { background: rgba(255,107,0,.16); } }
@media (prefers-reduced-motion: reduce) { .mf-spot, tr.mf-spot > td { animation: none; outline: 3px solid var(--accent); } }
.mf-snack { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9000; display: flex; gap: 12px; align-items: center; max-width: min(560px, calc(100vw - 32px)); padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--solid, #1a1a1a); color: var(--solid-ink, #fff); box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; }
.mf-snack a { color: var(--accent); font-weight: 700; white-space: nowrap; } .mf-snack button { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; display: grid; place-items: center; }
/* quadro */
.mf-bsort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.seg-sm a, .seg-sm button { height: 28px; padding: 0 10px; font-size: 12.5px; }
/* produção: pilha da série */
.wk-tw.mf-hid, .wk-tw.mf-cut { display: none; }
.mf-pile .wk-t { border-style: dashed; }
.mf-pile .mf-pph { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 18px; }
.mf-pile.open .wk-t { border-color: var(--accent); }
/* lista */
.mf-tlbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
#listWrap tr.tl-hid { display: none !important; }
#listWrap tr.tl-sec > td { padding: 14px 8px 6px; background: none; border-bottom: 1px solid var(--border-strong); }
#listWrap tr.tl-sec button, #listWrap tr.tl-ser button { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
#listWrap tr.tl-sec button > b { font-size: 14px; } #listWrap tr.tl-sec .tl-sn { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
#listWrap tr.tl-sec.fold svg { transform: rotate(-90deg); }
#listWrap tr.tl-sec-late button > b { color: var(--danger, #d23); } #listWrap tr.tl-sec-today button > b { color: var(--accent); }
#listWrap tr.tl-ser > td { padding: 9px 8px; background: var(--surface-muted, rgba(0,0,0,.03)); }
#listWrap tr.tl-ser .muted { font-weight: 400; } #listWrap tr.tl-ser .tl-st { margin-left: auto; display: grid; }
#listWrap tr.tl-ser.open .tl-st svg { transform: rotate(180deg); }
#listWrap tr.tl-sr > td:first-child, #listWrap tr.tl-sr > td.bk + td { box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 767px) { #listWrap tr.tl-sec, #listWrap tr.tl-ser { display: block; width: 100%; } #listWrap tr.tl-sec > td, #listWrap tr.tl-ser > td { display: block; width: 100%; box-sizing: border-box; } #listWrap tr.tl-sec > td::before, #listWrap tr.tl-ser > td::before { content: none !important; display: none !important; }
  #listWrap tr.tl-ser button { flex-wrap: wrap; row-gap: 2px; } #listWrap tr.tl-ser button > b { flex: 1 1 auto; min-width: 0; } #listWrap tr.tl-ser .muted { flex-basis: 100%; order: 3; padding-left: 22px; font-size: 12.5px; } #listWrap tr.tl-ser .tl-st { order: 2; } }
/* vendas */
.sl-mode { display: flex; width: 100%; } .sl-mode label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 10px; font-size: 13px; cursor: pointer; background: var(--surface); color: var(--text-2); }
.sl-mode label + label { border-left: 1px solid var(--border-strong); } .sl-mode label.on { background: var(--solid, #111); color: var(--solid-ink, #fff); font-weight: 600; }
.sl-mode input { position: absolute; opacity: 0; pointer-events: none; }
.sl-mode label:focus-within { outline: 2px solid var(--p-400); outline-offset: -2px; }
