.mr-page button, .mr-page input { font-family:inherit; letter-spacing:0; }
.mr-page [hidden] { display:none; }
.mr-page h3 { margin:0 0 14px; font-size:19px; font-weight:600; }
.mr-description { margin:0 0 22px; font-size:14.5px; color:#657187; line-height:1.8; }
.mr-notice { margin:0 0 22px; padding:14px 18px; border:1px solid #dce2ec; border-radius:6px; background:#f4f6fa; font-size:14px; color:#59677b; line-height:1.7; }
.mr-query { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:18px; align-items:end; padding:24px; border:1px solid #dce2ec; border-radius:8px; background:#fff; }
.mr-query label { display:block; min-width:0; font-size:14px; font-weight:500; }
.mr-query label span { color:#4c5eb8; }
.mr-query input { display:block; width:100%; min-width:0; height:44px; margin-top:10px; padding:10px 12px; border:1px solid #d6deea; border-radius:5px; font-size:14px; background:#fff; color:#243349; }
.mr-search { height:44px; padding:0 20px; border:1px solid #4c5eb8; border-radius:5px; background:#4c5eb8; color:#fff; font-size:14px; font-weight:500; cursor:pointer; }
.mr-search:disabled { opacity:.6; cursor:not-allowed; }
.mr-result-message { margin:24px 0 14px; color:#657187; font-size:14px; }
.mr-page .mr-results thead th { width:13%; text-align:center; }
.mr-page .mr-results thead th:nth-child(4) { width:37%; }
.mr-page .mr-results thead th:nth-child(5) { width:24%; }
.mr-page .mr-results td { vertical-align:top; }
.mr-page .mr-results { min-width:850px; }
.mr-order-cell .mr-order-summary { margin:0 0 10px; font-weight:600; font-size:14px; }
.mr-order-cell .mr-match-option { padding:8px 0; }
.mr-order-cell .mr-match-total { display:grid; grid-template-columns:80px minmax(0,1fr); gap:6px 10px; margin:14px 0 0; font-size:13px; }
.mr-state-badge { display:inline-block; padding:3px 8px; border-radius:4px; background:#eef1f6; color:#59677b; font-size:13px; font-weight:500; }
.mr-state-badge.is-complete { background:#e8f5ee; color:#26714b; }
.mr-state-badge.is-excess,.mr-state-badge.is-mismatch { background:#fff1e9; color:#92532b; }
.mr-state-detail { margin:10px 0 0; font-size:13px; color:#657187; line-height:1.7; word-break:keep-all; overflow-wrap:anywhere; }
.mr-exception { margin-top:18px; font-size:13px; }
.mr-page .mr-card-results thead th { width:16%; text-align:center; }
.mr-page .mr-card-results thead th:first-child { width:36%; text-align:left; }
.mr-page td.mr-empty { text-align:center; color:#657187; font-size:14px; padding:46px 20px; font-weight:400; }
.mr-actions { display:flex; justify-content:flex-end; margin-top:18px; }
.mr-actions { gap:12px; flex-wrap:wrap; }
.mr-test-presets { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 20px; }
.mr-history { margin-top:34px; }
.mr-matching { margin-top:28px; padding:0; }
.mr-matching p { font-size:14px; line-height:1.7; color:#59677b; }
.mr-matching fieldset { margin:20px 0; padding:0; border:0; min-width:0; }
.mr-matching legend { font-size:14px; font-weight:600; margin-bottom:10px; }
.mr-match-option { display:flex; align-items:flex-start; gap:12px; padding:14px 0; font-size:14px; line-height:1.6; border-bottom:1px solid #e4e8ef; cursor:pointer; }
.mr-match-option small { display:block; margin-top:3px; color:#657187; font-size:13px; }
.mr-match-option input { flex:none; margin-top:5px; accent-color:#4c5eb8; }
.mr-match-option span { min-width:0; overflow-wrap:anywhere; }
.mr-matching summary { cursor:pointer; font-size:14px; color:#4053a6; }
.mr-matching .mr-match-total { display:grid; grid-template-columns:100px minmax(0,180px); gap:8px 20px; padding-top:16px; font-size:14px; font-weight:500; color:#243349; }
.mr-match-total dd { margin:0; text-align:right; font-variant-numeric:tabular-nums; }
.mr-matching .mr-match-warning { color:#994b51; }
.mr-page .mr-history-table thead th { width:18%; text-align:left; }
.mr-page .mr-history-table thead th:first-child { width:28%; }
.mr-history-table td { overflow-wrap:anywhere; font-size:13px; }
@media(max-width:760px) { .mr-query { grid-template-columns:1fr; padding:20px; } .mr-page .mp-heading h2 { overflow-wrap:anywhere; } }
