/* Painel do time TCS e portal do fornecedor */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bloco { display: block; }
.pre { white-space: pre-line; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; letter-spacing: .03em; }
.alerta-txt { color: #c2410c; font-weight: 500; }
.botao-link { border: 0; background: none; padding: 0; color: inherit; }

.pa { display: grid; min-height: 100dvh; grid-template-columns: minmax(0, 1fr); }
.pa-lado { min-width: 0; }
@media (min-width: 64em) { .pa { grid-template-columns: 16.5rem minmax(0, 1fr); } }
.pa-lado { background: var(--preto); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; z-index: 30; }
@media (min-width: 64em) { .pa-lado { height: 100dvh; padding: 1.75rem 1rem 1rem; } }
.pa-marca { display: flex; flex-direction: column; gap: .9rem; padding: 0 .6rem 1.75rem; }
.pa-marca span { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pa-nav { display: grid; gap: .2rem; }
.pa-nav a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: .9rem; text-decoration: none; color: rgba(255, 255, 255, .7); font-weight: 500; font-size: .9375rem; transition: background .15s, color .15s; }
.pa-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pa-nav a.ativo { background: #fff; color: #000; }
.pa-nav a .ic { width: 1.2rem; height: 1.2rem; }
.pa-eu { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding: .8rem .6rem .2rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.pa-eu-av { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--carvao); box-shadow: 0 0 0 2px var(--amarelo); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: .8125rem; flex: none; }
.pa-eu-txt { display: grid; min-width: 0; font-size: .8125rem; line-height: 1.3; }
.pa-eu-txt b { font-weight: 500; font-size: .875rem; }
.pa-eu-txt span { color: rgba(255, 255, 255, .5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-eu-menu { margin-left: auto; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; flex: none; }
.pa-eu-menu:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 63.99em) {
  .pa-lado { flex-direction: row; flex-wrap: wrap; align-items: center; padding: .75rem var(--gutter) 0; gap: 0 .75rem; }
  .pa-marca { flex-direction: row; align-items: center; padding: 0; gap: .9rem; flex: 1; min-width: 0; }
  .pa-marca span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pa-eu { margin: 0; border: 0; padding: 0; }
  .pa-eu-txt, .pa-eu-av { display: none; }
  .pa-nav { order: 3; flex: 1 0 100%; display: flex; overflow-x: auto; scrollbar-width: none; gap: .25rem; margin: .65rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) .7rem; }
  .pa-nav::-webkit-scrollbar { display: none; }
  .pa-nav a { white-space: nowrap; padding: .55rem .85rem; font-size: .875rem; flex: none; }
}
.pa-main { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) 4rem; max-width: 90rem; width: 100%; }
.pa-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
.pa-cab h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.pa-cab p { color: var(--mudo); margin-top: .4rem; max-width: 40rem; }
.pa-acoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.pa-corpo { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }

/* status */
.pilula { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .55rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; white-space: nowrap; background: var(--fundo-st, #eee); color: #1a1a1a; }
.pilula i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--cor-st, #999); }
.st-aguardando { --cor-st: #E0A100; --fundo-st: #FFF1C9; }
.st-liberado { --cor-st: var(--azul); --fundo-st: #DDEEFF; }
.st-producao { --cor-st: var(--laranja); --fundo-st: #FFE6D3; }
.st-enviado { --cor-st: var(--violeta); --fundo-st: #E7E1FF; }
.st-entregue { --cor-st: var(--menta); --fundo-st: #D5F4E6; }
.st-cancelado { --cor-st: #9a9a9a; --fundo-st: #ECECEC; }
.mini-itens { display: inline-flex; align-items: center; }
.mini-itens img { width: 2.25rem; height: 2.25rem; padding: .15rem; border-radius: .7rem; background: #fff; box-shadow: 0 0 0 2px var(--papel), 0 1px 3px rgba(0, 0, 0, .12); margin-left: -.45rem; }
.mini-itens img:first-child { margin-left: 0; }
.mini-itens b { margin-left: .35rem; font-size: .8125rem; color: var(--mudo); font-weight: 500; }
.selo-mini { display: inline-block; margin-left: .45rem; padding: .1rem .5rem; border-radius: 999px; background: var(--papel-2); font-size: .6875rem; font-weight: 500; letter-spacing: .03em; color: var(--mudo); vertical-align: middle; }
.selo-alerta { background: #FFE6D3; color: #b43d00; }

/* indicadores */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.75rem), 1fr)); gap: .9rem; }
.kpi { background: #fff; border-radius: 1.4rem; padding: 1.15rem 1.2rem 1.2rem; box-shadow: var(--sombra); display: grid; gap: .15rem; align-content: start; }
.kpi-rot { font-size: .8125rem; font-weight: 500; color: var(--mudo); }
.kpi-num { font-family: var(--f-disp); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-num small { font-size: .55em; margin-left: .1em; }
.kpi-sub { font-size: .8125rem; color: var(--mudo); }
.kpi-destaque { background: var(--preto); color: #fff; }
.kpi-destaque .kpi-rot, .kpi-destaque .kpi-sub { color: rgba(255, 255, 255, .6); }
.kpi-barra { height: .45rem; border-radius: 999px; background: rgba(255, 255, 255, .14); margin-top: .65rem; overflow: hidden; display: block; }
.kpi-barra i { display: block; height: 100%; background: var(--arco); border-radius: inherit; }
.vg-grade { display: grid; gap: 1.25rem; }
@media (min-width: 72em) { .vg-grade { grid-template-columns: 1.3fr 1fr; } }
.cartao-p { background: #fff; border-radius: 1.6rem; padding: clamp(1.15rem, 2.4vw, 1.6rem); box-shadow: var(--sombra); min-width: 0; }
.cartao-p > h2 { font-size: 1.375rem; margin-bottom: .9rem; }
.cp-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.cp-cab h2 { font-size: 1.375rem; }
.cp-sub { font-size: .8125rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mudo); margin: 1.75rem 0 .9rem; font-family: var(--f-texto); }
.empilhado { display: flex; gap: 3px; height: 1.1rem; border-radius: 999px; overflow: hidden; background: var(--papel-2); }
.emp-seg { background: var(--cor-st); min-width: 4px; }
.legenda { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; }
.legenda li { display: flex; align-items: center; gap: .45rem; }
.legenda i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--cor-st); }
.legenda b { font-weight: 500; }
.turmas-lista, .top-lista, .recentes, .contas { list-style: none; margin: 0; padding: 0; }
.turmas-lista { display: grid; gap: 1.1rem; }
.tl-cab, .tl-rod { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .875rem; }
.tl-cab b { font-weight: 500; font-size: .9375rem; }
.tl-barra { height: .6rem; border-radius: 999px; background: var(--papel-2); margin: .5rem 0 .4rem; overflow: hidden; }
.tl-barra i { display: block; height: 100%; border-radius: inherit; background: var(--preto); }
.top-lista { display: grid; gap: .7rem; }
.top-lista li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.top-img { width: 2.75rem; height: 2.75rem; border-radius: .85rem; display: grid; place-items: center; }
.top-img img { width: 85%; }
.top-txt { display: grid; gap: .35rem; font-size: .9375rem; min-width: 0; }
.top-txt b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-barra { height: .45rem; border-radius: 999px; background: var(--papel-2); overflow: hidden; display: block; }
.top-barra i { display: block; height: 100%; border-radius: inherit; }
.top-n { font-family: var(--f-disp); font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.recentes li a { display: grid; grid-template-columns: 1fr auto auto auto; gap: 1rem; align-items: center; padding: .75rem .5rem; border-top: 1px solid var(--linha); text-decoration: none; border-radius: .6rem; }
.recentes li:first-child a { border-top: 0; }
.recentes li a:hover { background: var(--papel); }
.rc-quem { display: grid; min-width: 0; }
.rc-quem b { font-weight: 500; }
.rc-quem .mudo, .rc-qd { font-size: .8125rem; }
@media (max-width: 44em) { .recentes li a { grid-template-columns: 1fr auto; } .recentes .mini-itens, .rc-qd { display: none; } }

/* filtros, busca e faixas */
.barra-filtros { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; }
.chips-filtro { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: .1rem; min-width: 0; flex: 0 1 auto; }
.barra-filtros > * { min-width: 0; }
.chips-filtro::-webkit-scrollbar { display: none; }
.cf { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 500; font-size: .875rem; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--linha); }
.cf b { font-weight: 500; font-size: .75rem; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--papel-2); display: grid; place-items: center; }
.cf:hover { box-shadow: inset 0 0 0 1px #cbc3b6; }
.cf.ativo { background: var(--preto); color: #fff; box-shadow: none; }
.cf.ativo b { background: rgba(255, 255, 255, .18); }
.busca { position: relative; display: flex; align-items: center; min-width: min(100%, 20rem); }
.busca .ic { position: absolute; left: .95rem; color: var(--mudo); pointer-events: none; }
.busca input { width: 100%; min-height: 2.875rem; padding: .6rem 1rem .6rem 2.75rem; border-radius: 999px; border: 1.5px solid var(--linha); background: #fff; }
.busca input:focus { outline: none; border-color: var(--preto); box-shadow: 0 0 0 4px rgba(0, 0, 0, .07); }
.busca-larga { max-width: 28rem; }
.faixa { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .9rem 1.1rem; border-radius: 1.1rem; background: #FFF1C9; font-size: .9375rem; }
.faixa > .ic { flex: none; }
.faixa .bt { margin-left: auto; }
.faixa-ok { background: #D5F4E6; }
.faixa-acao { background: #fff; box-shadow: var(--sombra); position: sticky; top: .75rem; z-index: 5; }
@media (max-width: 63.99em) { .faixa-acao { top: 7.6rem; } }

/* tabelas */
.tabela-env { background: #fff; border-radius: 1.4rem; box-shadow: var(--sombra); overflow: auto; }
.tabela { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabela th { text-align: left; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); padding: 1rem 1rem .75rem; border-bottom: 1px solid var(--linha); white-space: nowrap; }
.tabela td { padding: .85rem 1rem; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela td b { font-weight: 500; }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabela-click tbody tr { cursor: pointer; transition: background .12s; }
.tabela-click tbody tr:hover, .tabela-click tbody tr:focus-visible { background: var(--papel); outline: none; }
.acoes-linha { text-align: right; white-space: nowrap; }
.acoes-linha .bt + .bt { margin-left: .35rem; }
.tabela-p { font-size: .875rem; }
.tabela-p td, .tabela-p th { padding: .6rem .75rem; }
@media (max-width: 47.99em) {
  .tabela-env:not(.previa .tabela-env) { background: none; box-shadow: none; overflow: visible; }
  .tabela:not(.tabela-p) thead { display: none; }
  .tabela:not(.tabela-p), .tabela:not(.tabela-p) tbody, .tabela:not(.tabela-p) tr, .tabela:not(.tabela-p) td { display: block; }
  .tabela:not(.tabela-p) tr { background: #fff; border-radius: 1.25rem; box-shadow: var(--sombra); padding: .6rem 1rem; margin-bottom: .75rem; }
  .tabela:not(.tabela-p) td { border: 0; padding: .4rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; text-align: right; }
  .tabela:not(.tabela-p) td[data-r]::before { content: attr(data-r); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mudo); text-align: left; flex: none; }
  .tabela:not(.tabela-p) td[data-r="Pessoa"], .tabela:not(.tabela-p) td[data-r="Pedido"] { display: block; text-align: left; }
  .tabela:not(.tabela-p) td[data-r="Pessoa"]::before, .tabela:not(.tabela-p) td[data-r="Pedido"]::before { display: none; }
  .acoes-linha { display: flex !important; justify-content: flex-start !important; flex-wrap: wrap; gap: .35rem; }
  .acoes-linha .bt + .bt { margin: 0; }
}
.vazio { display: grid; justify-items: center; gap: .9rem; text-align: center; padding: 3.5rem 1.5rem; background: #fff; border-radius: 1.6rem; box-shadow: var(--sombra); color: var(--mudo); }
.vazio > .ic { width: 3.25rem; height: 3.25rem; padding: .8rem; border-radius: 1.1rem; background: var(--papel); color: var(--texto); }

/* gaveta do pedido */
.dlg-lado { max-width: min(36rem, calc(100% - 2rem)); }
@media (min-width: 48em) {
  .dlg-lado { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; }
  .dlg-lado .dlg-corpo { height: 100dvh; max-height: 100dvh; border-radius: 1.75rem 0 0 1.75rem; animation: gaveta .35s var(--suave-mov); }
  .dlg-lado.fechando .dlg-corpo { animation: gaveta-sai .22s ease forwards; }
}
@keyframes gaveta { from { transform: translateX(100%); } }
@keyframes gaveta-sai { to { transform: translateX(100%); } }
.det-ped { padding: 1.75rem 1.5rem 2rem; display: grid; gap: 1.5rem; }
.det-ped header { display: grid; justify-items: start; gap: .3rem; padding-right: 3rem; }
.det-ped header h2 { font-size: 1.75rem; }
.dp-pessoa { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-radius: 1.1rem; background: var(--papel); }
.dp-pessoa b { font-weight: 500; font-size: 1.0625rem; }
.dp-pessoa .mudo { font-size: .875rem; overflow-wrap: anywhere; }
.dp-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.dp-itens li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; font-size: .9375rem; }
.dp-itens li b { font-family: var(--f-disp); font-weight: 500; }
.dp-total { border-top: 1px solid var(--linha); padding-top: .6rem; margin-top: .2rem; font-weight: 500; }
.dp-bloco h3, .dp-acao h3 { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mudo); margin: 0 0 .6rem; font-family: var(--f-texto); }
.dp-acao { display: grid; gap: 1rem; padding: 1.2rem; border-radius: 1.25rem; box-shadow: inset 0 0 0 1.5px var(--linha); justify-items: start; }
.dp-acao h3 { margin: 0; }
.dp-acao > div:not(.chips) { width: 100%; }
.dp-aviso { font-size: .8125rem; margin-top: -.4rem; }
.h-por { display: block; font-size: .8125rem; }

/* pessoas e turmas */
.turmas-abas { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .1rem; }
.turmas-abas::-webkit-scrollbar { display: none; }
.ta { flex: none; display: grid; gap: .1rem; padding: .85rem 1.1rem; border-radius: 1.1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); text-decoration: none; min-width: 12rem; border: 0; text-align: left; }
.ta b { font-weight: 500; }
.ta span { font-size: .8125rem; color: var(--mudo); }
.ta.ativo { background: var(--preto); color: #fff; box-shadow: none; }
.ta.ativo span { color: rgba(255, 255, 255, .6); }
.ta-nova { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 500; background: transparent; box-shadow: none; border: 1.5px dashed #cfc8bd; }
.turma-barra { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; background: #fff; border-radius: 1.25rem; box-shadow: var(--sombra); }
.tb-info { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; align-items: center; font-size: .9375rem; color: var(--mudo); }
.tb-info b { color: var(--texto); font-family: var(--f-disp); font-weight: 500; font-size: 1.25rem; margin-right: .15rem; }
.tb-acoes { display: flex; gap: .5rem; flex-wrap: wrap; }

/* formulários em diálogo */
.form-dlg { padding: 1.9rem 1.6rem 1.6rem; display: grid; gap: 1.1rem; }
.form-dlg h2 { font-size: 1.6rem; padding-right: 2.5rem; }
.form-dlg .confirma-acoes { margin-top: .25rem; }
.duas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.tres { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); margin-bottom: 1.1rem; }
.soltar { display: grid; justify-items: center; gap: .3rem; padding: 1.75rem 1rem; border-radius: 1.25rem; border: 2px dashed #d3cbbe; background: var(--papel); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.soltar:hover, .soltar.sobre { border-color: var(--preto); background: #fff; }
.soltar > .ic { width: 1.75rem; height: 1.75rem; }
.soltar-p { padding: 1rem; }
.previa { display: grid; gap: .9rem; }
.previa-ok { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.previa-ok .ic { color: #12895c; }
.previa-prob summary { cursor: pointer; display: flex; gap: .5rem; align-items: center; color: #b43d00; font-weight: 500; }
.previa-prob ul { margin: .5rem 0 0; padding-left: 1.25rem; font-size: .875rem; color: var(--mudo); max-height: 9rem; overflow: auto; }
.previa .tabela-env { box-shadow: inset 0 0 0 1px var(--linha); }
.senha-mostra { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; padding: 1.1rem; border-radius: 1.1rem; background: var(--papel); align-items: center; }
.senha-mostra code { font-size: 1rem; overflow-wrap: anywhere; user-select: all; }

/* catálogo */
.cat-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.cat-item { border: 0; padding: .6rem .6rem 1rem; background: #fff; border-radius: 1.5rem; box-shadow: var(--sombra); text-align: left; display: grid; gap: .75rem; align-content: start; transition: transform .25s var(--mola), box-shadow .25s; }
.cat-item:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); }
.cat-foto { aspect-ratio: 4 / 3; border-radius: 1.1rem; background: var(--suave); display: grid; place-items: center; overflow: hidden; }
.cat-foto img { width: 62%; }
.cat-txt { display: grid; gap: .15rem; padding: 0 .4rem; }
.cat-txt b { font-weight: 500; }
.cat-txt .mudo { font-size: .875rem; }
.cat-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }
.cat-tags .selo-mini { margin: 0; }
.cat-item.inativo { opacity: .55; }
.cat-novo { place-content: center; justify-items: center; min-height: 14rem; background: transparent; border: 2px dashed #cfc8bd; box-shadow: none; color: var(--mudo); gap: .5rem; }
.cat-novo .ic { width: 2rem; height: 2rem; }
.dlg:has(.form-prod) { max-width: min(52rem, calc(100% - 2rem)); }
.fp-grade { display: grid; gap: 1.25rem; }
@media (min-width: 44em) { .fp-grade { grid-template-columns: 15rem 1fr; } }
.fp-foto { position: relative; border-radius: 1.4rem; background: var(--suave); aspect-ratio: 1; display: grid; place-items: center; align-self: start; transition: background .2s; }
.fp-foto img { width: 78%; }
.fp-trocar { position: absolute; bottom: .75rem; left: 50%; translate: -50% 0; cursor: pointer; box-shadow: var(--sombra); }
.fp-dica { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; font-size: .8125rem; }
.fp-campos { display: grid; gap: 1rem; }
.chip-cor span { width: 2.5rem; height: 2.5rem; min-width: 0; padding: 0; border-width: 2px; }
.chip-cor input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--preto); }
.chips.cores .chip-cor input:checked + span { color: inherit; border-color: inherit; }
.interruptor { display: flex; align-items: center; gap: .8rem; cursor: pointer; font-size: .9375rem; padding: .35rem 0; position: relative; }
.interruptor input { position: absolute; opacity: 0; }
.interruptor > span:first-of-type { width: 2.9rem; height: 1.7rem; border-radius: 999px; background: #d8d2c8; position: relative; flex: none; transition: background .2s; }
.interruptor > span:first-of-type::after { content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--mola); }
.interruptor input:checked + span { background: var(--preto); }
.interruptor input:checked + span::after { transform: translateX(1.2rem); }
.interruptor input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

/* ajustes */
.ajustes { display: grid; gap: 1.25rem; }
.ajustes .cartao-p > .mudo { margin: -.5rem 0 1rem; }
.ajustes-salvar { display: flex; justify-content: flex-end; }
.unidades { display: grid; gap: .6rem; margin-bottom: .9rem; }
.un-linha { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr auto; gap: .5rem; align-items: center; }
.un-linha input, .un-linha select { min-height: 2.75rem; padding: .5rem .85rem; border-radius: .75rem; border: 1.5px solid var(--linha); background: #fff; width: 100%; min-width: 0; }
@media (max-width: 47.99em) { .un-linha { grid-template-columns: 1fr auto; padding: .75rem; border-radius: 1rem; background: var(--papel); } .un-linha select, .un-linha [name=un-end] { grid-column: 1; } .un-linha .cl-x { grid-row: 1; grid-column: 2; } }
.contas { display: grid; gap: .25rem; }
.contas li { display: grid; grid-template-columns: auto 1fr auto auto; gap: .9rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--linha); }
.contas li:first-child { border-top: 0; }
.contas li > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.contas .pa-eu-av { background: var(--papel-2); color: var(--texto); box-shadow: none; }

/* fornecedor */
.abas-forn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 47.99em) { .abas-forn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.af { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: 1.25rem; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); text-align: left; min-width: 0; transition: background .15s; }
.af:hover { box-shadow: inset 0 0 0 1px #c8c0b3; }
.af-n { font-family: var(--f-disp); font-weight: 500; font-size: 1.75rem; line-height: 1; min-width: 2.2rem; font-variant-numeric: tabular-nums; }
.af-txt { display: grid; min-width: 0; line-height: 1.25; }
.af-txt b { font-weight: 500; }
.af-txt span { font-size: .8125rem; color: var(--mudo); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af.ativo { background: var(--preto); color: #fff; box-shadow: none; }
.af.ativo .af-txt span { color: rgba(255, 255, 255, .6); }
.marcar-todos { display: flex; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; }
.marcar-todos input, .pf-cab input { width: 1.25rem; height: 1.25rem; accent-color: #000; cursor: pointer; }
.pedidos-forn { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.pf { background: #fff; border-radius: 1.5rem; box-shadow: var(--sombra); padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .95rem; transition: opacity .35s, transform .35s var(--suave-mov); }
.pf.saiu { opacity: 0; transform: scale(.96) translateY(-6px); }
.pf:has([data-sel]:checked) { box-shadow: 0 0 0 2.5px var(--preto), var(--sombra); }
.pf-cab { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.pf-cab code { font-size: 1rem; font-weight: 500; }
.pf-data { margin-left: auto; font-size: .8125rem; }
.pf-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pf-itens li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; }
.pf-itens li > span:last-child { display: grid; line-height: 1.25; }
.pf-itens b { font-weight: 500; }
.pf-img { width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--suave); display: grid; place-items: center; flex: none; }
.pf-img img { width: 84%; }
.pf-var { font-size: .8125rem; color: var(--texto); background: var(--papel-2); border-radius: .4rem; padding: .05rem .4rem; justify-self: start; font-weight: 500; margin-top: .15rem; }
.pf-end { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; padding: .85rem .9rem; border-radius: 1rem; background: var(--papel); font-size: .875rem; line-height: 1.45; align-items: start; }
.pf-end > .ic { width: 1.1rem; height: 1.1rem; margin-top: .15rem; }
.pf-rast { font-size: .875rem; color: var(--mudo); }
.pf-acoes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; align-items: flex-end; }
.pf-acoes .bt { flex: 1 1 auto; }
.rastreio-campo { flex: 1 1 100%; }
.rastreio-campo input::placeholder { text-transform: none; font-family: var(--f-texto); letter-spacing: 0; }
.rastreio-campo input { min-height: 2.875rem; text-transform: uppercase; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
