.reconcile-page { max-width: 78rem; margin: 0 auto; }
.reconcile-page .page-header { margin-bottom: 1.6rem; }
.reconcile-page h1 { margin: .4rem 0 .6rem; }
.reconcile-page .panel { margin-bottom: 1.4rem; }
.reconcile-page .panel > p { margin-top: .65rem; }
.reconcile-page .rec-upload { display: grid; grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr); gap: 1rem; margin-top: 1.2rem; }
.reconcile-page input[type=file] { max-width: 100%; padding: .6rem; }
.rec-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.1rem; }
.rec-section-heading .muted { margin-top: .35rem; overflow-wrap: anywhere; }
.rec-mapping { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.rec-mapping select { max-width: 100%; min-width: 0; }
.rec-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: .55rem; margin: 1rem 0; }
.rec-table-scroll table { min-width: 38rem; font-size: .94rem; }
.rec-table-scroll caption { padding: .65rem 1rem; text-align: left; font-size: .88rem; background: #f4f6f8; color: var(--muted); }
.rec-table-scroll th { background: #edf2f6; font-size: .88rem; color: #30475e; }
.rec-table-scroll td,.rec-table-scroll th { vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid #e2e7ed; }
.rec-table-scroll tr:last-child td { border-bottom: 0; }
.rec-table-scroll td { overflow-wrap: anywhere; }
.rec-table-scroll td:last-child { min-width: 15rem; max-width: 28rem; }
.rec-detail { display: block; margin-top: .25rem; font-size: .88rem; color: var(--muted); }
.rec-run { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.rec-run p { flex: 1 1 18rem; font-size: .9rem; }
.rec-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 .7rem; }
.rec-filters button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .55rem .8rem; font-size: .88rem; border-radius: .45rem; border: 1px solid #c8d3df; color: #3a4e64; background: #fff; }
.rec-filters button[aria-pressed=true] { color: #fff; background: #0a192f; border-color: #0a192f; box-shadow: inset 0 -3px #d4af37; }
.rec-status { display: inline-block; padding: .35rem .55rem; font-size: .88rem; font-weight: 600; border-radius: .4rem; background: #f0f3f6; }
.rec-confirmed { color: #236347; background: #e2f3e9; }
.rec-pending { color: #254b70; background: #e8f0f8; }
.rec-missing,.rec-needs_review,.rec-duplicate { color: #754d06; background: #fff3cf; }
.rec-explainer { color: #4b5e72; max-width: 65rem; }
.rec-count { font-size: .9rem; color: var(--muted); }
.rec-job { display: block; margin-top: .5rem; font-size: .9rem; min-height: 2rem; }
@media (max-width: 640px) { .reconcile-page .rec-upload,.rec-mapping { grid-template-columns: 1fr; } .rec-run .btn { width: 100%; } .rec-section-heading { align-items: flex-start; } }
