.discovery-card{background:white;border:1px solid #dbe4e7;border-radius:14px;padding:1.2rem;margin:1rem 0;overflow-wrap:anywhere}.discovery-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;background:#f6faf9;padding:1.2rem;border-radius:14px}.discovery-form label{display:grid;gap:.4rem}.discovery-form input,.discovery-form select{width:100%;min-width:0;padding:.65rem;border:1px solid #adbfc5;border-radius:6px}.discovery-form p{grid-column:1/-1}.discovery-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:1.5rem}@media(max-width:760px){.discovery-columns,.discovery-form{grid-template-columns:1fr}}

.discovery-run-scroll { overflow-x: auto; margin-block-start: .75rem; }
.discovery-run-table { width: 100%; min-width: 38rem; border-collapse: collapse; text-align: start; }
.discovery-run-table caption { text-align: start; padding-block: .25rem .65rem; }
.discovery-run-table th, .discovery-run-table td { text-align: start; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid #d4e0e6; }
.discovery-run-table thead { background: #edf4f6; color: #173744; }
.discovery-run-table small { display: block; margin-block-start: .25rem; font-weight: normal; }
.discovery-run-table time { white-space: nowrap; }
.discovery-run-count { font-variant-numeric: tabular-nums; }
.discovery-run-status { display: inline-block; border-radius: 1rem; padding: .12rem .55rem; background: #edf4f6; color: #173744; }
.discovery-run-status[data-status="success"] { background: #def3e9; color: #14523c; }
.discovery-run-status[data-status="failed"] { background: #fbe6e5; color: #86251f; }
/* Suggested from Agency Directory (admin-discovery.html) */
#dir-suggest { display: grid; gap: 16px; }
#dir-suggest .discovery-card h3 { margin: 0; font-size: 14px; line-height: 20px; }
#dir-suggest .discovery-card p { margin: 4px 0; font-size: 13px; line-height: 18px; }
#dir-suggest .dir-suggest-why { color: var(--warn, #8a5300); }
#dir-suggest .btn { min-height: 32px; }
@media (max-width: 640px) { #dir-suggest .btn { min-height: 44px; } }
