/* Card history: controls remain above a bounded, independently scrollable result list. */
.clw-sd-controls{position:sticky;top:0;z-index:2;background:var(--camera-panel-bg,#fff);padding:12px!important;margin:8px 0!important}.clw-sd-controls h4{margin:0 0 8px}.clw-sd-controls .vc-native-filters{margin:0 0 8px}.clw-sd-controls .vc-native-filters label{margin:0}.clw-sd-controls p{margin:6px 0;font-size:12px}.clw-sd-results{max-height:clamp(160px,36vh,420px);overflow:auto;overscroll-behavior:contain;border:1px solid #dce2ec;border-radius:10px;margin-top:10px;scrollbar-gutter:stable}.clw-sd-results .clw-recording-gallery{display:flex;flex-direction:column;gap:0;margin:0}.clw-sd-results .clw-sd-card{display:grid;grid-template-columns:220px minmax(160px,1fr);border:0;border-bottom:1px solid #dce2ec;border-radius:0;min-height:54px}.clw-sd-results .clw-sd-card:last-child{border-bottom:0}.clw-sd-results .clw-recording-preview{height:54px;aspect-ratio:auto;background:transparent;color:inherit;padding:8px 12px;justify-content:flex-start;gap:8px;text-align:left}.clw-sd-results .clw-recording-preview .fa-film{position:static;font-size:20px;color:inherit}.clw-sd-results .clw-source-chip{display:none}.clw-sd-results .clw-recording-info{padding:9px 12px;align-content:center}.clw-sd-results .clw-recording-info small{display:none}.clw-sd-results .clw-recording-info strong{font-weight:500}.clw-sd-results .camera-file-table{margin:0}.clw-sd-controls .btn-primary{margin-right:10px}
@media(max-width:600px){.clw-sd-controls .vc-native-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clw-sd-results{max-height:32vh}.clw-sd-results .clw-sd-card{grid-template-columns:minmax(120px,1fr) minmax(140px,1fr)}.clw-sd-results .clw-recording-preview{font-size:12px;padding:7px}.clw-sd-results .clw-recording-info{padding:7px;font-size:12px}}
