.amz-receipts { margin: 0 0 12px; padding: 10px 12px; background: rgba(15,23,42,.45); border: 1px solid rgba(148,163,184,.2); border-radius: 9px; color: #e2e8f0; font-size: .75rem; }
.amz-receipts[hidden] { display: none !important; }
.amz-receipts-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amz-receipts-header strong { display: block; font-size: .79rem; }
.amz-receipts-note { display: block; color: #94a3b8; font-size: .67rem; line-height: 1.4; margin: 4px 0; }
.amz-receipts-local-summary { color: #c7d2fe; font-size: .69rem; line-height: 1.4; margin: 5px 0; }
.amz-receipts-button { background: rgba(14,165,233,.12); color: #7dd3fc; border: 1px solid rgba(56,189,248,.3); border-radius: 6px; padding: 6px 9px; font: inherit; font-size: .72rem; cursor: pointer; white-space: nowrap; }
.amz-receipts-button:hover { background: rgba(14,165,233,.22); }
.amz-receipts-button:focus-visible, .amz-receipts summary:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 3px; }
.amz-receipts-button:disabled { opacity: .55; cursor: default; }
#ce-smart-fill-open:disabled, #ce-smart-fill-execute:disabled { opacity: .5; cursor: default !important; }
.amz-receipts-shipment { border-top: 1px solid rgba(148,163,184,.16); padding-top: 5px; margin-top: 5px; }
.amz-receipts-shipment summary { cursor: pointer; padding: 2px 0; }
.amz-receipts-shipment summary > div { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.amz-receipts-state { font-size: .68rem; border-radius: 4px; padding: 2px 5px; background: rgba(56,189,248,.1); color: #7dd3fc; }
.amz-receipts-accepted { font-size: .65rem; border-radius: 4px; padding: 2px 5px; color: #86efac; background: rgba(34,197,94,.1); }
.amz-receipts-progress { display: block; color: #cbd5e1; font-size: .68rem; margin: 3px 0 1px 13px; }
.amz-receipts-detail { padding: 3px 0 0; }
.amz-receipts-warning { color: #fcd34d; padding: 6px 8px; margin: 5px 0; background: rgba(245,158,11,.09); border-radius: 5px; line-height: 1.4; font-size: .68rem; }
.amz-receipts-candidate { border: 1px solid rgba(99,102,241,.24); background: rgba(99,102,241,.07); padding: 7px 8px; border-radius: 6px; margin: 5px 0; }
.amz-receipts-candidate span { display: block; color: #94a3b8; font-size: .67rem; margin-top: 2px; }
.amz-receipts-candidate .amz-candidate-historical { color: #a5b4fc; }
.amz-candidate-comparison { border-top: 1px solid rgba(148,163,184,.16); margin-top: 7px; padding-top: 6px; }
.amz-candidate-comparison p { margin: 0 0 4px; color: #fcd34d; font-size: 11px; }
.amz-candidate-difference { padding: 3px 0; font-size: 11px; line-height: 1.45; }
.amz-candidate-difference strong { display: block; overflow-wrap: anywhere; color: #e2e8f0; font-weight: 500; }
.amz-candidate-difference small { color: #94a3b8; font-size: 10px; font-weight: 400; }
.amz-candidate-difference span { display: block; color: #cbd5e1; font-size: 11px; margin-top: 2px; }
.amz-receipts-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.amz-receipts-table-wrap { overflow-x: auto; margin: 6px 0; }
.amz-receipts table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .69rem; }
.amz-receipts th, .amz-receipts td { border-bottom: 1px solid rgba(148,163,184,.12); padding: 4px 5px; text-align: right; vertical-align: middle; font-variant-numeric: tabular-nums; }
.amz-receipts th { color: #94a3b8; font-weight: 500; }
.amz-receipts th:first-child, .amz-receipts td:first-child { text-align: left; width: 51%; }
.amz-product-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; color: #e2e8f0; font-weight: 500; }
.amz-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 2px; }
.amz-receipts td small { color: #94a3b8; font-size: .59rem; line-height: 1.15; }
.amz-item-status { display: inline-flex; align-items: center; gap: 3px; width: fit-content; font-size: .6rem; line-height: 1.1; border-radius: 3px; padding: 2px 4px; white-space: nowrap; }
.amz-item-status.is-difference { color: #fda4af; background: rgba(244,63,94,.12); }
.amz-item-status.is-review { color: #fcd34d; background: rgba(245,158,11,.1); }
.amz-item-status.is-pending { color: #fcd34d; background: rgba(245,158,11,.08); }
.amz-item-status.is-ok { color: #86efac; background: rgba(34,197,94,.08); }
.amz-item-status.is-accepted { color: #86efac; background: rgba(34,197,94,.08); }
.amz-item-status > span { font-weight: 700; min-width: 8px; text-align: center; }
.amz-receipts tr[data-amz-review="difference"] td:first-child { box-shadow: inset 2px 0 #fb7185; }
.amz-receipts-empty { color: #94a3b8; font-size: .74rem; margin-bottom: 0; }
.amz-receipts-badge { display: block; width: fit-content; margin-top: 4px; padding: 2px 5px; border-radius: 4px; font-size: .64rem; font-weight: 500; color: #7dd3fc; background: rgba(56,189,248,.09); }
.amz-receipts-badge.is-warning, .amz-receipts-shipment.is-warning .amz-receipts-state { color: #fcd34d; background: rgba(245,158,11,.1); }
.amz-receipts-badge.is-complete { color: #86efac; background: rgba(34,197,94,.1); }
#ce-amazon-receipts { padding: 8px 9px; }
.amz-receipts-launcher-summary { min-width: 0; }
.amz-receipts-launcher-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.amz-receipts-launcher-status { color: #94a3b8; font-size: 11px; line-height: 1.4; margin: 5px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amz-receipts-launcher-status.is-warning { color: #fcd34d; }
.amz-receipts-completed-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(148,163,184,.2); }
.amz-receipts-completed-heading .amz-receipts-button::before { content: '▸'; margin-right: 6px; }
.amz-receipts-completed-heading .amz-receipts-button[aria-expanded="true"]::before { content: '▾'; }
#amz-receipts-completed-list[hidden] { display: none !important; }
body.amz-receipts-open { overflow: hidden !important; }
.amz-receipts-dialog { width: min(1060px, calc(100vw - 32px)); max-height: min(800px, calc(100dvh - 40px)); box-sizing: border-box; margin: auto; padding: 0; color: #e2e8f0; background: #101827; border: 1px solid #354057; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.55); font-family: inherit; }
.amz-receipts-dialog[open] { display: flex; flex-direction: column; }
.amz-receipts-dialog::backdrop { background: rgba(3,7,18,.65); }
.amz-receipts-dialog-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(148,163,184,.2); }
.amz-receipts-dialog-heading h2 { margin: 0; color: #f1f5f9; font-size: 16px; line-height: 1.4; }
.amz-receipts-dialog-heading p { margin: 4px 0 0; color: #94a3b8; font-size: 12px; line-height: 1.4; }
.amz-receipts-dialog-heading button { flex-shrink: 0; min-height: 34px; }
#amz-receipts-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 12px 18px; border: 0; border-radius: 0; }
#amz-receipts-dialog-content th, #amz-receipts-dialog-content td { font-size: 12px; padding: 5px 6px; }
#amz-receipts-dialog-content .amz-receipts-shipment summary { padding: 7px 0; }
@media (max-width: 650px) {
    .amz-receipts-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 24px); }
    .amz-receipts-dialog-heading { padding: 12px; }
    #amz-receipts-dialog-content { padding: 10px 12px; }
    #amz-receipts-dialog-content table { min-width: 520px; }
}
.amz-receipts-confirm { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; box-sizing: border-box; padding: 20px; color: #e2e8f0; background: #151d2e; border: 1px solid #354057; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.55); font-family: inherit; }
.amz-receipts-confirm::backdrop { background: rgba(3,7,18,.72); backdrop-filter: blur(3px); }
.amz-receipts-confirm form { margin: 0; }
.amz-confirm-heading { display: flex; align-items: flex-start; gap: 10px; }
.amz-confirm-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; color: #93c5fd; background: rgba(96,165,250,.12); border-radius: 8px; font-size: 20px; }
.amz-confirm-heading h2 { margin: 0; color: #f1f5f9; font-size: 16px; line-height: 1.4; }
.amz-confirm-heading p { margin: 5px 0 0; color: #94a3b8; font-size: 12px; line-height: 1.5; }
.amz-confirm-identities { display: grid; gap: 10px; margin: 17px 0 13px; padding: 12px; border-radius: 7px; background: rgba(15,23,42,.7); }
.amz-confirm-identities div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 10px; align-items: start; }
.amz-confirm-identities dt { color: #94a3b8; font-size: 11px; line-height: 1.5; }
.amz-confirm-identities dd { color: #e2e8f0; font-size: 12px; line-height: 1.5; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.amz-confirm-change, .amz-confirm-quantities { font-size: 12px; line-height: 1.6; color: #cbd5e1; margin: 9px 0; }
.amz-confirm-quantities { padding: 10px; border-radius: 6px; border: 1px solid rgba(56,189,248,.16); background: rgba(56,189,248,.06); }
.amz-confirm-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.amz-confirm-footer button { min-height: 34px; padding: 7px 12px; font: inherit; font-size: 12px; font-weight: 600; border-radius: 6px; cursor: pointer; }
.amz-confirm-cancel { color: #cbd5e1; border: 1px solid #3c465a; background: #20293b; }
.amz-confirm-submit { color: white; border: 1px solid #818cf8; background: #6366f1; }
.amz-confirm-footer button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
.amz-confirm-footer button:disabled { opacity: .45; cursor: default; }
.amz-resolution-actions { padding-top: 5px; }
.amz-resolution-dialog { width: min(600px, calc(100vw - 32px)); padding: 16px; margin: auto; }
.amz-resolution-dialog .amz-confirm-identities { gap: 8px; margin: 12px 0 10px; padding: 10px; }
.amz-resolution-dialog .amz-confirm-quantities { margin: 8px 0; padding: 8px; }
.amz-resolution-dialog .amz-confirm-footer { margin-top: 14px; }
.amz-resolution-choices { margin: 8px 0; padding: 8px 10px; border: 1px solid #3c465a; border-radius: 7px; }
.amz-resolution-choices legend { padding: 0 4px; color: #c7d2fe; font-size: 12px; }
.amz-resolution-choices label { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; color: #e2e8f0; cursor: pointer; }
.amz-resolution-choices input { flex-shrink: 0; margin-top: 3px; accent-color: #818cf8; }
.amz-resolution-choices strong { display: block; font-size: 12px; font-weight: 500; }
.amz-resolution-choices small { display: block; color: #94a3b8; font-size: 11px; line-height: 1.4; margin-top: 2px; }
.amz-resolution-table-wrap { overflow-x: auto; margin: 8px 0; }
.amz-resolution-dialog .amz-resolution-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.amz-resolution-dialog .amz-resolution-table th, .amz-resolution-dialog .amz-resolution-table td { text-align: right; font-size: 12px; line-height: 1.15; padding: 5px; border-bottom: 1px solid #303b51; font-variant-numeric: tabular-nums; }
.amz-resolution-dialog .amz-resolution-table th { font-weight: 500; color: #94a3b8; }
.amz-resolution-dialog .amz-resolution-table th:first-child, .amz-resolution-dialog .amz-resolution-table td:first-child { text-align: left; width: 53%; }
.amz-resolution-dialog .amz-resolution-table strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; }
.amz-resolution-dialog .amz-resolution-table small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #94a3b8; font-size: 10px; line-height: 1.1; margin-top: 1px; }
.amz-resolution-lots { margin: 10px 0; padding: 9px 11px; border: 1px solid #3c465a; border-radius: 7px; font-size: 11px; }
.amz-resolution-lots legend { padding: 0 4px; max-width: 95%; overflow-wrap: anywhere; color: #c7d2fe; }
.amz-resolution-lots p { margin: 0 0 6px; color: #94a3b8; line-height: 1.5; }
.amz-resolution-lots label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 7px 0; }
.amz-resolution-lots small { display: block; color: #94a3b8; font-size: 10px; margin-top: 2px; }
.amz-resolution-lots input { width: 78px; padding: 6px; border: 1px solid #516078; border-radius: 5px; background: #101827; color: #e2e8f0; font: inherit; }
.amz-resolution-lots input:focus-visible, .amz-resolution-declaration input:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.amz-resolution-lots input[aria-invalid="true"] { border-color: #d97706; }
.amz-resolution-lots .is-invalid { color: #fcd34d; }
.amz-resolution-declaration { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid rgba(245,158,11,.35); border-radius: 6px; color: #fde68a; font-size: 12px; line-height: 1.6; background: rgba(245,158,11,.05); }
.amz-resolution-declaration input { flex: 0 0 auto; margin-top: 3px; accent-color: #818cf8; }
.amz-resolution-error { color: #fda4af; font-size: 12px; line-height: 1.5; padding: 8px; border-radius: 5px; background: rgba(244,63,94,.08); }
.amz-resolution-result { color: #86efac; font-size: 12px; line-height: 1.5; }
.amz-resolution-dialog [hidden] { display: none !important; }
.amz-adjustment-alternates { margin-top: 10px; padding-top: 8px; border-top: 1px solid #3c465a; }
.amz-adjustment-alternate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amz-resolution-lots .amz-adjustment-alternate-choice { justify-content: flex-start; min-width: 0; gap: 8px; }
.amz-resolution-lots .amz-adjustment-alternate-choice input { width: auto; padding: 0; margin: 0; accent-color: #818cf8; }
.amz-adjustment-alternate-row input[type="number"]:disabled { opacity: .45; }
@media (max-width: 650px) { .amz-receipts-header { flex-wrap: wrap; } .amz-receipts-confirm { padding: 16px; } }
.ho-status--recepcion { background: rgba(56, 189, 248, .15); color: #38bdf8; }
