.dsv-date{color:#f4c453;font-weight:700;margin-block:.35em .6em}
.dsv-filter{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.dsv-filter label{flex:1 1 12rem;margin:0}
.dsv-table-controls{display:flex;gap:.5rem;justify-content:flex-end;position:sticky;top:0;z-index:3;background:#0e1827;padding:.4rem}
.dsv-table-controls[hidden],.dsv-back-top[hidden]{display:none}
.dsv-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #3a4b60;border-radius:12px}
.dsv-table-scroll table{width:100%;min-width:960px;border-collapse:separate;border-spacing:0;text-align:left}
.dsv-table-scroll th,.dsv-table-scroll td{padding:.85rem;border-bottom:1px solid #314052;background:#142033}
.dsv-table-scroll thead th{background:#23374c}
.dsv-table-scroll th:first-child{position:sticky;left:0;max-width:210px;overflow-wrap:anywhere;box-shadow:2px 0 #3a4b60}
.dsv-back-top{position:fixed;right:1rem;bottom:1rem;z-index:40;background:#f4c453;color:#0b1624;border:0;border-radius:50%;width:45px;height:45px;padding:0;font-size:1.35rem;box-shadow:0 2px 8px #0008;cursor:pointer}
.dsv-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:1rem}
.dsv-library-grid .card{margin:0}
.dsv-library-grid img{width:100%;height:190px;object-fit:contain;background:#0a1420;border-radius:8px}
.dsv-library-grid h2{font-size:1.1rem}
.dsv-library-reader,[data-attachment-view] iframe{width:100%;border:0;border-radius:8px;aspect-ratio:16/9}
.dsv-library-reader.dsv-pdf,[data-attachment-view] iframe{height:70vh;min-height:320px}
[data-attachment-view] img,[data-attachment-view] video,.materials video{display:block;max-width:100%;max-height:70vh}
[data-attachment-view] audio,.materials audio{max-width:100%}
@media print{.dsv-back-top{display:none}}
