/* Estoque Operacional — ControlPDV */
.stock-kpis035{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.stock-kpis035 .kpi{min-width:0}.stock-kpis035 .sub{font-size:10px;color:var(--muted,#66788a);margin-top:3px}.stock-value035{font-size:22px!important}
.stock-kpi-danger035 .value{color:#a62d2d}.stock-kpi-warn035 .value{color:#9a6900}.stock-kpi-attention035 .value{color:#176a7c}
.stock-toolbar035{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(0,2fr) auto;gap:12px;align-items:center;padding:10px 12px;margin-bottom:10px}
.stock-search035{position:relative}.stock-search035>span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-weight:900;color:var(--muted,#66788a)}.stock-search035 .input{padding-left:34px}
.stock-quick-filters035{display:flex;gap:5px;flex-wrap:wrap}.stock-quick-filters035 button{border:1px solid var(--aurora-line,var(--line));background:var(--panel,#fff);color:var(--aurora-steel,#163047);border-radius:999px;padding:7px 10px;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.stock-quick-filters035 button.active{background:linear-gradient(115deg,#0b7892,#159bb4 48%,#2bb9a9);border-color:#1698ad;color:#fff}
.stock-toolbar-actions035{display:flex;align-items:center;gap:8px;white-space:nowrap}.stock-toolbar-actions035>span{font-size:10px;color:var(--muted,#66788a)}
.stock-advanced-filters035{display:grid;grid-template-columns:1fr 1.3fr .7fr .7fr .9fr auto;gap:9px;align-items:end;padding:11px 12px;margin-bottom:10px}.stock-advanced-filters035.hidden{display:none}.stock-advanced-filters035 .field{margin:0}
.stock-main-table035 tbody tr{cursor:pointer}.stock-main-table035 tbody tr:hover{background:#eef8fb}.stock-main-table035 td small{display:block;margin-top:2px}
.stock-statuses035{display:flex;gap:4px;flex-wrap:wrap}.stock-statuses035 .badge{font-size:8px;white-space:nowrap}
.stock-coverage035,.stock-expiry035{display:flex;flex-direction:column;gap:2px}.stock-coverage035 strong,.stock-expiry035 strong{color:var(--aurora-steel,#163047);font-size:11px}.stock-coverage035 small,.stock-expiry035 small{font-size:8px;color:var(--muted,#66788a)}.stock-coverage035.danger strong,.stock-expiry035.danger strong{color:#a62d2d}.stock-coverage035.warn strong,.stock-expiry035.warn strong{color:#9a6900}.stock-coverage035.ok strong{color:#08794c}.stock-expiry035.attention strong{color:#176a7c}
.stock-secondary035{margin-top:14px}.stock-orders035{margin-top:14px}.stock-orders-head035{display:flex;align-items:center;justify-content:space-between;gap:12px}.stock-orders-head035>div{display:flex;flex-direction:column;gap:2px}
.stock-drawer-back035{position:fixed;inset:0;z-index:1400;background:rgba(7,23,37,.28);display:flex;justify-content:flex-end}.stock-drawer035{width:min(650px,92vw);height:100%;background:var(--panel,#fff);box-shadow:-20px 0 60px rgba(7,23,37,.22);display:grid;grid-template-rows:auto minmax(0,1fr);animation:stockDrawerIn035 .16s ease-out}.stock-drawer035>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 20px;border-bottom:1px solid var(--aurora-line,var(--line))}.stock-drawer035>header>div{display:flex;flex-direction:column;gap:2px}.stock-drawer035>header span{font-size:8px;font-weight:950;letter-spacing:.08em;color:var(--muted,#66788a)}.stock-drawer035>header h2{margin:0;color:var(--aurora-steel,#163047);font-size:22px}.stock-drawer035>header small{color:var(--muted,#66788a)}
.stock-drawer-body035{overflow:auto;padding:16px;display:grid;gap:11px;background:var(--panel2,#f6fafc)}.stock-drawer-kpis035{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.stock-drawer-kpis035>div{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--aurora-line,var(--line));border-radius:11px;background:var(--panel,#fff)}.stock-drawer-kpis035 span{font-size:8px;font-weight:900;text-transform:uppercase;color:var(--muted,#66788a)}.stock-drawer-kpis035 strong{color:var(--aurora-steel,#163047)}
.stock-drawer-card035{border:1px solid var(--aurora-line,var(--line));border-radius:12px;background:var(--panel,#fff);overflow:hidden}.stock-drawer-title035{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--aurora-line,var(--line))}.stock-drawer-title035 strong{color:var(--aurora-steel,#163047)}.stock-drawer-grid035{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:10px}.stock-drawer-grid035>span{display:flex;flex-direction:column;gap:2px;padding:8px;border-radius:9px;background:var(--panel2,#f6fafc)}.stock-drawer-grid035 small{font-size:8px;font-weight:900;text-transform:uppercase;color:var(--muted,#66788a)}.stock-drawer-grid035 strong{color:var(--aurora-steel,#163047)}
.stock-order-mini035{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;border-top:1px solid var(--aurora-line,var(--line))}.stock-order-mini035:first-of-type{border-top:0}.stock-order-mini035 span{font-size:10px;color:var(--muted,#66788a)}
@keyframes stockDrawerIn035{from{transform:translateX(24px);opacity:.65}to{transform:none;opacity:1}}
html[data-cp-theme="dark"] .stock-main-table035 tbody tr:hover,html[data-theme="dark"] .stock-main-table035 tbody tr:hover{background:#14344b}
html[data-cp-theme="dark"] .stock-drawer035,html[data-theme="dark"] .stock-drawer035{background:#0c2131}
html[data-cp-theme="dark"] .stock-drawer-body035,html[data-theme="dark"] .stock-drawer-body035{background:#0a1d2c}
html[data-cp-theme="dark"] .stock-drawer-kpis035>div,html[data-cp-theme="dark"] .stock-drawer-card035,html[data-cp-theme="dark"] .stock-drawer-grid035>span,html[data-theme="dark"] .stock-drawer-kpis035>div,html[data-theme="dark"] .stock-drawer-card035,html[data-theme="dark"] .stock-drawer-grid035>span{background:#102a3d;border-color:#315269}
html[data-cp-theme="dark"] .stock-drawer035 h2,html[data-cp-theme="dark"] .stock-drawer-kpis035 strong,html[data-cp-theme="dark"] .stock-drawer-title035 strong,html[data-cp-theme="dark"] .stock-drawer-grid035 strong,html[data-theme="dark"] .stock-drawer035 h2,html[data-theme="dark"] .stock-drawer-kpis035 strong,html[data-theme="dark"] .stock-drawer-title035 strong,html[data-theme="dark"] .stock-drawer-grid035 strong{color:#f4fbff}
@media(max-width:1300px){.stock-kpis035{grid-template-columns:repeat(3,1fr)}.stock-toolbar035{grid-template-columns:1fr}.stock-toolbar-actions035{justify-content:flex-end}.stock-advanced-filters035{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.stock-kpis035{grid-template-columns:repeat(2,1fr)}.stock-advanced-filters035{grid-template-columns:1fr 1fr}.stock-drawer-kpis035{grid-template-columns:1fr 1fr}.stock-secondary035{grid-template-columns:1fr}.stock-orders-head035{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.stock-kpis035,.stock-advanced-filters035,.stock-drawer-grid035{grid-template-columns:1fr}.stock-drawer035{width:100vw}.stock-quick-filters035{overflow-x:auto;flex-wrap:nowrap}.stock-quick-filters035 button{flex:0 0 auto}}


/* Estoque alinhado visualmente ao workspace de Produto */
body.stock-operational-mode035 .content{
  background:linear-gradient(180deg,var(--panel,#fff),var(--panel2,#f6fafc));
}
body.stock-operational-mode035 .page-head h1{color:var(--aurora-steel,#163047)}
body.stock-operational-mode035 .page-head p{color:var(--muted,#66788a)}
body.stock-operational-mode035 .stock-kpis035 .card,
body.stock-operational-mode035 .stock-toolbar035,
body.stock-operational-mode035 .stock-advanced-filters035,
body.stock-operational-mode035 .stock-main-table035,
body.stock-operational-mode035 .stock-secondary035>.card,
body.stock-operational-mode035 .stock-orders035{
  background:var(--panel,#fff);
  border-color:var(--aurora-line,var(--line));
}
body.stock-operational-mode035 .stock-main-table035 thead,
body.stock-operational-mode035 .stock-secondary035 thead,
body.stock-operational-mode035 .stock-orders035 thead{
  background:var(--panel2,#f6fafc);
}
body.stock-operational-mode035 .stock-main-table035 tbody tr,
body.stock-operational-mode035 .stock-secondary035 tbody tr,
body.stock-operational-mode035 .stock-orders035 tbody tr{
  border-color:var(--aurora-line,var(--line));
}
body.stock-operational-mode035 .stock-toolbar035,
body.stock-operational-mode035 .stock-advanced-filters035{
  box-shadow:none;
}
body.stock-operational-mode035 .stock-main-table035{
  overflow:hidden;
}
body.stock-operational-mode035 .stock-kpis035 .value,
body.stock-operational-mode035 .stock-orders-head035 strong,
body.stock-operational-mode035 .stock-secondary035 .card-pad strong{
  color:var(--aurora-steel,#163047);
}

/* Pedido de reposição — mesmo porte e linguagem visual do cadastro de Produto */
.stock-order-editor-back035{padding:14px}
.stock-order-editor-modal035{
  width:min(1180px,calc(100vw - 28px))!important;
  height:min(920px,calc(100vh - 28px));
  max-height:none!important;
  overflow:hidden!important;
  padding:0!important;
  border-radius:20px!important;
  background:var(--panel,#fff)!important;
}
.stock-order-editor-shell035{
  height:100%;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
}
.stock-order-editor-head035{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 26px 16px;
  border-bottom:1px solid var(--aurora-line,var(--line));
  background:var(--panel,#fff);
}
.stock-order-editor-head035>div{min-width:0}
.stock-order-editor-kicker035{
  display:block;
  margin-bottom:4px;
  font-size:9px;
  font-weight:950;
  letter-spacing:.10em;
  color:var(--muted,#66788a);
}
.stock-order-editor-head035 h2{
  margin:0;
  font-size:28px;
  line-height:1.1;
  color:var(--aurora-steel,#163047);
}
.stock-order-editor-head035 p{
  margin:7px 0 0;
  color:var(--muted,#66788a);
  font-size:12px;
  line-height:1.45;
}
.stock-order-editor-mode035{flex:0 0 auto}
.stock-order-editor-body035{
  overflow:auto;
  padding:22px 26px 28px;
  background:linear-gradient(180deg,var(--panel,#fff),var(--panel2,#f6fafc));
}
.stock-order-meta035{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 16px;
  margin-bottom:16px;
}
.stock-order-meta035 .input{min-height:48px}
.stock-order-products035{
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  gap:10px;
  min-height:0;
}
.stock-order-products-head035{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.stock-order-products-head035>div{display:flex;flex-direction:column;gap:3px}
.stock-order-products-head035 strong{font-size:15px;color:var(--aurora-steel,#163047)}
.stock-order-products-head035 span{font-size:11px;color:var(--muted,#66788a)}
.stock-order-suggested035{
  border-radius:999px;
  padding:6px 9px;
  background:#fff2d2;
  color:#8b6200!important;
  font-size:9px!important;
  font-weight:950;
  white-space:nowrap;
}
.stock-order-search035{position:relative}
.stock-order-search035>span{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted,#66788a);
  font-weight:900;
}
.stock-order-search035 .input{
  min-height:48px;
  padding-left:36px;
}
.stock-order-items-wrap035{
  max-height:none;
  height:100%;
  min-height:360px;
  overflow:auto;
  margin-top:0;
  border:1px solid var(--aurora-line,var(--line));
  border-radius:14px;
  background:var(--panel,#fff);
}
.stock-order-table035{
  margin:0;
}
.stock-order-table035 thead{
  position:sticky;
  top:0;
  z-index:2;
  background:var(--panel2,#f6fafc);
}
.stock-order-table035 th{
  color:var(--muted,#66788a);
  font-size:9px;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.stock-order-table035 td{
  vertical-align:middle;
}
.stock-order-table035 td strong{color:var(--aurora-steel,#163047)}
.stock-order-table035 td small{display:block;margin-top:3px}
.stock-order-table035 [data-order-qty035]{
  min-width:120px;
}
.stock-order-editor-foot035{
  margin:0!important;
  padding:14px 26px;
  border-top:1px solid var(--aurora-line,var(--line));
  background:var(--panel,#fff);
  align-items:center;
  justify-content:space-between;
}
.stock-order-editor-summary035{
  display:flex;
  gap:22px;
  align-items:center;
}
.stock-order-editor-summary035 span{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.stock-order-editor-summary035 small{
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  color:var(--muted,#66788a);
}
.stock-order-editor-summary035 strong{
  font-size:15px;
  color:var(--aurora-steel,#163047);
}
.stock-order-editor-actions035{display:flex;gap:9px}
.stock-order-editor-actions035 .btn{min-height:44px}

/* Tema escuro com o mesmo contraste do cadastro */
html[data-cp-theme="dark"] body.stock-operational-mode035 .content,
html[data-theme="dark"] body.stock-operational-mode035 .content{
  background:linear-gradient(180deg,#0c2131,#0a1d2c);
}
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-kpis035 .card,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-toolbar035,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-advanced-filters035,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-main-table035,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-secondary035>.card,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-orders035,
html[data-theme="dark"] body.stock-operational-mode035 .stock-kpis035 .card,
html[data-theme="dark"] body.stock-operational-mode035 .stock-toolbar035,
html[data-theme="dark"] body.stock-operational-mode035 .stock-advanced-filters035,
html[data-theme="dark"] body.stock-operational-mode035 .stock-main-table035,
html[data-theme="dark"] body.stock-operational-mode035 .stock-secondary035>.card,
html[data-theme="dark"] body.stock-operational-mode035 .stock-orders035{
  background:#0c2131;
  border-color:#315269;
}
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-main-table035 thead,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-secondary035 thead,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-orders035 thead,
html[data-theme="dark"] body.stock-operational-mode035 .stock-main-table035 thead,
html[data-theme="dark"] body.stock-operational-mode035 .stock-secondary035 thead,
html[data-theme="dark"] body.stock-operational-mode035 .stock-orders035 thead{
  background:#0a1d2c;
}
html[data-cp-theme="dark"] body.stock-operational-mode035 .page-head h1,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-kpis035 .value,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-orders-head035 strong,
html[data-cp-theme="dark"] body.stock-operational-mode035 .stock-secondary035 .card-pad strong,
html[data-theme="dark"] body.stock-operational-mode035 .page-head h1,
html[data-theme="dark"] body.stock-operational-mode035 .stock-kpis035 .value,
html[data-theme="dark"] body.stock-operational-mode035 .stock-orders-head035 strong,
html[data-theme="dark"] body.stock-operational-mode035 .stock-secondary035 .card-pad strong{
  color:#f4fbff;
}
html[data-cp-theme="dark"] .stock-order-editor-modal035,
html[data-cp-theme="dark"] .stock-order-editor-head035,
html[data-cp-theme="dark"] .stock-order-editor-foot035,
html[data-theme="dark"] .stock-order-editor-modal035,
html[data-theme="dark"] .stock-order-editor-head035,
html[data-theme="dark"] .stock-order-editor-foot035{
  background:#0c2131!important;
  border-color:#315269;
}
html[data-cp-theme="dark"] .stock-order-editor-body035,
html[data-theme="dark"] .stock-order-editor-body035{
  background:linear-gradient(180deg,#0c2131,#0a1d2c);
}
html[data-cp-theme="dark"] .stock-order-items-wrap035,
html[data-theme="dark"] .stock-order-items-wrap035{
  background:#102a3d;
  border-color:#315269;
}
html[data-cp-theme="dark"] .stock-order-table035 thead,
html[data-theme="dark"] .stock-order-table035 thead{
  background:#0a1d2c;
}
html[data-cp-theme="dark"] .stock-order-editor-head035 h2,
html[data-cp-theme="dark"] .stock-order-products-head035 strong,
html[data-cp-theme="dark"] .stock-order-table035 td strong,
html[data-cp-theme="dark"] .stock-order-editor-summary035 strong,
html[data-theme="dark"] .stock-order-editor-head035 h2,
html[data-theme="dark"] .stock-order-products-head035 strong,
html[data-theme="dark"] .stock-order-table035 td strong,
html[data-theme="dark"] .stock-order-editor-summary035 strong{
  color:#f4fbff;
}
html[data-cp-theme="dark"] .stock-order-editor-head035 p,
html[data-cp-theme="dark"] .stock-order-editor-kicker035,
html[data-cp-theme="dark"] .stock-order-products-head035 span,
html[data-cp-theme="dark"] .stock-order-editor-summary035 small,
html[data-theme="dark"] .stock-order-editor-head035 p,
html[data-theme="dark"] .stock-order-editor-kicker035,
html[data-theme="dark"] .stock-order-products-head035 span,
html[data-theme="dark"] .stock-order-editor-summary035 small{
  color:#b9cbd7;
}

@media(max-width:820px){
  .stock-order-editor-back035{padding:0}
  .stock-order-editor-modal035{width:100vw!important;height:100vh;border-radius:0!important}
  .stock-order-editor-head035{padding:16px 16px 12px}
  .stock-order-editor-head035 h2{font-size:23px}
  .stock-order-editor-mode035{display:none}
  .stock-order-editor-body035{padding:16px}
  .stock-order-meta035{grid-template-columns:1fr}
  .stock-order-items-wrap035{min-height:320px}
  .stock-order-editor-foot035{padding:11px 16px;gap:12px}
}
@media(max-width:620px){
  .stock-order-editor-foot035{align-items:stretch;flex-direction:column}
  .stock-order-editor-summary035{justify-content:space-between}
  .stock-order-editor-actions035{width:100%}
  .stock-order-editor-actions035 .btn{flex:1}
}


/* Pedido conectado a Fornecedor / Caixaria / Cobertura */
.stock-order-meta-procurement035{grid-template-columns:1.15fr 1.05fr .7fr 1.2fr}
.stock-order-toolbar-proc035{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;align-items:center}
.stock-order-toolbar-proc035>label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;font-weight:800;color:var(--aurora-steel,#163047)}
.stock-order-purchase035{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:6px;align-items:center}.stock-order-purchase035 small{font-size:9px;font-weight:900;color:var(--muted,#66788a)}
.stock-order-table035 td>small{display:block;margin-top:3px}
.stock-order-table035 td:nth-child(5){min-width:150px}
.stock-order-editor-summary035{flex-wrap:wrap}
html[data-cp-theme="dark"] .stock-order-toolbar-proc035>label,html[data-theme="dark"] .stock-order-toolbar-proc035>label{color:#f4fbff}
@media(max-width:1050px){.stock-order-meta-procurement035{grid-template-columns:1fr 1fr}.stock-order-toolbar-proc035{grid-template-columns:1fr 1fr}.stock-order-toolbar-proc035 .stock-order-search035{grid-column:1/-1}}
@media(max-width:680px){.stock-order-meta-procurement035,.stock-order-toolbar-proc035{grid-template-columns:1fr}.stock-order-toolbar-proc035 .stock-order-search035{grid-column:auto}}


/* Pedido / recebimento conectados ao núcleo de compras */
.purchase-order-detail035{display:grid;gap:14px;min-width:min(920px,82vw)}
.purchase-order-detail-head035{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.purchase-order-detail-head035>div{display:flex;flex-direction:column;gap:3px}.purchase-order-detail-head035>div>span{font-size:8px;font-weight:950;letter-spacing:.09em;color:var(--muted,#66788a)}.purchase-order-detail-head035 h2{margin:0;color:var(--aurora-steel,#163047);font-size:25px}.purchase-order-detail-head035 p{margin:0;color:var(--muted,#66788a);font-size:11px}
.purchase-order-detail-kpis035{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.purchase-order-detail-kpis035>span{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--aurora-line,var(--line));border-radius:11px;background:var(--panel2,#f6fafc)}.purchase-order-detail-kpis035 small{font-size:8px;font-weight:900;text-transform:uppercase;color:var(--muted,#66788a)}.purchase-order-detail-kpis035 strong{color:var(--aurora-steel,#163047)}
.purchase-order-detail-table035{max-height:54vh;overflow:auto;border:1px solid var(--aurora-line,var(--line));border-radius:12px}.purchase-order-detail-table035 thead{position:sticky;top:0;z-index:2;background:var(--panel2,#f6fafc)}
.purchase-order-history035{border:1px solid var(--aurora-line,var(--line));border-radius:12px;background:var(--panel,#fff);overflow:hidden}.purchase-order-history-head035{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--aurora-line,var(--line))}.purchase-order-history-head035 strong{color:var(--aurora-steel,#163047)}.purchase-order-history-head035 small{font-size:9px;color:var(--muted,#66788a)}.purchase-order-history-list035{display:grid;max-height:220px;overflow:auto}.purchase-order-history-list035 article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:start;padding:10px 12px;border-bottom:1px solid var(--aurora-line,var(--line))}.purchase-order-history-list035 article:last-child{border-bottom:0}.purchase-order-history-dot035{width:8px;height:8px;border-radius:999px;background:var(--aurora-cyan,#22d3ee);margin-top:5px}.purchase-order-history-list035 article>div{display:flex;flex-direction:column;gap:2px}.purchase-order-history-list035 article strong{font-size:11px;color:var(--aurora-steel,#163047)}.purchase-order-history-list035 article small,.purchase-order-history-list035 time{font-size:9px;color:var(--muted,#66788a)}.purchase-order-history-list035 article p{margin:2px 0 0;font-size:10px;color:var(--text,#24394a)}.purchase-order-history-list035 time{text-align:right;white-space:nowrap}.purchase-order-history-empty035{padding:12px}
.purchase-order-detail-actions035{margin-top:0!important}.purchase-order-detail-actions035 .danger{color:#a62d2d}
.purchase-receipt-back035{padding:14px}.purchase-receipt-modal035{width:min(1240px,calc(100vw - 28px))!important;max-height:calc(100vh - 28px)!important;padding:20px!important}.purchase-receipt-shell035{display:grid;gap:13px}.purchase-receipt-invoice035{display:grid;grid-template-columns:.8fr .45fr 1.45fr;gap:10px}.purchase-receipt-invoice035 label b{color:#a62d2d;font-size:8px;text-transform:uppercase}.purchase-receipt-summary035{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:8px}.purchase-receipt-summary035>span{display:flex;flex-direction:column;gap:3px;padding:9px 11px;border:1px solid var(--aurora-line,var(--line));border-radius:10px;background:var(--panel2,#f6fafc)}.purchase-receipt-summary035 small{font-size:8px;font-weight:900;text-transform:uppercase;color:var(--muted,#66788a)}.purchase-receipt-summary035 strong{color:var(--aurora-steel,#163047)}.purchase-receipt-items035{display:grid;gap:8px;max-height:54vh;overflow:auto;padding-right:3px}
.purchase-receipt-item035{display:grid;grid-template-columns:minmax(250px,1.35fr) repeat(3,minmax(120px,.68fr)) minmax(132px,.75fr) minmax(132px,.75fr);gap:9px;align-items:end;padding:11px;border:1px solid var(--aurora-line,var(--line));border-radius:12px;background:var(--panel2,#f6fafc);transition:border-color .15s ease,box-shadow .15s ease}.purchase-receipt-item035.has-divergence035{border-color:#d69a2d;box-shadow:0 0 0 1px rgba(214,154,45,.16)}.purchase-receipt-product035{display:flex;flex-direction:column;gap:3px;align-self:center}.purchase-receipt-product035 strong{color:var(--aurora-steel,#163047)}.purchase-receipt-product035 span{font-size:10px;color:var(--muted,#66788a)}.purchase-receipt-product035 em{font-size:9px;font-style:normal;font-weight:800;color:#497086}.purchase-receipt-item035.has-divergence035 .purchase-receipt-product035 em{color:#9a6200}.purchase-receipt-item035 label b{color:#a62d2d;font-size:8px;text-transform:uppercase}
html[data-cp-theme="dark"] .purchase-order-detail-head035 h2,html[data-cp-theme="dark"] .purchase-order-detail-kpis035 strong,html[data-cp-theme="dark"] .purchase-receipt-product035 strong,html[data-cp-theme="dark"] .purchase-receipt-summary035 strong,html[data-theme="dark"] .purchase-order-detail-head035 h2,html[data-theme="dark"] .purchase-order-detail-kpis035 strong,html[data-theme="dark"] .purchase-receipt-product035 strong,html[data-theme="dark"] .purchase-receipt-summary035 strong{color:#f4fbff}
html[data-cp-theme="dark"] .purchase-order-detail-kpis035>span,html[data-cp-theme="dark"] .purchase-receipt-item035,html[data-cp-theme="dark"] .purchase-receipt-summary035>span,html[data-cp-theme="dark"] .purchase-order-history035,html[data-theme="dark"] .purchase-order-detail-kpis035>span,html[data-theme="dark"] .purchase-receipt-item035,html[data-theme="dark"] .purchase-receipt-summary035>span,html[data-theme="dark"] .purchase-order-history035{background:#102a3d;border-color:#315269}
html[data-cp-theme="dark"] .purchase-receipt-item035.has-divergence035,html[data-theme="dark"] .purchase-receipt-item035.has-divergence035{border-color:#d7a94c;box-shadow:0 0 0 1px rgba(215,169,76,.2)}
html[data-cp-theme="dark"] .purchase-receipt-product035 em,html[data-theme="dark"] .purchase-receipt-product035 em{color:#b9cbd7}
html[data-cp-theme="dark"] .purchase-receipt-item035.has-divergence035 .purchase-receipt-product035 em,html[data-theme="dark"] .purchase-receipt-item035.has-divergence035 .purchase-receipt-product035 em{color:#ffd47c}
html[data-cp-theme="dark"] .purchase-order-history-head035,html[data-cp-theme="dark"] .purchase-order-history-list035 article,html[data-theme="dark"] .purchase-order-history-head035,html[data-theme="dark"] .purchase-order-history-list035 article{border-color:#315269}
html[data-cp-theme="dark"] .purchase-order-history-head035 strong,html[data-cp-theme="dark"] .purchase-order-history-list035 article strong,html[data-theme="dark"] .purchase-order-history-head035 strong,html[data-theme="dark"] .purchase-order-history-list035 article strong{color:#f4fbff}
html[data-cp-theme="dark"] .purchase-order-history-list035 article p,html[data-theme="dark"] .purchase-order-history-list035 article p{color:#dbe8f0}
@media(max-width:1050px){.purchase-receipt-item035{grid-template-columns:1fr 1fr 1fr}.purchase-receipt-product035{grid-column:1/-1}.purchase-receipt-invoice035{grid-template-columns:1fr 1fr}.purchase-receipt-invoice035 .field:last-child{grid-column:1/-1}}
@media(max-width:900px){.purchase-order-detail035{min-width:0}.purchase-receipt-summary035{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.purchase-order-detail-kpis035,.purchase-receipt-item035,.purchase-receipt-invoice035,.purchase-receipt-summary035{grid-template-columns:1fr}.purchase-receipt-product035,.purchase-receipt-invoice035 .field:last-child{grid-column:auto}.purchase-receipt-back035{padding:0}.purchase-receipt-modal035{width:100vw!important;max-height:100vh!important;height:100vh;border-radius:0!important}}
