.reconciliation-workspace{display:grid;gap:20px;min-width:0}.recon-intro{display:flex;align-items:center;gap:13px;padding:1px 0 4px}.recon-intro-icon{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.recon-intro-icon svg{width:22px;height:22px}.recon-intro h2{font-size:16px;font-weight:600;letter-spacing:-.3px;line-height:1.4}.recon-intro p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.7}.recon-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recon-summary-card{display:flex;align-items:center;gap:13px;border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:18px 19px;transition:border-color .15s,background .15s}.recon-summary-card:hover{border-color:var(--border-strong);background:var(--surface-raised)}.recon-summary-card.is-active{border-color:color-mix(in srgb,var(--accent) 36%,transparent);background:linear-gradient(120deg,var(--surface),var(--accent-soft))}.recon-summary-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);flex-shrink:0}.recon-summary-icon svg{width:18px;height:18px}.recon-summary-card>span:nth-child(2){display:grid;gap:2px}.recon-summary-card>span:nth-child(2)>strong{font-size:26px;font-weight:620;letter-spacing:-.7px;line-height:1.15;font-variant-numeric:tabular-nums}.recon-summary-card>span:nth-child(2)>span{font-size:10px;color:var(--muted)}.recon-summary-card>svg{margin-left:auto;width:15px;height:15px;color:var(--faint)}.recon-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:2px}.recon-filter-tabs{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft);overflow:auto;max-width:100%}.recon-filter-tabs a{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);padding:7px 11px;border-radius:6px;white-space:nowrap}.recon-filter-tabs a:hover{color:var(--text)}.recon-filter-tabs a.is-active{background:var(--surface-raised);color:var(--text);font-weight:600}.recon-filter-tabs a>span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:17px;font-size:8px;padding:0 4px;border-radius:4px;background:var(--bg);color:var(--muted)}.recon-filter-tabs a.is-active>span{color:var(--accent);background:var(--accent-soft)}.recon-results-count{font-size:10px;color:var(--faint)}.recon-guidance{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--border);border-radius:10px;padding:12px 15px;background:var(--surface-soft)}.recon-guidance>svg{width:16px;height:16px;margin-top:2px;flex-shrink:0;color:var(--accent)}.recon-guidance p{font-size:10px;color:var(--muted);line-height:1.85;margin:0}.recon-guidance strong{font-weight:550;color:var(--text)}.recon-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;align-items:start}.recon-sale-card{min-width:0;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.recon-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:21px 22px 10px}.recon-card-header>div{min-width:0}.recon-card-id{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.recon-card-id>strong{font-size:11px;font-weight:650;color:var(--accent);letter-spacing:.2px}.recon-card-id>span{font-size:9px;color:var(--faint)}.recon-card-id>span>span{padding:0 3px}.recon-card-header h2{font-size:17px;font-weight:600;letter-spacing:-.4px;line-height:1.35;margin:8px 0 0;overflow-wrap:anywhere}.recon-review-status{flex-shrink:0;display:flex;align-items:center;gap:5px;font-size:9px;font-weight:550;white-space:nowrap;color:var(--warning);background:var(--warning-bg);border-radius:6px;padding:5px 8px;margin-top:1px}.recon-review-status svg{width:13px;height:13px}.recon-review-status.is-done{background:var(--positive-bg);color:var(--positive)}.recon-sale-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 11px;margin:0 22px 19px;font-size:9px;color:var(--faint)}.recon-sale-meta>span{display:inline-flex;align-items:center;gap:5px}.recon-sale-meta svg{width:12px;height:12px;color:var(--muted)}.recon-channel{padding:2px 6px;background:var(--surface-raised);border-radius:4px;color:var(--muted)}.recon-products{margin:0 22px;padding:15px 0 12px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.recon-section-label{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-size:8px;font-weight:600}.recon-section-label>svg{width:14px;height:14px;color:var(--faint)}.recon-section-label>span{margin-left:auto;letter-spacing:0;text-transform:none;font-weight:400;color:var(--faint);font-size:9px}.recon-products ul{list-style:none;padding:0;margin:10px 0}.recon-products li{display:flex;align-items:flex-start;gap:9px;padding:9px 0}.recon-product-quantity{font-size:10px;line-height:1.8;color:var(--faint);font-variant-numeric:tabular-nums;flex-shrink:0;min-width:18px}.recon-products li>div{min-width:0;flex:1}.recon-products li strong{font-size:11px;font-weight:550;color:var(--text);line-height:1.7;display:block;overflow-wrap:anywhere}.recon-products li small{font-size:9px;line-height:1.7;color:var(--faint);display:block;margin-top:2px;overflow-wrap:anywhere}.recon-product-amount{font-size:11px;line-height:1.7;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0}.recon-sale-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:9px;font-size:10px;color:var(--muted)}.recon-sale-total>strong{color:var(--text);font-size:17px;font-weight:600;letter-spacing:-.5px}.recon-payments{padding:18px 22px 0}.recon-payments-list{list-style:none;margin:12px 0 0;padding:0}.recon-payment{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--border);align-items:center}.recon-payment:last-child{border-bottom:0;padding-bottom:5px}.recon-payment-icon{width:30px;height:30px;display:grid;place-items:center;background:var(--surface-raised);color:var(--muted);border-radius:9px;align-self:start;margin-top:1px}.recon-payment-icon svg{width:16px;height:16px}.recon-payment.is-pix .recon-payment-icon{color:var(--positive);background:var(--positive-bg)}.recon-payment-copy{min-width:0}.recon-payment-method{display:flex;align-items:center;gap:7px}.recon-payment-method>strong{font-size:11px;font-weight:550}.recon-pix-tag{font-size:6px;font-weight:650;letter-spacing:.7px;line-height:1;border:1px solid color-mix(in srgb,var(--positive) 25%,transparent);color:var(--positive);border-radius:3px;padding:3px 4px}.recon-payment-time{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:var(--muted);font-size:9px;margin-top:5px;line-height:1.5}.recon-payment-time svg{height:11px;width:11px;color:var(--faint)}.recon-payment-time>strong{font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.recon-payment.is-pix .recon-payment-time>strong{color:var(--positive)}.recon-payment-note{display:block;font-size:8px;line-height:1.5;color:var(--faint);margin-top:4px}.recon-payment-value{display:grid;gap:6px;text-align:right;justify-items:end;align-self:start;margin-top:1px}.recon-payment-value>strong{font-size:12px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.recon-payment-value .badge{font-size:7px;padding:3px 6px;gap:3px}.recon-payment-value .badge svg{width:10px;height:10px}.recon-receive-button{grid-column:2/4;justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid color-mix(in srgb,var(--positive) 30%,transparent);background:var(--positive-bg);color:var(--positive);border-radius:7px;padding:6px 11px;font-size:10px;font-weight:600;min-height:31px;transition:border-color .15s,background .15s}.recon-receive-button svg{width:14px;height:14px}.recon-receive-button:hover{border-color:var(--positive);background:color-mix(in srgb,var(--positive) 18%,var(--surface))}.recon-received-mark{grid-column:2/4;justify-self:end;display:flex;align-items:center;justify-content:center;color:var(--positive);width:21px;height:21px;border-radius:50%;background:var(--positive-bg);margin-top:-3px}.recon-received-mark svg{width:12px;height:12px}.recon-no-payments{margin-top:12px;color:var(--faint);font-size:10px;padding:15px;border:1px dashed var(--border-strong);border-radius:8px}.recon-card-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 22px;padding:12px 14px;border-radius:9px;background:var(--surface-soft);border:1px solid var(--border)}.recon-card-balance>span{font-size:9px;color:var(--muted)}.recon-card-balance>span:last-child{text-align:right}.recon-card-balance strong{font-size:14px;font-weight:600;display:block;margin-top:4px;letter-spacing:-.25px;color:var(--text);font-variant-numeric:tabular-nums}.recon-card-balance strong.recon-balance-open{color:var(--warning)}.recon-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-top:1px solid var(--border);background:var(--surface-soft)}.recon-card-footer>div{display:flex;align-items:center;gap:8px;font-size:9px;color:var(--muted)}.recon-card-footer>div>svg{color:var(--faint);width:16px;height:16px;flex-shrink:0}.recon-card-footer small{display:block;font-size:8px;line-height:1.6;margin-top:3px;color:var(--faint)}.recon-review-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:8px;background:var(--accent-soft);color:var(--accent);font-size:9px;font-weight:600;min-height:35px;white-space:nowrap;flex-shrink:0;transition:border-color .15s,background .15s}.recon-review-button svg{width:14px;height:14px}.recon-review-button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 20%,var(--surface))}.recon-reviewed-label{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--positive);white-space:nowrap;flex-shrink:0}.recon-reviewed-label svg{width:14px;height:14px}.recon-empty{border:1px dashed var(--border-strong);border-radius:15px;padding:45px 25px;text-align:center;background:var(--surface-soft)}.recon-empty>svg{height:36px;width:36px;color:var(--positive);margin-bottom:12px}.recon-empty h2{font-size:18px;font-weight:600;letter-spacing:-.3px}.recon-empty p{font-size:11px;color:var(--muted);margin:9px auto 0;max-width:370px;line-height:1.8}.recon-empty a{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;margin-top:18px}.recon-empty a:hover{text-decoration:underline}.recon-empty a svg{width:14px;height:14px}.recon-local-note{font-size:9px;color:var(--faint);line-height:1.8;margin:0}.recon-receive-button[aria-busy="true"],.recon-review-button[aria-busy="true"]{opacity:.55;cursor:wait}
@media(min-width:1500px){.recon-payment{grid-template-columns:30px minmax(0,1fr) auto auto}.recon-receive-button,.recon-received-mark{grid-column:auto;align-self:center;margin-left:5px}.recon-received-mark{width:25px;height:25px;margin-top:0}.recon-payment-value{align-self:center}.recon-payment{gap:10px}.recon-card-header{padding-top:23px}.recon-card-footer{padding-top:18px;padding-bottom:18px}}
@media(max-width:1120px){.recon-cards{grid-template-columns:minmax(0,1fr)}.recon-payment{grid-template-columns:32px minmax(0,1fr) auto auto;gap:12px}.recon-receive-button,.recon-received-mark{grid-column:auto;margin-left:8px;align-self:center}.recon-payment-value{align-self:center}.recon-card-header h2{font-size:18px}.recon-summary-card{padding:17px 15px;gap:10px}.recon-summary-card>svg{display:none}.recon-summary-icon{width:31px;height:31px}.recon-summary-card>span:nth-child(2)>strong{font-size:24px}.recon-card-footer>div{font-size:10px}.recon-review-button{font-size:10px;padding:9px 13px}}
@media(max-width:760px){.reconciliation-workspace{gap:18px}.recon-intro{gap:11px}.recon-intro-icon{width:36px;height:36px;border-radius:10px}.recon-intro-icon svg{width:19px;height:19px}.recon-intro h2{font-size:14px;line-height:1.5}.recon-intro p{font-size:10px;line-height:1.8}.recon-summary{gap:9px}.recon-summary-card{padding:13px 10px;display:block;border-radius:11px}.recon-summary-icon{width:27px;height:27px;border-radius:8px;margin-bottom:9px}.recon-summary-icon svg{width:14px;height:14px}.recon-summary-card>span:nth-child(2)>strong{font-size:24px}.recon-summary-card>span:nth-child(2)>span{font-size:8px;line-height:1.5;margin-top:2px}.recon-toolbar{gap:10px}.recon-filter-tabs{width:100%;padding:3px;gap:2px}.recon-filter-tabs a{flex:1;justify-content:center;font-size:9px;padding:7px 6px;gap:5px}.recon-filter-tabs a>span{font-size:7px;min-width:15px;height:15px}.recon-results-count{font-size:9px}.recon-guidance{padding:11px 12px;gap:8px}.recon-guidance>svg{width:14px;height:14px}.recon-guidance p{font-size:9px;line-height:1.9}.recon-cards{gap:17px}.recon-sale-card{border-radius:13px}.recon-card-header{padding:18px 17px 10px;gap:9px}.recon-card-header h2{font-size:17px;margin-top:7px}.recon-card-id{gap:7px}.recon-card-id>strong{font-size:10px}.recon-card-id>span{font-size:8px}.recon-review-status{font-size:8px;padding:5px 6px;gap:3px}.recon-review-status svg{width:11px;height:11px}.recon-sale-meta{margin:0 17px 16px;font-size:8px;gap:7px 9px}.recon-products{margin:0 17px;padding-top:14px}.recon-section-label{font-size:7px;letter-spacing:.9px}.recon-section-label>span{font-size:8px}.recon-products li{gap:7px;padding:8px 0}.recon-products li strong{font-size:10px}.recon-product-quantity{font-size:9px;min-width:16px}.recon-product-amount{font-size:10px}.recon-products li small{font-size:8px}.recon-sale-total{font-size:9px;padding-top:6px}.recon-sale-total>strong{font-size:16px}.recon-payments{padding:17px 17px 0}.recon-payments-list{margin-top:11px}.recon-payment{grid-template-columns:28px minmax(0,1fr) auto;gap:9px;padding:13px 0}.recon-payment-icon{width:28px;height:28px;border-radius:8px}.recon-payment-icon svg{width:15px;height:15px}.recon-payment-method>strong{font-size:10px}.recon-payment-time{font-size:8px;gap:3px}.recon-payment-note{font-size:7px;line-height:1.7}.recon-payment-value>strong{font-size:11px}.recon-payment-value{align-self:start;gap:5px}.recon-payment-value .badge{font-size:6px;padding:3px 5px}.recon-receive-button,.recon-received-mark{grid-column:2/4;justify-self:end;margin-left:0}.recon-receive-button{font-size:10px;padding:7px 12px;min-height:33px;gap:5px}.recon-received-mark{height:21px;width:21px;margin-top:-2px}.recon-card-balance{margin:17px;padding:11px 12px;gap:10px}.recon-card-balance>span{font-size:8px}.recon-card-balance strong{font-size:13px}.recon-card-footer{padding:14px 17px;gap:11px;flex-wrap:wrap}.recon-card-footer>div{font-size:9px}.recon-card-footer>div>svg{width:15px;height:15px}.recon-card-footer small{font-size:8px}.recon-review-button{font-size:9px;padding:8px 11px;min-height:35px;margin-left:auto}.recon-reviewed-label{font-size:9px;margin-left:auto}.recon-local-note{font-size:8px}.recon-empty{padding:35px 20px}.recon-empty h2{font-size:16px}.recon-empty p{font-size:10px}}
@media(max-width:390px){.recon-card-header h2{font-size:16px}.recon-card-id{gap:5px}.recon-card-id>span{font-size:7px}.recon-review-status{font-size:7px}.recon-payment-value>strong{font-size:10px}.recon-payment-value .badge{font-size:5.5px}.recon-payment-time{font-size:7.5px}.recon-payment-note{font-size:6.5px}.recon-payment-method>strong{font-size:10px}.recon-pix-tag{font-size:5px;padding:3px}.recon-card-header,.recon-card-footer{padding-left:14px;padding-right:14px}.recon-products{margin-left:14px;margin-right:14px}.recon-payments{padding-left:14px;padding-right:14px}.recon-sale-meta{margin-left:14px;margin-right:14px}.recon-card-balance{margin-left:14px;margin-right:14px}}
@media(prefers-reduced-motion:reduce){.reconciliation-workspace *{transition:none!important}}
.recon-line-table-wrap{width:100%;max-width:100%;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.recon-line-table{width:100%;min-width:980px;table-layout:fixed;border-collapse:collapse;white-space:normal;font-size:10px}.recon-line-table .recon-col-sale{width:17%}.recon-line-table .recon-col-products{width:20%}.recon-line-table .recon-col-total{width:10%}.recon-line-table .recon-col-method{width:10%}.recon-line-table .recon-col-time{width:9%}.recon-line-table .recon-col-amount{width:10%}.recon-line-table .recon-col-receipt{width:12%}.recon-line-table .recon-col-review{width:12%}.recon-line-table thead th{padding:13px 11px;font-size:8px;font-weight:600;letter-spacing:.65px;background:var(--surface-raised);color:var(--muted);white-space:nowrap;border-bottom:1px solid var(--border-strong)}.recon-line-table thead th:first-child{padding-left:18px}.recon-line-table thead th:last-child{padding-right:18px}.recon-line-table tbody td,.recon-line-table tbody th{padding:15px 11px;border-bottom:1px solid var(--border);font-size:10px;vertical-align:middle;letter-spacing:0;text-transform:none;line-height:1.6;font-weight:400}.recon-line-table tbody th:first-child{padding-left:18px}.recon-line-table tbody td:last-child{padding-right:18px}.recon-line-table tbody tr:last-child td,.recon-line-table tbody tr:last-child th{border-bottom:1px solid var(--border)}.recon-line-table tbody:last-child tr:last-child td,.recon-line-table tbody:last-child tr:last-child th{border-bottom:0}.recon-line-table tbody+tbody tr:first-child>*{border-top:1px solid var(--border-strong)}.recon-line-table tbody:nth-of-type(even){background:var(--surface-soft)}.recon-line-table tbody tr:hover{background:transparent}.recon-line-table tbody:hover{background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.recon-line-table tbody .recon-line-sale,.recon-line-table tbody .recon-line-products,.recon-line-table tbody .recon-line-total,.recon-line-table tbody .recon-line-review{vertical-align:top;padding-top:16px}.recon-line-id-row{display:flex;align-items:center;gap:7px;min-height:20px}.recon-line-id{font-size:10px;font-weight:650;color:var(--accent)!important;letter-spacing:.1px;display:block}.recon-line-customer{display:block;color:var(--text);font-size:11px;font-weight:550;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}.recon-line-table .recon-line-date{font-size:8px;display:block;color:var(--faint);font-weight:400;margin-top:4px}.recon-line-table .recon-line-seller{font-size:9px;display:block;color:var(--muted);font-weight:400;margin-top:5px}.recon-line-sale .recon-channel{font-size:8px;padding:2px 6px;display:inline-block;margin-top:5px}.recon-line-products ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.recon-line-products li{display:flex;align-items:flex-start;gap:7px}.recon-line-quantity{flex-shrink:0;min-width:15px;font-size:9px;color:var(--faint);font-variant-numeric:tabular-nums;line-height:1.7}.recon-line-products li>div{min-width:0}.recon-line-products li strong{display:block;white-space:normal;font-size:10px;line-height:1.7;font-weight:550;color:var(--text);overflow-wrap:anywhere}.recon-line-table .recon-line-products li small{font-size:8px;line-height:1.7;margin-top:2px;color:var(--faint);white-space:normal;overflow-wrap:anywhere}.recon-line-table .recon-line-product-value{color:var(--muted)}.recon-line-unit-count{display:block;font-size:8px;color:var(--faint);margin-top:11px}.recon-line-total>strong{font-size:11px;font-weight:600;white-space:nowrap;display:block;color:var(--text)}.recon-line-table .recon-line-total>small{font-size:7px;color:var(--faint);margin-top:8px;display:block}.recon-line-total>span{font-size:9px;display:block;white-space:nowrap;line-height:1.7}.recon-line-total .recon-balance-open{color:var(--warning)}.recon-line-method{display:flex;align-items:center;gap:6px;line-height:1.5;color:var(--muted)}.recon-line-method>svg{height:14px;width:14px;flex-shrink:0;color:var(--faint)}.recon-line-method.is-pix>svg{color:var(--positive)}.recon-line-method>strong{font-size:10px;font-weight:550;color:var(--text)}.recon-line-table .recon-line-payment>small{font-size:7px;color:var(--faint);display:block;margin-top:5px;margin-left:20px}.recon-line-time>strong{font-size:12px;letter-spacing:.2px;font-variant-numeric:tabular-nums;color:var(--positive)}.recon-line-time>span{font-size:9px;color:var(--faint)}.recon-line-table .recon-line-time>small{font-size:7px;line-height:1.5;color:var(--faint);margin-top:4px;white-space:normal}.recon-line-table .recon-line-payment-amount{font-size:11px;color:var(--text);font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.recon-line-table .recon-line-receipt .recon-receive-button{display:inline-flex;font-size:9px;padding:6px 9px;min-height:31px;margin:0;gap:4px;white-space:nowrap}.recon-line-table .recon-line-receipt .recon-receive-button svg{width:13px;height:13px}.recon-line-table .recon-line-receipt .badge{font-size:8px;padding:5px 7px;gap:4px}.recon-line-table .recon-line-receipt .badge svg{width:11px;height:11px}.recon-line-table .recon-line-receipt>small{font-size:7px;line-height:1.6;color:var(--faint);margin-top:5px;white-space:normal}.recon-line-table .recon-line-review .recon-review-button{display:inline-flex;font-size:9px;padding:7px 9px;min-height:31px;gap:4px;margin:0}.recon-line-table .recon-line-review .recon-review-button svg{width:13px;height:13px}.recon-line-table .recon-line-review .recon-reviewed-label{font-size:9px;display:inline-flex;margin:4px 0 0;gap:4px;white-space:nowrap}.recon-line-table .recon-line-review .recon-reviewed-label svg{width:13px;height:13px}.recon-line-table .recon-line-review>small{font-size:7px;line-height:1.6;display:block;margin-top:5px;color:var(--faint);white-space:normal}.recon-line-table .record-history{width:23px;height:23px;display:inline-grid;place-items:center;border:0;background:transparent;color:var(--faint);border-radius:6px;padding:3px}.recon-line-table .record-history:hover{color:var(--accent);background:var(--accent-soft)}.recon-line-table .record-history svg{width:13px;height:13px}.recon-line-table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:760px){.recon-line-table-wrap{border-radius:10px}.recon-line-table{min-width:980px}.recon-line-table thead th{padding-top:12px;padding-bottom:12px}.recon-line-table tbody td,.recon-line-table tbody th{padding-top:14px;padding-bottom:14px}.recon-line-table tbody .recon-line-sale,.recon-line-table tbody .recon-line-products,.recon-line-table tbody .recon-line-total,.recon-line-table tbody .recon-line-review{padding-top:14px}}
/* Ação pendente e estado concluído usam linguagens visuais distintas. */
.recon-line-table .record-history.record-history-label{display:flex;align-items:center;gap:5px;width:auto;max-width:100%;height:auto;min-height:28px;margin:8px 0 0;padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:9px;font-weight:500;line-height:1.5;text-align:left;white-space:normal}.recon-line-table .record-history.record-history-label>svg{flex-shrink:0;width:12px;height:12px}.recon-line-table .record-history.record-history-label>span{overflow-wrap:anywhere}.recon-line-table .record-history.record-history-label:hover{color:var(--accent);background:transparent;text-decoration:underline;text-underline-offset:3px}.recon-line-table .record-history.record-history-label:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
#dialog-content .audit-event{padding:20px 0;margin-top:18px}#dialog-content .audit-event-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:13px}#dialog-content .audit-kind{font-size:9px;background:var(--surface-raised);color:var(--muted)}#dialog-content .audit-kind-edit{background:var(--accent-soft);color:var(--accent)}#dialog-content .audit-event h3{font-size:14px;font-weight:600;line-height:1.6;margin:0 0 16px;color:var(--text);overflow-wrap:anywhere}#dialog-content .audit-field-label{display:block;text-transform:uppercase;font-size:8px;letter-spacing:1.1px;color:var(--faint);font-weight:500;margin-bottom:5px}#dialog-content dl.audit-event-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;border:0;margin:0;padding:0}#dialog-content .audit-event-meta>div{min-width:0}#dialog-content .audit-event-meta>div.audit-event-record{grid-column:1/-1}#dialog-content .audit-event-meta dt{padding:0;margin:0 0 4px;border:0;font-size:9px;color:var(--faint);font-weight:400}#dialog-content .audit-event-meta dd{padding:0;margin:0;border:0;text-align:left;font-size:11px;line-height:1.7;color:var(--text);overflow-wrap:anywhere}#dialog-content .audit-event-meta dd small{display:block;color:var(--faint);font-size:8px;line-height:1.7;margin-top:2px}#dialog-content dl.audit-event-changes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;margin:16px 0 0;padding:0}#dialog-content .audit-event-changes>div{min-width:0;background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;padding:12px}#dialog-content .audit-event-changes dt{padding:0;margin:0 0 7px;border:0;text-transform:uppercase;letter-spacing:.8px;font-size:8px;font-weight:500;color:var(--faint)}#dialog-content .audit-event-changes dd{padding:0;margin:0;border:0;font-size:11px;line-height:1.8;color:var(--text);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:500px){#dialog-content dl.audit-event-meta{grid-template-columns:1fr;gap:12px}#dialog-content dl.audit-event-changes{grid-template-columns:1fr}#dialog-content .audit-event h3{font-size:13px}.recon-line-table .record-history.record-history-label{font-size:9px}}
.recon-line-table .recon-line-receipt .recon-pending-status{display:inline-flex;align-items:center;gap:4px;color:var(--warning);background:var(--warning-bg);margin-bottom:9px;font-size:9px;font-weight:600;padding:4px 7px}
.recon-line-table .recon-line-receipt .recon-receive-button{display:flex;align-items:center;justify-content:center;grid-column:auto;margin:0;min-height:36px;max-width:100%;padding:8px 9px;background:transparent;color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 48%,transparent);border-radius:7px;white-space:normal;font-size:10px;font-weight:600;line-height:1.35;text-align:center}
.recon-line-table .recon-line-receipt .recon-receive-button:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.recon-line-table .recon-line-receipt .recon-receive-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.recon-line-table .recon-line-receipt .badge-success{display:inline-flex;align-items:center;gap:5px;color:var(--positive);background:var(--positive-bg);font-size:10px;padding:6px 8px}
/* One horizontal sheet per sale. Payment actions remain independent. */
.recon-toolbar-meta{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;margin-left:auto}
.reconciliation-workspace .recon-history-icon{display:inline-grid;place-items:center;flex:none;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--faint);box-shadow:none;line-height:1;cursor:pointer}
.reconciliation-workspace .recon-history-icon>svg{width:14px;height:14px}
.reconciliation-workspace .recon-history-icon:hover{color:var(--accent);border-color:var(--border);background:var(--surface-soft)}
.reconciliation-workspace .recon-history-icon:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.recon-sale-list{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;min-width:0}
.recon-sale-sheet{min-width:0;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}
.recon-sale-sheet .recon-sheet-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1.8fr);align-items:stretch;min-width:0}
.recon-sale-sheet :is(.recon-sheet-sale,.recon-sheet-products,.recon-sheet-payments){min-width:0;padding:17px 18px}
.recon-sale-sheet :is(.recon-sheet-products,.recon-sheet-payments){border-left:1px solid var(--border)}
.recon-sale-sheet .recon-sheet-sale-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px}
.recon-sale-sheet .recon-sheet-sale-heading>strong{font-size:11px;font-weight:650;line-height:1.5;letter-spacing:.15px;color:var(--accent);font-variant-numeric:tabular-nums}
.recon-sale-sheet .record-history.recon-history-icon{display:inline-grid;place-items:center;flex:none;grid-column:auto;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--faint);box-shadow:none;line-height:1;cursor:pointer}
.recon-sale-sheet .record-history.recon-history-icon>svg{width:14px;height:14px}
.recon-sale-sheet .record-history.recon-history-icon:hover{color:var(--accent);border-color:var(--border);background:var(--surface-soft)}
.recon-sale-sheet .recon-sheet-sale h3{margin:5px 0 9px;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.2px;color:var(--text);overflow-wrap:break-word;word-break:normal}
.recon-sale-sheet .recon-sheet-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;color:var(--muted);font-size:9px;line-height:1.6;overflow-wrap:break-word;word-break:normal}
.recon-sale-sheet .recon-sheet-meta>span{display:inline-flex;align-items:center;gap:4px;max-width:100%}
.recon-sale-sheet .recon-sheet-meta svg{width:12px;height:12px;flex:none;color:var(--faint)}
.recon-sale-sheet .recon-sheet-meta .recon-channel{font-size:8px;padding:2px 6px}
.recon-sale-sheet .recon-sheet-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:13px;padding-top:11px;border-top:1px solid var(--border);font-size:10px;line-height:1.5;color:var(--muted)}
.recon-sale-sheet .recon-sheet-total>strong{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.45px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
.recon-sale-sheet :is(.recon-sheet-products,.recon-sheet-payments)>h4{display:flex;align-items:center;gap:7px;margin:3px 0 12px;font-size:9px;font-weight:600;line-height:1.5;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.recon-sale-sheet :is(.recon-sheet-products,.recon-sheet-payments)>h4 svg{width:13px;height:13px;flex:none;color:var(--faint)}
.recon-sale-sheet :is(.recon-sheet-products,.recon-sheet-payments)>h4>span{margin-left:auto;font-size:8px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--faint)}
.recon-sale-sheet .recon-sheet-products ul{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.recon-sale-sheet .recon-sheet-products li{display:flex;align-items:flex-start;gap:7px;margin:0;padding:0}
.recon-sale-sheet .recon-sheet-products li>div{flex:1;min-width:0}
.recon-sale-sheet .recon-sheet-products li strong{display:block;font-size:11px;font-weight:550;line-height:1.6;color:var(--text);white-space:normal;overflow-wrap:break-word}
.recon-sale-sheet .recon-sheet-products li small{display:block;margin-top:3px;font-size:9px;line-height:1.6;color:var(--faint);overflow-wrap:break-word}
.recon-sale-sheet .recon-sheet-products :is(.recon-line-quantity,.recon-product-quantity){flex:none;min-width:17px;font-size:10px;line-height:1.7;color:var(--faint);font-variant-numeric:tabular-nums}
.recon-sale-sheet .recon-sheet-products :is(.recon-line-product-value,.recon-product-amount){color:var(--muted);font-size:10px;line-height:1.6}
.recon-sale-sheet .recon-sheet-payment-list{display:grid;list-style:none;margin:0;padding:0;gap:0;min-width:0}
.recon-sale-sheet .recon-sheet-no-payment{margin:0;padding:7px 0;color:var(--faint);font-size:10px;line-height:1.7}
.recon-sale-sheet .recon-sheet-payment-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:0;padding:11px 0;border-bottom:1px solid var(--border);min-width:0}
.recon-sale-sheet .recon-sheet-payment-row:first-child{padding-top:0}
.recon-sale-sheet .recon-sheet-payment-row:last-child{border-bottom:0;padding-bottom:0}
.recon-sale-sheet .recon-sheet-payment-data{flex:1 1 190px;min-width:0}
.recon-sale-sheet .recon-sheet-payment-main{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;min-width:0}
.recon-sale-sheet .recon-sheet-payment-method{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-size:11px;font-weight:550;line-height:1.5;min-width:0}
.recon-sale-sheet .recon-sheet-payment-method>svg{width:14px;height:14px;flex:none;color:var(--muted)}
.recon-sale-sheet .recon-sheet-payment-amount{margin-left:auto;font-size:12px;font-weight:600;line-height:1.5;white-space:nowrap;color:var(--text);font-variant-numeric:tabular-nums}
.recon-sale-sheet .recon-sheet-payment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px;margin-top:5px;font-size:9px;line-height:1.65;color:var(--faint);overflow-wrap:break-word;min-width:0}
.recon-sale-sheet .recon-sheet-payment-meta>span{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-width:0}
.recon-sale-sheet .recon-sheet-payment-meta>span+span{border-left:1px solid var(--border);padding-left:8px}
.recon-sale-sheet .recon-sheet-payment-meta svg{width:11px;height:11px;flex:none;color:var(--faint)}
.recon-sale-sheet .recon-sheet-payment-meta :is(strong,time){font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.recon-sale-sheet .recon-sheet-payment-row .recon-receive-button{display:inline-flex;align-items:center;justify-content:center;grid-column:auto;justify-self:auto;flex:0 0 auto;gap:5px;width:auto;max-width:100%;min-height:30px;margin:0 0 0 auto;padding:6px 8px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));border-radius:7px;background:color-mix(in srgb,var(--accent) 5%,var(--surface));color:var(--accent);box-shadow:none;font-size:9px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;transition:border-color .15s,background .15s}
.recon-sale-sheet .recon-sheet-payment-row .recon-receive-button>svg{width:12px;height:12px;flex:none}
.recon-sale-sheet .recon-sheet-payment-row .recon-receive-button:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.recon-sale-sheet .recon-sheet-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 14px;padding:12px 18px;border-top:1px solid var(--border);background:var(--surface-soft)}
.recon-sale-sheet .recon-sheet-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex:1 1 240px;min-width:0}
.recon-sale-sheet .recon-sheet-status{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:4px 7px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted);font-size:9px;font-weight:500;line-height:1.4}
.recon-sale-sheet .recon-sheet-status>svg{width:11px;height:11px;flex:none}
.recon-sale-sheet .recon-sheet-status.is-pending{color:var(--warning);background:var(--warning-bg);border-color:color-mix(in srgb,var(--warning) 20%,transparent)}
.recon-sale-sheet .recon-sheet-status.is-done{color:var(--positive);background:var(--positive-bg);border-color:color-mix(in srgb,var(--positive) 20%,transparent)}
.recon-sale-sheet .recon-sheet-balances{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 14px;flex:0 1 auto;min-width:0;color:var(--muted);font-size:9px;line-height:1.6}
.recon-sale-sheet .recon-sheet-balances>span{display:inline-flex;align-items:baseline;gap:5px}
.recon-sale-sheet .recon-sheet-balances strong{font-size:11px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.recon-sale-sheet .recon-sheet-balances .recon-balance-open{color:var(--warning)}
.recon-sale-sheet .recon-sheet-footer .recon-review-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:32px;width:auto;margin:0 0 0 auto;padding:7px 10px;border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);border-radius:7px;background:var(--accent-soft);color:var(--accent);font-size:9px;font-weight:600;line-height:1.4;white-space:nowrap}
.recon-sale-sheet .recon-sheet-footer .recon-review-button>svg{width:13px;height:13px;flex:none}
.recon-sale-sheet .recon-sheet-footer .recon-review-button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 17%,var(--surface))}
.recon-sale-sheet :is(.recon-history-icon,.recon-receive-button,.recon-review-button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){
 .recon-sale-sheet .recon-sheet-body{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
 .recon-sale-sheet .recon-sheet-payments{grid-column:1/-1;border-left:0;border-top:1px solid var(--border)}
 .recon-sale-sheet .recon-sheet-payment-data{flex-basis:230px}
 .recon-sale-sheet .recon-sheet-payment-row .recon-receive-button{font-size:10px}
}
@media(max-width:760px){
 .recon-sale-list{gap:13px}
 .recon-sale-sheet{border-radius:11px}
 .recon-sale-sheet .recon-sheet-body{grid-template-columns:minmax(0,1fr)}
 .recon-sale-sheet :is(.recon-sheet-sale,.recon-sheet-products,.recon-sheet-payments){padding:15px 16px}
 .recon-sale-sheet .recon-sheet-products{border-left:0;border-top:1px solid var(--border)}
 .recon-sale-sheet .recon-sheet-sale h3{font-size:14px;margin-bottom:8px}
 .recon-sale-sheet .recon-sheet-meta{font-size:10px}
 .recon-sale-sheet .recon-sheet-total{margin-top:11px;padding-top:10px}
 .recon-sale-sheet .recon-sheet-payment-data{flex-basis:190px}
 .recon-sale-sheet .recon-sheet-payment-meta{font-size:9px}
 .recon-sale-sheet .recon-sheet-payment-row .recon-receive-button{min-height:32px;font-size:10px;padding:6px 9px}
 .recon-sale-sheet .recon-sheet-footer{padding:12px 16px;gap:10px}
 .recon-sale-sheet .recon-sheet-statuses{flex-basis:100%}
 .recon-sale-sheet .recon-sheet-balances{justify-content:flex-start;flex:1 1 auto;font-size:9px}
 .recon-sale-sheet .recon-sheet-footer .recon-review-button{min-height:34px}
}
.recon-sale-sheet .recon-sheet-review-action{display:grid;justify-items:end;gap:5px;flex:0 1 210px;min-width:0;max-width:230px;margin-left:auto}
.recon-sale-sheet .recon-sheet-review-note{display:block;max-width:210px;margin:0;color:var(--faint);font-size:9px;line-height:1.6;font-weight:400;text-align:right;white-space:normal;overflow-wrap:break-word}
.recon-sale-sheet .recon-sheet-footer .recon-review-button:disabled,
.recon-sale-sheet .recon-sheet-footer .recon-review-button:disabled:hover{border-color:var(--border);background:var(--surface-raised);color:var(--faint);box-shadow:none;filter:none;opacity:1;cursor:not-allowed}
@media(max-width:760px){.recon-sale-sheet .recon-sheet-review-action{flex-basis:100%;max-width:100%}.recon-sale-sheet .recon-sheet-review-note{max-width:220px}}
/* Sold minus received equals the signed amount still due. */
.recon-sale-sheet .recon-sheet-sale-heading>strong{font-size:12px}
.recon-sale-sheet .recon-sheet-sale h3{font-size:15px;line-height:1.5}
.recon-sale-sheet .recon-sheet-meta{font-size:10px;line-height:1.65}
.recon-sale-sheet :is(.recon-sheet-products,.recon-sheet-payments)>h4{font-size:10px;letter-spacing:.45px}
.recon-sale-sheet .recon-sheet-products li strong{font-size:12px}
.recon-sale-sheet .recon-sheet-products li small{font-size:10px}
.recon-sale-sheet .recon-sheet-payment-method{font-size:12px}
.recon-sale-sheet .recon-sheet-payment-amount{font-size:13px}
.recon-sale-sheet .recon-sheet-payment-meta{font-size:10px}
.recon-sale-sheet .recon-sheet-payment-row .recon-receive-button{font-size:10px}
.recon-sale-sheet .recon-sheet-footer{gap:13px 14px;padding-top:15px;padding-bottom:14px}
.recon-sale-sheet .recon-sheet-equation{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);align-items:stretch;gap:6px;flex:1 1 600px;width:100%;max-width:790px;min-width:0;padding:0;margin:0}
.recon-sale-sheet .recon-equation-term{--equation-tone:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:7px 9px;border:1px solid color-mix(in srgb,var(--equation-tone) 17%,var(--border));border-radius:9px;background:color-mix(in srgb,var(--equation-tone) 4%,var(--surface))}
.recon-sale-sheet .recon-equation-term.is-sold{--equation-tone:var(--accent)}
.recon-sale-sheet .recon-equation-term.is-received{--equation-tone:var(--positive)}
.recon-sale-sheet .recon-equation-term.is-due{--equation-tone:var(--warning);background:color-mix(in srgb,var(--equation-tone) 7%,var(--surface))}
.recon-sale-sheet .recon-equation-term.is-due.is-clear{--equation-tone:var(--positive)}
.recon-sale-sheet .recon-equation-term.is-due.is-excess{--equation-tone:var(--negative)}
.recon-sale-sheet .recon-equation-term.is-due.is-unknown{--equation-tone:var(--muted);background:var(--surface)}
.recon-sale-sheet .recon-equation-label{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;color:var(--muted);font-size:10px;font-weight:500;line-height:1.5}
.recon-sale-sheet .recon-equation-label>svg{width:12px;height:12px;flex:none;color:var(--equation-tone)}
.recon-sale-sheet .recon-equation-value{display:block;max-width:100%;margin-top:0;color:var(--text);font-size:14px;font-weight:650;letter-spacing:-.2px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.recon-sale-sheet .recon-equation-value>.money{display:block;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.recon-sale-sheet :is(.recon-equation-term.is-received,.recon-equation-term.is-due) .recon-equation-value{color:var(--equation-tone)}
.recon-sale-sheet .recon-equation-term.is-due .recon-equation-label{color:var(--equation-tone)}
.recon-sale-sheet .recon-equation-operator{display:grid;place-items:center;align-self:center;justify-self:center;width:20px;height:20px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--faint);font-size:18px;font-weight:400;line-height:1}
@media(max-width:760px){
 .recon-sale-sheet .recon-sheet-equation{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);gap:5px;padding-bottom:0}
 .recon-sale-sheet .recon-equation-term{display:block;padding:6px 7px;border-radius:7px}
 .recon-sale-sheet .recon-equation-label{gap:4px;font-size:10px}
 .recon-sale-sheet .recon-equation-label>svg{width:12px;height:12px}
 .recon-sale-sheet .recon-equation-value{font-size:clamp(11px,3.7vw,14px);letter-spacing:-.3px;margin-top:5px;line-height:1.45}
 .recon-sale-sheet .recon-equation-operator{width:18px;height:21px;border:0;background:none;font-size:17px}
}
/* Five review selections share one wrapping toolbar. */
.reconciliation-workspace .recon-filter-tabs{flex:1 1 610px;min-width:0;flex-wrap:wrap;overflow:visible}
.reconciliation-workspace .recon-filter-tabs a{flex:0 1 auto;min-width:0}
@media(max-width:760px){.reconciliation-workspace .recon-filter-tabs{flex-basis:100%}.reconciliation-workspace .recon-filter-tabs a{flex:1 1 auto}}
/* Search filters apply to the complete queue before the review tabs. */
.reconciliation-workspace .recon-search-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(210px,1fr) minmax(145px,1fr) auto;grid-template-areas:"query period seller clear";align-items:end;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}
.recon-search-filters>label{display:grid;gap:6px;min-width:0;margin:0;color:var(--muted);font-size:10px;font-weight:500;line-height:1.5}
.recon-search-filters .recon-search-field{grid-area:query}
.recon-search-filters .recon-date-from-field{grid-area:from}
.recon-search-filters .recon-date-to-field{grid-area:to}
.recon-search-filters .recon-seller-field{grid-area:seller}
.recon-search-filters .recon-search-control{display:flex;align-items:center;gap:8px;min-width:0;width:100%;min-height:38px;padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-soft);color:var(--faint)}
.recon-search-filters .recon-search-control>svg{width:15px;height:15px;flex:none}
.recon-search-filters #recon-search{display:block;min-width:0;width:100%;height:36px;min-height:36px;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--text);font-size:11px;line-height:1.5;box-shadow:none;outline:none}
.recon-search-filters #recon-search::placeholder{color:var(--faint);opacity:1}
.recon-search-filters :is(input[type="date"],select){display:block;min-width:0;max-width:100%;width:100%;height:38px;min-height:38px;margin:0;padding:8px 9px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-soft);color:var(--text);font-size:11px;line-height:1.5;box-shadow:none}
.recon-search-filters .recon-clear-filters{grid-area:clear;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:38px;margin:0;padding:8px 11px;border:1px solid var(--border-strong);border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:550;line-height:1.5;white-space:nowrap}
.recon-search-filters .recon-clear-filters:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.recon-search-filters :is(input[type="date"],select,.recon-clear-filters):focus-visible,.recon-search-filters .recon-search-control:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.recon-search-filters input[aria-invalid="true"]{border-color:var(--negative)}
.recon-search-filters .recon-filters-error{grid-column:1/-1;margin:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--negative) 20%,transparent);border-radius:7px;background:var(--negative-bg);color:var(--negative);font-size:10px;line-height:1.6}
:root[data-theme="dark"] .recon-search-filters input[type="date"]{color-scheme:dark}
@media(max-width:1100px){.reconciliation-workspace .recon-search-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr) auto;grid-template-areas:"query query query query" "period period seller clear"}}
@media(max-width:760px){
 .reconciliation-workspace .recon-search-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"query query" "period period" "seller clear";padding:13px 14px;gap:11px 10px}
 .recon-search-filters :is(input[type="date"],select){font-size:11px;min-height:40px;height:40px}
 .recon-search-filters .recon-clear-filters{min-height:40px}
}

.recon-search-filters .recon-period-field{grid-area:period;min-width:0}
.recon-time-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:8px;}
.recon-time-status.is-pending{padding:7px 9px;border-left:2px solid #d9aa67;border-radius:5px;background:color-mix(in srgb,#d9aa67 8%,transparent);}
.recon-time-status small{font-size:10px;color:#d9aa67;}
.recon-time-button{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--line,#304154);border-radius:6px;background:transparent;color:var(--accent,#dea57e);font:inherit;font-size:10px;cursor:pointer;}
.recon-time-button svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.6;}
.recon-reopen-button{background:transparent!important;color:var(--accent,#dea57e)!important;border:1px solid var(--line,#304154)!important;}
.receipt-time-form{display:grid;gap:14px;padding:8px 0;min-width:0;}
.receipt-time-form h2{margin:0;font-size:22px;}
.receipt-time-form>p{margin:0;line-height:1.6;}
.receipt-time-form label{display:grid;gap:8px;font-size:13px;}
.receipt-time-form input{width:100%;min-height:46px;padding:10px 12px;box-sizing:border-box;border:1px solid var(--line,#304154);border-radius:8px;background:var(--surface,#152536);color:var(--text,#ecf0f5);font:inherit;}
.receipt-time-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.receipt-time-error{color:#ee9b9b;font-size:12px;}

/* Compact queue: one aligned sale row; payments and extra data open separately. */
.recon-sale-compact .recon-compact-statuses>div:last-child .recon-state-badge.is-done{color:#b6caff;background:#263651;border-color:#405880}
.recon-sale-compact .recon-compact-action :is(.recon-next-button,.recon-review-button):not(.recon-reopen-button):not(:disabled){background:var(--accent);color:#112334;border-color:var(--accent)}
[data-theme=light] .recon-sale-compact .recon-compact-statuses>div:last-child .recon-state-badge.is-done{color:#365a9a;background:#eaf0ff;border-color:#bdccec}
.reconciliation-workspace .recon-sale-list{gap:10px;container-type:inline-size;container-name:recon-queue}
.recon-sale-sheet.recon-sale-compact{padding:0;border:1px solid var(--border-strong);border-radius:11px;background:var(--surface);box-shadow:none;overflow:visible}
.recon-sale-compact .recon-compact-row{display:grid;grid-template-columns:minmax(185px,1fr) minmax(285px,1.2fr) 145px minmax(185px,210px);align-items:center;gap:14px;padding:13px 15px;min-width:0}
.recon-sale-compact .recon-compact-sale{min-width:0}.recon-sale-compact .recon-compact-id{display:flex;align-items:center;gap:7px}.recon-sale-compact .recon-compact-id>strong{color:var(--accent);font-size:11px;font-weight:700;line-height:1.4}.recon-sale-compact .recon-compact-id .recon-history-icon{width:24px;height:24px;min-width:24px;min-height:24px;padding:4px;border-radius:6px}.recon-sale-compact .recon-compact-id .recon-history-icon>svg{width:14px;height:14px}
.recon-sale-compact .recon-compact-sale>h3{margin:3px 0 0;color:var(--text);font-size:13px;font-weight:650;line-height:1.45;overflow-wrap:break-word}.recon-sale-compact .recon-compact-sale>p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.5;font-variant-numeric:tabular-nums}
.recon-sale-compact .recon-compact-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;min-width:0;padding:1px 0}
.recon-sale-compact .recon-money-cell{min-width:0;text-align:right}.recon-sale-compact .recon-money-cell>span{display:block;color:var(--muted);font-size:10px;line-height:1.5}.recon-sale-compact .recon-money-cell>strong{display:block;max-width:100%;margin-top:5px;color:var(--text);font-size:15px;font-weight:700;line-height:1.5;letter-spacing:-.25px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.recon-sale-compact .recon-money-cell .money{white-space:normal;overflow-wrap:anywhere}
.recon-sale-compact .recon-money-cell.is-received>strong,.recon-sale-compact .recon-money-cell.is-clear>strong{color:var(--positive)}.recon-sale-compact .recon-money-cell.is-open>strong{color:var(--warning)}.recon-sale-compact .recon-money-cell.is-excess>strong{color:var(--negative)}.recon-sale-compact .recon-money-cell.is-unknown>strong{color:var(--muted)}.recon-sale-compact .recon-money-cell>small{display:block;color:var(--negative);font-size:9px;line-height:1.4}
.recon-sale-compact .recon-compact-statuses{display:grid;gap:7px;min-width:0}.recon-sale-compact .recon-compact-statuses>div{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:5px}.recon-sale-compact .recon-compact-statuses small{color:var(--muted);font-size:9px;line-height:1.4}
.recon-sale-compact :is(.recon-state-badge,.recon-payment-state){display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;width:max-content;min-height:23px;padding:3px 6px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--muted);font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap}.recon-sale-compact :is(.recon-state-badge,.recon-payment-state)>svg{width:12px;height:12px;flex:none}.recon-sale-compact :is(.recon-state-badge,.recon-payment-state).is-done{color:var(--positive);background:var(--positive-bg);border-color:color-mix(in srgb,var(--positive) 20%,var(--border))}.recon-sale-compact :is(.recon-state-badge,.recon-payment-state).is-pending{color:var(--warning);background:var(--warning-bg);border-color:color-mix(in srgb,var(--warning) 20%,var(--border))}.recon-sale-compact .recon-state-badge.is-divergent{color:var(--negative);background:var(--negative-bg);border-color:color-mix(in srgb,var(--negative) 25%,var(--border))}
.recon-sale-compact .recon-compact-action{display:grid;justify-items:start;gap:6px;min-width:0}.recon-sale-compact .recon-action-label{color:var(--muted);font-size:9px;line-height:1.4}.recon-sale-compact :is(.recon-review-button,.recon-next-button){display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;min-height:31px;padding:7px 9px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:7px;background:var(--accent-soft);color:var(--accent);font:inherit;font-size:10px;font-weight:650;line-height:1.4;white-space:normal;box-shadow:none;cursor:pointer}.recon-sale-compact :is(.recon-review-button,.recon-next-button)>svg{width:14px;height:14px;flex:none}.recon-sale-compact :is(.recon-review-button,.recon-next-button):hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 17%,var(--surface))}.recon-sale-compact .recon-review-button:disabled{background:var(--surface-soft);border-color:var(--border);color:var(--faint);opacity:1;cursor:not-allowed}.recon-sale-compact .recon-compact-block-reason{display:block;max-width:100%;margin:0;color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:break-word}
.recon-sale-compact .recon-row-disclosures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;border-top:1px solid var(--border);min-width:0}.recon-sale-compact .recon-row-disclosures>details{min-width:0;padding:0;border:0;background:none}.recon-sale-compact .recon-row-disclosures>details[open]{grid-column:1/-1}.recon-sale-compact .recon-disclosure-summary{display:flex;align-items:center;gap:7px;min-height:34px;padding:8px 15px;list-style:none;color:var(--muted);font-size:10px;font-weight:400;line-height:1.4;cursor:pointer}.recon-sale-compact .recon-disclosure-summary::marker,.recon-sale-compact .recon-disclosure-summary::-webkit-details-marker{display:none}.recon-sale-compact .recon-disclosure-summary::after{content:none!important;display:none!important}.recon-sale-compact .recon-disclosure-summary>svg{width:14px;height:14px;flex:none;color:var(--accent)}.recon-sale-compact .recon-disclosure-summary>strong{font-size:10px;font-weight:650;color:var(--text)}.recon-sale-compact .recon-disclosure-summary>span:not(.recon-disclosure-chevron){color:var(--muted);font-size:9px}.recon-sale-compact .recon-disclosure-chevron{margin-left:auto;font-size:15px;line-height:1;transition:transform .15s}.recon-sale-compact details[open]>.recon-disclosure-summary .recon-disclosure-chevron{transform:rotate(180deg)}.recon-sale-compact .recon-disclosure-summary:hover{background:var(--surface-soft);color:var(--text)}
.recon-sale-compact .recon-payment-content{padding:0 15px 12px}.recon-sale-compact .recon-sheet-payment-list{display:grid;gap:7px;padding:0;margin:0;list-style:none}.recon-sale-compact .recon-sheet-payment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.recon-sale-compact .recon-sheet-payment-main{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.recon-sale-compact .recon-sheet-payment-method{font-size:11px}.recon-sale-compact .recon-sheet-payment-amount{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.recon-sale-compact .recon-sheet-payment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:3px 12px;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.5}.recon-sale-compact .recon-payment-action{display:grid;justify-items:end;gap:6px}.recon-sale-compact .recon-receive-button{min-height:30px;padding:6px 9px;font-size:10px}.recon-sale-compact .recon-time-status{margin-top:6px}.recon-sale-compact .recon-time-status.is-pending{padding:5px 7px}.recon-sale-compact .recon-sheet-no-payment{margin:0;padding:10px 0;color:var(--muted);font-size:11px}
.recon-sale-compact .recon-extra-content{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(170px,1fr);gap:20px;padding:0 15px 14px;min-width:0}.recon-sale-compact .recon-sheet-products{min-width:0;padding:0;border:0}.recon-sale-compact .recon-sheet-products h4{font-size:11px;margin-bottom:7px}.recon-sale-compact .recon-sheet-products ul{margin:0;padding:0;list-style:none}.recon-sale-compact .recon-sheet-products li{padding:6px 0}.recon-sale-compact .recon-sheet-products li strong{font-size:11px}.recon-sale-compact .recon-sheet-products li small{font-size:10px}.recon-sale-compact .recon-extra-meta{display:grid;align-content:start;gap:9px;margin:0;font-size:10px;line-height:1.5}.recon-sale-compact .recon-extra-meta dt{color:var(--muted)}.recon-sale-compact .recon-extra-meta dd{margin:2px 0 0;color:var(--text)}
.recon-sale-compact :is(button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@container recon-queue (max-width:1050px){.recon-sale-compact .recon-compact-row{grid-template-columns:minmax(175px,1fr) minmax(260px,1.4fr) 155px;gap:10px 16px}.recon-sale-compact .recon-compact-action{grid-column:1/-1;display:flex;align-items:center;justify-items:initial;flex-wrap:wrap;gap:7px 10px;padding-top:10px;border-top:1px solid var(--border)}.recon-sale-compact .recon-action-label{display:none}.recon-sale-compact .recon-compact-block-reason{flex:1;min-width:180px}.recon-sale-compact .recon-money-cell>strong{font-size:14px}}
@container recon-queue (max-width:700px){.recon-sale-compact .recon-compact-row{grid-template-columns:minmax(0,1fr)}.recon-sale-compact .recon-compact-values{grid-column:1/-1}.recon-sale-compact .recon-compact-statuses{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.recon-sale-compact .recon-compact-statuses>div{grid-template-columns:1fr;gap:4px}.recon-sale-compact .recon-extra-content{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.recon-sale-compact .recon-compact-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.recon-sale-compact .recon-compact-sale,.recon-sale-compact .recon-compact-values,.recon-sale-compact .recon-compact-statuses,.recon-sale-compact .recon-compact-action{grid-column:1/-1}.recon-sale-compact .recon-compact-values{gap:12px;padding:0 0 10px;border-bottom:1px solid var(--border)}.recon-sale-compact .recon-money-cell{text-align:left}.recon-sale-compact .recon-money-cell>strong{font-size:14px}.recon-sale-compact .recon-compact-statuses{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recon-sale-compact .recon-compact-statuses>div{grid-template-columns:1fr;gap:4px}.recon-sale-compact .recon-compact-action{padding-top:0;border-top:0}.recon-sale-compact .recon-compact-block-reason{flex-basis:100%;min-width:0}.recon-sale-compact .recon-disclosure-summary{gap:5px;padding:8px 12px}.recon-sale-compact .recon-disclosure-summary>strong{font-size:10px}.recon-sale-compact .recon-disclosure-summary>span:not(.recon-disclosure-chevron){font-size:9px}.recon-sale-compact .recon-payment-content{padding:0 12px 12px}.recon-sale-compact .recon-sheet-payment-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px}.recon-sale-compact .recon-payment-action{display:flex;align-items:center;justify-content:space-between;gap:9px}.recon-sale-compact .recon-extra-content{grid-template-columns:minmax(0,1fr);gap:14px;padding:0 12px 12px}}
@media(max-width:420px){.recon-sale-compact .recon-row-disclosures{grid-template-columns:minmax(0,1fr)}.recon-sale-compact .recon-money-cell>strong{font-size:13px}.recon-sale-compact .recon-compact-values{gap:8px}}
@media(prefers-reduced-motion:reduce){.recon-sale-compact .recon-disclosure-chevron{transition:none}}
