/* Compact assignment rows and visible word parts. Existing text-size controls remain authoritative. */
html body :is(#ll2-app,#lles,#llpt) .ll-assignment-hub{margin:0;padding:0;border:0;background:none}
.ll-assignment-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.ll-assignment-bar input[type=search]{flex:1 1 180px;max-width:340px;margin-right:auto}
.ll-assignment-hub>.page-title:empty,.ll-assignment-hub .course-module-list:empty,.ll-assignment-hub .course-pack-list:empty{display:none}
html body #ll2-app .ll-assignment-hub :is(.course-pack-list,.course-module-list){display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0 0 8px}
html body #ll2-app .ll-assignment-row{display:flex;flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;margin:0;border:1px solid #c7d9d0;border-radius:14px;background:linear-gradient(110deg,#fff,#f1f7ed);box-shadow:0 3px 14px #28493705}
html body #ll2-app .ll-assignment-row :is(h2,h3){flex:1 1 220px;min-width:0;margin:0;font-size:calc(18px * var(--lab-text-scale,1));line-height:1.35;letter-spacing:-.02em}
html body #ll2-app .ll-assignment-row[hidden]{display:none}
.ll-assignment-hub .ll-compact-popout{margin:0;padding:0;border:0;background:none}
.ll-assignment-hub .ll-compact-popout>summary{min-height:38px;padding:8px 12px;border-radius:10px;border:1px solid #bed2c7;background:#f5faf6;cursor:pointer;list-style:none;font-size:calc(14px * var(--lab-text-scale,1))}
.ll-assignment-hub .ll-compact-popout>summary::after{content:'⌄';margin-left:8px}
.ll-assignment-hub .ll-compact-popout>summary::-webkit-details-marker{display:none}
.ll-assignment-hub .ll-compact-panel{padding:12px;line-height:1.5}
.ll-assignment-hub .ll-compact-panel p{margin:0 0 8px}
.ll-sample-link{display:block;padding:4px;color:#194f43;text-decoration:none;font-weight:650}
.ll-sample-link small{display:block;margin-top:5px;color:#546f64;font-weight:400}
html body :is(#ll2-app,#lles,#llpt) .ll-access-guidance p{margin:8px 0;font-size:inherit;line-height:1.5}
html body :is(#ll2-app,#lles,#llpt) .ll-part-meaning{max-width:19rem;white-space:normal;font-weight:500;line-height:1.4;color:#355c50}
html body :is(#ll2-app,#lles,#llpt) [data-parts=true] .morpheme-suffix{fill:#46515c;text-decoration:underline;text-decoration-thickness:2px;font-weight:800}
html body :is(#ll2-app,#lles,#llpt) [data-parts=true] .morpheme-prefix{fill:#007b70;text-decoration:underline;text-decoration-thickness:2px;font-weight:800}
html body :is(#ll2-app,#lles,#llpt) [data-parts=false] .word-split{display:none}
html body :is(#ll2-app,#lles,#llpt) [data-parts=false] .word-unsplit{display:inline}
@media(max-width:540px){html body #ll2-app .ll-assignment-row{padding:10px}.ll-assignment-row :is(h2,h3){flex-basis:100%!important}}
@media(prefers-contrast:more){html body :is(#ll2-app,#lles,#llpt) [data-parts=true] :is(.morpheme-prefix,.morpheme-suffix){fill:currentColor;text-decoration-thickness:3px}}

html body #ll2-app .ll-assignment-row>.button{margin:0;align-self:center}

#ll2-app [data-lla-section=assignments]:not(:has(.lla-card)){display:none}
#ll2-app [data-lla-section=assignments]>.lla-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#ll2-app [data-lla-section=assignments]>h2{font-size:1rem;margin:14px 0 8px}
