/* Small controls within the existing evidence and record layouts. */
.evidence-tools{border:1px solid #425665;border-top:3px solid #efc84a;padding:18px;margin:20px 0 26px;background:#0b2231;color:#f6f8fa}
.evidence-tools .evidence-fields{display:grid;grid-template-columns:minmax(160px,2fr) repeat(2,minmax(140px,1fr)) auto;gap:12px;align-items:end}
.evidence-tools label{display:grid;gap:6px;font:600 .875rem/1.4 Verdana,Arial,sans-serif;min-width:0}
.evidence-tools input,.evidence-tools select,.evidence-tools button{box-sizing:border-box;min-height:44px;border:1px solid #617481;border-radius:3px;background:#06131d;color:#f6f8fa;font:400 1rem/1.4 Verdana,Arial,sans-serif;padding:10px;max-width:100%;width:100%}
.evidence-tools button{cursor:pointer;font-weight:600}.evidence-tools input::placeholder{color:#b9cbd5;opacity:1}.evidence-tools label{color:#f6f8fa}
.evidence-tools .evidence-status{margin:12px 0 0;font-size:.875rem;line-height:1.5}
.evidence-tools input:focus-visible,.evidence-tools select:focus-visible,.evidence-tools button:focus-visible{outline:3px solid #b11b26;outline-offset:3px}
.evidence-empty{padding:24px;border:1px solid #aaa;margin-bottom:24px;font-size:1rem}
[data-evidence-item][hidden],[data-evidence-group][hidden],.page-evidence [data-filter-hide][hidden],.evidence-tools[hidden],.evidence-empty[hidden]{display:none!important}
[data-share-anchor],#evidence-search{scroll-margin-top:16px}
[data-share-anchor]:target{outline:2px solid #b11b26;outline-offset:6px}
@media(max-width:650px){.evidence-tools .evidence-fields{grid-template-columns:1fr 1fr}.evidence-tools label:first-child{grid-column:1/-1}.evidence-tools button{grid-column:1/-1}.evidence-tools{padding:14px}}
@media print{.evidence-tools,.evidence-empty{display:none!important}}

/* Keep policy and access-log cards legible within the established site design. */
.page-evidence .evidence-documents .evidence-section-intro{max-width:75ch;margin-bottom:10px}
.page-evidence .evidence-documents .evidence-section-note{max-width:80ch;font-size:1rem;line-height:1.6;margin-bottom:24px}
body.page-evidence .evidence-documents .evidence-card{min-width:0;padding:22px!important}
body.page-evidence .evidence-documents .evidence-card>.evidence-type,
body.page-evidence .evidence-documents .evidence-card>h3,
body.page-evidence .evidence-documents .evidence-card>p,
body.page-evidence .evidence-documents .evidence-card>.evidence-actions{margin-left:0;margin-right:0}
body.page-evidence .evidence-documents .evidence-card>.evidence-type{margin-top:0;margin-bottom:12px;font-size:.875rem;line-height:1.5}
body.page-evidence .evidence-documents .evidence-card>h3{font-size:1.4rem;line-height:1.3;margin-bottom:12px;overflow-wrap:break-word}
body.page-evidence .evidence-documents .evidence-description{font-size:1rem;line-height:1.6;color:#e0e7eb!important;margin-top:0;margin-bottom:18px}
body.page-evidence .evidence-documents .evidence-file-meta{font-size:.875rem;line-height:1.5;color:#b9cbd5!important;margin-top:auto;margin-bottom:12px}
body.page-evidence .evidence-documents .evidence-actions{margin-top:0;margin-bottom:0;padding-top:16px}
body.page-evidence .evidence-documents .evidence-actions .button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;box-sizing:border-box;white-space:normal;text-align:center;font-size:.875rem;line-height:1.4}
