.rag-example-download{display:inline-block;margin:0 0 8px;font-size:12px;text-decoration:underline;color:#47694f}.rag-priority{padding:0;border:0;margin:0 0 12px;min-width:0}.rag-priority legend{font-weight:650;margin:0 0 6px;font-size:13px}.rag-priority>div{display:flex;background:#eff3ef;border-radius:7px;padding:3px;gap:3px}.precision-page .rag-priority label{position:relative;flex:1;margin:0;padding:8px 3px;text-align:center;line-height:1.35;color:#47554d;font-size:12px;cursor:pointer}.rag-priority label:has(input:checked){border-radius:5px;background:#fff;color:#07663f;box-shadow:0 1px 3px #26392e24}.precision-page .rag-priority input{position:absolute;opacity:0;width:1px;height:1px}.rag-priority label:focus-within{outline:2px solid #188b54;outline-offset:1px}.precision-page .rag-sample{font-size:12px;margin:0 0 8px;text-align:left;color:#067346;background:#f2f7f3}.rag-heading,.rag-card-title,.rag-source,.rag-measure{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.rag-heading{margin-bottom:16px}.rag-heading h2,.rag-result-grid h3{margin:0}.rag-heading h2{font-size:20px}.rag-heading span,.rag-card-title span{font-size:12px;color:#2e6345;background:#eaf3eb;padding:3px 7px;border-radius:5px}.rag-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,42px)}.rag-result-grid>section{min-width:0}.rag-result-grid h3{font-size:16px;margin-bottom:10px}.rag-candidates{margin:8px 0 12px;padding-left:22px}.rag-candidates li{padding:5px 0 9px}.rag-candidates p{margin:4px 0;font-size:13px;color:#4f6055}.rag-candidates small,.rag-source small{color:#5b695f}.rag-source{padding:12px;border:1px solid #c6d9c8;background:#f5f9f5;border-radius:7px}.rag-source a{color:#167047}.rag-facts{margin:0}.rag-facts>div{display:grid;grid-template-columns:86px 1fr;gap:6px;padding:7px 0;border-bottom:1px solid #e8ede7;font-size:13px}.rag-facts dt{color:#627267}.rag-facts dd{margin:0;overflow-wrap:anywhere}.rag-measure{padding:10px 12px;background:#eff6f0;border-radius:7px;font-size:13px}.rag-result-grid h3.rag-check-heading{margin:15px 0 8px}.rag-details{margin-top:15px}.rag-details summary{cursor:pointer;font-size:13px;font-weight:600}.rag-measure strong{font-variant-numeric:tabular-nums}.precision-page .p-btn[hidden]{display:none}
@media(max-width:760px){.rag-result-grid{grid-template-columns:1fr}.rag-source{gap:6px}.precision-tabs{overflow-x:auto;max-width:100%}.precision-tabs button{flex-shrink:0}.precision-toolbar{flex-wrap:wrap}}

.match-preview:not(:empty){margin-block:16px;min-width:0;color:var(--text,#26342b)}
.match-preview h3{font:inherit;font-size:.94rem;font-weight:650;margin:0 0 10px}
.match-preview-list{list-style:none;padding:0;margin:0;display:grid;gap:6px;min-width:0}
.match-preview-list li{padding:9px 11px;border:1px solid #dce5dd;border-radius:8px;background:#fff}
.match-preview-row{display:flex;align-items:baseline;gap:8px;justify-content:space-between}
.match-preview-row button,.match-preview-row strong{background:none;border:0;padding:1px 0;color:inherit;font:inherit;font-weight:600;text-align:left;overflow-wrap:anywhere}
.match-preview-row button{cursor:pointer;color:#176941;text-decoration:underline;text-decoration-color:#b2c9b9;text-underline-offset:3px}
.match-preview-row button[aria-pressed=true]{text-decoration-color:currentColor}
.match-preview-row small{white-space:nowrap;color:#47684d}
.match-preview-list p,.match-preview-note{margin:3px 0 0;font-size:.78rem;line-height:1.55;color:#56685d;overflow-wrap:anywhere}
.match-preview-scene:not([hidden]){position:relative;display:grid;place-items:center;width:100%;height:clamp(155px,18vw,235px);overflow:hidden;margin-top:8px;border-radius:8px;background:#f0f3ef;color:#46624d;font-size:.85rem}
.match-preview-scene canvas{position:absolute;inset:0;display:block;touch-action:none;max-width:100%}
.match-preview-scene .precision-selection-box{pointer-events:none}
@media(max-width:600px){.match-preview-scene:not([hidden]){height:185px}}