.oi-page,.oi-widget{font-family:inherit;color:#162943}.oi-page{max-width:1500px;margin:auto}.oi-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.oi-head h1,.oi-head h2,.oi-head h3{margin:4px 0 10px}.oi-head p{margin:6px 0;color:#56667c}.oi-eyebrow{font-size:11px;letter-spacing:1px}.oi-counters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.oi-counters>div{background:#fff;border:1px solid #dce3ed;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:9px}.oi-counters strong{font-size:25px}.oi-counters small,.oi-scan{color:#64748b}.oi-critical strong,.oi-error{color:#b91c1c}.oi-button{display:inline-block;border:1px solid #cad5e2;background:#fff;color:#21456e;border-radius:7px;padding:9px 13px;text-decoration:none;cursor:pointer;font:inherit}.oi-button:disabled{opacity:.5;cursor:default}.oi-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px;background:#fff;border:1px solid #dce3ed;border-radius:12px;margin:20px 0}.oi-filters label,.oi-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px}.oi-filters input,.oi-filters select,.oi-dialog textarea{border:1px solid #cad5e2;border-radius:7px;padding:10px;font:inherit;min-width:140px}.oi-issue{background:#fff;border:1px solid #dce3ed;border-left:4px solid #d69a29;border-radius:9px;padding:18px;margin:14px 0}.oi-issue-critical{border-left-color:#cf3c3c}.oi-badge{font-size:12px;font-weight:600}.oi-evidence{display:grid;grid-template-columns:repeat(3,1fr);background:#f4f7fb;padding:14px;gap:15px;margin:14px 0;border-radius:8px}.oi-evidence>div{display:flex;flex-direction:column;gap:6px}.oi-evidence span,.oi-evidence small{font-size:12px;color:#52647b}.oi-actions,.oi-pagination{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.oi-note{padding:12px;background:#eff6ff}.oi-error{background:#fff1f2;padding:14px;border:1px solid #fecdd3}.oi-widget{border:1px solid #dce3ed;border-radius:14px;background:#f8fafc;padding:20px;margin-bottom:22px}.oi-issue pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.oi-empty{padding:25px;text-align:center}.oi-overlay{position:fixed;inset:0;background:#10203880;z-index:1500;display:grid;place-items:center;padding:20px}.oi-dialog{background:white;border-radius:14px;padding:24px;max-width:650px;width:100%;max-height:80vh;overflow:auto}.oi-dialog textarea{min-height:130px;width:100%;box-sizing:border-box;margin-bottom:15px}@media(max-width:850px){.oi-counters,.oi-evidence{grid-template-columns:1fr 1fr}.oi-head{flex-direction:column}.oi-filters label{flex:1}}@media(max-width:550px){.oi-counters,.oi-evidence{grid-template-columns:1fr}.oi-page{padding:5px}}

/* The daily order view compares evidence from the Hub and Magalu. */
.oi-orders-page{padding:4px 0 20px;--oi-ink:#162943;--oi-muted:#617186;--oi-line:#dce3ed;--oi-green:#0f766e}
.oi-orders-page *{box-sizing:border-box}.oi-orders-page h1{font-size:28px;line-height:1.2;letter-spacing:-.45px}.oi-orders-page .oi-eyebrow{font-weight:700;color:var(--oi-green)}.oi-orders-page .oi-head>div{min-width:0}.oi-orders-page .oi-head>button{flex-shrink:0;white-space:nowrap}.oi-orders-page button,.oi-orders-page input,.oi-orders-page select{font-family:inherit}.oi-orders-page .oi-button{font-size:13px;line-height:1.35;font-weight:600;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;transition:background .15s,border-color .15s}.oi-orders-page .oi-button:hover:not(:disabled){background:#f0f5fa;border-color:#a4b7cc}.oi-orders-page .oi-button-primary{color:#fff;background:var(--oi-green);border-color:var(--oi-green)}.oi-orders-page .oi-button-primary:hover:not(:disabled){background:#0b625c;border-color:#0b625c}.oi-orders-page .oi-button:disabled{opacity:.6}.oi-orders-page :is(button,a,input,select):focus-visible{outline:3px solid #70b7ff;outline-offset:3px}
.oi-order-counters{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.oi-count{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:17px 18px;background:#fff;border:1px solid var(--oi-line);border-radius:12px;font:inherit;cursor:pointer;min-width:0;color:var(--oi-ink);box-shadow:0 1px 2px #16294305}.oi-count>span{font-size:13px;font-weight:600}.oi-count>strong{font-size:29px;line-height:1.15}.oi-count>small{font-size:12px;color:var(--oi-muted);line-height:1.45}.oi-count:hover{border-color:#a2b5c9}.oi-count.is-selected{border-color:var(--oi-green);box-shadow:0 0 0 1px var(--oi-green)}.oi-count-divergent>strong{color:#b42336}.oi-count-unknown>strong{color:#95621b}.oi-count-pending>strong{color:#a65f0b}.oi-count-matched>strong{color:var(--oi-green)}
.oi-order-filters{gap:12px;padding:16px;margin:18px 0}.oi-order-filters label{flex:1 1 150px;min-width:0;color:#42536c;font-size:12px;font-weight:600}.oi-order-filters .oi-search-label{flex:1.1 1 180px}.oi-order-filters :is(input,select){width:100%;min-width:0;min-height:42px;color:var(--oi-ink);background:#fff;font-size:13px;font-weight:400}.oi-order-filters>button{flex:0 0 auto;min-height:42px}
.oi-result-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:20px 0 14px}.oi-result-heading p{font-size:13px;margin:0;font-weight:600}.oi-result-heading small{font-size:12px;color:var(--oi-muted);line-height:1.5}.oi-order{border:1px solid var(--oi-line);border-radius:12px;background:#fff;padding:16px;margin:12px 0;box-shadow:0 2px 5px #12244303}.oi-order-divergent{border-left:4px solid #ce4758}.oi-order-unknown{border-left:4px solid #d2a34c}.oi-order-pending{border-left:4px solid #d18b24}.oi-order-matched{border-left:4px solid #5aaba0}.oi-order-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.oi-order-heading>div{min-width:0}.oi-order-heading h2{font-size:17px;line-height:1.4;margin:0 0 5px;color:var(--oi-ink);overflow-wrap:anywhere}.oi-order-heading p{font-size:12px;line-height:1.6;color:var(--oi-muted);margin:0}.oi-order-heading p>span{margin:0 3px}.oi-status{display:inline-flex;align-items:center;white-space:nowrap;align-self:flex-start;border-radius:16px;padding:5px 9px;font-size:11px;font-weight:700;line-height:1.25}.oi-status-divergent{color:#a92234;background:#fff0f2}.oi-status-unknown{color:#906119;background:#fff6df}.oi-status-pending{color:#995509;background:#fff0d8}.oi-status-matched{color:#087264;background:#e6f5ef}
.oi-order-comparisons{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}.oi-comparison{min-width:0;padding:11px;background:#f8fafc;border:1px solid #e3e9f1;border-radius:9px}.oi-stage-head{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:8px}.oi-stage-head h3{font-size:13px;line-height:1.4;margin:0}.oi-stage-head .oi-status{font-size:10px;padding:4px 7px}.oi-values{display:grid;grid-template-columns:1fr 1fr;gap:15px}.oi-values>div{min-width:0;display:flex;flex-direction:column;gap:5px}.oi-source-label{font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:.5px;color:#607086}.oi-values strong{font-size:12px;line-height:1.6;font-weight:600;display:block;overflow-wrap:anywhere;color:#20344e}.oi-values strong small{font-weight:400;display:block;line-height:1.5;color:var(--oi-muted)}.oi-document-value{display:block;overflow-wrap:anywhere}.oi-document-value+.oi-document-value{margin-top:7px}.oi-value-unknown{font-weight:400;color:#758399}.oi-reason{font-size:12px;line-height:1.5;color:#99632b;margin:12px 0 0}.oi-comparison-divergent .oi-reason{color:#ac2b3f}.oi-comparison-pending{border-color:#efd3a5;background:#fffbf3}.oi-comparison-pending .oi-reason{color:#94550c}.oi-order-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-top:12px;padding-top:10px;border-top:1px solid #e7edf4}.oi-order-evidence{min-width:0;display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--oi-muted);line-height:1.5}.oi-reading-warning{color:#94651e}.oi-order-footer .oi-actions{flex-shrink:0;margin:0;justify-content:flex-end;gap:8px}.oi-notice{border:1px solid #b8ded4;background:#effaf5;color:#0d705f;padding:12px 14px;border-radius:8px;font-size:13px}.oi-orders-page .oi-error{border-radius:8px;font-size:13px;line-height:1.5}.oi-orders-page .oi-empty{background:#fff;border:1px solid var(--oi-line);border-radius:12px;color:var(--oi-muted);padding:30px 18px;font-size:14px}.oi-orders-page .oi-pagination{align-items:center;justify-content:flex-end;gap:14px}.oi-pagination>span{font-size:12px;color:var(--oi-muted)}.oi-footnote{font-size:12px;line-height:1.6;color:var(--oi-muted);margin-top:20px}
@media(max-width:1050px){.oi-orders-page .oi-order-counters{grid-template-columns:1fr 1fr}.oi-order-counters .oi-count-open{grid-column:1/-1}.oi-order-comparisons{grid-template-columns:1fr 1fr}.oi-comparison:last-child{grid-column:1/-1}.oi-order-footer{align-items:flex-start;flex-direction:column}.oi-order-footer .oi-actions{justify-content:flex-start}.oi-orders-page .oi-head{flex-direction:row}.oi-order-filters>button{flex:1 1 120px}}
@media(max-width:650px){.oi-orders-page{padding:0 0 12px}.oi-orders-page h1{font-size:24px}.oi-orders-page .oi-head{flex-direction:column;gap:10px}.oi-orders-page .oi-head p{font-size:13px;line-height:1.55}.oi-orders-page .oi-head>button{align-self:flex-start}.oi-orders-page .oi-order-counters{grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.oi-count{padding:13px;gap:7px}.oi-count>strong{font-size:26px}.oi-count>span{font-size:12px}.oi-count>small{font-size:11px;line-height:1.5}.oi-order-filters{padding:12px;gap:10px;margin:16px 0}.oi-order-filters label{flex-basis:calc(50% - 10px)}.oi-order-filters .oi-search-label{flex-basis:100%}.oi-order-filters>button{flex:1 1 calc(50% - 10px)}.oi-result-heading{flex-direction:column;align-items:flex-start;gap:7px;margin-top:16px}.oi-order{padding:14px 12px;border-radius:11px}.oi-order-heading{gap:8px;margin-bottom:12px}.oi-order-heading h2{font-size:15px}.oi-order-heading .oi-status{font-size:10px;padding:5px 7px}.oi-order-comparisons{grid-template-columns:1fr;gap:9px}.oi-comparison:last-child{grid-column:auto}.oi-comparison{padding:12px}.oi-stage-head{margin-bottom:8px}.oi-values strong{font-size:13px}.oi-values{gap:16px}.oi-order-evidence{font-size:11px}.oi-order-footer .oi-actions{width:100%;flex-wrap:wrap}.oi-order-footer .oi-actions>.oi-button{flex:1 1 130px;min-height:44px;font-size:12px}.oi-orders-page .oi-pagination{justify-content:space-between;gap:8px}.oi-footnote{font-size:11px}}
@media(prefers-reduced-motion:reduce){.oi-orders-page .oi-button{transition:none}}
.oi-status-alert{margin:0 0 14px;border:1px solid #ffd4da;border-radius:8px;background:#fff3f5;color:#ad293d;font-size:12px;line-height:1.6;padding:10px 12px}
.oi-order-pending.oi-context-workflow{border-left-color:#7398c4}.oi-comparison-pending.oi-context-workflow{border-color:#d0dff0;background:#f7faff}.oi-context-workflow>.oi-stage-head>.oi-status-pending,.oi-context-workflow>.oi-order-heading>.oi-status-pending{color:#325c89;background:#eaf2fb}.oi-comparison-pending.oi-context-workflow .oi-reason{color:#42678e}.oi-stage-head .oi-status-pending{max-width:68%;white-space:normal;text-align:right;justify-content:flex-end;line-height:1.4}.oi-order-heading>.oi-status-pending{max-width:35%;white-space:normal;text-align:center;justify-content:center}
@media(max-width:650px){.oi-order-filters .oi-context-filter{flex-basis:100%}}

/* Explicit review is required before writing an order update to Magalu. */
.oi-order-write-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}.oi-order-action{min-width:0;display:flex;flex-direction:column;gap:6px}.oi-orders-page .oi-order-action>.oi-button{width:100%;font-size:12px}.oi-action-disabled-reason{color:#68788c;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.oi-order-overlay{padding:20px;z-index:1700}.oi-order-dialog{box-sizing:border-box;width:min(580px,100%);max-height:calc(100dvh - 40px);padding:24px;color:#162943;box-shadow:0 24px 80px #10203840;overscroll-behavior:contain}.oi-order-dialog *{box-sizing:border-box}.oi-order-dialog:focus{outline:none}.oi-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.oi-modal-heading h2{margin:3px 0 12px;font-size:21px;line-height:1.4;min-width:0}.oi-modal-close{font-size:23px;line-height:1;min-width:40px;min-height:40px;padding:5px;flex-shrink:0}.oi-order-dialog p{font-size:14px;line-height:1.6;color:#56667c;margin:10px 0 16px}.oi-modal-identity{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f5f8fc;border:1px solid #e1e8f1;border-radius:9px;padding:14px;margin:16px 0}.oi-modal-identity>div{min-width:0}.oi-modal-identity dt,.oi-modal-document>span{font-size:11px;color:#617186;font-weight:600;text-transform:uppercase;letter-spacing:.4px}.oi-modal-identity dd{margin:6px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.oi-modal-document{border:1px solid #dce3ed;border-radius:9px;padding:14px;margin-bottom:14px}.oi-modal-document>strong{display:block;margin-top:8px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.oi-order-dialog .oi-modal-explanation{font-size:13px}.oi-modal-buttons{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding-top:14px;border-top:1px solid #e1e8f1;margin-top:20px}.oi-order-dialog .oi-button{font:inherit;font-size:13px;font-weight:600;min-height:42px;border-radius:8px}.oi-order-dialog .oi-button-primary{background:#0f766e;color:white;border-color:#0f766e}.oi-order-dialog .oi-modal-message{padding:14px;border-radius:9px;background:#fff7e5;color:#855414;border:1px solid #eddbb4;overflow-wrap:anywhere}.oi-dialog-error .oi-modal-message{background:#fff1f2;color:#aa253b;border-color:#f2c8ce}.oi-dialog-confirmed .oi-modal-message{background:#edf9f4;color:#0a6d58;border-color:#badfd1}.oi-order-dialog :is(button,a):focus-visible{outline:3px solid #70b7ff;outline-offset:3px}
@media(max-width:650px){.oi-order-write-actions{grid-template-columns:1fr;gap:10px;margin-top:14px}.oi-orders-page .oi-order-action>.oi-button{min-height:44px;font-size:13px;justify-content:center}.oi-action-disabled-reason{font-size:11px}.oi-order-overlay{padding:12px}.oi-order-dialog{padding:18px;max-height:calc(100dvh - 24px);border-radius:12px}.oi-modal-heading h2{font-size:19px}.oi-modal-identity{grid-template-columns:1fr;gap:12px;padding:12px}.oi-modal-buttons{gap:9px}.oi-modal-buttons>.oi-button{flex:1 1 140px;min-height:44px}.oi-order-dialog p{font-size:13px}}

/* Order identity stays compact: product, purchase date and short invoice number. */
.oi-order-heading-main{flex:1;min-width:0}.oi-order-product-item{display:flex;gap:12px;align-items:center;min-width:0}.oi-product-thumb{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:9px;overflow:hidden}.oi-product-thumb img{width:56px;height:56px;display:block;object-fit:contain;background:#fff}.oi-product-placeholder{color:#8595aa;display:grid;place-items:center}.oi-product-thumb.has-image>.oi-product-placeholder{display:none}.oi-product-content{min-width:0;flex:1}.oi-order-reference{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:4px}.oi-order-reference h2{margin:0!important;font-size:15px!important;line-height:1.4}.oi-order-date{font-size:11px;color:#617186;white-space:nowrap;line-height:1.5}.oi-product-name{font-size:14px;line-height:1.4;color:#20344e;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.oi-order-heading .oi-order-meta{font-size:11px;line-height:1.55;margin:4px 0 0}.oi-product-quantity{font-size:11px;color:#617186;white-space:nowrap}.oi-order-extra-products{margin-top:9px}.oi-extra-product{margin-top:8px}.oi-extra-product .oi-product-content{display:flex;flex-direction:column;gap:4px}.oi-extra-product .oi-product-name{font-size:13px}.oi-more-products{margin-top:8px;padding-left:68px}.oi-more-products summary{font-size:12px;font-weight:600;color:#21456e;cursor:pointer;padding:6px 0}.oi-more-products summary:focus-visible{outline:3px solid #70b7ff;outline-offset:3px}.oi-more-products[open]{padding-left:0}.oi-order-comparisons{grid-template-columns:repeat(3,minmax(0,1fr))}.oi-values .oi-document-value{font-variant-numeric:tabular-nums}
@media(max-width:1050px){.oi-order-comparisons{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.oi-order-product-item{gap:9px}.oi-order-heading{gap:8px}.oi-order-heading-main{min-width:0}.oi-order-reference{gap:2px;align-items:flex-start;flex-direction:column;margin-bottom:4px}.oi-order-reference h2{font-size:13px!important}.oi-order-date{font-size:10px}.oi-product-name{font-size:13px;line-height:1.4}.oi-order-heading .oi-order-meta{font-size:10px;line-height:1.5}.oi-product-quantity{font-size:10px}.oi-more-products{padding-left:65px}.oi-order-comparisons{grid-template-columns:1fr}.oi-order-heading>.oi-status{max-width:27%;white-space:normal;justify-content:center;text-align:center}.oi-order-extra-products .oi-product-name{font-size:12px}.oi-order-product-item.oi-order-identity{align-items:flex-start}}

.oi-order-marketplace{font-weight:650;color:#425e79}.oi-modal-marketplace{display:block;margin-top:3px;color:#617186;font-size:12px;font-weight:400}.oi-count-overdue>strong{color:#b42336}.oi-delivery-timing{display:flex;flex-wrap:wrap;gap:4px 9px;margin:8px 0 0;padding-top:8px;border-top:1px solid #e4eaf1;font-size:11px;line-height:1.5;color:#617186}.oi-delivery-timing strong{color:#aa2538;font-weight:650}.oi-delivery-timing.is-overdue{border-top-color:#f0cdd3}

.oi-status-overdue{color:#a92234;background:#fff0f2}.oi-order-overdue{border-left-color:#ce4758}

.oi-status-managed{background:#e8f1ff;color:#1753a1}.oi-order-managed{border-left-color:#3979c6}.oi-comparison-managed{border-color:#cbdcf3}

.oi-status-in_progress{background:#eaf2fb;color:#325c89}.oi-order-in_progress{border-left:4px solid #7398c4}.oi-comparison-in_progress{border-color:#d0dff0;background:#f7faff}
