/* MarFlores Compras 0.0.644 — estrutura funcional V19 do fluxo de compra.
   A tela de compra continua neste arquivo; o modal Revisar e comprar, quando marcado
   com .mf-ta-purchase-review, tem autoridade visual exclusiva em marflores-tailadmin.css. */
#compras-purchase-root{
  --pv19-bg:#f9fafb;
  --pv19-surface:#fff;
  --pv19-line:#e4e7ec;
  --pv19-text:#101828;
  --pv19-muted:#667085;
  --pv19-muted-2:#98a2b3;
  --pv19-marsala:#b71955;
  --pv19-marsala-2:#c63c6f;
  --pv19-marsala-soft:#fff1f5;
  --pv19-green:#2c8c61;
  --pv19-green-soft:#edf8f2;
  --pv19-blue:#5679d8;
  --pv19-blue-soft:#eef2fd;
  --pv19-gold:#d3a02f;
  --pv19-gold-soft:#fdf6e6;
  --pv491-enp:#FADB14;
  --pv491-lkp-received:#389E0D;
  --pv491-lkp-onsite:#13C2C2;
  --pv19-shadow-sm:0 1px 2px rgba(16,24,40,.05);
  --pv19-shadow-md:0 4px 8px -2px rgba(16,24,40,.08),0 2px 4px -2px rgba(16,24,40,.04);
  --pv19-font-ui:var(--mf-ta-font);
  --pv19-font-display:var(--mf-ta-font);
  --pv19-motion-fast:90ms;
  --pv19-motion-ui:240ms;
  --pv19-motion-page:360ms;
  --pv19-ease:cubic-bezier(.22,.74,.22,1);
  min-width:0;
  color:var(--pv19-text);
  font-family:var(--pv19-font-ui);
}
#compras-purchase-root *{box-sizing:border-box}
#compras-purchase-root button,
#compras-purchase-root input,
#compras-purchase-root select,
#compras-purchase-root textarea{font-family:var(--pv19-font-ui)}

/* Compatibilidade deliberada com o design system legado do módulo. */
#app-screen #view-compras-veiling #compras-purchase-root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea):where(:not(.mf-ta-purchase-review *)){
  min-height:40px!important;
  border:1px solid var(--pv19-line)!important;
  border-radius:8px!important;
  background:var(--pv19-surface)!important;
  color:var(--pv19-text)!important;
  box-shadow:none!important;
  font:400 13.5px/1.35 var(--pv19-font-ui)!important;
}
#app-screen #view-compras-veiling #compras-purchase-root :is(input,select,textarea):where(:not(.mf-ta-purchase-review *)):focus{
  border-color:#cfd4dc!important;
  box-shadow:none!important;
  outline:0!important;
}

#compras-purchase-root .purchase-shell{display:grid;gap:12px;min-width:0}
#compras-purchase-root .purchase-page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:0 1px 2px}
#compras-purchase-root .purchase-page-copy{min-width:0}
#compras-purchase-root .purchase-breadcrumb{display:inline-flex;align-items:center;gap:7px;color:var(--pv19-marsala);font-size:11.5px;font-weight:500}
#compras-purchase-root .purchase-breadcrumb-dot{width:7px;height:7px;border-radius:50%;background:var(--pv19-marsala);box-shadow:0 0 0 4px var(--pv19-marsala-soft);animation:pv19DotBreath 3.8s ease-in-out infinite 1.4s}
#compras-purchase-root .purchase-page-title{margin:5px 0 0;font-family:var(--pv19-font-display);font-size:30px;line-height:1.12;font-weight:600!important;letter-spacing:-.035em;color:var(--pv19-text)!important}
#compras-purchase-root .purchase-page-subtitle{margin:7px 0 0;max-width:760px;font-size:13.5px;line-height:1.55;color:var(--pv19-muted)}
#compras-purchase-root .purchase-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#compras-purchase-root .purchase-head-chip{height:40px;padding:0 14px;border-radius:8px;border:1px solid var(--pv19-line);background:#fff;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;color:#667085;box-shadow:var(--pv19-shadow-sm)}
#compras-purchase-root .purchase-head-chip.is-context{border-color:#eed7e0;color:var(--pv19-marsala);background:#fffafb}

/* Motion de entrada: somente o primeiro render da tela recebe .is-entering. */
#compras-purchase-root .purchase-shell.is-entering .purchase-page-head{animation:pv19Reveal .42s var(--pv19-ease) both}
#compras-purchase-root .purchase-shell.is-entering .purchase-setup{animation:pv19Reveal .46s var(--pv19-ease) both .05s}
#compras-purchase-root .purchase-shell.is-entering .purchase-v19-panel:nth-child(1){animation:pv19Reveal .50s var(--pv19-ease) both .10s}
#compras-purchase-root .purchase-shell.is-entering .purchase-v19-panel:nth-child(2){animation:pv19Reveal .50s var(--pv19-ease) both .15s}

#compras-purchase-root .purchase-setup{background:var(--pv19-surface);border:1px solid var(--pv19-line);border-radius:12px;box-shadow:var(--pv19-shadow-sm);padding:13px 14px;display:grid;grid-template-columns:minmax(270px,1.45fr) 168px auto minmax(220px,.9fr) auto;gap:10px;align-items:end}
#compras-purchase-root .purchase-setup label{display:grid;gap:5px;min-width:0}
#compras-purchase-root .purchase-setup label>span,
#compras-purchase-root .purchase-delivery-field>span{display:block;color:var(--pv19-muted);font-size:11.5px;font-weight:500;margin-bottom:5px}
#compras-purchase-root .purchase-setup select{width:100%;padding:0 11px}
#compras-purchase-root .purchase-delivery-field{min-width:0}
:is(#compras-purchase-root,.mf-separacao) .purchase-delivery-button{width:100%;height:40px;border:1px solid var(--pv19-line,var(--mf-ta-border,#d1d5db));border-radius:8px;background:#fff;color:#4f4f59;padding:0 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:500;transition:border-color var(--pv19-motion-ui,160ms) var(--pv19-ease,ease),box-shadow var(--pv19-motion-ui,160ms) var(--pv19-ease,ease),color var(--pv19-motion-ui,160ms) var(--pv19-ease,ease)}
:is(#compras-purchase-root,.mf-separacao) .purchase-delivery-button:hover{border-color:#e3c8d2;color:var(--pv19-marsala,var(--mf-ta-marsala,#a61e4d))}
:is(#compras-purchase-root,.mf-separacao) .purchase-delivery-button:focus-visible{outline:0;border-color:#e3c8d2;box-shadow:0 0 0 4px rgba(166,30,77,.05)}
#compras-purchase-root .purchase-setup-context{min-height:40px;display:grid;align-content:center;padding:0 3px;color:var(--pv19-muted);font-size:11.5px;line-height:1.4}
#compras-purchase-root .purchase-setup-context strong{display:block;color:#51515c;font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#compras-purchase-root .purchase-base-state{justify-self:end;align-self:center;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 10px;border-radius:999px;background:var(--pv19-green-soft);color:var(--pv19-green);font-size:11.5px;font-weight:500;white-space:nowrap}
#compras-purchase-root .purchase-base-state::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--pv19-green)}

#compras-purchase-root .pv19-primary:where(:not(.mf-ta-purchase-review *)),
#compras-purchase-root .pv19-secondary:where(:not(.mf-ta-purchase-review *)){height:40px;border-radius:8px;padding:0 14px;font-size:13px;font-weight:500;transition:transform var(--pv19-motion-fast) var(--pv19-ease),box-shadow var(--pv19-motion-ui) var(--pv19-ease),background var(--pv19-motion-ui) var(--pv19-ease),border-color var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .pv19-primary:where(:not(.mf-ta-purchase-review *)){border:1px solid var(--pv19-marsala);background:var(--pv19-marsala);color:#fff;box-shadow:var(--pv19-shadow-sm)}
#compras-purchase-root .pv19-primary:where(:not(.mf-ta-purchase-review *)):hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 22px rgba(166,30,77,.18)}
#compras-purchase-root .pv19-primary:where(:not(.mf-ta-purchase-review *)):active:not(:disabled){transform:translateY(0) scale(.988)}
#compras-purchase-root .pv19-secondary:where(:not(.mf-ta-purchase-review *)){border:1px solid var(--pv19-line);background:#fff;color:#666674}
#compras-purchase-root .pv19-secondary:where(:not(.mf-ta-purchase-review *)):hover:not(:disabled){background:#fafafb;border-color:#e7d3da;color:var(--pv19-marsala)}
#compras-purchase-root .pv19-primary:where(:not(.mf-ta-purchase-review *)):disabled,
#compras-purchase-root .pv19-secondary:where(:not(.mf-ta-purchase-review *)):disabled{opacity:.48;cursor:not-allowed;box-shadow:none}

#compras-purchase-root .purchase-inline-status{height:0;opacity:0;overflow:hidden;color:var(--pv19-marsala);font-size:11.5px;font-weight:500;transition:height var(--pv19-motion-ui) var(--pv19-ease),opacity var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-inline-status.is-visible{height:20px;opacity:1;padding-left:3px}

#compras-purchase-root .purchase-workspace-v19{display:grid;grid-template-columns:308px minmax(0,1fr);gap:12px;align-items:start;min-width:0}
#compras-purchase-root .purchase-workspace-v19.is-search-only{grid-template-columns:minmax(0,1fr)}
#compras-purchase-root .purchase-v19-panel{background:var(--pv19-surface);border:1px solid var(--pv19-line);border-radius:12px;box-shadow:var(--pv19-shadow-sm);overflow:hidden;min-width:0}
#compras-purchase-root .purchase-v19-panel-head{min-height:72px;padding:16px 17px 13px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root .purchase-v19-panel-head h2{margin:0;font-family:var(--pv19-font-display);font-size:18px;font-weight:600!important;letter-spacing:-.025em;color:var(--pv19-text)!important}
#compras-purchase-root .purchase-v19-panel-head p{margin:5px 0 0;font-size:12px;color:var(--pv19-muted);line-height:1.5}
#compras-purchase-root .purchase-v19-count{height:28px;min-width:28px;padding:0 9px;border-radius:999px;background:var(--pv19-marsala-soft);color:var(--pv19-marsala);display:grid;place-items:center;font-size:11.5px;font-weight:600}

#compras-purchase-root .purchase-need-list{max-height:660px;overflow:auto;padding:0}
#compras-purchase-root .purchase-need-card{position:relative;min-height:68px;padding:11px 13px 11px 16px;border:0;border-bottom:1px solid #f1f1f4;border-radius:0;background:#fff;display:grid;align-content:center;gap:6px;cursor:pointer;box-shadow:none;transition:background var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-need-card:hover{background:#fcfcfd;border-color:#f1f1f4;box-shadow:none}
#compras-purchase-root .purchase-need-card.is-active{background:#fffafb;border-color:#f1f1f4;box-shadow:none}
#compras-purchase-root .purchase-need-card.is-active::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:999px;background:var(--pv19-marsala)}
#compras-purchase-root .purchase-need-main{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
#compras-purchase-root .purchase-need-title strong{display:block;font-size:13.5px;line-height:1.35;color:#30303a;font-weight:500}
#compras-purchase-root .purchase-need-title small{display:block;color:var(--pv19-muted-2);margin-top:4px;font-size:11.5px;line-height:1.4}
#compras-purchase-root .purchase-need-qty{display:block;text-align:right}
#compras-purchase-root .purchase-need-qty span{display:none}
#compras-purchase-root .purchase-need-qty strong{font-family:var(--pv19-font-display);font-size:18px;color:var(--pv19-marsala);line-height:1;font-weight:600}
#compras-purchase-root .purchase-need-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
#compras-purchase-root .purchase-chip{height:22px;display:inline-flex;align-items:center;gap:5px;padding:0 7px;border-radius:999px;background:#f5f5f7;color:#747480;font-size:11px;font-weight:500}
#compras-purchase-root .purchase-chip.is-linked{background:var(--pv19-green-soft);color:var(--pv19-green)}
#compras-purchase-root .purchase-chip.is-ambiguous{background:var(--pv19-gold-soft);color:#9a6a0a}
#compras-purchase-root .purchase-chip.is-manual{background:var(--pv19-blue-soft);color:#4a66b5}

#compras-purchase-root .purchase-offer-top{padding:15px 17px 13px;border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root .purchase-origin-v19{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-height:28px;color:var(--pv19-muted);font-size:11.5px}
#compras-purchase-root .purchase-origin-v19 strong{font-family:var(--pv19-font-display);font-size:14.5px;color:var(--pv19-text);font-weight:600;letter-spacing:-.015em}
#compras-purchase-root .purchase-origin-gap{margin-left:auto;height:28px;padding:0 10px;border-radius:999px;background:var(--pv19-marsala-soft);color:var(--pv19-marsala);display:flex;align-items:center;font-size:11.5px;font-weight:500}
#compras-purchase-root .purchase-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
#compras-purchase-root .purchase-search-row input{width:100%;padding:0 12px}
#compras-purchase-root .purchase-filter-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:9px}
#compras-purchase-root .purchase-filter-pill{height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--pv19-line);background:#fff;color:#666674;font:500 11.5px/1 var(--pv19-font-ui)!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;vertical-align:middle;appearance:none;transition:transform var(--pv19-motion-ui) var(--pv19-ease),background var(--pv19-motion-ui) var(--pv19-ease),border-color var(--pv19-motion-ui) var(--pv19-ease),color var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-filter-pill:hover{transform:translateY(-1px);border-color:#e7d3da}
#compras-purchase-root .purchase-filter-pill.is-active{border-color:#eed7e0;background:var(--pv19-marsala-soft);color:var(--pv19-marsala)}
#compras-purchase-root .purchase-filter-chevron{width:11px;height:11px;display:grid;place-items:center;flex:0 0 11px;transition:transform var(--pv19-motion-ui) var(--pv19-ease);transform-origin:center}
#compras-purchase-root .purchase-filter-chevron svg{display:block;width:10px;height:7px}
#compras-purchase-root .purchase-more-filters.is-open .purchase-filter-chevron{transform:rotate(180deg)}
#compras-purchase-root .purchase-filter-grid{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 10px;margin-top:10px;padding:11px 12px 12px;border:1px solid var(--pv19-line);border-radius:12px;background:#fbfbfc;align-items:start}
#compras-purchase-root .purchase-filter-grid.is-open{display:grid}
#compras-purchase-root .purchase-filter-grid label{display:grid;grid-template-rows:14px 40px;gap:4px;min-width:0;align-content:start}
#compras-purchase-root .purchase-filter-grid label>span{display:flex;align-items:center;color:var(--pv19-muted);font-size:11.5px;line-height:14px;font-weight:500;margin:0}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-filter-grid input{width:100%;height:40px!important;min-height:40px!important;padding:0 10px!important;line-height:40px!important}
#compras-purchase-root .purchase-producer-filter{position:relative;z-index:8}
#compras-purchase-root .purchase-producer-filter-control{position:relative;min-width:0}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-producer-filter-control>input[type="search"]{padding-right:34px!important}
#compras-purchase-root .purchase-producer-filter-clear{position:absolute;z-index:2;top:50%;right:6px;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:#98a2b3;font:500 17px/1 var(--pv19-font-ui);cursor:pointer}
#compras-purchase-root .purchase-producer-filter-clear:hover{background:#f1f2f4;color:#475467}
#compras-purchase-root .purchase-producer-filter-menu{position:absolute;z-index:80;top:calc(100% + 5px);left:0;right:0;max-height:260px;overflow:auto;padding:5px;border:1px solid var(--pv19-line);border-radius:9px;background:#fff;box-shadow:0 12px 28px rgba(16,24,40,.14)}
#compras-purchase-root .purchase-producer-filter-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:0;border-radius:7px;background:#fff;text-align:left;cursor:pointer}
#compras-purchase-root .purchase-producer-filter-option:hover{background:#fff5f8}
#compras-purchase-root .purchase-producer-filter-option strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344054;font:500 12.5px/18px var(--pv19-font-ui)}
#compras-purchase-root .purchase-producer-filter-option span{flex:0 0 auto;color:#8a94a4;font:500 11px/16px var(--pv19-font-ui)}
#compras-purchase-root .purchase-producer-filter-state{padding:9px;color:#7d8798;font:400 11.5px/17px var(--pv19-font-ui)}
#compras-purchase-root .purchase-results-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 17px;background:#fbfbfc;border-bottom:1px solid var(--pv19-line);color:var(--pv19-muted);font-size:11.5px}
#compras-purchase-root .purchase-results-meta strong{color:#4b4b56}
#compras-purchase-root .purchase-offer-freshness{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;white-space:nowrap}
#compras-purchase-root .purchase-refresh-offers{height:28px;padding:0 10px;border:1px solid #e6d5db;border-radius:10px;background:#fff;color:var(--pv19-marsala);font-size:11.5px;font-weight:500;line-height:1;transition:background var(--pv19-motion-ui) var(--pv19-ease),border-color var(--pv19-motion-ui) var(--pv19-ease),transform var(--pv19-motion-fast) var(--pv19-ease)}
#compras-purchase-root .purchase-refresh-offers:hover:not(:disabled){background:var(--pv19-marsala-soft);border-color:#dec2cd;transform:translateY(-1px)}
#compras-purchase-root .purchase-refresh-offers:disabled{opacity:.55;cursor:wait}

/* Oferta V19 compacta: blocos contíguos, divisões claras e leitura próxima do portal. */
#compras-purchase-root .purchase-offer-list{display:block;max-height:610px;overflow:auto;background:#f6f6f8}
#compras-purchase-root .purchase-offer-card{display:grid;grid-template-columns:176px minmax(340px,1.52fr) minmax(184px,.62fr) minmax(310px,1fr) 142px;gap:0;min-height:156px;align-items:stretch;border:0;border-bottom:6px solid #f6f6f8;border-radius:0;background:#fff;box-shadow:inset 0 -1px #e8e8ec;transition:background var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-offer-card:hover{background:#fefcfd}
#compras-purchase-root .purchase-offer-image-wrap{display:grid;place-items:center;padding:8px;border-right:1px solid #e9e9ed;min-width:0;background:#fff}
#compras-purchase-root .purchase-offer-image-wrap img,
#compras-purchase-root .purchase-offer-image-placeholder{width:154px;height:126px;border-radius:8px;background:linear-gradient(180deg,#fafafa,#f2f2f4);object-fit:contain;display:grid;place-items:center;color:#b5a8ae;font-size:24px;border:1px solid #ececf0}
#compras-purchase-root .purchase-offer-image-placeholder[hidden]{display:none}
#compras-purchase-root .purchase-offer-image-wrap img[hidden]{display:none}
#compras-purchase-root .purchase-offer-image-button{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:9px}
#compras-purchase-root .purchase-offer-image-button:focus-visible{outline:2px solid rgba(183,25,85,.26);outline-offset:2px}
#compras-purchase-root .purchase-offer-image-button:hover img{transform:scale(1.025);box-shadow:0 4px 12px rgba(16,24,40,.10)}
#compras-purchase-root .purchase-offer-image-button img{transition:transform var(--pv19-motion-ui) var(--pv19-ease),box-shadow var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-offer-title{padding:11px 13px;border-right:1px solid #e9e9ed;min-width:0;display:grid;grid-template-rows:auto 1fr;gap:10px;align-content:start}
#compras-purchase-root .purchase-offer-title>strong{display:block;font-family:var(--pv19-font-display);font-size:15.5px;line-height:1.25;color:var(--pv19-text);font-weight:600;letter-spacing:-.016em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#compras-purchase-root .purchase-offer-title>small{display:block;margin-top:3px;color:#667085;line-height:1.3;font-size:11.5px;font-weight:400}
#compras-purchase-root .purchase-offer-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:0}
#compras-purchase-root .purchase-offer-badge{height:20px;display:inline-flex;align-items:center;width:max-content;border-radius:4px;padding:0 7px;font-family:var(--pv19-font-ui)!important;font-size:10.5px;line-height:1;font-weight:600;letter-spacing:.005em;background:var(--pv19-gold-soft);color:#9d6d0e;white-space:nowrap}
#compras-purchase-root .purchase-offer-badge.is-enp{background:var(--pv491-enp);color:#000}
#compras-purchase-root .purchase-offer-badge.is-lkp-received{background:var(--pv491-lkp-received);color:#fff}
#compras-purchase-root .purchase-offer-badge.is-lkp-transit{background:var(--pv491-lkp-onsite);color:#fff}
#compras-purchase-root .purchase-offer-badge.is-site{background:#f4f4f6;color:#666674}
#compras-purchase-root .purchase-offer-spec .purchase-quality-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:3px;font-size:10.5px;font-weight:600;line-height:1}
#compras-purchase-root .purchase-offer-spec .purchase-quality-badge.is-a1{background:#118247;color:#fff}
#compras-purchase-root .purchase-offer-spec .purchase-quality-badge.is-a2{background:#f4bd00;color:#1e1e22}
#compras-purchase-root .purchase-offer-spec .purchase-quality-badge.is-other{background:#ececf1;color:#555562}

#compras-purchase-root .purchase-offer-specs-panel{padding:8px 9px 7px;border:1px solid #f0f1f3;border-radius:9px;background:#fcfcfd;align-self:start}
#compras-purchase-root .purchase-offer-specs-row{display:grid;grid-template-columns:62px minmax(0,1fr) 62px;gap:10px;align-items:end;margin-top:0}
#compras-purchase-root .purchase-offer-spec{min-width:0;padding-bottom:4px}
#compras-purchase-root .purchase-offer-spec strong{display:block;font-size:12px;line-height:1.3;color:#344054;font-weight:500}
#compras-purchase-root .purchase-mini-label{display:block;color:#7d8798;font-size:10.5px;line-height:1.2;text-transform:uppercase;letter-spacing:.025em;margin-bottom:3px;font-weight:500}
#compras-purchase-root .purchase-inline-field{display:block}
#compras-purchase-root .purchase-inline-field>span{display:block;color:#657084;font-size:10.5px;line-height:1.2;font-weight:500;margin-bottom:4px}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-packing-select{min-height:34px!important;height:34px!important;padding:0 9px!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-packing-fixed{min-height:34px;height:34px;display:flex;align-items:center;padding:0 10px;border:1px solid var(--pv19-line);border-radius:8px;background:var(--pv19-soft);color:var(--pv19-text);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-packing-fixed.is-unresolved{color:var(--pv19-marsala);background:var(--pv19-marsala-soft)}
#compras-purchase-root .purchase-packing-note{margin-top:5px;color:#596579;font-size:11.5px;line-height:1.4;font-weight:400}

#compras-purchase-root .purchase-offer-packing-block{padding:12px 11px;border-right:1px solid #e9e9ed;min-width:0;display:grid;align-content:start}
#compras-purchase-root .purchase-offer-context-block{gap:10px}
#compras-purchase-root .purchase-offer-context-line{display:grid;gap:2px;min-width:0}
#compras-purchase-root .purchase-offer-context-line>span{color:#7f8998;font-size:10.5px;line-height:1.2;text-transform:uppercase;letter-spacing:.025em;font-weight:500}
#compras-purchase-root .purchase-offer-context-line>strong{color:#3f4652;font-size:12px;line-height:1.35;font-weight:500;overflow-wrap:anywhere}
#compras-purchase-root .purchase-offer-context-line.is-validity>strong{color:var(--pv491-lkp-received);font-weight:600}
#compras-purchase-root .purchase-offer-context-line.is-producer>span{color:#6d7686}
#compras-purchase-root .purchase-offer-context-line.is-producer>strong{color:var(--pv19-marsala);font-size:12.5px;font-weight:600;letter-spacing:-.01em}

#compras-purchase-root .purchase-offer-buy-block{padding:10px 11px;border-right:1px solid #e9e9ed;min-width:0;display:grid;align-content:start;gap:6px}
#compras-purchase-root .purchase-volume-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#compras-purchase-root .purchase-volume-option{min-height:40px;border:1px solid var(--pv19-line);border-radius:9px;background:#fff;padding:4px 4px;text-align:center;color:#74747e;font-family:var(--pv19-font-ui)!important;transition:border-color var(--pv19-motion-ui) var(--pv19-ease),background var(--pv19-motion-ui) var(--pv19-ease),transform var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-volume-option:hover:not(:disabled){transform:translateY(-1px);border-color:#e2c4cf}
#compras-purchase-root .purchase-volume-option.is-active{border-color:#e3aabd;background:var(--pv19-marsala-soft);color:var(--pv19-marsala);box-shadow:inset 0 0 0 1px rgba(166,30,77,.06)}
#compras-purchase-root .purchase-volume-option:disabled{opacity:.34;cursor:not-allowed}
#compras-purchase-root .purchase-volume-option span{display:block;font-family:var(--pv19-font-ui)!important;font-size:11px;line-height:1.2;font-weight:500;white-space:nowrap}
#compras-purchase-root .purchase-volume-option strong{display:block;margin-top:3px;font-family:var(--pv19-font-ui)!important;font-size:13px;line-height:1.2;font-weight:600;color:var(--pv19-text)}
#compras-purchase-root .purchase-volume-option.is-active strong{color:var(--pv19-marsala)}
#compras-purchase-root .purchase-offer-quantity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:end}
#compras-purchase-root .purchase-quantity-field{display:grid;gap:3px;min-width:0}
#compras-purchase-root .purchase-quantity-field>span{color:#4f5868;font-family:var(--pv19-font-ui)!important;font-size:11.5px;line-height:1.2;font-weight:500}
#app-screen #view-compras-veiling #compras-purchase-root .purchase-quantity-field input{height:30px!important;min-height:30px!important;border-radius:8px!important;padding:0 8px!important;font-size:12.5px!important;font-weight:500!important;text-align:center}
#compras-purchase-root .purchase-qty-steppers{display:grid;grid-template-columns:28px 28px;gap:4px}
#compras-purchase-root .purchase-qty-steppers button{width:28px;height:30px;border:1px solid var(--pv19-line);border-radius:8px;background:#fff;color:#686872;font-size:14px;line-height:1}
#compras-purchase-root .purchase-qty-steppers button:hover{background:#f7f7f8;color:var(--pv19-marsala);border-color:#e4cbd4}
#compras-purchase-root .purchase-offer-stock-line{display:flex;gap:9px;flex-wrap:wrap;color:#5f6877;font-family:var(--pv19-font-ui)!important;font-size:11.5px;line-height:1.4}
#compras-purchase-root .purchase-offer-stock-line b{color:#4e4e58}
#compras-purchase-root .purchase-calculation{color:#5f6877;font-size:11.5px;line-height:1.4}
#compras-purchase-root .purchase-calculation strong{color:#41414b}
#compras-purchase-root .purchase-composition-line{color:#5d5d68;font-weight:500}

#compras-purchase-root .purchase-offer-row-actions{padding:10px 8px;display:grid;align-content:center;gap:7px;min-width:0;background:#fff}
#compras-purchase-root .purchase-detail-button,
#compras-purchase-root .purchase-cart-button,
#compras-purchase-root .purchase-buy-button{width:100%;min-height:34px;border-radius:9px;padding:0 8px;font-family:var(--pv19-font-ui)!important;font-size:12px;line-height:1;font-weight:500;letter-spacing:0;transition:transform var(--pv19-motion-fast) var(--pv19-ease),box-shadow var(--pv19-motion-ui) var(--pv19-ease),background var(--pv19-motion-ui) var(--pv19-ease),border-color var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-detail-button{border:1px solid #e7d3da;background:#fff;color:var(--pv19-marsala)}
#compras-purchase-root .purchase-detail-button:hover{background:var(--pv19-marsala-soft)}
#compras-purchase-root .purchase-cart-button{border:1px solid #d7d7de;background:#fff;color:#565662}
#compras-purchase-root .purchase-cart-button:hover:not(:disabled){background:#f6f6f8;border-color:#c7c7d0;color:var(--pv19-marsala)}
#compras-purchase-root .purchase-cart-button:disabled{opacity:.42;cursor:not-allowed}
#compras-purchase-root .purchase-buy-button{border:1px solid var(--pv19-marsala);background:var(--pv19-marsala);color:#fff;box-shadow:var(--pv19-shadow-sm)}
#compras-purchase-root .purchase-buy-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 17px rgba(166,30,77,.15)}
#compras-purchase-root .purchase-buy-button:disabled{opacity:1;cursor:not-allowed;box-shadow:none;background:#f2edef;border-color:#ded4d8;color:#a3949a}

#compras-purchase-root .purchase-empty{display:grid;place-items:center;min-height:180px;padding:22px;border:0;background:#fff;color:var(--pv19-muted);text-align:center;line-height:1.5;font-size:12px}
#compras-purchase-root .purchase-error{padding:11px 13px;border-radius:8px;font-size:12px;background:#fff1f4;color:#982244;border:1px solid #f3c9d4}

#compras-purchase-root .purchase-tech-tools{border-top:1px solid var(--pv19-line);background:#fff;margin:0;overflow:hidden}
#compras-purchase-root .purchase-tech-tools>summary{cursor:pointer;padding:9px 13px;color:#99929a;font-size:9.5px;font-weight:600;list-style:none}
#compras-purchase-root .purchase-tech-tools>summary::-webkit-details-marker{display:none}
#compras-purchase-root .purchase-tech-tools[open]>summary{border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root .purchase-tech-tools-body{padding:12px;background:#fbfbfc}
#compras-purchase-root .partner-lab{margin:0;border:0;border-radius:0;background:transparent;padding:0}
#compras-purchase-root .partner-lab>summary{font-size:10.5px;color:var(--pv19-marsala);font-weight:700}
#compras-purchase-root .partner-lab-note,
#compras-purchase-root .partner-lab-base,
#compras-purchase-root .purchase-search-meta{font-size:10px;line-height:1.45;color:var(--pv19-muted)}
#compras-purchase-root .partner-lab textarea{width:100%;min-height:82px;resize:vertical;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace!important}
#compras-purchase-root .partner-lab-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
#compras-purchase-root .partner-lab-kpis{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
#compras-purchase-root .partner-lab-kpi{font-size:9.5px;padding:5px 8px;border-radius:999px;background:#f4eff1;color:#674754}
#compras-purchase-root .partner-lab-kpi.is-ok{background:var(--pv19-green-soft);color:var(--pv19-green)}
#compras-purchase-root .partner-lab-kpi.is-error{background:#fff0f1;color:#9a1636}
#compras-purchase-root .partner-lab-section{margin-top:12px;padding:12px;border:1px solid var(--pv19-line);border-radius:12px;background:#fff}
#compras-purchase-root .partner-lab-section h4{margin:0 0 8px;font-size:12px;color:var(--pv19-text)}
#compras-purchase-root .partner-lab-danger{border-color:#ead1d8;background:#fffafb}
#compras-purchase-root .partner-lab-add-json{min-height:250px!important}
#compras-purchase-root .partner-lab-ack{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--pv19-muted)}
#compras-purchase-root .partner-lab-ack input{width:auto;margin:0}
#compras-purchase-root .partner-lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
#compras-purchase-root .partner-lab-grid details{min-width:0}
#compras-purchase-root .partner-lab-cleanup{margin-top:10px;padding:10px;border-radius:12px;background:#fff4e8;color:#785024;font-size:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:760px){#compras-purchase-root .partner-lab-grid{grid-template-columns:1fr}}
#compras-purchase-root .compras-purchase-json{margin:8px 0 0;padding:11px;border-radius:12px;background:#161416;color:#f5edf0;overflow:auto;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}

/* Modal de detalhes/revisão. 0.0.483: revisão pré-compra + motor ecommerce LKP recepcionado em HML/VASOS. */
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-backdrop{position:fixed;inset:0;z-index:200;background:rgba(247,247,248,.52);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity var(--pv19-motion-page) var(--pv19-ease)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-backdrop.is-open{opacity:1;pointer-events:auto}
#compras-purchase-root .purchase-image-modal{width:min(1040px,calc(100vw - 38px));max-height:calc(100vh - 30px);background:#fff;border:1px solid #e7e7eb;border-radius:16px;box-shadow:0 24px 70px rgba(19,23,38,.18);display:flex;flex-direction:column;overflow:hidden}
#compras-purchase-root .purchase-image-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root .purchase-image-head h3{margin:0;font-family:var(--pv19-font-display);font-size:18px;line-height:1.2;color:var(--pv19-text);font-weight:750}
#compras-purchase-root .purchase-image-stage{min-height:360px;max-height:calc(100vh - 150px);padding:18px;display:grid;place-items:center;background:#fafafa;overflow:auto}
#compras-purchase-root .purchase-image-stage img{display:block;max-width:min(880px,100%);max-height:calc(100vh - 190px);width:auto;height:auto;object-fit:contain}
#compras-purchase-root .purchase-image-foot{min-height:48px;padding:8px 14px;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;border-top:1px solid var(--pv19-line);background:#fff}
#compras-purchase-root .purchase-image-foot>strong{font-size:11px;color:#475467;text-align:center}
#compras-purchase-root .purchase-image-foot>.pv19-secondary:last-child{justify-self:end}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-modal{width:min(650px,calc(100vw - 38px));background:#fff;border:1px solid #ead9df;border-radius:22px;box-shadow:0 20px 60px rgba(19,23,38,.14);transform:translateY(12px) scale(.99);opacity:0;transition:transform var(--pv19-motion-page) var(--pv19-ease),opacity var(--pv19-motion-page) var(--pv19-ease)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-backdrop.is-open .purchase-review-modal{transform:none;opacity:1}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px 11px;border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-head h3{margin:0;font-family:var(--pv19-font-display);font-size:19px;font-weight:750!important;letter-spacing:-.025em;color:var(--pv19-text)!important}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-head p{margin:3px 0 0;color:#5f697a;font-size:12.5px;line-height:1.45}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-close{width:34px;height:34px;border:0;border-radius:11px;background:#f6f6f8;color:#777784;font-size:18px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-close:hover{background:#efeff2;color:var(--pv19-marsala)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-body{padding:11px 18px 12px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-modal-wide{width:min(860px,calc(100vw - 38px));max-height:min(760px,calc(100vh - 24px));display:flex;flex-direction:column}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-modal-wide .purchase-review-body{overflow:auto;min-height:0}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-preflight-state{margin-top:8px;padding:10px 12px;border:1px solid var(--pv19-line);border-radius:10px;background:#fbfbfc;display:flex;flex-direction:column;gap:3px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-preflight-state strong{font-size:12.5px;color:var(--pv19-text)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-preflight-state span{font-size:12px;color:#5f697a;line-height:1.45}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-note-error{background:#fff3f4;color:#8d2945;border:1px solid #f0d8df}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-block{margin-top:7px;padding:8px 10px;border:1px solid var(--pv19-line);border-radius:10px;background:#fff}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head strong{font-size:13px;color:var(--pv19-text);font-weight:750}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head span{font-size:12px;color:#475467;line-height:1.45;font-weight:500}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head em{font-style:normal;font-size:10.5px;color:var(--pv19-marsala);background:var(--pv19-marsala-soft);padding:5px 8px;border-radius:999px;white-space:nowrap}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice{border:1px solid var(--pv19-line);border-radius:8px;background:#fff;padding:8px 10px;text-align:left;display:flex;flex-direction:column;gap:2px;min-width:0;transition:border-color var(--pv19-motion-control) var(--pv19-ease),box-shadow var(--pv19-motion-control) var(--pv19-ease),background var(--pv19-motion-control) var(--pv19-ease)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice:hover:not(:disabled){border-color:#d8b8c5;background:#fffafb}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice.is-selected{border-color:var(--pv19-marsala);background:var(--pv19-marsala-soft);box-shadow:0 0 0 1px rgba(166,30,77,.06)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice:disabled{opacity:.45;cursor:not-allowed}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice span{font-size:12px;color:#667085}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice strong{font-size:13.5px;color:var(--pv19-text);font-weight:750}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice small{font-size:12px;color:#566275;line-height:1.4;font-weight:500}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-remember{display:flex;align-items:flex-start;gap:8px;margin-top:7px;padding:7px 9px;border-radius:9px;background:#faf8f9;cursor:pointer}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-remember input{width:15px;height:15px;margin:1px 0 0;accent-color:var(--pv19-marsala)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-remember>span{display:flex;flex-direction:column;gap:2px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-remember b{font-size:12px;color:var(--pv19-text)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-remember small{font-size:11.5px;color:#667085}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-manual-cost{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px;padding-top:7px;border-top:1px solid #f1f1f4}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-manual-cost>span{font-size:11.5px;color:#4f5969;font-weight:650}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-manual-cost>div{display:flex;align-items:center;border:1px solid var(--pv19-line);border-radius:10px;overflow:hidden;background:#fff}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-manual-cost>div>span{padding:8px 0 8px 9px;font-size:11px;color:var(--pv19-muted)}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-manual-cost input{width:110px;border:0!important;box-shadow:none!important;padding:8px 9px!important;font-size:12.5px!important}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-block{padding-bottom:9px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets{display:flex;gap:6px;overflow-x:auto;padding:1px 0 4px;scrollbar-width:thin}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets button{display:grid;gap:1px;flex:0 0 auto;max-width:260px;padding:6px 8px;border:1px solid #e4e7ec;border-radius:7px;background:#fff;text-align:left;color:#475467;box-shadow:none}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets button:hover{border-color:#f2c6d6;background:#fff7fa}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets button.is-producer-variant{border-color:#efb4c9;background:#fff3f7}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets button span{font-size:11.5px;line-height:16px;font-weight:600;color:#9f164a}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-presets button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:18px;color:#101828}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-loading,#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-help{display:block;color:#667085;font-size:12px;line-height:18px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:stretch}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-rich-name-editor{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font-size:13.5px;font-weight:600;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere;outline:0;box-shadow:none}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-rich-name-editor:focus{border-color:#98a2b3;box-shadow:none;outline:0}
#compras-purchase-root .purchase-rich-red{color:#d92d20!important}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-format{display:flex;gap:4px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-format .pv19-secondary,#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-use-current{height:38px;min-height:38px;padding:0 10px;font-size:11.5px;white-space:nowrap}
#compras-purchase-root .purchase-font-color{display:inline-flex;margin-right:2px;font-weight:700;color:#475467}
#compras-purchase-root .purchase-font-color.is-red{color:#d92d20}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-after{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-after>div{padding:8px 9px;border:1px solid var(--pv19-line);border-radius:8px;background:#fbfbfc;min-width:0}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-after span{display:block;font-size:12px;color:#566275;margin-bottom:3px;font-weight:600}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-after strong{display:block;font-size:12.5px;line-height:1.4;color:var(--pv19-text);overflow-wrap:anywhere}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-summary{border:1px solid var(--pv19-line);border-radius:12px;overflow:hidden}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row{display:grid;grid-template-columns:124px 1fr;gap:9px;padding:8px 9px;border-bottom:1px solid #f1f1f4;font-size:12.5px}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row:last-child{border-bottom:0}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row span{color:#566275;font-weight:600}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row strong{text-align:right;color:#242a35;font-weight:700}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-note{margin-top:7px;padding:8px 9px;border-radius:8px;background:#fff2f6;color:#633145;font-size:12px;line-height:1.45;font-weight:500}
#compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-foot{display:flex;justify-content:flex-end;gap:8px;padding:10px 18px;background:#fbfbfc;border-top:1px solid var(--pv19-line);border-radius:0 0 22px 22px}
#compras-purchase-root .purchase-detail-packings{margin-top:12px;border:1px solid var(--pv19-line);border-radius:12px;overflow:hidden}
#compras-purchase-root .purchase-detail-packings>strong{display:block;padding:9px 11px;background:#fbfbfc;border-bottom:1px solid var(--pv19-line);font-size:11px}
#compras-purchase-root .purchase-detail-packing-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 70px 95px;gap:8px;padding:8px 11px;border-bottom:1px solid #f1f1f4;font-size:10px;color:#666674}
#compras-purchase-root .purchase-detail-packing-row:last-child{border-bottom:0}

#compras-purchase-root .purchase-contract-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Views históricas mantidas para compatibilidade técnica, fora do fluxo operacional novo. */
#compras-purchase-root .purchase-card{border:1px solid var(--pv19-line);border-radius:20px;background:#fff;padding:16px;box-shadow:var(--pv19-shadow-sm);min-width:0}
#compras-purchase-root .purchase-column-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}
#compras-purchase-root .purchase-column-head h2{margin:0;font-family:var(--pv19-font-display);font-size:18px;font-weight:700!important;color:var(--pv19-text)!important}
#compras-purchase-root .purchase-column-head p{margin:4px 0 0;font-size:11px;color:var(--pv19-muted)}
#compras-purchase-root .purchase-cart-head-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
#compras-purchase-root .purchase-danger-button{min-height:32px;border:1px solid #e6a4b8;border-radius:9px;background:#fff;color:#a61e4d;padding:0 10px;font-size:10px;font-weight:800;cursor:pointer}
#compras-purchase-root .purchase-danger-button:hover:not(:disabled){background:#fff1f5;border-color:#cf6f8e}
#compras-purchase-root .purchase-danger-button:disabled{opacity:.45;cursor:not-allowed}
#compras-purchase-root .purchase-table-wrap{overflow:auto}
#compras-purchase-root .purchase-table{width:100%;border-collapse:collapse}
#compras-purchase-root .purchase-table th{font-size:10.5px;text-align:left;color:var(--pv19-muted);background:#fafafb;padding:10px;border-bottom:1px solid var(--pv19-line);white-space:nowrap}
#compras-purchase-root .purchase-table td{padding:10px;border-bottom:1px solid #f1f1f4;vertical-align:middle;font-size:11px}
#compras-purchase-root .purchase-cart-product-code{display:block;margin-top:3px;color:var(--pv19-muted);font-size:9px;font-weight:500;white-space:nowrap}
#compras-purchase-root .purchase-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#compras-purchase-root .purchase-summary-card{border:1px solid var(--pv19-line);border-radius:12px;background:#fff;padding:12px}
#compras-purchase-root .purchase-summary-card span{display:block;font-size:11px;color:var(--pv19-muted);margin-bottom:5px}
#compras-purchase-root .purchase-summary-card strong{display:block;font-family:var(--pv19-font-display);font-size:18px;color:var(--pv19-marsala)}
#compras-purchase-root .purchase-panel-notice{margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--pv19-marsala-soft);color:#6f334a;font-size:10.5px;line-height:1.35;display:flex;align-items:center;justify-content:space-between;gap:12px}
#compras-purchase-root .purchase-panel-notice.purchase-panel-success{background:var(--pv19-green-soft);color:var(--pv19-green)}
#compras-purchase-root .purchase-activity-copy{display:grid;gap:2px;min-width:0}
#compras-purchase-root .purchase-activity-copy>span{color:#7b4b5d;font-size:10px}
#compras-purchase-root .purchase-activity-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:0;flex:0 0 auto}
#compras-purchase-root .purchase-advanced>summary{cursor:pointer;color:var(--pv19-marsala);font-size:10.5px;font-weight:700}


/* 0.0.584 — modo de compra usa o mesmo padrão segmentado de Lançamentos.
   Autoridade da tela principal permanece neste arquivo; não há camada concorrente para este controle. */
#compras-purchase-root .purchase-mode-tabs{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(168px,auto);align-items:center;gap:2px;width:max-content;max-width:100%;margin:-2px 0 0;padding:3px;border:1px solid #e4e7ec;border-radius:9px;background:#f9fafb;box-shadow:0 1px 2px rgba(16,24,40,.05)}
#compras-purchase-root .purchase-mode-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:34px;min-height:34px;padding:0 13px;border:0;border-radius:6px;background:transparent;color:#667085;box-shadow:none;font:400 12.5px/34px var(--pv19-font-ui);cursor:pointer;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}
#compras-purchase-root .purchase-mode-tabs button::after{content:none}
#compras-purchase-root .purchase-mode-tabs button:hover:not(:disabled){background:#fff1f5;color:#9f164a}
#compras-purchase-root .purchase-mode-tabs button.is-active{background:var(--pv19-marsala);color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.08),inset 0 0 0 1px var(--pv19-marsala);font-weight:500}
#compras-purchase-root .purchase-mode-tabs button.is-active::after{content:none}

#compras-purchase-root .purchase-operations-trigger{height:40px;padding:0 12px;border:1px solid var(--pv19-line);border-radius:8px;background:#fff;color:#667085;display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:500;box-shadow:var(--pv19-shadow-sm);cursor:pointer;transition:border-color var(--pv19-motion-ui) var(--pv19-ease),background var(--pv19-motion-ui) var(--pv19-ease),color var(--pv19-motion-ui) var(--pv19-ease)}
#compras-purchase-root .purchase-operations-trigger:hover,#compras-purchase-root .purchase-operations-trigger[aria-expanded="true"]{border-color:#e6c7d3;background:#fffafb;color:var(--pv19-marsala)}
#compras-purchase-root .purchase-operations-trigger b{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:var(--pv19-marsala);color:#fff;font-size:10px;font-weight:600;line-height:1}
#compras-purchase-root .purchase-operations-trigger.has-pending svg{color:var(--pv19-marsala)}

#compras-purchase-root .purchase-operations-scrim{position:fixed;inset:0;z-index:176;background:rgba(16,24,40,.18);backdrop-filter:blur(1px)}
#compras-purchase-root .purchase-operations-drawer{position:fixed;z-index:177;top:0;right:0;width:min(420px,calc(100vw - 22px));height:100dvh;display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--pv19-line);box-shadow:-14px 0 36px rgba(16,24,40,.14);animation:pv19DrawerIn .22s var(--pv19-ease) both;color:var(--pv19-text)}
#compras-purchase-root .purchase-operations-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px 20px 16px;border-bottom:1px solid var(--pv19-line)}
#compras-purchase-root .purchase-operations-head>div{min-width:0}
#compras-purchase-root .purchase-operations-head h2{margin:0;font:600 19px/1.35 var(--pv19-font-display);letter-spacing:-.02em;color:var(--pv19-text)}
#compras-purchase-root .purchase-operations-head p{margin:4px 0 0;color:var(--pv19-muted);font:400 12.5px/1.5 var(--pv19-font-ui)}
#compras-purchase-root .purchase-operations-head>button{width:32px;height:32px;min-width:32px;border:0;border-radius:8px;background:#fff;color:#667085;font-size:20px;line-height:1;cursor:pointer}
#compras-purchase-root .purchase-operations-head>button:hover{background:#f5f6f7;color:#101828}
#compras-purchase-root .purchase-operations-section{padding:16px 18px 0;min-width:0}
#compras-purchase-root .purchase-operations-section:last-child{padding-bottom:18px;overflow:auto}
#compras-purchase-root .purchase-operations-section>h3,#compras-purchase-root .purchase-operations-section-head h3{margin:0;color:#344054;font:500 12.5px/1.4 var(--pv19-font-ui);text-transform:uppercase;letter-spacing:.025em}
#compras-purchase-root .purchase-operations-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
#compras-purchase-root .purchase-link-button{border:0;background:transparent;color:var(--pv19-marsala);padding:3px 0;font:500 12px/1.3 var(--pv19-font-ui);cursor:pointer}
#compras-purchase-root .purchase-link-button:disabled{opacity:.5;cursor:wait}
#compras-purchase-root .purchase-operation-list{display:grid;gap:8px}
#compras-purchase-root .purchase-operation-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:9px;padding:11px;border:1px solid var(--pv19-line);border-radius:10px;background:#fff;min-width:0}
#compras-purchase-root .purchase-operation-card.is-progress{border-color:#dce4fb;background:#fbfcff}
#compras-purchase-root .purchase-operation-card.is-warning{border-color:#f0dfb6;background:#fffdf7}
#compras-purchase-root .purchase-operation-card.is-danger{border-color:#f0d7df;background:#fffafb}
#compras-purchase-root .purchase-operation-icon{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;background:#f2f4f7;color:#667085;font-size:15px;font-weight:600}
#compras-purchase-root .purchase-operation-icon.is-success{background:var(--pv19-green-soft);color:var(--pv19-green)}
#compras-purchase-root .purchase-operation-icon.is-warning{background:#fff4d8;color:#a66b00}
#compras-purchase-root .purchase-operation-icon.is-progress{background:var(--pv19-blue-soft);color:var(--pv19-blue)}
#compras-purchase-root .purchase-operation-icon.is-danger{background:#fff0f3;color:#b4234a}
#compras-purchase-root .purchase-operation-copy,#compras-purchase-root .purchase-operation-card>div:nth-child(2){display:grid;gap:2px;min-width:0}
#compras-purchase-root .purchase-operation-copy strong,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1d2939;font:500 13px/1.35 var(--pv19-font-ui)}
#compras-purchase-root .purchase-operation-copy span,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>span{color:#667085;font:400 11.5px/1.4 var(--pv19-font-ui)}
#compras-purchase-root .purchase-operation-copy .purchase-operation-origin,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>.purchase-operation-origin{width:max-content;max-width:100%;margin:1px 0 2px;padding:3px 7px;border:1px solid #d0d5dd;border-radius:999px;background:#f9fafb;color:#475467;font:500 10px/1.2 var(--pv19-font-ui);white-space:nowrap}
#compras-purchase-root .purchase-operation-copy .purchase-operation-origin.is-free,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>.purchase-operation-origin.is-free{border-color:#f2c6d6;background:#fff1f5;color:#9f164a}
#compras-purchase-root .purchase-operation-copy .purchase-operation-origin.is-need,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>.purchase-operation-origin.is-need{border-color:#d9e2f2;background:#f5f8ff;color:#45627f}
#compras-purchase-root .purchase-operation-copy small,#compras-purchase-root .purchase-operation-card>div:nth-child(2)>small{color:#98a2b3;font:400 10.5px/1.35 var(--pv19-font-ui)}
#compras-purchase-root .purchase-operation-status{max-width:132px;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#667085;font:500 10.5px/1.3 var(--pv19-font-ui);text-align:center;border:0;white-space:normal}
#compras-purchase-root .purchase-operation-status.is-success{background:var(--pv19-green-soft);color:var(--pv19-green)}
#compras-purchase-root .purchase-operation-status.is-warning{background:#fff4d8;color:#966500}
#compras-purchase-root .purchase-operation-status.is-progress{background:var(--pv19-blue-soft);color:#4265c2}
#compras-purchase-root .purchase-operation-status.is-danger{background:#fff0f3;color:#b4234a}
#compras-purchase-root .purchase-operation-status.is-action{cursor:pointer;border:1px solid #ead59e;transition:background var(--pv19-motion-ui) var(--pv19-ease),transform var(--pv19-motion-fast) var(--pv19-ease)}
#compras-purchase-root .purchase-operation-status.is-action:hover{background:#ffefc5;transform:translateY(-1px)}
#compras-purchase-root .purchase-operations-empty{padding:18px 12px;border:1px dashed #d8dce3;border-radius:9px;background:#fafbfc;color:#667085;text-align:center;font:400 12px/1.5 var(--pv19-font-ui)}

body>.purchase-toast-viewport-host{position:fixed;z-index:4000;top:18px;right:18px;width:min(380px,calc(100vw - 36px));display:grid;gap:8px;pointer-events:none}
body>.purchase-toast-viewport-host[hidden]{display:none!important}
body>.purchase-toast-viewport-host .purchase-toast{display:grid;grid-template-columns:30px minmax(0,1fr) 26px;gap:9px;align-items:start;padding:11px 10px;border:1px solid #cfe8da;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(16,24,40,.16);pointer-events:auto;animation:pv19ToastIn .22s cubic-bezier(.22,.74,.22,1) both;font-family:var(--mf-ta-font)}
body>.purchase-toast-viewport-host .purchase-toast.is-danger{border-color:#efd3dd}
body>.purchase-toast-viewport-host .purchase-toast-icon{width:28px;height:28px;border-radius:999px;background:#edf8f2;color:#2c8c61;display:grid;place-items:center;font-size:14px;font-weight:600}
body>.purchase-toast-viewport-host .purchase-toast.is-danger .purchase-toast-icon{background:#fff0f3;color:#b4234a}
body>.purchase-toast-viewport-host .purchase-toast>div{display:grid;gap:2px;min-width:0}
body>.purchase-toast-viewport-host .purchase-toast strong{color:#1d2939;font:500 13px/1.4 var(--mf-ta-font)}
body>.purchase-toast-viewport-host .purchase-toast span:not(.purchase-toast-icon){color:#667085;font:400 11.5px/1.45 var(--mf-ta-font)}
body>.purchase-toast-viewport-host .purchase-toast button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#98a2b3;font-size:17px;line-height:1;cursor:pointer}
body>.purchase-toast-viewport-host .purchase-toast button:hover{background:#f5f6f7;color:#344054}
#compras-purchase-root .purchase-toast-host{position:fixed;z-index:190;top:18px;right:18px;width:min(360px,calc(100vw - 36px));display:grid;gap:8px;pointer-events:none}
#compras-purchase-root .purchase-toast{display:grid;grid-template-columns:30px minmax(0,1fr) 26px;gap:9px;align-items:start;padding:11px 10px;border:1px solid #cfe8da;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(16,24,40,.16);pointer-events:auto;animation:pv19ToastIn .22s var(--pv19-ease) both}
#compras-purchase-root .purchase-toast.is-danger{border-color:#efd3dd}
#compras-purchase-root .purchase-toast-icon{width:28px;height:28px;border-radius:999px;background:var(--pv19-green-soft);color:var(--pv19-green);display:grid;place-items:center;font-size:14px;font-weight:600}
#compras-purchase-root .purchase-toast.is-danger .purchase-toast-icon{background:#fff0f3;color:#b4234a}
#compras-purchase-root .purchase-toast>div{display:grid;gap:2px;min-width:0}
#compras-purchase-root .purchase-toast strong{color:#1d2939;font:500 13px/1.4 var(--pv19-font-ui)}
#compras-purchase-root .purchase-toast span:not(.purchase-toast-icon){color:#667085;font:400 11.5px/1.45 var(--pv19-font-ui)}
#compras-purchase-root .purchase-toast button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#98a2b3;font-size:17px;line-height:1;cursor:pointer}
#compras-purchase-root .purchase-toast button:hover{background:#f5f6f7;color:#344054}

@keyframes pv19DrawerIn{from{opacity:.7;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes pv19ToastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

@media(max-width:720px){
  #compras-purchase-root .purchase-mode-tabs{width:100%}
  #compras-purchase-root .purchase-mode-tabs button{flex:1;min-width:0;padding:0 9px}
  #compras-purchase-root .purchase-operations-drawer{width:min(100%,420px)}
  #compras-purchase-root .purchase-operation-card{grid-template-columns:32px minmax(0,1fr)}
  #compras-purchase-root .purchase-operation-status{grid-column:2;justify-self:start;max-width:none}
  body>.purchase-toast-viewport-host{top:10px;right:10px;width:calc(100vw - 20px)}
  #compras-purchase-root .purchase-toast-host{top:10px;right:10px;width:calc(100vw - 20px)}
}

@keyframes pv19Reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pv19DotBreath{0%,100%{box-shadow:0 0 0 4px var(--pv19-marsala-soft);transform:scale(1)}50%{box-shadow:0 0 0 7px rgba(166,30,77,.06);transform:scale(1.05)}}

@media(max-width:1380px){
  #compras-purchase-root .purchase-offer-card{grid-template-columns:130px minmax(270px,1.2fr) minmax(165px,.62fr) minmax(275px,1fr) 134px}
  #compras-purchase-root .purchase-offer-image-wrap img,
  #compras-purchase-root .purchase-offer-image-placeholder{width:112px;height:98px}
}
@media(max-width:1260px){
  #compras-purchase-root .purchase-offer-image-wrap img,
  #compras-purchase-root .purchase-offer-image-placeholder{width:86px;height:82px}
  #compras-purchase-root .purchase-setup{grid-template-columns:minmax(240px,1.2fr) 155px auto minmax(190px,.8fr)}
  #compras-purchase-root .purchase-setup>.pv19-secondary{grid-column:1 / -1;justify-self:start}
  #compras-purchase-root .purchase-workspace-v19{grid-template-columns:272px minmax(0,1fr)}
  #compras-purchase-root .purchase-offer-card{grid-template-columns:104px minmax(230px,1fr) minmax(160px,.7fr) minmax(245px,1fr)}
  #compras-purchase-root .purchase-offer-row-actions{grid-column:2 / -1;display:flex;justify-content:flex-end;border-top:1px solid #f5f2f3;padding:8px 10px}
  #compras-purchase-root .purchase-offer-row-actions button{width:auto;min-width:100px}
}
@media(max-width:980px){
  #compras-purchase-root .purchase-offer-image-wrap img,
  #compras-purchase-root .purchase-offer-image-placeholder{width:78px;height:76px}
  #compras-purchase-root .purchase-setup{grid-template-columns:1fr 170px auto}
  #compras-purchase-root .purchase-setup-context{grid-column:1 / -1}
  #compras-purchase-root .purchase-workspace-v19{grid-template-columns:1fr}
  #compras-purchase-root .purchase-need-list{max-height:280px}
  #compras-purchase-root .purchase-offer-card{grid-template-columns:96px minmax(0,1fr) minmax(250px,.9fr)}
  #compras-purchase-root .purchase-offer-packing-block{grid-column:2}
  #compras-purchase-root .purchase-offer-buy-block{grid-column:3;grid-row:1 / span 2}
  #compras-purchase-root .purchase-offer-row-actions{grid-column:2 / -1}
}
@media(max-width:720px){
  #compras-purchase-root .purchase-offer-image-wrap img,
  #compras-purchase-root .purchase-offer-image-placeholder{width:68px;height:66px}
  #compras-purchase-root .purchase-page-head{display:block}
  #compras-purchase-root .purchase-head-actions{margin-top:12px;justify-content:flex-start}
  #compras-purchase-root .purchase-page-title{font-size:26px}
  #compras-purchase-root .purchase-setup{grid-template-columns:1fr}
  #compras-purchase-root .purchase-search-row{grid-template-columns:1fr}
  #compras-purchase-root .purchase-filter-grid{grid-template-columns:1fr}
  #compras-purchase-root .purchase-results-meta{display:block}
  #compras-purchase-root .purchase-results-meta span:last-child{display:block;margin-top:4px}
  #compras-purchase-root .purchase-offer-freshness{display:flex;white-space:normal;flex-wrap:wrap;justify-content:flex-start}
  #compras-purchase-root .purchase-offer-card{grid-template-columns:84px minmax(0,1fr)}
  #compras-purchase-root .purchase-offer-image-wrap{grid-column:1;grid-row:1}
  #compras-purchase-root .purchase-offer-title{grid-column:2;grid-row:1;border-right:0}
  #compras-purchase-root .purchase-offer-packing-block,
  #compras-purchase-root .purchase-offer-buy-block,
  #compras-purchase-root .purchase-offer-row-actions{grid-column:1 / -1;grid-row:auto;border-top:1px solid #f1f1f4;border-right:0}
  #compras-purchase-root .purchase-volume-options{grid-template-columns:repeat(3,1fr)}
  #compras-purchase-root .purchase-offer-row-actions{justify-content:stretch}
  #compras-purchase-root .purchase-offer-row-actions button{width:100%}
  #compras-purchase-root .purchase-detail-packing-row{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  #compras-purchase-root .purchase-image-modal{width:calc(100vw - 14px);max-height:calc(100vh - 14px)}
  #compras-purchase-root .purchase-image-stage{min-height:240px;padding:10px}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-modal-wide{width:min(100%,calc(100vw - 18px));max-height:calc(100vh - 18px)}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head{display:block}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-decision-head em{display:inline-block;margin-top:7px}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-choice-grid,
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-cost-grid,
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-after{grid-template-columns:1fr}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row{grid-template-columns:1fr;gap:3px}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-row strong{text-align:left}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-editor-row{grid-template-columns:1fr}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-name-format{flex-wrap:wrap}
  #compras-purchase-root:not(:has(.mf-ta-purchase-review)) .purchase-review-foot{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  #compras-purchase-root *,#compras-purchase-root *::before,#compras-purchase-root *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
#compras-purchase-root .partner-lab-cart{border-color:#d8e3dc;background:#fbfdfc}
#compras-purchase-root .partner-lab-safety{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;padding:10px;border:1px solid #cfe0d5;border-radius:12px;background:#f2faf5;color:#315b40;font-size:10px}
#compras-purchase-root .partner-lab-safety strong{font-size:10.5px;letter-spacing:.02em}
#compras-purchase-root .partner-lab-cart-meta{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 8px;padding:8px 10px;border-radius:10px;background:#f6f4f5;color:var(--pv19-muted);font-size:10px}
#compras-purchase-root .partner-lab-cart-items{display:grid;gap:8px}
#compras-purchase-root .partner-lab-cart-item{padding:10px;border:1px solid var(--pv19-line);border-radius:12px;background:#fff}
#compras-purchase-root .partner-lab-cart-item-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}
#compras-purchase-root .partner-lab-cart-item-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
#compras-purchase-root .partner-lab-cart-item-head strong{font-size:11.5px;color:var(--pv19-text)}
#compras-purchase-root .partner-lab-cart-item-head span{font-size:11px;color:var(--pv19-muted);overflow-wrap:anywhere}
#compras-purchase-root .partner-lab-cart-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;font-size:9.5px;color:var(--pv19-muted)}
#compras-purchase-root .partner-lab-cart-item-grid b{color:var(--pv19-text);font-weight:650;overflow-wrap:anywhere}
#compras-purchase-root .partner-lab-cart-empty{margin-top:8px;padding:10px;border:1px dashed var(--pv19-line);border-radius:10px;color:var(--pv19-muted);font-size:10px;background:#fff}
@media(max-width:760px){#compras-purchase-root .partner-lab-cart-item-head{flex-direction:column}#compras-purchase-root .partner-lab-cart-item-grid{grid-template-columns:1fr 1fr}}
