/* Isolated read-only workspace, using the existing Egoglo brand variables. */
#reconciliation-workspace[hidden],#nav-reconciliation[hidden]{display:none!important}
.reconciliation-workspace,.rc-workspace-content{display:flex;flex-direction:column;gap:14px;min-width:0;color:var(--ink)}
.rc-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.rc-heading h1{margin:5px 0 7px;font-size:25px;letter-spacing:-.025em}.rc-heading .eyebrow{margin:0}.rc-description{max-width:720px;margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.rc-check-all{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;white-space:nowrap;min-height:44px;padding:10px 17px;border-radius:11px}.rc-check-all svg{width:20px;height:20px;flex:0 0 20px}.rc-coverage svg{width:17px;height:17px;flex-shrink:0}
.rc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rc-stat{display:flex;gap:14px;align-items:center;padding:17px 19px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}
.rc-stat-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:12px;background:#e8f7f2;color:#13876b}.rc-stat-icon svg{width:18px;height:18px}.rc-stat--attention .rc-stat-icon{color:#ca5f28;background:#fff1e9}.rc-stat--unknown .rc-stat-icon{color:#5d70a0;background:#edf1fc}.rc-stat-copy{min-width:0}.rc-stat-copy>span{font-size:10px;font-weight:600;color:var(--muted)}.rc-stat-copy>strong{display:block;margin:5px 0;font-size:25px;line-height:1.15;font-variant-numeric:tabular-nums}.rc-stat-copy>small{font-size:9px;line-height:1.5;color:var(--muted)}.rc-stat--attention strong{color:#bd3543}
.rc-toolbar{display:flex;align-items:center;gap:18px;padding:14px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.rc-range-summary{display:flex;flex-direction:column;gap:4px;min-width:0}.rc-range-summary>strong{font-size:11px}.rc-range-summary>span,.rc-range-summary>small{font-size:10px;color:var(--muted);line-height:1.5}.rc-range-changed{margin:0;padding:0 2px;color:var(--primary);font-size:10px;line-height:1.5}
.rc-progress{display:flex;align-items:center;gap:20px;padding:12px 18px;border:1px solid #dce6ff;border-radius:12px;background:#f5f8ff}.rc-progress-copy{display:flex;align-items:center;gap:14px;flex:1;min-width:0;font-size:10px;line-height:1.5}.rc-progress-copy>span{color:var(--muted)}.rc-progress-bar{width:180px;height:5px;border:0;border-radius:5px;appearance:none;overflow:hidden}.rc-progress-bar::-webkit-progress-bar{background:#e0e7f7}.rc-progress-bar::-webkit-progress-value{background:var(--primary);border-radius:5px}.rc-progress-bar::-moz-progress-bar{background:var(--primary)}
.rc-panel{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}.rc-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid #edf1f6}.rc-panel-heading h2{margin:0;font-size:15px}.rc-panel-heading p{margin:5px 0 0;font-size:10px;color:var(--muted);line-height:1.5}.rc-filters{display:flex;flex-wrap:wrap;gap:4px}.rc-filter{border:1px solid transparent;border-radius:8px;padding:7px 10px;color:var(--muted);background:transparent;font-size:10px;cursor:pointer;white-space:nowrap}.rc-filter[aria-pressed=true]{color:var(--primary);background:#edf2ff;border-color:#dce6ff;font-weight:700}
.rc-table-wrap{overflow:auto}.rc-table{width:100%;border-collapse:collapse;min-width:930px}.rc-table th{font-size:9px;padding:11px 10px;white-space:normal;line-height:1.5;background:#f8faff}.rc-table th.rc-column-metric{text-align:center;min-width:70px}.rc-table td{padding:11px 10px;font-size:11px;vertical-align:middle;white-space:normal;border-bottom:1px solid #edf1f7}.rc-table tbody tr:last-child td{border-bottom:0}.rc-table tbody tr:hover{background:#fcfdff}.rc-table th:first-child,.rc-table td:first-child{padding-left:20px}.rc-table th:first-child,.rc-table .rc-store{min-width:180px}.rc-table th:last-child,.rc-table td:last-child{padding-right:20px}
.rc-count-value{font-variant-numeric:tabular-nums}.rc-partial-note{display:block;margin-top:4px;max-width:145px;font-size:8px;font-weight:400;line-height:1.4;color:#9b7022}
.rc-store-inner{display:flex;align-items:center;gap:10px}.rc-store-inner>div{min-width:0}.rc-store-icon{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border:1px solid #e4eaf7;border-radius:9px;color:#617cb1;background:#f5f8ff}.rc-store-icon svg{width:16px;height:16px}.rc-store strong{display:block;font-size:11px;overflow-wrap:anywhere;color:var(--ink)}.rc-store small{display:block;margin-top:4px;color:var(--muted);font-size:9px;overflow-wrap:anywhere}.rc-numeric{text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.rc-checked{font-size:9px!important;color:var(--muted);min-width:90px}.rc-result{min-width:100px}
.rc-status{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:5px 7px;font-size:9px;font-weight:600;white-space:nowrap}.rc-status svg{width:13px;height:13px;flex:0 0 13px}.rc-status--matched{color:#087357;background:#e9f8f1}.rc-status--differences{color:#b43240;background:#fff0ee}.rc-status--unconfirmed{color:#946008;background:#fff7e4}.rc-status--checking{color:#315ed5;background:#ecf2ff}.rc-status--queued,.rc-status--notChecked{color:#77849b;background:#f0f3f7}.reconciliation-workspace [data-rc-icon=spinner]{animation:rc-spin .9s linear infinite;transform-origin:center}@keyframes rc-spin{to{transform:rotate(360deg)}}
.rc-row-actions{min-width:100px;text-align:right}.rc-row-action-group{display:flex;gap:6px;align-items:center;justify-content:flex-end}.rc-check-store,.rc-detail-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:1px solid #dbe4f6;border-radius:8px;color:var(--primary);background:#fff;font-size:9px;font-weight:600;cursor:pointer}.rc-check-store{width:36px;min-height:36px;flex:0 0 36px;padding:0;border-radius:10px;background:#edf3ff;border-color:#d6e1fb;transition:background .15s,border-color .15s}.rc-detail-button{padding:6px 9px;white-space:nowrap}.rc-check-store svg{width:18px;height:18px;flex:0 0 18px}.rc-detail-button svg{width:15px;height:15px}.rc-check-store:hover:not(:disabled){background:#e3ecff;border-color:#b8caf2}.rc-detail-button:hover{background:#f0f4ff;border-color:#bccdf5}.rc-check-store:disabled{color:#a0adbf;background:#f7f9fc;border-color:#e7ebf3;cursor:not-allowed}.rc-check-store[aria-busy=true]{color:var(--primary);background:#edf3ff;border-color:#d6e1fb}.rc-check-all:disabled{cursor:not-allowed}
.rc-empty{text-align:center!important;padding:30px!important;color:var(--muted)}.rc-start-hint{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.rc-placeholder{min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:28px;border:1px dashed #cfdaeb;border-radius:14px;background:#fff;text-align:center}.rc-placeholder>svg{width:30px;height:30px;color:var(--primary)}.rc-placeholder h2{max-width:580px;margin:0;font-size:12px;font-weight:600;color:var(--muted);line-height:1.6}
.rc-coverage{display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:10px;line-height:1.5}.rc-coverage svg{color:var(--primary)}.rc-coverage>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.rc-coverage strong{font-size:10px;white-space:nowrap}.rc-coverage p{margin:0;color:var(--muted)}.rc-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:9px;color:var(--muted);line-height:1.5}
.rc-dialog{width:min(760px,calc(100vw - 36px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:#fff;box-shadow:0 28px 80px rgba(5,21,48,.3);overscroll-behavior:contain;overflow:auto}.rc-dialog::backdrop{background:rgba(7,22,48,.58);backdrop-filter:blur(4px)}.rc-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 25px 18px;border-bottom:1px solid var(--line)}.rc-dialog-heading .eyebrow{margin:0;font-size:9px}.rc-dialog-heading h2{margin:8px 0 10px;font-size:22px;overflow-wrap:anywhere}.rc-dialog-close{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;cursor:pointer}.rc-dialog-close svg{width:18px;height:18px}.rc-dialog-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin:0;padding:20px 25px}.rc-dialog-meta dt{font-size:10px;color:var(--muted)}.rc-dialog-meta dd{margin:5px 0 0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.rc-tabs{display:flex;gap:22px;margin:0 25px;border-bottom:1px solid var(--line)}.rc-tab{border:0;border-bottom:2px solid transparent;padding:11px 0;font-size:11px;font-weight:700;color:var(--muted);background:transparent;cursor:pointer}.rc-tab[aria-selected=true]{border-bottom-color:var(--primary);color:var(--primary)}.rc-detail-list{padding:18px 25px}.rc-order{margin-bottom:11px;padding:14px;border:1px solid var(--line);border-radius:11px}.rc-order:last-child{margin-bottom:0}.rc-order-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:flex-start}.rc-order-heading>strong{font-size:12px;overflow-wrap:anywhere}.rc-order-stage{font-size:10px;color:var(--primary);background:#eef3ff;border-radius:6px;padding:4px 7px;max-width:100%}.rc-order-id{font-size:10px;line-height:1.6;overflow-wrap:anywhere;margin:8px 0 0;color:#526781}.rc-subtext{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.rc-product{padding-top:11px;margin-top:11px;border-top:1px solid #edf1f6;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.rc-product>strong,.rc-product>span{display:block}.rc-product>span{color:var(--muted);font-size:10px}.rc-product p{margin:6px 0 0;font-size:10px}.rc-detail-empty{margin:0;padding:23px 10px;text-align:center;color:var(--muted);font-size:11px;line-height:1.6}.rc-detail-notice{margin:0 25px 18px;padding:17px;border:1px solid #efdcb0;border-radius:11px;background:#fffbf1;color:#825a13;font-size:11px;line-height:1.65}.rc-detail-notice h3{margin:0 0 8px;font-size:13px}.rc-detail-notice p{margin:0 0 13px}.rc-dialog>p.rc-subtext{margin:0 25px 18px}.rc-dialog-footer{margin:0;padding:15px 25px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:#f8faff;line-height:1.6}
.reconciliation-workspace button:focus-visible,.rc-dialog button:focus-visible{outline:2px solid #7895ff;outline-offset:3px}
@media(max-width:1100px){.rc-heading{align-items:flex-start}.rc-stat{padding:15px;gap:10px}.rc-stat-icon{width:33px;height:33px;flex-basis:33px}.rc-panel-heading{gap:12px}.rc-table{min-width:900px}.rc-stat-copy>strong{font-size:23px}}
@media(max-width:620px){.reconciliation-workspace,.rc-workspace-content{gap:11px}.rc-heading{padding:18px;flex-direction:column;gap:15px}.rc-heading h1{font-size:23px}.rc-check-all{width:100%}.rc-stats{gap:8px;grid-template-columns:1fr}.rc-stat{padding:12px 15px}.rc-stat-copy{display:grid;grid-template-columns:1fr auto;gap:3px 10px;flex:1;align-items:center}.rc-stat-copy>strong{grid-column:2;grid-row:1/3;margin:0;font-size:23px}.rc-stat-copy>small{grid-column:1;grid-row:2}.rc-toolbar{align-items:stretch;flex-direction:column;gap:10px;padding:13px}.rc-range-summary>strong{display:none}.rc-progress{padding:11px 13px;flex-direction:column;align-items:stretch;gap:8px}.rc-progress-copy{justify-content:space-between;gap:10px}.rc-progress-bar{width:100%}.rc-panel-heading{padding:16px;align-items:flex-start;flex-direction:column}.rc-table{min-width:0}.rc-table thead{display:none}.rc-table,.rc-table tbody{display:block}.rc-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 8px;padding:16px;border-top:1px solid var(--line)}.rc-table tbody tr:first-child{border-top:0}.rc-table td{border:0;padding:0!important;white-space:normal;min-width:0}.rc-store{grid-column:1/-1}.rc-table td.rc-numeric{text-align:left;padding:9px 10px!important;border:1px solid #edf1f7;border-radius:9px;background:#f8faff}.rc-numeric::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:9px;font-weight:400;color:var(--muted);min-height:27px}.rc-count-value{font-size:14px}.rc-partial-note{font-size:8px;max-width:none}.rc-result{grid-column:1;grid-row:4;min-width:0;align-self:center}.rc-checked{grid-column:1/-1;grid-row:5;font-size:9px!important}.rc-row-actions{grid-column:2;grid-row:4;min-width:0;align-self:center}.rc-row-action-group{gap:4px;flex-wrap:wrap}.rc-check-store{min-height:30px;width:30px;flex-basis:30px}.rc-detail-button{padding:5px;min-height:30px;font-size:9px}.rc-detail-button svg{display:none}.rc-empty{grid-column:1/-1}.rc-coverage{padding:12px;align-items:flex-start}.rc-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}.rc-dialog-heading{padding:20px 18px 16px}.rc-dialog-meta{padding:18px;grid-template-columns:1fr;gap:12px}.rc-tabs{margin:0 18px;gap:18px}.rc-detail-list{padding:16px 18px}.rc-detail-notice{margin:0 18px 16px;padding:14px}.rc-dialog>p.rc-subtext{margin:0 18px 16px}.rc-dialog-footer{padding:15px 18px}.rc-order{padding:13px}}
@media(prefers-reduced-motion:reduce){.reconciliation-workspace [data-rc-icon=spinner]{animation:none}}
@media(max-width:620px){.rc-table td.rc-store{min-width:0}}
@media(max-width:620px){.rc-check-store{width:40px;min-height:40px;flex-basis:40px}}
