.matching-list,.matching-detail { min-width:0; margin-top:24px; }
.matching-pagination { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.matching-pagination p { flex-basis:100%; margin:0; }
.matching-pagination:focus { outline:3px solid var(--accent); outline-offset:8px; }
.matching-list > h3,.matching-detail > h3 { margin:0 0 14px; font-size:21px; line-height:1.35; }
.matching-summary,.matching-requirement,.matching-question { min-width:0; padding:18px; margin-top:14px; border:1px solid var(--line); border-radius:11px; }
.matching-summary h4,.matching-requirement h5,.matching-question h5 { margin:0 0 10px; font-size:17px; line-height:1.4; }
.matching-summary button,.matching-list > button,.matching-question button { margin-top:16px; }
.matching-facts { display:grid; grid-template-columns:minmax(0,max-content) minmax(0,1fr); gap:6px 12px; margin:0 0 12px; align-items:baseline; }
.matching-facts dt { color:var(--muted); font-size:14px; }
.matching-facts dd { min-width:0; margin:0; }
.matching-facts .matching-assessment { margin:0; }
.matching-importance { display:flex; flex-wrap:wrap; gap:4px 8px; }
.matching-guidance { color:var(--muted); font-size:14px; }
.matching-state,.matching-assessment { display:inline-block; margin:4px 0 12px; padding:5px 10px; border-radius:6px; font-size:14px; font-weight:600; line-height:1.45; }
.matching-state-current,.matching-supported,.matching-resolved { background:var(--accent-soft); color:var(--accent); }
.matching-state-historical,.matching-transferable_hypothesis { background:var(--warning-soft); color:var(--warning); }
.matching-state-unavailable,.matching-unknown { background:var(--surface-muted); color:var(--ink); }
.matching-gap { background:var(--danger-soft); color:var(--danger); }
.matching-explicit_conflict { background:var(--info-soft); color:var(--info); }
.matching-resolved { display:inline-block; padding:8px 12px; border-radius:6px; }
.matching-detail { margin-top:30px; padding-top:26px; border-top:2px solid var(--line-strong); }
.matching-detail:focus { outline:3px solid var(--accent); outline-offset:8px; }
.matching-section { margin-top:26px; }
.matching-section > h4 { margin:0 0 14px; font-size:19px; }
.matching-note { margin-top:16px; padding:14px 16px; background:var(--surface-muted); border-left:3px solid var(--line-strong); }
.matching-reasons { margin:10px 0; padding-left:22px; color:var(--muted); }
.matching-reasons li + li { margin-top:8px; }
.matching-tip { padding:16px 0; border-top:1px solid var(--line); }
.matching-evidence,.matching-related,.matching-limitations { margin-top:14px; }
.matching-evidence summary,.matching-related summary,.matching-limitations summary { min-height:48px; padding:12px 0; color:var(--accent); font-weight:600; cursor:pointer; }
.matching-citation { margin-top:14px; }
.matching-citation blockquote { margin:8px 0 16px; padding:12px 14px; background:var(--surface-muted); border-left:3px solid var(--line-strong); white-space:pre-wrap; overflow-wrap:anywhere; }
.matching-limitations { padding-top:10px; border-top:1px solid var(--line); }
.matching-limitations h4 { margin:16px 0 8px; }
.matching-detail p,.matching-detail li { overflow-wrap:anywhere; }
@media(max-width:520px) { .matching-facts { grid-template-columns:minmax(0,1fr); } .matching-facts dd + dt { margin-top:6px; } .matching-summary,.matching-requirement,.matching-question { padding:15px; } .matching-summary button,.matching-list > button,.matching-question button { width:100%; } }
@media(forced-colors:active) { .matching-state,.matching-assessment,.matching-resolved,.matching-note { border:1px solid CanvasText; } .matching-detail:focus { outline-color:Highlight; } }
