.resource-hero{padding:64px 0 40px;background:#f6f9fe;border-bottom:1px solid var(--line)}
.resource-hero-inner{max-width:900px}
.resource-hero h1{font-size:48px;line-height:1.15;margin:20px 0 12px}
.resource-hero p{max-width:760px;margin:0;color:#526178;font-size:17px;line-height:1.75}
.resource-notice{margin-top:20px;padding:13px 16px;border:1px solid #d9e7f6;border-left:3px solid var(--blue);border-radius:10px;background:#fff;color:#41536e;font-size:13px;line-height:1.7}
.resource-section{padding:36px 0 72px}
.resource-search-panel{padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}
.resource-query-label{display:block;margin-bottom:9px;font-weight:750;font-size:14px;color:var(--text)}
#resource-query{width:100%;min-height:48px;border:1px solid #cfd9e7;border-radius:10px;padding:11px 14px;background:#fff;color:var(--text);font:inherit;font-size:15px;outline:none}
#resource-query:focus{border-color:#6da3ed;box-shadow:0 0 0 3px rgba(18,100,232,.12)}
.resource-search-help{margin:8px 0 18px;color:var(--muted);font-size:12px;line-height:1.6}
.resource-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}
.resource-filters label{display:grid;gap:7px;color:#344158;font-size:12px;font-weight:700}
.resource-filters select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dbe2ec;border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:13px}
.resource-filters .btn{min-height:42px;padding:10px 14px;font-size:13px;border-radius:9px;white-space:nowrap}
.resource-results-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 2px 13px}
.resource-results-head p{margin:0;color:var(--muted);font-size:13px}
#resource-count{font-weight:750;color:#253957}
.resource-evidence-status{margin:0 0 12px;padding:10px 12px;border:1px solid #f0dfb7;border-left:3px solid #c8902e;border-radius:8px;background:#fffaf0;color:#694d1b;font-size:12px;line-height:1.65}
.resource-results{display:grid;gap:11px}
.resource-card{padding:18px 20px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 17px rgba(31,60,105,.045)}
.resource-card-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.resource-card h2{margin:0;color:#172b49;font-size:18px;line-height:1.4}
.resource-type{flex:0 0 auto;padding:5px 8px;border:1px solid #dbe8f8;border-radius:7px;background:#f3f8ff;color:#315b91;font-size:11px;line-height:1.3}
.resource-card p{margin:9px 0 0;color:#526178;font-size:13px;line-height:1.65}
.resource-meta{display:flex;flex-wrap:wrap;gap:7px 16px;margin-top:12px;color:#647187;font-size:11px;line-height:1.5}
.resource-access-note{margin-top:7px!important;color:#697589!important;font-size:12px!important}
.resource-topics{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}
.resource-topic{padding:4px 8px;border-radius:6px;background:#f2f5f9;color:#526178;font-size:11px}
.resource-match{margin-top:10px!important;padding:8px 10px;border-radius:8px;background:#eff6ff;color:#244d82!important;font-size:12px!important}
.resource-match.is-topic{background:#f4f6f8;color:#5b6574!important}
.resource-variable-list{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.resource-variable-list li{padding:8px 10px;border:1px solid #e7edf4;border-radius:8px;background:#fbfcfe;color:#46566d;font-size:12px;line-height:1.55}
.resource-variable-list code{color:#154a92;font-weight:750;font-size:12px}
.resource-evidence-link{display:inline-block;margin-top:8px;color:#1559a7;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.resource-variable-list .resource-evidence-link{margin-top:0}
.concept-mapping-list{display:grid;gap:9px;margin:10px 0 0;padding:0;list-style:none}
.concept-mapping{padding:12px;border:1px solid #dce8f4;border-left:3px solid #2f6eac;border-radius:9px;background:#fbfdff}
.concept-mapping.is-unverified{border-color:#ece3d0;border-left-color:#bd8a35;background:#fffdf8}
.concept-mapping-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px 12px}
.concept-mapping-heading strong{color:#1f3654;font-size:13px;line-height:1.5}
.concept-status{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#e8f3eb;color:#286140;font-size:10px;font-weight:750;line-height:1.4}
.concept-status.pending_review,.concept-status.topic_only{background:#fff2d7;color:#76530e}
.concept-mapping-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;margin:10px 0 0}
.concept-detail-row{min-width:0}
.concept-detail-row dt{margin:0 0 2px;color:#778397;font-size:10px;font-weight:700}
.concept-detail-row dd{margin:0;color:#384b64;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.concept-mapping-note,.concept-mapping-warning{margin:9px 0 0!important;color:#657187!important;font-size:11px!important;line-height:1.6!important}
.concept-mapping-warning{color:#805d20!important;font-weight:650}
.resource-multi-hit{color:#7b5a22!important}
.resource-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.resource-card-actions .btn{min-height:36px;padding:8px 12px;border-radius:8px;font-size:12px}
.resource-card-actions .btn-primary{box-shadow:none}
.resource-card-actions .btn[aria-disabled="true"]{opacity:.55;pointer-events:none}
.resource-status{padding:22px;border:1px dashed #cfd9e7;border-radius:12px;background:#fafcff;color:#536078;text-align:center;font-size:14px;line-height:1.7}
.resource-status.error{border-color:#e8c2c2;background:#fff8f8;color:#813d3d}
.resource-caveat{margin:18px 2px 0;color:#697589;font-size:12px;line-height:1.75}
@media(max-width:760px){.resource-filters{grid-template-columns:1fr 1fr}.resource-filters .btn{grid-column:1/-1}.resource-results-head{align-items:flex-start;flex-direction:column;gap:5px}.resource-card-top{flex-direction:column;gap:7px}.resource-hero h1{font-size:40px}}
@media(max-width:520px){.resource-hero{padding:46px 0 29px}.resource-hero h1{font-size:34px}.resource-hero p{font-size:15px}.resource-search-panel{padding:17px 14px}.resource-filters{grid-template-columns:1fr}.resource-filters .btn{grid-column:auto}.resource-card{padding:15px}.resource-type{white-space:normal}.concept-mapping-details{grid-template-columns:1fr;gap:8px}.concept-mapping-heading{align-items:flex-start;flex-direction:column}}
