/* Evidence history catalog — responsive editorial cards */
.history-page .page-hero{padding-bottom:40px}
.history-page .page-hero h1{max-width:890px;font-size:clamp(45px,6.2vw,78px);line-height:1.02;letter-spacing:-.065em}
.history-page .page-hero .lead{max-width:800px;font-size:clamp(17px,2.1vw,22px)}
.history-page .section.history-library{padding:10px 0 110px;border:0}
.history-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 42px}
.history-overview-stat{background:rgba(255,255,255,.76);border:1px solid #deded8;border-radius:18px;padding:24px 26px;min-width:0}
.history-overview-stat span{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:750;color:#73736c}
.history-overview-stat strong{display:block;margin-top:10px;font-size:clamp(32px,4vw,45px);letter-spacing:-.06em;line-height:1}
.history-library-title{display:flex;align-items:end;gap:20px;margin:0 0 24px}
.history-library-title h2{font-size:clamp(27px,3vw,37px);letter-spacing:-.045em;line-height:1.15}
.history-library-title p{margin:8px 0 0;color:#666b67;font-size:14px}
.history-toolbar{padding:19px 20px 17px;background:#f0f1ed;border:1px solid #deded8;border-radius:19px;margin:0 0 25px;display:flex;gap:20px;justify-content:space-between;align-items:end;flex-wrap:wrap}
.history-toolbar[hidden]{display:none!important}
.history-search-field{display:flex;flex-direction:column;gap:8px;min-width:min(390px,100%);flex:1}
.history-search-field span{font-size:11px;font-weight:750;color:#505750;text-transform:uppercase;letter-spacing:.075em}
.history-search-field input{width:100%;min-height:48px;background:#fff;border:1px solid #cbd0c8;border-radius:12px;padding:12px 15px;outline:none;font-size:15px;color:#171e18}
.history-search-field input:focus-visible{border-color:#345aa2;box-shadow:0 0 0 3px rgba(52,90,162,.14)}
.history-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.history-filters button{border:1px solid #cdd2ca;border-radius:999px;background:#fff;color:#4e554f;padding:11px 17px;min-height:44px;font-size:13px;font-weight:700;cursor:pointer}
.history-filters button[aria-pressed="true"]{background:#18241e;border-color:#18241e;color:#fff}
.history-filters button:focus-visible,.history-more:focus-visible{outline:3px solid #5684cb;outline-offset:3px}
.history-results{font-size:12px;color:#747972;letter-spacing:.02em;margin:0 0 16px;min-height:18px}
.history-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:stretch}
.history-index-row{display:grid;grid-template-columns:1fr 1fr;gap:15px 16px;position:relative;min-height:178px;padding:24px 23px 18px;border:1px solid #d9ded5;border-radius:18px;background:rgba(255,255,255,.82);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;min-width:0}
.history-index-row:hover{transform:translateY(-2px);border-color:#aebfb0;box-shadow:0 16px 32px rgba(31,46,30,.055)}
.history-index-row:focus-visible{outline:3px solid #5684cb;outline-offset:3px}
.history-index-row[hidden]{display:none!important}
.history-index-row:after{content:"↗";position:absolute;right:23px;top:24px;color:#526b55;font-size:21px;line-height:1}
.history-index-row>div:first-child{grid-column:1/-1;display:flex;flex-direction:column;gap:5px;min-width:0;padding-right:32px}
.history-index-row>div:first-child strong{font-size:clamp(17px,1.7vw,22px);font-weight:750;line-height:1.22;letter-spacing:-.032em;overflow-wrap:anywhere}
.history-index-row>div:first-child span{color:#707870;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.history-index-row>div:nth-child(2),.history-index-row>div:nth-child(3){display:flex;align-items:baseline;gap:7px;min-width:0;padding:12px 0 0;border-top:1px solid #e8eae5}
.history-index-row>div:nth-child(2) strong,.history-index-row>div:nth-child(3) strong{font-size:21px;line-height:1.1;font-weight:750;letter-spacing:-.04em}
.history-index-row>div:nth-child(2) span,.history-index-row>div:nth-child(3) span{font-size:12px;color:#7d847d;overflow-wrap:anywhere}
.history-index-row>div:nth-child(4){grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid #e8eae5}
.history-index-row>div:nth-child(4) strong{font-size:12px;line-height:1.4;font-weight:650;color:#536256}
.history-index-row>div:nth-child(4) span{font-size:11px;color:#899087;letter-spacing:.03em}
.history-empty{padding:44px 18px;background:#fff;border:1px dashed #ccd1c8;border-radius:17px;text-align:center;color:#636b62}
.history-empty[hidden]{display:none!important}
.history-more-wrap{display:flex;justify-content:center;margin-top:32px}
.history-more{border:1px solid #ced5ca;background:#fff;border-radius:999px;font-size:14px;font-weight:700;padding:13px 27px;min-height:48px;cursor:pointer;color:#1c2a1f}
.history-more:hover{border-color:#a8b3a6;background:#f3f5f0}
.history-more[hidden]{display:none!important}
@media(max-width:750px){.history-page .section.history-library{padding-bottom:70px}.history-overview{gap:9px;margin-bottom:32px}.history-overview-stat{padding:18px 15px}.history-overview-stat strong{font-size:32px}.history-overview-stat span{font-size:9px}.history-index{grid-template-columns:1fr}.history-toolbar{align-items:stretch;gap:12px}.history-search-field{min-width:100%}.history-index-row{min-height:160px}}
@media(max-width:420px){.history-overview{grid-template-columns:1fr}.history-overview-stat{padding:16px 19px}.history-overview-stat strong{margin-top:6px}.history-index-row{padding:20px 18px 16px}.history-index-row:after{right:18px;top:20px}.history-filters button{flex:1;text-align:center;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.history-index-row{transition:none}.history-index-row:hover{transform:none}}