.wf-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wf-document-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;background:#242424;color:#f0ede8;border:0;border-radius:10px;padding:9px;text-align:left;min-width:0;cursor:pointer}.wf-document-card img{width:100%;height:150px;object-fit:contain;background:#eee;border-radius:5px}.wf-document-card strong{font-size:14px;line-height:1.45}.wf-document-card span{font-size:12px;color:#ccc}.wf-document-reader{box-sizing:border-box;width:min(960px,100%);max-width:100%;height:94dvh;max-height:94dvh;margin:auto;padding:10px;background:#191919;color:#eee;border:1px solid #555;border-radius:10px;overflow:auto}.wf-document-reader::backdrop{background:#000b}.wf-document-reader header,.wf-document-reader nav{display:flex;align-items:center;gap:8px;margin-bottom:8px}.wf-document-reader header strong{font-size:14px;line-height:1.4}.wf-document-reader nav{justify-content:space-between}.wf-document-reader button{font:inherit;font-size:13px;min-height:40px;padding:7px 12px;background:#333;color:#eee;border:0;border-radius:6px;cursor:pointer}.wf-document-reader button:disabled{opacity:.4;cursor:default}.wf-document-reader button:focus-visible,.wf-document-card:focus-visible{outline:2px solid #d4b67a;outline-offset:2px}.wf-document-hint,.wf-document-reader [data-end]{font-size:12px;line-height:1.5;color:#d4b67a;margin:6px 0}.wf-document-reader [data-page] img{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}.wf-document-reader [data-page]{min-height:120px}@media(min-width:700px){.wf-document-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wf-document-card img{height:180px}}

.wf-document-card img:not([src]){visibility:hidden}

body.student-page #materialsPanel{background:var(--monet-bg,#121212)!important;color:var(--monet-text,#eee);padding:12px!important;gap:8px!important;align-content:start}body.student-page #materialList{display:block!important}body.student-page #materialsPanel .panel-heading h2{font-size:18px;margin:0}body.student-page #materialsPanel .panel-heading p{font-size:12px;margin:4px 0;line-height:1.5}
