.m1-library-intro{color:#41556d;margin-top:-8px;line-height:1.7}
.m1-library-filter-row{display:grid;grid-template-columns:1fr 2fr;gap:16px}
.m1-library-filter-row :is(select,input){display:block;margin-top:6px;min-width:0}
.m1-library-filter-row label{margin:0;min-width:0}
.m1-library-notice{font-size:.875rem;line-height:1.7;color:#514367;background:#f3edff;border-radius:8px;padding:12px 16px}
.m1-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.m1-library-card{background:white;border:1px solid #ccd8e8;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;scroll-margin-top:24px}
.m1-library-preview{margin:0;background:#f8f6fc;border-bottom:1px solid #e0d9ee;padding:12px}
.m1-library-preview img{display:block;width:100%;height:190px;object-fit:contain;background:white;border-radius:5px}
.m1-library-preview figcaption{font-size:.75rem;color:#596078;margin-top:8px}
.m1-library-content{padding:18px;display:flex;flex-direction:column;flex:1;align-items:flex-start}
.m1-library-content h2{font-size:1.3rem;margin:4px 0 8px}.m1-library-title{font-size:1rem;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}
.m1-library-topics{font-size:.875rem;color:#41556d;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}
.m1-library-coverage{border-left:3px solid #c4b5fd;padding-left:10px;font-size:.8rem;line-height:1.7;color:#514367;margin:0 0 14px}
.m1-library-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:4px;width:100%}
.m1-library-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #b6c7d9;border-radius:7px;text-decoration:none;font-weight:650;font-size:.875rem}
.m1-library-actions a:hover{background:#f3edff;border-color:#6d28d9}
.m1-library-card .m1-scope-summary{margin-top:0}
.m1-library-empty{grid-column:1/-1;padding:28px;background:white;border:1px dashed #b6c7d9;border-radius:10px;line-height:1.7}
.m1-library-empty p{margin:0 0 16px}
@media(max-width:1000px){.m1-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.m1-library-grid,.m1-library-filter-row{grid-template-columns:1fr}.m1-library-preview img{height:200px}.m1-library-content{padding:16px}.m1-library-actions a{flex:1}.m1-library-page .m1-heading h1{font-size:1.7rem}}
