/* Batch W5: compact matching summaries with expandable evidence. Frontend-only. */
.or-match-panel{margin:0 0 18px;border:1px solid #354c62;background:#111e2b}
.or-match-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.or-match-section-head small{color:#7db1c5;font-weight:800;letter-spacing:.11em;font-size:10px}
.or-match-section-head h2{font-size:21px;margin:5px 0 6px;letter-spacing:-.02em}
.or-match-section-head p{font-size:12px;color:#a4b8cc;line-height:1.55}
.or-match-panel .or-product-secondary{white-space:nowrap}
.or-match-shortlist,.or-match-list{display:grid;gap:12px}
.or-match-card{background:#14263a;border:1px solid #34516c;border-radius:13px;padding:17px;min-width:0}
.or-match-card.compact{padding:15px}
.or-match-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.or-match-card-head small{font-size:10px;font-weight:800;color:#9ec0d9;letter-spacing:.06em}
.or-match-card-head h3{font-size:15px;margin:5px 0 10px;color:#f2f7fd;line-height:1.4}
.or-match-status{border:1px solid #578196;border-radius:999px;font-size:10px;padding:5px 9px;color:#b0d9ea;white-space:normal;text-align:center;line-height:1.3}
.or-match-status.review{border-color:#7581ac;color:#cad4f7}.or-match-status.dismissed{color:#adb6c1;border-color:#4a5666}
.or-match-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:13px;align-items:center;margin:6px 0 12px}
.or-match-pair>div{border:1px solid #3b5671;background:#172e43;padding:12px;border-radius:10px;min-width:0}
.or-match-pair small{display:block;font-size:10px;letter-spacing:.09em;color:#a5c4d9;font-weight:800;margin-bottom:5px}
.or-match-pair strong{display:block;font-size:13px;color:#f3f8ff;overflow-wrap:anywhere}
.or-match-pair span:not(.or-match-join){display:block;font-size:10px;color:#abc2d4;margin-top:5px}
.or-match-join{color:#98c8df;font-size:22px}
.or-match-snapshot{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}
.or-match-snapshot span{display:inline-block;border:1px solid #34536b;border-radius:6px;padding:5px 7px;color:#bfd1e0;font-size:11px}
.or-match-snapshot strong{color:#f5fbff}
.or-match-suggestion{font-size:12px;line-height:1.55;color:#c0d4e5;margin:8px 0}
.or-match-suggestion strong{color:#fff}
.or-match-controls{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:9px;margin-top:14px}
.or-match-controls button{cursor:pointer}.or-match-controls a{display:inline-flex;align-items:center;text-decoration:none}
.or-match-controls .or-product-secondary{font-size:11px}.or-match-product-link{margin-right:auto;color:#98cfea;font-size:12px;text-decoration:none}
.or-match-disclosure{border-top:1px solid #39556d;padding-top:13px;margin-top:13px}
.or-match-disclosure>summary{font-size:12px;color:#bee2f2;cursor:pointer;font-weight:750;list-style-position:inside}
.or-match-details-grid,.or-match-diff-grid,.or-match-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.or-match-details-grid>div,.or-match-diff-grid>div,.or-match-evidence>div{min-width:0;border:1px solid #344e64;padding:12px;border-radius:10px;background:#102135}
.or-match-details-grid h4,.or-match-diff-grid h4,.or-match-evidence h4{font-size:12px;color:#e8f6ff;margin:0 0 7px}
.or-match-details-grid p,.or-match-diff-grid p,.or-match-evidence p{color:#b4cad9;font-size:11px;line-height:1.55;margin:0 0 7px;overflow-wrap:anywhere}
.or-match-details-grid span{display:block;font-size:10px;color:#b1cfef;margin-bottom:5px}
.or-match-details-grid small{color:#96b4ca;font-size:10px}
.or-match-evidence ul{margin:0;padding-left:19px;color:#c0d5e3;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.or-match-restriction{color:#b9cbd7;font-size:11px;line-height:1.6;margin:13px 0 0;overflow-wrap:anywhere}
.or-match-spec-scroll{margin-top:14px;overflow-x:auto;border:1px solid #34546e;border-radius:10px}
.or-match-spec-table{width:100%;border-collapse:collapse;min-width:550px;font-size:11px}
.or-match-spec-table th{text-align:left;background:#1a3348;color:#d6eaf8;font-weight:750;padding:9px}
.or-match-spec-table td{border-top:1px solid #324e65;color:#bdd2e1;vertical-align:top;padding:10px 9px;overflow-wrap:anywhere;max-width:280px}
.or-match-check{display:inline-block;padding:3px 6px;border-radius:5px;font-size:10px;background:#274156;color:#b8e1e8}
.or-match-check.review{background:#4c3d27;color:#f3d3a3}.or-match-check.missing{background:#344259;color:#d1d7e2}
.or-match-none{border:1px dashed #3e5b75;border-radius:11px;color:#b4cadb;padding:18px;font-size:12px;line-height:1.6}
.or-match-more{font-size:12px;margin-top:10px;color:#adc7d9}
.or-matches-page .or-product-head{margin-bottom:18px}
.or-match-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}
.or-match-summary>div{display:flex;flex-direction:column;gap:5px;background:#142537;border:1px solid #39566a;border-radius:12px;padding:15px}
.or-match-summary strong{font-size:25px;color:#f7fbff}
.or-match-summary span{color:#b6c9d9;font-size:11px}
.or-match-tools{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.or-match-tools label{font-size:11px;color:#c6ddeb;display:flex;flex-direction:column;gap:7px;min-width:200px;flex:1}
.or-match-tools select{width:100%;border:1px solid #49627b;border-radius:9px;background:#172b3f;color:#f6fbff;padding:11px;min-height:42px}
.or-match-tools label:last-child{flex:0 1 215px}
.or-match-feedback{font-size:12px;color:#d7bd8b}
.or-match-footnote{font-size:11px;color:#a0bbce;margin-top:20px;line-height:1.6}
.or-matches-page [data-or-match-row][hidden],#or-match-filter-empty[hidden]{display:none!important}
@media(max-width:820px){.or-match-section-head,.or-match-card-head{flex-wrap:wrap}.or-match-details-grid,.or-match-diff-grid,.or-match-evidence{grid-template-columns:1fr}.or-match-status{max-width:100%}.or-match-controls .or-product-secondary{white-space:normal}.or-match-tools label:last-child{flex:1}}
@media(max-width:520px){.or-match-pair{grid-template-columns:1fr;gap:8px}.or-match-join{text-align:center;line-height:12px;transform:rotate(90deg);font-size:18px}.or-match-summary{grid-template-columns:1fr 1fr}.or-match-summary>div:last-child{grid-column:1 / -1}.or-match-card{padding:13px}.or-match-controls{justify-content:stretch}.or-match-controls>button,.or-match-controls>a{flex:1 1 100%;justify-content:center;text-align:center}.or-match-pair>div{padding:10px}}
@media(max-width:520px){
 .or-matches-page .or-product-head{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .or-matches-page .or-product-head>div{width:100%;min-width:0}
 .or-matches-page .or-product-head>.or-product-secondary{align-self:flex-start}
}
