body[data-screen="storage"] [data-unit-nav],body[data-screen="storage"] .saved-label{display:none!important}
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.collection-heading h2{margin:0;color:var(--forest);font:700 24px var(--font-heading)}
.library-browse{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #d6e2da;border-radius:8px;padding:13px 18px;color:var(--forest);background:#fff;font-size:12px;font-weight:600}
.library-browse:hover{background:#eaf2ed}
.catalog-languages{display:flex;flex-wrap:wrap;gap:8px;padding:5px;background:#edf2ee;border-radius:10px;width:fit-content;max-width:100%;margin-bottom:24px}
.catalog-search{display:flex;align-items:end;gap:10px;margin-bottom:22px}
.catalog-search label{display:grid;gap:8px;width:min(100%,420px);color:#597461;font-size:12px}
.catalog-search input{width:100%;min-width:0;padding:12px 14px;border:1px solid #d6e2da;border-radius:8px;background:#fff;color:var(--forest)}
.catalog-search button{padding:13px 18px}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0 32px;color:#597461;font-size:12px}
.catalog-pagination button:disabled,.book-open:disabled{cursor:default;opacity:.5}
.book-cover>svg{width:64px;height:64px;margin:30px;color:#cce6d9}
.catalog-languages button{border:0;background:transparent;color:#61786a;padding:11px 24px;font-size:13px}
.catalog-languages button[aria-pressed="true"]{background:white;color:var(--forest);box-shadow:0 2px 7px #0035270d}
.catalog-empty{padding:64px 25px;text-align:center;background:#fff;border:1px solid #e1e8e2;border-radius:12px;margin-bottom:30px}
.catalog-empty svg{width:44px;height:44px;color:#638b75;margin-bottom:15px}
.catalog-empty h2{font:700 24px var(--font-heading);color:var(--forest);margin:0 0 12px}
.catalog-empty p{color:#687c70;line-height:1.7;margin:0 auto 22px;max-width:430px}
.catalog-empty p:last-child{margin-bottom:0}
.catalog-status{min-height:22px;color:#357152;font-size:12px;line-height:1.6;margin:0 0 18px}
.catalog-status[data-error="true"]{color:#a5423c}
.book-body .collection-remove{display:block;margin:13px auto 0;padding:5px;border:0;background:transparent;color:#718377;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.book-body .collection-added{display:flex;align-items:center;gap:6px;margin:0 0 14px;color:#4a745b;font-size:11px}
.book-body .book-open{width:100%;justify-content:center}
.book-body a.book-open{background:var(--forest);color:#fff;border-color:var(--forest)}
.book-body a.book-open:hover{background:#164f3c}
.catalog-count{color:#718377;font-size:13px}
.library-grid:empty{display:none}
/* Four teacher destinations stay on the brand line where space allows. */
body[data-account-role="teacher"] .saved-label{display:none}
@media(min-width:761px){html[lang] .header-links{gap:clamp(12px,1.7vw,24px)}.header-links button{white-space:nowrap}.header-links [data-unit-nav]{display:none!important}}
@media(min-width:761px) and (max-width:1000px){.topbar{gap:10px;padding-right:20px;padding-left:20px}.brand{font-size:25px}.header-links button{font-size:10px}html[lang] .header-links{gap:12px}.header-actions{gap:7px}.header-actions .role-pill{display:none}}
@media(max-width:760px){html[lang] .header-links{gap:18px;flex-wrap:wrap;overflow:visible;white-space:normal}.header-links button{font-size:11px}.catalog-languages{max-width:100%}.collection-heading{align-items:flex-start;flex-wrap:wrap}.collection-heading h2{font-size:21px}}
@media(max-width:600px){body[data-screen="storage"] .bottomnav{display:none}.catalog-empty{padding:40px 20px}.catalog-empty h2{font-size:21px}.catalog-languages button{padding:10px 20px}}
