.sidebar{overflow-y:auto}
.sidebar>.brand,.sidebar>.workspace,.sidebar>nav,.sidebar-bottom{flex-shrink:0}
.mismatch-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border:1px solid #e8d7b6;border-radius:10px;background:#fff6e7;margin-bottom:20px}
.mismatch-banner.clear{background:#edf5e7;border-color:#d6e4cb}
.mismatch-banner h2{font-family:var(--serif);font-size:29px;line-height:1.25;margin:8px 0}
.mismatch-banner p{font-size:12px;margin:8px 0 0;color:#77836f}
.mismatch-banner .badge{white-space:normal;flex-shrink:0}
.mismatch-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:26px}
.mismatch-total{border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;padding:17px 15px;min-width:0}
.mismatch-total strong{display:block;font-family:var(--serif);font-size:30px;font-weight:400;margin-bottom:8px;line-height:1}
.mismatch-total span{font-size:11px;line-height:1.6;color:#77836f}
.mismatch-total.selected{outline:2px solid #a7b59c;outline-offset:2px}
.mismatch-total.amber strong{color:#a47b3b}.mismatch-total.red strong{color:#a75a48}
.mismatch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;flex-wrap:wrap}
.mismatch-toolbar h2{margin:0}.mismatch-toolbar .filters{flex-wrap:wrap;min-width:0}
.mismatch-toolbar input,.mismatch-toolbar select{min-width:0}
.mismatch-card{background:#fff;border:1px solid var(--line);border-left:4px solid #c99a54;border-radius:9px;margin-bottom:16px;padding:22px;overflow-wrap:anywhere}
.mismatch-card.red{border-left-color:#c26856}
.mismatch-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.mismatch-card h2{font-size:17px;margin:0 0 12px}.mismatch-explanation{font-size:12px;color:var(--muted);max-width:850px;line-height:1.8}
.mismatch-shift{font-size:12px;color:#967039}
.mismatch-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:17px}
.mismatch-source{border:1px solid #e4e9dd;border-radius:6px;background:#f8faf5;padding:17px;min-width:0}
.mismatch-source h3{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#87937e;margin:0 0 15px}
.mismatch-source>.muted{font-size:12px}.mismatch-stage+ .mismatch-stage{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.mismatch-stage strong{font-size:14px;font-weight:550}.mismatch-stage p{font-size:12px;margin:8px 0}.mismatch-stage small{display:block;font-size:10px;color:#88947f}
.mismatch-stage .text-button{margin-top:13px}.mismatch-matches{margin-top:25px}.mismatch-matches summary{cursor:pointer;font-size:16px}.mismatch-matches>.muted{font-size:12px;margin:18px 0}
.match-list>div{display:flex;flex-wrap:wrap;gap:8px 20px;padding:13px 0;border-top:1px solid var(--line);font-size:12px}
.match-list strong{flex:1 1 180px;font-weight:550}.match-list span{flex:1 1 180px}.match-list small{flex:1 1 230px;font-size:10px;color:var(--muted)}
#issue-count{font-size:11px}.mismatch-pending p{font-size:13px}
@media(max-width:1150px){.mismatch-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.mismatch-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.mismatch-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.mismatch-pair{grid-template-columns:1fr}.mismatch-banner{padding:20px}.mismatch-banner h2{font-size:25px}.mismatch-card{padding:17px}.mismatch-card>header{flex-wrap:wrap}.mismatch-toolbar .filters{width:100%}}
