/* Componentes BACA (sino de notificações, pagamentos das OS). Separado do relevo neomórfico, retirado pelo gestor em 01/11/2026. */
/* Sininho de notificações (cabeçalho escuro nas duas telas). */
.baca-bell{position:relative;display:inline-flex;align-items:center;margin-right:8px}
.baca-bell-button{position:relative;width:44px;height:44px;min-height:44px;padding:0;display:inline-grid;place-items:center;background:transparent;border:1px solid var(--baca-ui-header-border,#8db0b1);border-radius:10px;color:#fff;cursor:pointer}
.baca-bell-button:hover{background:var(--baca-ui-on-dark-line,#386366)}
.baca-bell-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.baca-bell-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f24501;color:#fff;font-size:12px;font-weight:600;line-height:20px;text-align:center}
.baca-bell-panel{position:absolute;right:0;top:52px;z-index:50;width:min(380px,calc(100vw - 32px));max-height:70vh;overflow:auto;background:#fff;color:#183d42;border:1px solid #d4e0da;border-radius:14px;box-shadow:0 24px 70px #0d303a38;padding:8px}
.baca-bell-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 4px}
.baca-bell-head button,.baca-bell-enable{background:transparent;border:0;color:#1b6751;font-weight:600;cursor:pointer;padding:4px 0;min-height:32px}
.baca-bell-enable{display:block;margin:0 8px 4px}
.baca-bell-panel ul{list-style:none;margin:0;padding:0}
.baca-bell-panel li a{display:grid;gap:2px;padding:10px 8px;border-radius:10px;color:inherit;text-decoration:none}
.baca-bell-panel li a:hover{background:#f2f6f5}
.baca-bell-panel li.unread a{background:#e8f5ed}
.baca-bell-panel li span{color:#506970;font-size:13px}.baca-bell-panel li small{color:#506970;font-size:12px}
.baca-bell-empty{padding:12px 8px;color:#506970;margin:0}

/* Pagamentos das OS */
.pay-page h1{margin:0 0 4px}.pay-page .tabs{display:flex;flex-wrap:wrap;gap:4px;margin:16px 0}
.pay-card{margin:12px 0;padding:18px}.pay-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.pay-card h3{margin:0;font-size:18px}.pay-card header p{margin:2px 0 0;color:var(--baca-ui-muted,#506970)}
.pay-card dl{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin:14px 0}.pay-card dt{font-size:12px;color:var(--baca-ui-muted,#506970)}.pay-card dd{margin:0;font-weight:600}
@media(max-width:700px){.pay-card dl{grid-template-columns:1fr 1fr}}
.pay-chip{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;white-space:nowrap}
.pay-chip.o{background:#e8f5ed;color:#21553a}.pay-chip.w{background:#fff3e4;color:#805019}.pay-chip.d{background:#fff0ed;color:#963a31}.pay-chip.i{background:#eaf2fa;color:#305c80}
.pay-entries{margin:0 0 8px;padding-left:18px;color:#183d42}.pay-alert{color:#963a31;font-weight:600}.pay-note{color:#805019}
.pay-steps{font-size:13px;color:var(--baca-ui-muted,#506970)}.pay-error{color:#963a31;margin:6px 0 0}
.pay-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.pay-reconcile{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.pay-reconcile label{display:grid;gap:4px;font-size:13px}
.pay-cash ul{margin:6px 0 0;padding-left:18px}

/* Gráfico de rosca do estoque: anel mais fino e texto dentro do furo (gestor 01/11/2026). */
.stock-donut{width:168px;height:168px}
.stock-donut>span{width:136px;height:136px;padding:0 14px;box-sizing:border-box;text-align:center;line-height:1.1;font-size:30px;color:#103D40}
.stock-donut small{display:block;max-width:90px;margin-top:6px;font-size:11px;line-height:1.25;color:#506970;white-space:normal}

/* Cadastro de produto simplificado */
.product-advanced{margin:16px 0;border:1px solid #D4E0DA;border-radius:10px;padding:10px 14px;background:#F7FAF9}
.product-advanced>summary{cursor:pointer;font-weight:600;color:#506970}
.product-advanced[open]>summary{margin-bottom:10px}
.product-section{grid-column:1/-1;margin:14px 0 4px;font-size:15px;color:#1B6751}

/* Catálogo de produtos e ficha única */
.pc-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:16px}
.pc-toolbar input[type=search]{flex:1 1 280px;min-width:220px;height:42px;border-radius:10px}
.pc-chips{display:flex;flex-wrap:wrap;gap:6px}
.pc-chip{border-radius:999px;padding:6px 14px;min-height:34px;background:#fff;border:1px solid #D4E0DA;color:#183D42}
.pc-chip.active{background:#1B6751;color:#fff;border-color:#1B6751}
.pc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.pc-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:14px;border:1px solid #D4E0DA;border-radius:14px;background:#fff;cursor:pointer;min-height:0;transition:box-shadow .2s,transform .2s}
.pc-card:hover{box-shadow:0 8px 24px #103d4018;transform:translateY(-2px)}
.pc-card.blocked{border-color:#c0392b;background:#fff7f6}
.pc-card img{width:100%;height:150px;object-fit:contain;background:#fff;border-radius:10px}
.pc-name{font-weight:700;font-size:15px;color:#103D40}
.pc-maker{font-size:12px;color:#506970}
.pc-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.pc-tag{font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:#E4F3EF;color:#1B6751}
.pc-tag.soft{background:#F1F4F3;color:#506970}
.pc-stock{font-size:12px;color:#183D42}
.pc-rt{font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px;margin:0}
.rt-wait{background:#FFF4DD;color:#8A5A00}.rt-ok{background:#E4F1E9;color:#21553A}.rt-block{background:#FDE7E4;color:#963A31}
.pc-head{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:start}
.pc-head img{width:200px;height:200px;object-fit:contain;background:#fff;border-radius:14px;border:1px solid #EEF2F1}
.pc-head h2{margin:0 0 4px}
.pc-head.blocked{border-left:4px solid #c0392b}
.pc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.pc-row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #EEF2F1;font-size:14px}
.pc-row span{color:#506970}.pc-row strong{text-align:right;font-weight:600}
.pc-alert{border-left:4px solid #F24501}
.pc-history{margin:10px 0 0;padding-left:18px;font-size:13px;color:#506970}
@media(max-width:700px){.pc-head{grid-template-columns:1fr}.pc-head img{width:100%;height:220px}}
.pc-reference{border-left:4px solid #45C168}
.pc-reference td.pc-old{color:#963A31;text-decoration:line-through;text-decoration-thickness:1px}
.pc-reference th:nth-child(2),.pc-reference td:nth-child(2){min-width:150px;white-space:nowrap}.pc-reference td:first-child{width:36px}
/* Produtos por área (gestor 01/11/2026) */
.pc-lead{margin:0 0 14px}
.pc-area-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.pc-area{display:flex;align-items:center;gap:16px;text-align:left;padding:20px;border:1px solid #D4E0DA;border-radius:16px;background:#fff;color:#183D42;cursor:pointer;min-height:0;transition:box-shadow .2s,transform .2s}
.pc-area:hover,.pc-area:focus-visible{box-shadow:0 8px 24px #103d4018;transform:translateY(-2px)}
.pc-area-icon{width:60px;height:60px;border-radius:14px;display:grid;place-items:center;font-size:30px;flex:none}
.pc-area-text{display:flex;flex-direction:column;gap:4px;min-width:0}.pc-area-text strong{font-size:18px}.pc-area-text span{font-size:13px;color:#506970;line-height:1.4}
.pc-area-count{margin-left:auto;text-align:right;font-size:12px;color:#506970;flex:none;display:flex;flex-direction:column}.pc-area-count b{font-size:24px;color:#183D42}
.pc-zero{color:#963A31;font-weight:700}
.pc-area-title{margin:6px 0 2px}
.pc-chip small{opacity:.7;margin-left:3px}
#pc-only-zero.active{background:#963A31;color:#fff;border-color:#963A31}
.pc-card .pc-stock{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:1px solid #EEF2F1;padding-top:8px;gap:8px}
.pc-card.zero{border-color:#e7b8b2}
.pc-plus{width:36px;height:36px;min-height:0;padding:0;border-radius:50%;border:1.5px solid #1B6751;background:#fff;color:#1B6751;font-size:22px;font-weight:700;line-height:1;display:grid;place-items:center;flex:none}
.pc-plus:hover{background:#1B6751;color:#fff}
.pc-card.zero .pc-plus{background:#963A31;border-color:#963A31;color:#fff;box-shadow:0 0 0 5px #963a3122}
.pc-overlay{position:fixed;inset:0;z-index:200;background:#103D4066;display:grid;place-items:center;padding:16px;animation:pc-fade .18s ease-out}
.pc-modal{width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:18px;padding:24px}.pc-modal h2{margin:0 0 4px}
.pc-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:16px 0}
.pc-opt{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:16px;border:1.5px solid #D4E0DA;border-radius:14px;background:#fff;color:#183D42;min-height:0;cursor:pointer}
.pc-opt:hover,.pc-opt:focus-visible,.pc-opt.active{border-color:#1B6751;background:#e8f5ed}
.pc-opt.other{border-style:dashed}.pc-opt-icon{font-size:32px}.pc-opt span:last-child{font-size:12px;color:#506970}
@keyframes pc-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.pc-overlay{animation:none}.pc-area,.pc-card{transition:none}}
body main .pc-chips button.pc-chip.active,body main .pc-chips button.pc-chip.active:hover{background:#183D42;color:#fff;border-color:#183D42;box-shadow:none}
.pc-chips{margin-bottom:14px}
/* Compras e recebimentos (gestor 01/11/2026) */
.pu-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:4px;border-radius:999px;background:#963A31;color:#fff;font-size:11px;font-weight:700}
.pu-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.pu-head h2{margin:0}
.pu-items{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.pu-item{display:flex;align-items:center;gap:12px;padding:8px 10px;border:1px solid #D4E0DA;border-radius:12px;background:#fff}
.pu-item img,.pu-line img{width:48px;height:48px;object-fit:contain;border-radius:8px;flex:none;background:#fff}
.pu-name{display:flex;flex-direction:column;min-width:0;flex:1}.pu-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pu-name small{color:#506970}
.pu-item select{width:auto;max-width:180px;margin:0;height:38px}.pu-pack{font-size:13px;color:#506970}
.pu-stepper{display:flex;align-items:center;border:1px solid #D4E0DA;border-radius:999px;overflow:hidden;flex:none}
.pu-stepper button{width:38px;height:38px;min-height:0;padding:0;border:0;border-radius:0;background:#fff;color:#1B6751;font-size:20px;font-weight:700}
.pu-stepper button:hover{background:#e8f5ed}.pu-stepper span{min-width:32px;text-align:center;font-weight:700}
.pu-remove{width:34px;height:34px;min-height:0;padding:0;border-radius:50%;background:#fff;color:#963A31;border:1px solid #e7b8b2;font-size:18px;flex:none}
.pu-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.pu-cart h3{font-size:14px;margin:14px 0 4px}.pu-note{margin:10px 0}
.pu-picker{border:1px dashed #D4E0DA;border-radius:12px;padding:12px;margin:12px 0;background:#F6F8F7}
.pu-options{list-style:none;margin:10px 0 0;padding:0;max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.pu-options li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;background:#fff;border:1px solid #EEF2F1;border-radius:10px}
.pu-options li span:first-child{display:flex;flex-direction:column}.pu-options small{color:#506970}.pu-in{color:#1B6751;font-weight:700;font-size:13px}
.pu-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.pu-line{display:flex;gap:12px;align-items:center}.pu-line div{display:flex;flex-direction:column}.pu-line span{color:#506970;font-size:14px}
.pu-meta{font-size:14px;line-height:1.5;margin:10px 0}.pu-form label{margin:8px 0}.pu-form h3{font-size:15px;margin:10px 0 0}
.pu-check{flex-direction:row!important;align-items:center;gap:8px}.pu-check input{width:auto}
.pc-plus.done{background:#1B6751!important;border-color:#1B6751!important;color:#fff!important;box-shadow:none!important;font-size:16px}
.pc-toast{position:fixed;left:50%;bottom:44px;transform:translateX(-50%);z-index:210;display:flex;align-items:center;gap:14px;background:#183D42;color:#fff;padding:10px 12px 10px 16px;border-radius:12px;box-shadow:0 8px 24px #103d4040;max-width:calc(100% - 32px);animation:pc-fade .18s ease-out}
.pc-toast button{background:#fff;color:#183D42;border:0;border-radius:8px;min-height:0;padding:7px 12px;font-weight:700;white-space:nowrap}
@media (max-width:640px){.pu-item{flex-wrap:wrap}.pu-name{flex-basis:calc(100% - 60px)}}
body main .pu-chips button.pc-chip.active,body main .pu-chips button.pc-chip.active:hover{background:#183D42;color:#fff;border-color:#183D42;box-shadow:none}
.pc-photo{display:flex;flex-direction:column;gap:8px;align-items:center;flex:none}
.pc-photo-btn{display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:6px;margin:0!important;padding:7px 12px;border:1px solid #D4E0DA;border-radius:999px;background:#fff;color:#1B6751;font-size:13px;font-weight:700;cursor:pointer}
.pc-photo-btn:hover{border-color:#1B6751;background:#e8f5ed}.pc-photo-btn.busy{opacity:.6;pointer-events:none}
.photo-field img{width:120px;height:120px;object-fit:contain;border:1px solid #D4E0DA;border-radius:12px;background:#fff}
.photo-field{display:flex!important;flex-direction:row!important;align-items:center;gap:14px;padding:12px;margin:8px 0 4px!important;border:1.5px dashed #D4E0DA;border-radius:14px;background:#F6F8F7;cursor:pointer;grid-column:1/-1;width:100%;box-sizing:border-box}
.photo-field:hover{border-color:#1B6751;background:#e8f5ed}
.photo-field canvas{width:88px;height:88px;object-fit:contain;border:1px solid #D4E0DA;border-radius:12px;background:#fff;flex:none}
.photo-field canvas[hidden],.photo-field-empty[hidden]{display:none}
.photo-field-empty{width:88px;height:88px;display:grid;place-items:center;font-size:30px;border-radius:12px;background:#fff;border:1px solid #D4E0DA;flex:none}
.photo-field-text{display:flex;flex-direction:column;gap:2px}.photo-field-text small{color:#506970;font-weight:400}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.photo-field{min-height:114px;height:auto!important;margin-bottom:14px!important}.photo-field canvas{display:block;flex:none;margin:0}
/* Arrastar e soltar arquivos (gestor 01/11/2026) */
.drop-zone{position:relative;transition:outline-color .15s,background-color .15s}
body.dragging-files .drop-zone{outline:2px dashed #9fc7b4;outline-offset:4px;border-radius:12px}
.drop-zone.drop-over{outline:2.5px solid #1B6751!important;outline-offset:4px;background-color:#e8f5ed!important}
.drop-zone.drop-over::after{content:"Solte aqui";position:absolute;right:10px;top:10px;z-index:5;background:#1B6751;color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;pointer-events:none}
.drop-hint{color:#506970;font-weight:400;font-size:12px}
.drop-note{margin:6px 0 0;font-size:13px;color:#1B6751;font-weight:600}.drop-note.error{color:#963A31}
@media (prefers-reduced-motion:reduce){.drop-zone{transition:none}}
/* Contagem de estoque */
.sc-intro p{margin:6px 0}.sc-areas{margin:14px 0 10px}
#sc-search{margin-bottom:14px}
.sc-list{display:flex;flex-direction:column;gap:10px;padding-bottom:90px}
.sc-item{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:14px;align-items:start;padding:12px;border:1px solid #D4E0DA;border-radius:14px;background:#fff}
.sc-prod{display:flex;gap:10px;align-items:center}.sc-prod img{width:52px;height:52px;object-fit:contain;flex:none}.sc-prod div{display:flex;flex-direction:column}.sc-prod small{color:#506970}
.sc-lots{display:flex;flex-direction:column;gap:8px}
.sc-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.sc-row label{margin:0;font-size:12px;gap:4px}.sc-row input{height:40px}.sc-row input[data-f=units]{width:90px}.sc-row input[data-f=lot]{width:150px}
.sc-row select{width:auto;max-width:230px;height:40px;margin:0}.sc-pack{font-size:13px;color:#506970;padding-bottom:10px}
.sc-sum{font-weight:700;color:#1B6751;padding-bottom:10px;min-width:70px}
.sc-more{align-self:flex-start;min-height:0;padding:5px 12px;font-size:13px;border-radius:999px;background:#fff;color:#1B6751;border:1px dashed #1B6751}
.sc-bar{position:sticky;bottom:34px;z-index:20;display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:12px 16px;margin-top:-80px;border:1px solid #D4E0DA;border-radius:14px;background:#fffffff2;box-shadow:0 -4px 18px #103d4014}
.sc-bar span{margin-right:auto;font-weight:600}
@media (max-width:760px){.sc-item{grid-template-columns:1fr}}
.pc-min-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:6px 0 10px}.pc-min-form label{margin:0;font-size:12px}.pc-min-form input{width:90px;height:38px}.pc-min-form span{font-size:13px;color:#506970;padding-bottom:10px}.pc-min-form button{min-height:38px;padding:6px 12px}
/* Visão geral do estoque */
.so-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:12px 0 16px}
.so-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:16px;border-radius:14px;border:1px solid #D4E0DA;background:#fff;color:#183D42;min-height:0;cursor:pointer;transition:transform .15s,box-shadow .15s}
.so-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #103d4014}
.so-card span{font-size:14px;font-weight:600}.so-card b{font-size:30px;line-height:1.1}.so-card small{font-size:12px;color:#506970}
.so-card.red b{color:#963A31}.so-card.amber b{color:#805019}.so-card.blue b{color:#1d4f7a}.so-card.green b{color:#1B6751}
.so-card.red{border-left:4px solid #c0392b}.so-card.amber{border-left:4px solid #d9962b}.so-card.blue{border-left:4px solid #3a78b5}.so-card.green{border-left:4px solid #1B6751}
.so-card.calm b{color:#9aa9ac}.so-card.active{outline:2.5px solid #183D42;outline-offset:2px}
.so-head{display:flex;justify-content:space-between;align-items:center}.so-head h2{margin:0}
.so-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.so-list li{display:flex;align-items:center;gap:12px;padding:8px 10px;border:1px solid #EEF2F1;border-radius:12px}
.so-list li img{width:42px;height:42px;object-fit:contain;flex:none}.so-ico{width:42px;text-align:center;font-size:24px;flex:none}
.so-list li>span:not(.so-ico){display:flex;flex-direction:column;flex:1;min-width:0}.so-list small{color:#506970}
.so-list button{min-height:36px;padding:6px 12px;white-space:nowrap}.so-ok{justify-content:center;color:#1B6751;font-weight:600}
.so-areas{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:10px}
.so-area{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:12px;border:1px solid #D4E0DA;border-radius:12px;background:#fff;color:#183D42;min-height:0}
.so-area span{font-size:24px}.so-area small{color:#506970}
@media (max-width:640px){.so-list li{flex-wrap:wrap}.so-list li>span:not(.so-ico){flex-basis:calc(100% - 60px)}}
@media (prefers-reduced-motion:reduce){.so-card{transition:none}}
/* Estoque Móvel */
.ms-req .pu-line{align-items:flex-start}.ms-state{margin-left:auto;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap}
.ms-state.wait{background:#fdf1e3;color:#805019}.ms-state.ok{background:#e8f5ed;color:#1B6751}.ms-state.buy{background:#e9f0fb;color:#1d4f7a}.ms-state.done{background:#EEF2F1;color:#506970}
.ms-req.wait{border-left:4px solid #d9962b}.ms-have{color:#1B6751;font-weight:600}
.ms-cars{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:14px}
.ms-car-head{display:flex;align-items:center;gap:12px}.ms-car-head h2{margin:0}.ms-car-head small{color:#506970}.ms-car-head button{margin-left:auto}
.ms-car-ico{font-size:30px}
.ms-lots{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.ms-lots li{display:flex;align-items:center;gap:10px;padding:6px 8px;border:1px solid #EEF2F1;border-radius:10px}.ms-lots img{width:36px;height:36px;object-fit:contain}
.ms-lots span{display:flex;flex-direction:column;flex:1}.ms-lots small{color:#506970}
@media (max-width:640px){.ms-cars{grid-template-columns:1fr}}
.ms-req .pu-line>div{flex:1;min-width:0}.ms-req .pu-line{flex-wrap:wrap}.ms-req .ms-state{order:-1;margin:0 0 4px;flex-basis:100%;width:max-content;max-width:max-content}
.sc-title{margin:0 0 10px}.sc-add{margin-bottom:10px}
.sc-lot{min-width:200px;padding-bottom:10px;font-size:13px}.sc-sys{color:#506970;font-size:13px;padding-bottom:10px;min-width:90px}
.sc-row input[data-sc-lot]{width:90px;height:40px}.sc-diff{background:#fff8ec;border-radius:10px;padding:4px 6px}.sc-diff .sc-sum{color:#805019}
.pc-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.pc-quick-btn{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:14px;border:1px solid #D4E0DA;background:#fff;color:#183D42;min-height:0;font-weight:600}
.pc-quick-btn b{font-size:24px}.pc-quick-btn.tenho b{color:#1B6751}.pc-quick-btn.acabou b{color:#963A31}.pc-quick-btn.catalogo b{color:#506970}
.pc-quick-btn.active{outline:2.5px solid #183D42;outline-offset:2px}
.pc-area-count span{display:block}
body main .pc-stock-chips button.pc-chip.active{background:#1B6751;border-color:#1B6751;color:#fff}
@media (max-width:640px){.pc-quick{grid-template-columns:1fr}}
.pc-chip.active small{color:#fff;opacity:.85}.sc-lot{display:flex;flex-direction:column}.sc-lot small{color:#506970}
/* EPIs */
.ep-items li img{width:44px;height:44px;object-fit:contain;flex:none}.ep-items li>span{flex:1}.ep-items li{gap:12px}
.ep-blocked{opacity:.7}.ep-ca{font-weight:600}.ep-ca.ok{color:#1B6751}.ep-ca.wait{color:#805019}.ep-ca.bad{color:#963A31}
.ep-history{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:6px}.ep-history li{display:flex;flex-direction:column;padding:6px 8px;border:1px solid #EEF2F1;border-radius:10px}.ep-history small{color:#506970}
/* Matriz técnica */
.mx-list{display:flex;flex-direction:column;gap:12px}
.mx-head{display:flex;align-items:center;gap:12px}.mx-head img{width:52px;height:52px;object-fit:contain}.mx-head h2{margin:0;font-size:18px}.mx-head small{color:#506970}.mx-head button{margin-left:auto}
.mx-rules{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.mx-rules li{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(200px,1.4fr) auto auto;gap:12px;align-items:center;padding:8px 10px;border:1px solid #EEF2F1;border-radius:10px}
.mx-pests{display:flex;flex-wrap:wrap;gap:4px}.mx-dose{display:flex;flex-direction:column}.mx-dose small{color:#506970}
#mx-pending.active{background:#805019;color:#fff;border-color:#805019}
@media (max-width:760px){.mx-rules li{grid-template-columns:1fr}}
.ep-items li>span{display:flex;flex-direction:column;gap:2px}
.pc-min-form select{width:auto;height:38px}.pc-min-help{font-size:12px;margin:0 0 8px}
.pu-suggest{border:1px solid #f0d9b5;background:#fffaf1;border-radius:12px;padding:10px 12px;margin:12px 0}.pu-suggest .pu-options{max-height:220px}
.ms-missing{margin:10px 0 0;font-size:13px;color:#805019;font-weight:600}.ms-lots .ms-state{margin-left:6px}
.areas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;margin:12px 0}
.areas-opt{flex-direction:row!important;align-items:center;gap:8px;margin:0!important;padding:10px 12px;border:1px solid #D4E0DA;border-radius:10px;background:#fff;font-weight:600}.areas-opt input{width:auto;height:auto}
/* Recebimento em lote */
.pu-recv-list{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.pu-recv-list li{display:grid;grid-template-columns:auto 48px minmax(180px,1fr) 2.4fr;gap:12px;align-items:center;padding:10px 12px;border:1px solid #D4E0DA;border-radius:12px;background:#fff}
.pu-recv-list li.on{border-color:#1B6751;background:#f3faf6}
.pu-recv-list img{width:48px;height:48px;object-fit:contain}.pu-recv-name{display:flex;flex-direction:column}.pu-recv-name small{color:#506970}
.pu-recv-check{margin:0!important}.pu-recv-check input{width:22px;height:22px}
.pu-recv-fields{display:grid;grid-template-columns:110px 1fr 150px 1fr;gap:8px}.pu-recv-fields label{margin:0;font-size:12px;gap:4px}.pu-recv-fields input{height:38px}
@media (max-width:900px){.pu-recv-list li{grid-template-columns:auto 48px 1fr}.pu-recv-fields{grid-column:1/-1;grid-template-columns:1fr 1fr}}
