.lm-hierarchy{display:flex;align-items:center;gap:16px;padding:18px 22px;background:#f3e9cf;border:1px solid #dfd6c3;border-radius:12px;font-size:14px}.lm-hierarchy span{color:#a38c64}.lm-list{display:grid;gap:18px}.lm-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;background:#fffdf8;border:1px solid #dfd6c3;border-radius:14px}.lm-list-heading{display:flex;gap:18px;align-items:center;min-width:0}.lm-list-heading img{width:72px;height:60px;object-fit:cover;border-radius:8px}.lm-list-number{display:grid;place-items:center;background:#f3e9cf;border-radius:50%;width:42px;height:42px;color:#830622;font-size:13px;flex-shrink:0}.lm-list h2{font-size:22px;margin:0 0 8px;overflow-wrap:anywhere}.lm-list-heading p{font-size:12px;color:#73665e;margin:0}.lm-topic-names{grid-column:1/-1;padding:16px 0 0;margin:0;border-top:1px solid #e5dcc6;color:#73665e;line-height:1.9;font-size:13px}#app-dialog:has([data-lm-form=module]){width:min(1120px,96vw);max-width:1120px;max-height:94dvh;padding:30px}[data-lm-form] textarea{width:100%}[data-lm-form] .dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.lm-information{border:1px solid #dfd6c3;border-radius:10px;padding:16px 20px;margin:15px 0 24px}.lm-information>summary{cursor:pointer;font-size:14px}.lm-information[open]>summary{margin-bottom:22px}.lm-builder{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:25px 0}.lm-builder>section{border:1px solid #dfd6c3;border-radius:12px;background:#fffdf8;padding:20px;min-width:0}.lm-builder>section:last-child{background:#f3e9cf}.lm-builder h3{font-size:18px;margin:0 0 18px}.lm-builder input[type=search]{width:100%;padding:12px 14px;border:1px solid #cbb991;border-radius:8px;background:#fffdf8;font:inherit;font-size:13px;margin-bottom:15px}#lm-available,#lm-chosen{max-height:400px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#lm-available article{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 2px;border-bottom:1px solid #e5dcc6}#lm-available strong{font-size:13px;overflow-wrap:anywhere;display:block}#lm-available small{display:block;font-size:11px;color:#73665e;margin-top:5px}#lm-available button{padding:9px 12px;flex-shrink:0;font-size:11px}#lm-chosen ol{list-style:none;padding:0;margin:0}#lm-chosen li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;background:#fffdf8;border:1px solid #dfd6c3;border-radius:9px;padding:15px;margin-bottom:12px;align-items:center}#lm-chosen strong{font-size:13px;overflow-wrap:anywhere}#lm-chosen li>div{display:flex;gap:6px;grid-column:1/-1;justify-content:flex-end}#lm-chosen button{font-size:11px;padding:7px 11px}.lm-step{font-size:12px;font-weight:500;color:#830622;border:1px solid #dfd6c3;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.lm-empty{font-size:13px;color:#73665e;line-height:1.8;padding:15px 0}.lm-section-heading{display:flex;gap:22px;align-items:center;margin-bottom:28px}.lm-section-heading>img{width:96px;height:80px;object-fit:cover;border-radius:10px}.lm-section-heading>div{flex:1}.lm-section-heading h2{font-size:clamp(26px,3vw,36px);margin:8px 0}.lm-section-heading p{font-size:14px;color:#73665e;line-height:1.8;max-width:720px;white-space:pre-line}.lm-section-heading>.eyebrow{font-size:11px}.lm-section-heading>span{color:#73665e;font-size:13px}.lm-topic-context{font-size:13px;color:#73665e;margin:12px 0 22px}.lm-topic-context a{color:#830622;text-decoration:underline}
@media(max-width:780px){.lm-list>article{grid-template-columns:minmax(0,1fr);padding:20px}.lm-builder{grid-template-columns:minmax(0,1fr);gap:16px}.lm-builder>section{padding:17px}#app-dialog:has([data-lm-form=module]){padding:20px}.lm-section-heading{gap:14px;align-items:flex-start;flex-wrap:wrap}.lm-section-heading>img{width:70px;height:65px}.lm-section-heading>span{width:100%;margin-top:0}.lm-section-heading h2{font-size:26px}.lm-hierarchy{font-size:13px;gap:12px}.lm-list h2{font-size:20px}}

.lm-single-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}.lm-single-modules>.catalog-section{display:flex;flex-direction:column;min-width:0}.lm-single-modules .lm-section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.lm-single-modules .lm-section-heading>div{flex:1 1 100%}.lm-single-modules .lm-section-heading h2{font-size:clamp(22px,2.2vw,30px);line-height:1.2;overflow-wrap:anywhere}.lm-single-modules .lm-section-heading>span{font-size:11px}.lm-single-modules .lm-section-heading>img{width:65px;height:52px}.lm-single-modules .lm-section-heading p{font-size:12px}.lm-single-modules .library-grid{display:block;margin-top:auto}.library-admin-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-top:1px solid var(--line);background:var(--paper)}.library-admin-tools .button{font-size:10px;padding:7px 9px;flex:1;text-align:center}
@media(max-width:1200px){.lm-single-modules{gap:19px}}
@media(max-width:1000px){.lm-single-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}}
@media(max-width:520px){.lm-single-modules{gap:17px 13px}.lm-single-modules .lm-section-heading{margin-bottom:18px;gap:8px}.lm-single-modules .lm-section-heading h2{font-size:21px}.lm-single-modules .lm-section-heading .eyebrow{font-size:7px;letter-spacing:.08em}.lm-single-modules .lm-section-heading .eyebrow:before{width:12px}.library-admin-tools{gap:6px;padding:9px}.library-admin-tools .button{font-size:9px;padding:7px}}
@media(max-width:520px){.lm-single-modules .library-cover-base h3{font-size:20px;line-height:1.15}.lm-single-modules .card-mobile-link{min-height:52px}}
