.pedidos-container{padding:2rem;width:100%;max-width:100%;margin:0}.pedidos-header{display:flex;margin-bottom:1rem;gap:.75rem}.pedidos-topbar{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:12px;flex-wrap:nowrap}.sales-indicators{display:grid;order:2;width:100%;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:8px;padding:8px;border-radius:var(--radius-sm);background:linear-gradient(180deg,#f8fafc,#eef2f7);border:1px solid #dbe3ee;font-size:.75rem;flex:0 0 auto}.sales-indicator{display:grid;grid-template-rows:auto 1fr auto;align-content:center;line-height:1.2;min-width:0;border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:8px 10px;min-height:78px;box-shadow:0 2px 8px #0f172a0d}.sales-indicator-total{border-color:#bfdbfe;background:#eff6ff}.sales-label{font-size:.64rem;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:700}.sales-value{margin-top:3px;font-size:1.06rem;color:#0f172a;font-weight:800;letter-spacing:-.2px}.sales-indicator-total .sales-value{color:#1d4ed8;font-size:1.14rem}.sales-indicator-ml .sales-value{color:#0369a1}.sales-indicator-full .sales-value{color:#0f766e}.sales-indicator-py .sales-value{color:#1e293b}.sales-date{font-size:.72rem;color:#475569;margin-top:4px;font-weight:600}.pedidos-filters-bar{display:none}.pedidos-inline-controls{order:1;width:100%;display:flex;gap:.35rem;align-items:center;justify-content:flex-start;flex:0 0 auto;flex-wrap:nowrap;overflow:hidden;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:6px}.pedidos-inline-controls .global-search{flex:2.4 1 560px;min-width:420px;max-width:none}.pedidos-inline-controls .filter-select{flex:0 1 126px;min-width:96px}.pedidos-inline-controls .refresh-button{flex:0 1 auto;white-space:nowrap}.search-summary{margin-top:.4rem;font-size:.85rem;color:#4b5563;background:#f9fafb;border:1px solid #e5e7eb;padding:.35rem .6rem;border-radius:var(--radius-sm);display:inline-block}.logistics-summary{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;padding:.6rem .9rem;margin-bottom:.9rem;border-radius:var(--radius-sm);border:1px solid #e5e7eb;background:#f9fafb;color:#111827;font-size:.9rem}.search-input{padding:.5rem .8rem;border:1px solid #ddd;border-radius:var(--radius-sm);font-size:14px;min-width:0;flex:1 1 180px;background:#fff;min-height:38px}.search-input:focus{outline:none;border-color:#06f}.filter-select{padding:.42rem .5rem;border:1px solid #ddd;border-radius:var(--radius-sm);font-size:12px;background:#fff;cursor:pointer;min-height:34px}.filter-select:focus{outline:none;border-color:#06f}.refresh-button{padding:.42rem .52rem;background:#06f;color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:12px;min-height:34px;font-weight:700;letter-spacing:0;transition:background .2s}.refresh-button:active{background:#0047b3}.aduana-action-panel{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:var(--radius-sm);background:#fff}.aduana-action-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aduana-action-head strong{color:#1f2937;margin-right:4px}.aduana-action-head label{font-size:13px;color:#4b5563}.aduana-company-select{min-height:34px;border:1px solid #d5d9e0;border-radius:var(--radius-sm);padding:.35rem .5rem;min-width:220px;background:#fff}.aduana-action-buttons{display:flex;flex-wrap:wrap;gap:8px}.aduana-action-status{width:100%;margin:0;font-size:13px;color:#047857}.aduana-action-status.error{color:#b42318}@media (hover: hover){.refresh-button:hover{background:#0052cc}}@media (max-width: 768px){.aduana-action-panel{padding:10px}.aduana-action-head{width:100%}.aduana-company-select{width:100%;min-width:0}.aduana-action-buttons{width:100%}}.primary-button.ghost{background:#e5e7eb;color:#111827}.primary-button.selected{background:#0f766e;border-color:#0f766e;color:#fff}.loading{text-align:center;padding:4rem;font-size:1.2rem;color:#666}.empty-state{text-align:center;padding:4rem;background:#f9f9f9;border-radius:var(--radius-sm);border:1px dashed #ddd}.empty-state p{font-size:1.2rem;color:#666;margin-bottom:.5rem}.empty-state small{color:#999}.pedidos-table-container{background:#fff;border-radius:var(--radius-sm);box-shadow:0 1px 3px #0000001a;overflow:hidden}.pedidos-table-container{overflow-x:auto}.pedidos-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem 1rem;border-top:1px solid #f0f0f0;background:#fafafa}.pagination-button{padding:.6rem 1rem;border-radius:var(--radius-sm);border:1px solid #d1d5db;background:#fff;cursor:pointer;font-size:14px;color:#111827;min-height:44px}.pagination-button:active:not(:disabled){background:#f3f4f6}.pagination-button:disabled{cursor:not-allowed;opacity:.6}.pagination-info{font-size:.85rem;color:#6b7280}.pedidos-table{width:100%;border-collapse:collapse}.pedidos-table thead{background:#f5f5f5;border-bottom:2px solid #e0e0e0}.pedidos-table th{padding:1rem;text-align:left;font-weight:600;font-size:.9rem;color:#555;text-transform:uppercase;letter-spacing:.5px}.pedidos-table tbody tr{border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background .2s}@media (hover: hover){.pedidos-table tbody tr:hover{background:#f9f9f9}}.pedidos-table td{padding:1rem;font-size:.95rem;color:#333;vertical-align:middle}.flow-edit-cell{min-width:180px}.source-field{min-width:220px}.flow-input-shell{display:flex;flex-direction:column;gap:6px;background:#f8fafc;border:1px solid #dbe5f0;border-radius:10px;padding:8px 10px;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.flow-input-shell:focus-within{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.flow-input-shell.is-saving{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e91f}.flow-input-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.35px;color:#5b6b82}.flow-input-shell.is-saving .flow-input-label:after{content:"Salvando...";font-weight:600;text-transform:none;letter-spacing:0;color:#0284c7;margin-left:auto}.flow-input{width:100%;min-height:34px;padding:0;border:0;background:transparent;color:#111827;font-size:.93rem;outline:none}.flow-input::placeholder{color:#94a3b8}.flow-input-currency{font-variant-numeric:tabular-nums}@media (max-width: 768px){.pedidos-container{padding:1rem;flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.pedidos-table thead{display:none}.pedidos-table tbody,.pedidos-table tr,.pedidos-table td{display:block;width:100%}.pedidos-table tbody tr{background:#fff;border:1px solid #e5e7eb;border-radius:var(--radius-md);padding:16px;box-shadow:0 8px 18px #0f172a14;margin-bottom:14px}.pedidos-table td{padding:8px 0;border-bottom:1px dashed #e5e7eb;display:block;font-size:15px}.pedidos-table td:before{content:attr(data-label);display:block;margin-bottom:4px;font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px}.pedidos-table td:last-child{border-bottom:none}.product-cell{display:flex;gap:10px;align-items:center;min-width:0;max-width:100%}.status-cell{align-items:flex-start;justify-content:flex-start;text-align:left}.marketplace-cell{justify-content:flex-start}.flow-edit-cell,.source-field{min-width:0}.flow-input-shell{padding:8px}}.company-cell{font-weight:600;color:#111827;white-space:nowrap}.product-cell{display:flex;align-items:center;gap:.75rem;min-width:0;max-width:360px}.product-thumb{width:36px;height:36px;border-radius:var(--radius-sm);object-fit:cover;border:1px solid #e5e7eb;background:#f9fafb;flex-shrink:0}.product-thumb.placeholder{background:#f3f4f6}.product-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1;min-width:0;max-width:280px;word-break:break-word;overflow-wrap:anywhere;font-size:.9rem;color:#374151}.customer-cell{white-space:normal;word-break:break-word;overflow-wrap:anywhere}@media (max-width: 1024px){.pedidos-container{padding:1.5rem}.pedidos-header{flex-direction:column;align-items:flex-start}}@media (max-width: 768px){.pedidos-container{padding:1rem}.pedidos-table-container{overflow-x:hidden}.pedidos-topbar{flex-direction:column;align-items:stretch}.sales-indicators{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.pedidos-inline-controls{flex-direction:column;align-items:stretch}.search-input,.filter-select,.refresh-button{width:100%}.pedidos-table th,.pedidos-table td{padding:.5rem 0;font-size:.85rem}.product-name{display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;max-width:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere}}@media (max-width: 480px){.pedidos-container{padding:.75rem}.sales-indicators{grid-template-columns:1fr}.sales-indicator{min-height:94px}.pagination-button{width:100%}}.code-cell{font-family:Courier New,monospace;font-weight:600;color:#06f}.sku-qty-cell{min-width:132px}.sku-qty-lines{display:flex;flex-direction:column;gap:2px;font-size:.86rem;color:#374151}.sku-qty-lines span{white-space:nowrap}.sku-line,.qty-line{display:inline-flex;align-items:center;gap:6px}.ml-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:18px;padding:0 6px;border-radius:var(--radius-full);border:1px solid #c9ab00;background:#ffe600;color:#1f2937;font-size:.66rem;font-weight:800;letter-spacing:.4px;line-height:1}.qty-line .status-badge{margin-left:2px;padding:.12rem .45rem;font-size:.68rem}.value-cell{font-weight:600;color:#00a86b}.status-badge{padding:.3rem .8rem;border-radius:var(--radius-lg);font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;white-space:nowrap;max-width:100%}.sla-status{margin-top:6px;font-size:.75rem;color:#6b7280}.status-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}.status-main-line{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.nf-pill{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:20px;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.3px;border:1px solid transparent}.nf-pill.has-nf{background:#d4f4dd;border-color:#8dd4a8;color:#0d7a3d}.nf-pill.missing-nf{background:#ffd6d6;border-color:#f2aaaa;color:#b91c1c}.tracking-pill{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:20px;border-radius:999px;font-size:.64rem;font-weight:800;letter-spacing:.35px;border:1px solid transparent}.tracking-pill.ok{background:#dcfce7;border-color:#86efac;color:#166534}.tracking-pill.mismatch{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.tracking-pill.unknown{background:#e5e7eb;border-color:#d1d5db;color:#374151}.sla-status.ok{color:#10b981;font-weight:600}.sla-status.delay{color:#ef4444;font-weight:600}.status-green{background:#d4f4dd;color:#0d7a3d}.status-orange{background:#ffe8cc;color:#c60}.status-blue{background:#cce5ff;color:#06c}.status-red{background:#ffd6d6;color:#c00}.status-teal{background:#ccf2f2;color:teal}.status-purple{background:#ede9fe;color:#6d28d9}.status-indigo{background:#e0e7ff;color:#3730a3}.status-amber{background:#fef3c7;color:#92400e}.status-cyan{background:#cffafe;color:#0e7490}.status-gray{background:#e0e0e0;color:#666}.channel-badge{padding:.3rem .8rem;background:#f0f0f0;border-radius:var(--radius-sm);font-size:.85rem;font-weight:500;color:#555}.marketplace-cell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.view-button{padding:.6rem 1rem;background:#06f;color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:14px;transition:background .2s;min-height:44px}@media (hover: hover){.view-button:hover{background:#0052cc}}.tab-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.tab-button{border:1px solid #e0e0e0;background:#f8f9fb;color:#1a1a1a;padding:.6rem 1rem;border-radius:var(--radius-lg);font-size:14px;cursor:pointer;min-height:44px}.tab-button.active{background:#06f;color:#fff;border-color:#06f}.tab-panel{display:flex;flex-direction:column;gap:.5rem}.frete-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.frete-grid label{display:flex;flex-direction:column;gap:6px;font-size:.9rem}.frete-grid input{padding:8px 10px;border:1px solid #d5d9e0;border-radius:var(--radius-sm);font-size:.95rem}.frete-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.frete-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:var(--radius-md);padding:12px 14px}.frete-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:12px}.frete-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--radius-md);padding:12px;display:flex;flex-direction:column;gap:6px}.frete-card-title{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.4px}.frete-card-value{font-size:1.1rem;color:#111827}.frete-accordion{border:1px solid #e5e7eb;border-radius:var(--radius-md);background:#fff;margin-top:10px;overflow:hidden}.frete-accordion-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:none;background:#f9fafb;font-weight:600;cursor:pointer;color:#111827}.frete-accordion-content{padding:12px}.frete-sla{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;background:#f3f4f6;color:#4b5563}.frete-sla.sla-good{background:#dcfce7;color:#166534}.frete-sla.sla-warn{background:#fef9c3;color:#854d0e}.frete-sla.sla-bad{background:#fee2e2;color:#991b1b}.frete-badge{margin-left:8px;background:#e0e7ff;color:#3730a3;border-radius:var(--radius-full);font-size:.7rem;padding:2px 6px;font-weight:600}.frete-recommended td{background:#f8fafc}.frete-saved{color:#2563eb;font-weight:600;font-size:.85rem}.frete-error{color:#b42318;font-weight:600}.frete-ai-note{color:#0f766e;font-weight:600;font-size:.85rem}.frete-table-wrapper{overflow-x:auto}.frete-table{width:100%;border-collapse:collapse;font-size:.95rem}.frete-table th,.frete-table td{padding:10px 12px;border-bottom:1px solid #e6e8ef;text-align:left}.frete-table th{background:#f6f7fb;font-weight:600}.etiqueta-frame{width:100%;min-height:600px;border:1px solid #e6e8ef;border-radius:var(--radius-sm);margin-top:12px;background:#fff}.comprar-button{background:#10b981;color:#fff;border:none;border-radius:var(--radius-sm);padding:6px 10px;font-size:.85rem;cursor:pointer}.comprar-button:disabled{opacity:.6;cursor:not-allowed}.json-pre{background:#f5f5f5;padding:1rem;border-radius:var(--radius-sm);overflow-x:auto;font-size:.85rem;line-height:1.5;margin-top:.5rem}.xml-pre{max-height:320px;overflow:auto;white-space:pre;background:#0f172a;color:#e2e8f0;border:1px solid #1e293b}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.modal-content{background:#fff;border-radius:var(--radius-md);width:100%;max-width:1200px;height:100%;max-height:calc(var(--app-dvh, 100dvh) - 48px);overflow-y:auto;-webkit-overflow-scrolling:touch;box-shadow:0 4px 20px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:none;position:sticky;top:0;background:#fff;z-index:2}.modal-header h2{font-size:1rem;font-weight:600;color:#111827;margin:0}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;transition:color .2s;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.close-button:hover{color:#333}}.link-button{background:none;border:none;padding:0;color:#1f2937;cursor:pointer;text-decoration:underline;font-size:.875rem}.modal-body{padding:1.5rem}.detail-row{display:grid;grid-template-columns:180px 1fr;gap:1rem;padding:.75rem 0;border-bottom:1px solid #f0f0f0}.detail-row:last-child{border-bottom:none}.detail-row strong{color:#666;font-weight:600;font-size:.9rem}.detail-row span{color:#333;font-size:.95rem}.detail-divider{height:1px;background:#e5e7eb;margin:6px 0 2px}.detail-total strong{color:#111827}.date-muted{color:#6b7280;font-size:.85rem}.payload-details{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.payload-details summary{cursor:pointer;font-weight:600;color:#06f;margin-bottom:1rem}.payload-details pre{background:#f5f5f5;padding:1rem;border-radius:var(--radius-sm);overflow-x:auto;font-size:.85rem;line-height:1.5;color:#333}.product-cell{display:flex;align-items:center;gap:.75rem}.product-thumb{width:50px;height:50px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid #e0e0e0;flex-shrink:0}.product-info{flex:1;min-width:0}.product-name{font-weight:500;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;margin-bottom:.25rem}.product-sku{font-size:.8rem;color:#666}.detail-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.detail-section:first-of-type{margin-top:1rem;padding-top:0;border-top:none}.detail-section h3{margin:0 0 1rem;font-size:1.1rem;font-weight:600;color:#06f}.nf-key{font-family:Courier New,monospace;font-size:.85rem;color:#2c3e50;word-break:break-all;background:#f8f9fa;padding:.25rem .5rem;border-radius:var(--radius-sm)}.tracking-code{font-family:Courier New,monospace;font-weight:700;font-size:1.1rem;color:#06f;letter-spacing:1px}.detail-row a{color:#06f;text-decoration:none;font-weight:500;transition:color .2s}@media (hover: hover){.detail-row a:hover{color:#0052cc;text-decoration:underline}}.product-detail{display:flex;gap:1rem;padding:1rem;background:#f8f9fa;border-radius:var(--radius-sm);margin-bottom:1rem}.product-detail:last-child{margin-bottom:0}.product-image-large{width:120px;height:120px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid #e0e0e0;flex-shrink:0}.product-detail-info{flex:1;min-width:0}.product-detail-info strong{display:block;margin-bottom:.5rem;color:#2c3e50;font-size:1rem}.product-detail-info div{margin:.25rem 0;font-size:.9rem;color:#666}.primary-button.success{background:#10b981;color:#fff;border-color:#10b981}@media (hover: hover){.primary-button.success:hover{background:#059669;border-color:#059669}}.action-button-group{flex-shrink:0}.pedidos-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:60}.pedidos-modal{background:#fff;border-radius:var(--radius-lg);padding:22px 26px;width:min(90vw,380px);box-shadow:0 20px 45px #0f172a33;text-align:center}.pedidos-modal h3{margin:0 0 8px;font-size:18px;color:#0f172a}.pedidos-modal p{margin:0 0 16px;color:#475569;font-size:14px}.pedidos-modal-actions{display:flex;justify-content:center}.pedidos-modal-actions button{border:none;background:#2563eb;color:#fff;padding:8px 16px;border-radius:var(--radius-md);cursor:pointer;font-weight:600}.pedidos-modal--wide{max-width:620px;width:92vw}.reconcile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.reconcile-stat{display:flex;flex-direction:column;align-items:center;background:#f1f5f9;border-radius:var(--radius-sm);padding:8px 4px}.reconcile-stat--clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.reconcile-stat--clickable:hover{transform:translateY(-1px);box-shadow:0 2px 10px #0f172a14}.reconcile-stat--highlight{background:#fef3c7}.reconcile-stat--success{background:#dcfce7}.reconcile-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.reconcile-value{font-size:20px;font-weight:700;color:#0f172a}.reconcile-value-button{border:none;background:transparent;color:#0f172a;font-size:20px;font-weight:700;cursor:pointer;padding:0;line-height:1.1}.reconcile-detail-panel{border:1px solid #dbe3ee;background:#f8fafc;border-radius:var(--radius-sm);padding:10px;margin-bottom:14px}.reconcile-detail-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.reconcile-detail-header h4{margin:0;color:#0f172a;font-size:13px}.reconcile-detail-actions{display:flex;align-items:center;gap:6px}.reconcile-detail-copy,.reconcile-detail-close{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:8px;font-size:12px;font-weight:600;padding:5px 8px;cursor:pointer}.reconcile-detail-copy:hover,.reconcile-detail-close:hover{background:#f1f5f9}.reconcile-copy-feedback{margin:0 0 8px;font-size:12px;color:#2563eb;font-weight:600}.reconcile-detail-empty{margin:0;padding:10px;border-radius:8px;background:#fff;border:1px dashed #cbd5e1;color:#475569;font-size:12px}.reconcile-table-wrap--detail{max-height:220px;margin-bottom:0;background:#fff}.reconcile-table-wrap{max-height:320px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:16px;border:1px solid #e2e8f0;border-radius:var(--radius-sm)}.reconcile-table{width:100%;border-collapse:collapse;font-size:13px}.reconcile-table th{position:sticky;top:0;background:#f8fafc;text-align:left;padding:6px 10px;font-weight:600;color:#475569;border-bottom:1px solid #e2e8f0}.reconcile-table td{padding:6px 10px;border-bottom:1px solid #f1f5f9}.reconcile-table .status-local{color:#dc2626}.reconcile-table .status-magalu{color:#16a34a;font-weight:600}.reconcile-nodiverge{text-align:center;color:#16a34a;font-weight:500}@media (max-width: 480px){.reconcile-summary{grid-template-columns:repeat(2,1fr)}.reconcile-detail-header{flex-direction:column;align-items:flex-start}.reconcile-detail-actions{width:100%}}

/* Hotfix: marketplace marker must render as visual icon, not raw text next to order code. */
.code-cell{display:flex;align-items:center;gap:6px;font-family:Courier New,monospace;font-weight:600;color:#06f}.marketplace-logo{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-width:22px;border-radius:6px;overflow:hidden;text-indent:-9999px;color:transparent;font-size:0;line-height:1;background:#2563eb;box-shadow:0 1px 2px #0f172a26;position:relative}.marketplace-logo:before{content:"";position:absolute;inset:3px;background-repeat:no-repeat;background-position:center;background-size:contain}.marketplace-logo-magalu{background:#006bff}.marketplace-logo-magalu:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23006BFF'/%3E%3Ctext x='16' y='22' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='900' fill='white'%3EM%3C/text%3E%3C/svg%3E")}.marketplace-logo-mercadolivre{background:#ffe600}.marketplace-logo-mercadolivre:before{inset:1px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect width='36' height='24' rx='12' fill='%23FFE600'/%3E%3Ctext x='18' y='16' text-anchor='middle' font-family='Arial,sans-serif' font-size='9' font-weight='900' fill='%23222'%3EML%3C/text%3E%3C/svg%3E")}.marketplace-logo-shopee{background:#ee4d2d}.marketplace-logo-shopee:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23EE4D2D'/%3E%3Cpath d='M10 12h12l-1 12H11L10 12z' fill='white'/%3E%3Cpath d='M13 12c0-5 6-5 6 0' fill='none' stroke='white' stroke-width='2'/%3E%3Ctext x='16' y='21' text-anchor='middle' font-family='Arial,sans-serif' font-size='9' font-weight='900' fill='%23EE4D2D'%3ES%3C/text%3E%3C/svg%3E")}.marketplace-logo-camicado{background:#111827}.marketplace-logo-camicado:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23111827'/%3E%3Ctext x='16' y='22' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='900' fill='white'%3EC%3C/text%3E%3C/svg%3E")}.marketplace-logo-webcontinental{background:#0ea5e9}.marketplace-logo-webcontinental:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%230EA5E9'/%3E%3Ctext x='16' y='22' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='900' fill='white'%3EW%3C/text%3E%3C/svg%3E")}.order-code-text{display:inline-block}

/* Ondax pedidos: ícones e densidade visual ajustados em 2026-06-18 */
.marketplace-logo-magalu{background:#0057ff!important}.marketplace-logo-magalu:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%230057FF'/%3E%3Ctext x='16' y='22' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='900' fill='white'%3EM%3C/text%3E%3C/svg%3E")!important}.marketplace-logo-webcontinental{background:#00a6a6!important}.marketplace-logo-webcontinental:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%2300A6A6'/%3E%3Cpath d='M7 10h18l-2 12H9L7 10z' fill='white' opacity='.96'/%3E%3Cpath d='M10 13l2.2 6 2.2-6h2.6l2.2 6 2.2-6h2.8l-3.7 9h-2.6l-2.2-5.8-2.2 5.8h-2.6L7.2 13H10z' fill='%2300A6A6'/%3E%3C/svg%3E")!important}
.marketplace-logo-carrefour{background:#0f766e!important}.marketplace-logo-carrefour:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%230F766E'/%3E%3Ctext x='16' y='21' text-anchor='middle' font-family='Arial,sans-serif' font-size='13' font-weight='900' fill='white'%3ECF%3C/text%3E%3C/svg%3E")!important}
.marketplace-logo-carrefour{background:#fff!important;border:1px solid #d5dde8!important;color:transparent!important}.marketplace-logo-carrefour:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='white'/%3E%3Cpath d='M15 6 7 16l8 10 3-3-5-7 5-7-3-3z' fill='%230050A4'/%3E%3Cpath d='M17 6 25 16l-8 10-3-3 5-7-5-7 3-3z' fill='%23E30613'/%3E%3Ccircle cx='16' cy='16' r='3.1' fill='white'/%3E%3C/svg%3E")!important}
@media (min-width:769px){.pedidos-container{padding:14px 18px}.pedidos-header{margin-bottom:10px}.pedidos-inline-controls{gap:6px;padding:6px}.pedidos-inline-controls .global-search{min-width:260px}.pedidos-inline-controls .filter-select{min-width:108px;flex-basis:118px}.sales-indicators{gap:7px;padding:7px}.sales-indicator{min-height:58px;padding:7px 10px}.sales-label{font-size:.6rem}.sales-value{font-size:.98rem}.sales-date{font-size:.68rem}.logistics-summary{padding:.45rem .75rem;margin-bottom:.65rem;font-size:.82rem}.pedidos-table{table-layout:fixed}.pedidos-table th{padding:10px 9px;font-size:.74rem;letter-spacing:.28px}.pedidos-table td{padding:9px 9px;font-size:.84rem;line-height:1.25}.pedidos-table th:nth-child(1),.pedidos-table td:nth-child(1){width:7.5%}.pedidos-table th:nth-child(2),.pedidos-table td:nth-child(2){width:9%}.pedidos-table th:nth-child(3),.pedidos-table td:nth-child(3){width:12%}.pedidos-table th:nth-child(4),.pedidos-table td:nth-child(4){width:9%}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:21%}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:15%}.pedidos-table th:nth-child(7),.pedidos-table td:nth-child(7){width:8.5%}.pedidos-table th:nth-child(8),.pedidos-table td:nth-child(8){width:9%}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:6.5%}.pedidos-table th:nth-child(10),.pedidos-table td:nth-child(10){width:8%}.pedidos-table th:nth-child(11),.pedidos-table td:nth-child(11){width:8.5%}.product-cell{max-width:none;gap:8px}.product-thumb{width:30px!important;height:30px!important}.product-name{font-size:.82rem;max-width:none;-webkit-line-clamp:1;white-space:normal}.customer-cell{font-size:.82rem}.sku-qty-lines{font-size:.78rem}.status-badge{padding:.22rem .55rem;font-size:.68rem;letter-spacing:.25px}.nf-pill,.tracking-pill{height:17px;font-size:.58rem;min-width:24px}.marketplace-logo{width:18px;height:18px;min-width:18px;border-radius:5px}.marketplace-logo:before{inset:2px}.code-cell{gap:5px;font-size:.78rem}.order-code-text{white-space:nowrap}.value-cell{white-space:nowrap;font-size:.82rem}.comprar-button{padding:5px 8px;font-size:.72rem}.action-button-group{display:flex;gap:4px;flex-wrap:nowrap}.pedidos-table tbody tr{height:46px}.pedidos-table-container{border:1px solid #e8edf5}}

/* Ondax pedidos: evitar linhas altas em desktop */
@media (min-width:769px){.pedidos-table td[data-label="Ações"],.pedidos-table td:last-child{white-space:nowrap}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{display:inline-flex;align-items:center;justify-content:center;margin:0 2px 0 0;min-height:26px;line-height:1.05;border-radius:7px}.pedidos-table td:last-child{font-size:0}.pedidos-table td:last-child>*{font-size:.72rem}.pedidos-table .product-cell{min-height:30px}.pedidos-table .customer-cell,.pedidos-table td[data-label="Cliente"]{max-width:100%;white-space:normal;display:table-cell;overflow:hidden;text-overflow:ellipsis}.pedidos-table .company-cell,.pedidos-table .value-cell,.pedidos-table td[data-label="Deadline"]{white-space:nowrap}.pedidos-table tbody tr{height:auto}.pedidos-table td{height:42px}.pedidos-table td[data-label="Produto"] .product-name{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pedidos-table td[data-label="Cliente"]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pedidos-table .status-cell{gap:2px}.pedidos-table .status-main-line{gap:4px}.pedidos-table .sku-qty-lines{line-height:1.15}}

/* Ondax pedidos: correção de corte lateral em 100% */
@media (min-width:769px){.pedidos-table th:nth-child(1),.pedidos-table td:nth-child(1){width:7%}.pedidos-table th:nth-child(2),.pedidos-table td:nth-child(2){width:8.5%}.pedidos-table th:nth-child(3),.pedidos-table td:nth-child(3){width:11.2%}.pedidos-table th:nth-child(4),.pedidos-table td:nth-child(4){width:8.2%}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:19%}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:13.3%}.pedidos-table th:nth-child(7),.pedidos-table td:nth-child(7){width:8.2%}.pedidos-table th:nth-child(8),.pedidos-table td:nth-child(8){width:7.2%}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:5.8%}.pedidos-table th:nth-child(10),.pedidos-table td:nth-child(10){width:7.2%}.pedidos-table th:nth-child(11),.pedidos-table td:nth-child(11){width:9.4%;min-width:122px}.pedidos-table td:last-child{overflow:visible}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{padding:5px 7px;max-width:58px;white-space:normal;text-align:center}.pedidos-table td:last-child button:last-child{max-width:68px}.pedidos-table td[data-label="Produto"] .product-name{max-width:100%}.pedidos-table td[data-label="Cliente"]{max-width:100%}.pedidos-table-container{overflow-x:hidden}.pedidos-table{min-width:0}}

/* Ondax pedidos: colunas mais juntas para liberar Ações */
@media (min-width:769px){.pedidos-table{table-layout:fixed;width:100%}.pedidos-table th,.pedidos-table td{padding-left:6px!important;padding-right:6px!important}.pedidos-table th:nth-child(1),.pedidos-table td:nth-child(1){width:6.2%!important}.pedidos-table th:nth-child(2),.pedidos-table td:nth-child(2){width:8.3%!important}.pedidos-table th:nth-child(3),.pedidos-table td:nth-child(3){width:10.8%!important}.pedidos-table th:nth-child(4),.pedidos-table td:nth-child(4){width:8.5%!important}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:18.5%!important}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:12.5%!important}.pedidos-table th:nth-child(7),.pedidos-table td:nth-child(7){width:8%!important}.pedidos-table th:nth-child(8),.pedidos-table td:nth-child(8){width:6.2%!important}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:5.8%!important}.pedidos-table th:nth-child(10),.pedidos-table td:nth-child(10){width:6.7%!important}.pedidos-table th:nth-child(11),.pedidos-table td:nth-child(11){width:8.5%!important;min-width:132px!important}.pedidos-table td[data-label="Empresa"],.pedidos-table td[data-label="Cliente"],.pedidos-table td[data-label="Produto"] .product-name{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.pedidos-table .product-cell{gap:6px!important}.pedidos-table .product-thumb{width:28px!important;height:28px!important}.pedidos-table td:last-child{padding-right:10px!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{padding:5px 6px!important;margin-right:3px!important;max-width:none!important;white-space:normal!important}.pedidos-table td:last-child button:first-child{width:56px!important}.pedidos-table td:last-child button:last-child{width:72px!important}.pedidos-table-container{padding-right:0!important}}

/* Ondax pedidos: Ações sempre dentro da célula */
@media (min-width:769px){.pedidos-table th:nth-child(1),.pedidos-table td:nth-child(1){width:6%!important}.pedidos-table th:nth-child(2),.pedidos-table td:nth-child(2){width:8%!important}.pedidos-table th:nth-child(3),.pedidos-table td:nth-child(3){width:10.5%!important}.pedidos-table th:nth-child(4),.pedidos-table td:nth-child(4){width:8%!important}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:16.5%!important}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:11.5%!important}.pedidos-table th:nth-child(7),.pedidos-table td:nth-child(7){width:7.8%!important}.pedidos-table th:nth-child(8),.pedidos-table td:nth-child(8){width:6%!important}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:5.5%!important}.pedidos-table th:nth-child(10),.pedidos-table td:nth-child(10){width:6.5%!important}.pedidos-table th:nth-child(11),.pedidos-table td:nth-child(11){width:13.7%!important;min-width:160px!important}.pedidos-table td:last-child{white-space:nowrap!important;overflow:hidden!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{display:inline-flex!important;vertical-align:middle!important}.pedidos-table td:last-child button:first-child{width:54px!important}.pedidos-table td:last-child button:last-child{width:70px!important}.pedidos-table td[data-label="Código"]{letter-spacing:-.2px}.pedidos-table td[data-label="SKU / Qtd"]{letter-spacing:-.1px}}

/* Ondax pedidos: última coluna é Ações em qualquer aba */
@media (min-width:769px){.pedidos-table th:last-child,.pedidos-table td:last-child{width:13.8%!important;min-width:160px!important;max-width:160px!important}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:15.8%!important}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:10.8%!important}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:6.2%!important}.pedidos-table td:last-child{padding-left:5px!important;padding-right:5px!important;overflow:visible!important}.pedidos-table td:last-child button:first-child{width:54px!important}.pedidos-table td:last-child button:last-child{width:72px!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{margin-right:2px!important}}

/* Ondax pedidos: redistribuição equilibrada desktop */
@media (min-width:769px){.pedidos-table{table-layout:fixed!important;width:100%!important}.pedidos-table th,.pedidos-table td{padding-left:7px!important;padding-right:7px!important}.pedidos-table th:nth-child(1),.pedidos-table td:nth-child(1){width:7.2%!important}.pedidos-table th:nth-child(2),.pedidos-table td:nth-child(2){width:9%!important}.pedidos-table th:nth-child(3),.pedidos-table td:nth-child(3){width:11.2%!important}.pedidos-table th:nth-child(4),.pedidos-table td:nth-child(4){width:8.8%!important}.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:20%!important}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:14%!important}.pedidos-table th:nth-child(7),.pedidos-table td:nth-child(7){width:8.3%!important}.pedidos-table th:nth-child(8),.pedidos-table td:nth-child(8){width:5.6%!important}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:6.4%!important}.pedidos-table th:last-child,.pedidos-table td:last-child{width:9.5%!important;min-width:136px!important;max-width:none!important}.pedidos-table td[data-label="Ações"],.pedidos-table td:last-child{padding-left:6px!important;padding-right:8px!important;white-space:nowrap!important;overflow:visible!important}.pedidos-table td:last-child button:first-child{width:54px!important}.pedidos-table td:last-child button:last-child{width:70px!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{padding:5px 5px!important;margin-right:3px!important}.pedidos-table td[data-label="Produto"] .product-name{font-size:.84rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.pedidos-table td[data-label="Cliente"]{font-size:.83rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.pedidos-table td[data-label="Empresa"]{font-size:.83rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.pedidos-table td[data-label="Data/Hora"]{font-size:.82rem!important}.pedidos-table td[data-label="Código"]{font-size:.77rem!important}.pedidos-table .sku-qty-lines{font-size:.78rem!important}.pedidos-table .status-badge{font-size:.67rem!important}.pedidos-table .product-thumb{width:30px!important;height:30px!important}.pedidos-table .product-cell{gap:7px!important}.pedidos-table tbody tr{height:54px!important}.pedidos-table td{height:54px!important;vertical-align:middle!important}.pedidos-table-container{overflow-x:hidden!important}}

/* Ondax pedidos: ações em uma linha e espaçamento final */
@media (min-width:769px){.pedidos-table th:nth-child(5),.pedidos-table td:nth-child(5){width:18.8%!important}.pedidos-table th:nth-child(6),.pedidos-table td:nth-child(6){width:13.2%!important}.pedidos-table th:nth-child(9),.pedidos-table td:nth-child(9){width:6%!important}.pedidos-table th:last-child,.pedidos-table td:last-child{width:11.5%!important;min-width:158px!important}.pedidos-table td:last-child button:first-child{width:54px!important}.pedidos-table td:last-child button:last-child{width:88px!important;white-space:nowrap!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{font-size:.68rem!important;line-height:1!important;height:26px!important;min-height:26px!important;padding:0 5px!important}.pedidos-table tbody tr{height:56px!important}.pedidos-table td{height:56px!important}.pedidos-table td[data-label="Produto"] .product-name{max-width:100%!important}.pedidos-table td[data-label="Cliente"]{max-width:100%!important}}

/* Ondax pedidos: altura real das linhas mais econômica */
@media (min-width:769px){.pedidos-table,.pedidos-table *{box-sizing:border-box}.pedidos-table th{padding-top:8px!important;padding-bottom:8px!important}.pedidos-table td{padding-top:5px!important;padding-bottom:5px!important;height:auto!important}.pedidos-table tbody tr{height:auto!important}.pedidos-table .status-cell{gap:2px!important}.pedidos-table .status-main-line{line-height:1!important}.pedidos-table .status-badge{padding-top:3px!important;padding-bottom:3px!important;line-height:1!important}.pedidos-table .nf-pill,.pedidos-table .tracking-pill{height:16px!important;line-height:1!important}.pedidos-table .product-thumb{width:28px!important;height:28px!important}.pedidos-table .sku-qty-lines{gap:1px!important;line-height:1.1!important}.pedidos-table td:last-child .comprar-button,.pedidos-table td:last-child button{height:24px!important;min-height:24px!important}}

/* Ondax UX 2026-06-26: leitura melhor em Todos e popup do pedido, sem alterar fluxo */
@media (min-width:769px){
  .pedidos-container{
    padding:12px 16px 36px!important;
  }
  .pedidos-inline-controls{
    gap:7px!important;
    padding:7px!important;
    border-radius:12px!important;
  }
  .sales-indicators{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:8px!important;
    padding:8px!important;
  }
  .sales-indicator{
    min-height:62px!important;
  }
  .pedidos-table-container{
    border-radius:14px!important;
    border:1px solid #e4ebf5!important;
    box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
  }
  .pedidos-table th{
    height:34px!important;
    padding:8px 7px!important;
    font-size:10px!important;
    color:#26364c!important;
    background:#f8fafc!important;
  }
  .pedidos-table td{
    padding:6px 7px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .pedidos-table tbody tr{
    min-height:54px!important;
  }
  .pedidos-table .product-cell{
    gap:8px!important;
    min-width:0!important;
  }
  .pedidos-table .product-thumb{
    width:34px!important;
    height:34px!important;
    border-radius:9px!important;
  }
  .pedidos-table td[data-label="Produto"] .product-name,
  .pedidos-table .product-name{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:700!important;
    color:#172033!important;
  }
  .pedidos-table td[data-label="Cliente"],
  .pedidos-table .customer-cell{
    font-size:12px!important;
    line-height:1.2!important;
  }
  .pedidos-table .status-badge{
    width:max-content!important;
    max-width:100%!important;
    padding:5px 9px!important;
    line-height:1!important;
    font-size:10px!important;
  }
  .pedidos-table .marketplace-logo{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
  }
  .pedidos-table td:last-child .comprar-button,
  .pedidos-table td:last-child button{
    min-height:28px!important;
    height:auto!important;
    padding:5px 8px!important;
    font-size:11px!important;
    line-height:1.05!important;
  }
  .modal-overlay{
    z-index:100050!important;
    padding:14px!important;
    align-items:center!important;
  }
  .modal-content{
    max-width:min(1360px,calc(100vw - 28px))!important;
    max-height:calc(100dvh - 28px)!important;
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  .modal-header{
    flex:0 0 auto!important;
    padding:12px 16px!important;
    border-bottom:1px solid #e5e7eb!important;
  }
  .modal-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    padding:14px 16px 18px!important;
  }
  .tab-bar{
    gap:7px!important;
    margin-bottom:12px!important;
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:#fff!important;
    padding-bottom:8px!important;
  }
  .tab-button{
    min-height:34px!important;
    padding:7px 12px!important;
    font-size:12px!important;
  }
  .detail-row{
    grid-template-columns:150px minmax(0,1fr)!important;
    padding:8px 0!important;
    gap:12px!important;
  }
  .product-detail{
    padding:12px!important;
    gap:12px!important;
  }
  .product-image-large{
    width:92px!important;
    height:92px!important;
  }
}

/* Ajuste de proporção da busca em Pedidos/Todos: manter input ocupando toda a área disponível. */
.pedidos-inline-controls .global-search{flex:2.4 1 560px!important;min-width:420px!important;max-width:none!important}
.pedidos-inline-controls .global-search .global-search-input{display:block!important;width:100%!important;min-width:0!important;flex:1 1 auto!important;box-sizing:border-box!important}

.tracking-cell-v2{position:relative;display:flex;flex-direction:column;gap:3px;min-width:150px;max-width:220px;line-height:1.18}
.tracking-link-v2{color:#1d4ed8;font-weight:800;text-decoration:none;white-space:nowrap}
.tracking-link-v2:hover{text-decoration:underline}
.tracking-empty-v2{color:#94a3b8;font-weight:700}
.tracking-status-v2{color:#0f172a;font-size:11px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tracking-date-v2{color:#64748b;font-size:10px}
.tracking-magalu-v2{width:max-content;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}
.tracking-magalu-v2.ok{background:#dcfce7;color:#047857}
.tracking-magalu-v2.err{background:#fee2e2;color:#b91c1c}
.tracking-magalu-v2.wait{background:#e0f2fe;color:#0369a1}
.tracking-history-v2{position:absolute;z-index:40;top:100%;left:0;width:min(360px,calc(100vw - 40px));max-height:300px;overflow:auto;background:#fff;border:1px solid #bfdbfe;border-radius:14px;box-shadow:0 18px 42px rgba(15,23,42,.20);padding:10px}
.tracking-history-head-v2{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#0f172a}
.tracking-history-head-v2 button{border:0;background:#eff6ff;color:#1d4ed8;border-radius:999px;width:26px;height:26px;font-weight:900;cursor:pointer}
.tracking-history-row-v2{display:grid;grid-template-columns:1fr auto;gap:4px 10px;border-top:1px solid #eef2f7;padding:8px 0}
.tracking-history-row-v2 strong{font-size:12px;color:#0f172a}.tracking-history-row-v2 span{font-size:11px;color:#475569}.tracking-history-row-v2 small{grid-column:1/-1;color:#64748b}
.tracking-history-muted-v2,.tracking-history-error-v2{padding:10px;color:#64748b;font-size:12px}.tracking-history-error-v2{color:#b91c1c}

/* Ondax action standard: mesma fonte, altura e formato nas colunas de ação. */
:root{
  --ondax-action-height:34px;
  --ondax-action-radius:12px;
  --ondax-action-font-size:11.5px;
  --ondax-action-shadow:0 8px 18px rgba(15,23,42,.08);
}
.pedidos-table td[data-label="Ações"],
.pedidos-table td[data-label="Ação"],
.pedidos-table td[data-label="Acao"],
.pedidos-table td[data-label="Acoes"],
.pedidos-table td:last-child{
  text-align:center!important;
  overflow:visible!important;
}
.pedidos-table td[data-label="Ações"] .actions,
.pedidos-table td[data-label="Ação"] .actions,
.pedidos-table td[data-label="Acao"] .actions,
.pedidos-table td[data-label="Acoes"] .actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
}
.pedidos-table td[data-label="Ações"] button,
.pedidos-table td[data-label="Ação"] button,
.pedidos-table td[data-label="Acao"] button,
.pedidos-table td[data-label="Acoes"] button,
.pedidos-table td:last-child .comprar-button,
.pedidos-table td:last-child .button{
  width:100%!important;
  min-width:88px!important;
  max-width:132px!important;
  min-height:var(--ondax-action-height)!important;
  height:auto!important;
  border-radius:var(--ondax-action-radius)!important;
  padding:8px 12px!important;
  border:1px solid #0f766e!important;
  background:#0f766e!important;
  color:#fff!important;
  font-size:var(--ondax-action-font-size)!important;
  font-weight:850!important;
  line-height:1.05!important;
  letter-spacing:-.01em!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  box-shadow:var(--ondax-action-shadow)!important;
  cursor:pointer;
}
.pedidos-table td[data-label="Ações"] button:disabled,
.pedidos-table td[data-label="Ação"] button:disabled,
.pedidos-table td[data-label="Acao"] button:disabled,
.pedidos-table td[data-label="Acoes"] button:disabled,
.pedidos-table td:last-child .comprar-button:disabled,
.pedidos-table td:last-child .button:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
  filter:saturate(.75)!important;
}

/* Marketplace badge: Carrefour padronizado com Magalu em tamanho e forma. */
.marketplace-logo-carrefour{background:linear-gradient(135deg,#0057ff 0 52%,#e30613 52% 100%)!important;border:0!important;color:transparent!important;box-shadow:0 1px 2px #0f172a26!important}.marketplace-logo-carrefour:before{inset:0!important;background-size:100% 100%!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230057FF'/%3E%3Cstop offset='.52' stop-color='%230057FF'/%3E%3Cstop offset='.52' stop-color='%23E30613'/%3E%3Cstop offset='1' stop-color='%23E30613'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='32' height='32' rx='7' fill='url(%23g)'/%3E%3Ctext x='16' y='22' text-anchor='middle' font-family='Arial,sans-serif' font-size='18' font-weight='900' fill='white'%3EC%3C/text%3E%3C/svg%3E")!important}.pedidos-table .marketplace-logo-carrefour:before{inset:0!important}
