.integrations-intro{margin-bottom:24px}.integrations-intro h2{margin:0 0 8px}.integrations-intro p,.mp-description{color:#647c90;line-height:1.6;margin:0 0 20px;font-size:14px}.mp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mp-card{border:1px solid #cedfe9;border-top:4px solid #2396b5;border-radius:14px;background:#fff;overflow:hidden;padding:24px;display:flex;flex-direction:column;gap:20px;box-shadow:0 3px 0 #e4edf3}.mp-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.mp-card h3{margin:0;font-size:23px}.mp-status{font-size:12px;font-weight:600;padding:6px 10px;border-radius:20px;background:#edf4f8;color:#597385;white-space:nowrap}.mp-card .field{margin:0}.mp-card .field label{display:block;margin-bottom:8px}.mp-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mp-link{color:#216980;text-decoration:none;font-size:13px;font-weight:600}.mp-link:hover{text-decoration:underline}.mp-card-bottom{border-top:1px solid #e0e9ef;margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:#647c90}.mp-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #dbe7ee;padding-top:22px;margin-top:24px}.mp-footer .mp-description{margin:0}.pix-panel .cfg-head{gap:14px}.mp-products.modal-box{width:94vw;max-width:1500px;height:88vh;max-height:940px;padding:0;display:flex;flex-direction:column;overflow:hidden}.mp-modal-head{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:26px 30px;border-bottom:1px solid #dbe7ee;flex-shrink:0}.mp-modal-head h2{margin:0 0 8px}.mp-modal-head .mp-description{margin:0}.mp-products-columns{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0}.mp-product-picker,.mp-product-editor{padding:24px 30px;min-width:0;overflow:auto}.mp-product-picker{display:flex;flex-direction:column;border-right:1px solid #dbe7ee;background:#f7fafc}.mp-products h3{font-size:17px;margin:0 0 20px}.mp-products label{font-size:13px;color:#526c80;font-weight:600;margin-bottom:8px}.mp-products input:not([type=radio]){width:100%;min-height:46px;flex-shrink:0}.mp-product-picker #mpCount{margin:12px 0;font-size:12px}.mp-product-list{flex:1;overflow:auto;min-height:180px;border:1px solid #d3e2ec;border-radius:12px;background:white}.mp-product-option{display:flex!important;align-items:center;gap:14px;padding:15px 18px;margin:0!important;border-bottom:1px solid #e4ecf2;cursor:pointer;min-height:65px}.mp-product-option:has(input:checked){background:#fff2e5;box-shadow:inset 4px 0 #ff7a00}.mp-product-option:hover{background:#edf6fa}.mp-product-option input[type=radio]{width:18px;height:18px;flex:0 0 18px;accent-color:#ff7a00}.mp-product-option strong{display:block;color:#203f51;font-size:14px}.mp-product-option small{display:block;color:#698296;margin-top:4px}.mp-selection{background:#eef6fa;border:1px solid #cee1ec;border-radius:10px;padding:18px;min-height:62px;margin-bottom:20px;font-weight:600}.mp-product-editor .field{margin-bottom:18px}.mp-product-editor #mpError{min-height:22px;color:#b93131;margin:12px 0 24px}.mp-linked-table{overflow:auto;border:1px solid #dbe7ee;border-radius:10px}.mp-empty{padding:24px!important;text-align:center;color:#698296}.mp-modal-foot{padding:16px 30px;border-top:1px solid #dbe7ee;color:#647c90;font-size:13px;flex-shrink:0}.mp-products button:focus-visible,.mp-product-option:focus-within{outline:3px solid #47a8c5;outline-offset:2px}@media(max-width:1100px){.mp-grid{grid-template-columns:1fr}.mp-card{gap:16px}}@media(max-width:700px){.mp-products.modal-box{height:94vh;width:96vw}.mp-products-columns{display:block;overflow:auto}.mp-product-picker{border-right:0;border-bottom:1px solid #dbe7ee}.mp-product-list{height:280px;flex:auto}.mp-product-picker,.mp-product-editor,.mp-modal-head{padding:20px}.mp-modal-head h2{font-size:20px}}
.mp-products #mpSearch{border:1px solid #c9dce9;border-radius:10px;background:white;padding:12px 14px;font:inherit;color:#203f51}.mp-products #mpSearch:focus{outline:2px solid #ff8a28;outline-offset:1px}
/* Reconciliation dialog: isolated from generic portal modal rules. */
#marketplaceLocalModal .mp-reconciliation{width:calc(100vw - 48px);max-width:1160px;max-height:90dvh;padding:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #d6e4ec;border-radius:20px;color:#203e50}
#marketplaceLocalModal [hidden]{display:none!important}
.mp-recon-head{padding:26px 30px;background:#eff7fb;border-bottom:1px solid #d6e4ec;display:flex;gap:24px;align-items:flex-start;justify-content:space-between;flex:none}
.mp-recon-eyebrow{display:block;color:#1586a1;font-size:11px;font-weight:800;letter-spacing:1.5px;margin-bottom:10px}
#marketplaceLocalModal h2{font-size:24px;line-height:1.25;margin:0 0 10px}#marketplaceLocalModal p{font-size:13px;line-height:1.6;margin:0;color:#637e90}
#mpLocalClose{flex:none;min-width:40px;min-height:40px;padding:8px}
.mp-recon-body{overflow:auto;padding:24px 30px;min-height:0;background:#f7fafc}
.mp-recon-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:22px}
#marketplaceLocalModal label{display:grid;gap:8px;font-size:12px;font-weight:600;color:#4b687e}
#marketplaceLocalModal input{box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #c8dce8;border-radius:9px;background:white;font:inherit;color:#203e50;max-width:100%;min-width:0}
#marketplaceLocalModal .btn{min-height:44px}#mpLocalSnapshot{margin-left:auto}
.mp-recon-message:not(:empty){padding:20px 22px;border:1px solid #c8dfe9;border-radius:12px;background:#eef7fb;line-height:1.65;font-size:14px}
.mp-recon-message[data-state=error]{background:#fff7e8;border-color:#e8d5ad;color:#755421}
.mp-recon-section{border:1px solid #d9e5ed;background:white;border-radius:13px;margin-top:22px;padding:22px}
.mp-recon-section-head{margin-bottom:18px}#marketplaceLocalModal h3{font-size:17px;line-height:1.4;margin:0 0 6px}
.mp-recon-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.mp-recon-metric{padding:16px;border:1px solid #dce8ef;border-radius:10px;border-top:3px solid #2995b2;background:#f6fafc;display:flex;flex-direction:column;gap:12px}
.mp-recon-metric span{font-size:12px;line-height:1.4;color:#607c90}.mp-recon-metric strong{font-size:23px;color:#203e50}
#marketplaceLocalModal .mp-recon-saved{margin:16px 0 6px}#marketplaceLocalModal .mp-recon-note{margin-bottom:18px}
.mp-recon-table{overflow:auto;border:1px solid #e1eaf0;border-radius:9px}.mp-recon-table table{width:100%;border-collapse:collapse;font-size:13px}.mp-recon-table th{background:#f0f6fa;color:#527085}.mp-recon-table th,.mp-recon-table td{padding:12px 14px;text-align:left;border-bottom:1px solid #e1eaf0;white-space:nowrap}
#mpLocalOrders{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}
.mp-recon-empty{grid-column:1/-1;padding:24px;text-align:center;background:#f5f9fb;border:1px dashed #cbdfe9;border-radius:10px;color:#6b8596;font-size:13px}
.mp-recon-order{border:1px solid #cbdfe9;border-radius:10px;padding:18px;min-width:0}.mp-recon-order label{margin:14px 0}.mp-recon-order .receipts>div{border-top:1px solid #e0eaf0;padding-bottom:16px}
.mp-recon-foot{padding:16px 30px;border-top:1px solid #d9e5ed;background:white;color:#637e90;font-size:12px;line-height:1.6;flex:none}
@media(max-width:700px){#marketplaceLocalModal .mp-reconciliation{width:calc(100vw - 20px);max-height:94dvh;border-radius:14px}.mp-recon-head,.mp-recon-body{padding:20px 18px}.mp-recon-foot{padding:14px 18px}#marketplaceLocalModal h2{font-size:20px}.mp-recon-toolbar>label{width:100%}.mp-recon-toolbar>.btn{flex:1;margin-left:0;padding:10px;font-size:12px}.mp-recon-section{padding:16px}.mp-recon-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-recon-metric{padding:12px}.mp-recon-metric strong{font-size:19px}}
#marketplaceLocalModal .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}

/* Distinct actions for entering and leaving reconciliation. */
.mp-actions .mp-reconciliation-launch{background:#087f68;color:#fff;border:1px solid #066650;box-shadow:0 3px 0 #065c4c;padding:12px 22px;font-weight:700;min-height:46px}
.mp-actions .mp-reconciliation-launch:hover{background:#066a57;color:#fff}
#marketplaceLocalModal #mpLocalClose{background:#245a79;color:#fff;border:1px solid #1c4963;box-shadow:0 3px 0 #173d53;min-width:108px;padding:11px 18px;white-space:nowrap;font-weight:700}
#marketplaceLocalModal #mpLocalClose:hover{background:#1b4761;color:#fff}
#marketplaceLocalModal #mpLocalRefresh{background:#e1f2f8;color:#165776;border:1px solid #88b8cd;box-shadow:0 3px 0 #b8d6e3;font-weight:700}
#marketplaceLocalModal #mpLocalRefresh:hover:not(:disabled){background:#cfe9f3}
#marketplaceLocalModal .btn:focus-visible,.mp-actions .mp-reconciliation-launch:focus-visible{outline:3px solid #e58a25;outline-offset:3px}
@media(max-width:520px){.mp-recon-head{flex-wrap:wrap;gap:16px}#marketplaceLocalModal #mpLocalClose{margin-left:auto}}

/* Integration actions share a consistent size and semantic colors. */
.mp-footer .btn{min-height:48px;padding:12px 20px;border-radius:11px;font-size:13px;font-weight:700;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;text-align:center;transition:background .15s,box-shadow .15s}
.mp-footer .mp-review-action,.pix-panel #mpConnect{background:#245a79;color:#fff;border:1px solid #1c4963;box-shadow:0 3px 0 #173d53}
.mp-footer .mp-review-action:hover,.pix-panel #mpConnect:hover:not(:disabled){background:#1b4761;color:#fff}
.pix-panel .mp-save-pix{background:#087f68;color:#fff;border:1px solid #066650;box-shadow:0 3px 0 #065c4c}
.pix-panel .mp-save-pix:hover:not(:disabled){background:#066a57;color:#fff}
.pix-panel #mpDisconnect{background:#b8323e;color:#fff;border:1px solid #9e2732;box-shadow:0 3px 0 #81222b}
.pix-panel #mpDisconnect:hover:not(:disabled){background:#9e2732;color:#fff}
.mp-footer .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.mp-footer .btn:focus-visible{outline:3px solid #e58a25;outline-offset:3px}
#mpPixConnection .mp-footer{align-items:flex-start;gap:24px}#mpPixConnection .mp-footer>div:first-child{flex:1 1 380px;min-width:0}#mpPixConnection .mp-actions{align-self:center;gap:12px}
@media(max-width:600px){.mp-footer>.mp-actions,#mpPixConnection .mp-actions{width:100%;display:grid;grid-template-columns:1fr}.mp-footer>.btn{width:100%}.mp-footer .btn{min-height:48px}}
