/* Library: statistics and playable lessons share the first screen. */
body.library-view .sidebar{position:relative;inset:auto;width:100%;height:88px;padding:0 max(36px,calc((100vw - 1760px)/2));display:flex;flex-direction:row;align-items:center;gap:30px;background:#fffdf8;border:0;border-bottom:1px solid var(--line)}
body.library-view .sidebar .brand{font-size:25px;flex-shrink:0}
body.library-view .sidebar .workspace-label,body.library-view .sidebar .sidebar-note,body.library-view .sidebar .sidebar-bottom{display:none}
body.library-view .sidebar nav{display:flex;margin-left:auto;gap:12px;align-items:center}
body.library-view .sidebar nav a{padding:12px 18px;border:1px solid var(--line);border-radius:11px;background:#fffdf8;font-size:13px;gap:9px;white-space:nowrap}
body.library-view .sidebar nav a.active{background:#e77942;border-color:#e77942;color:white}
body.library-view .sidebar .nav-dot{display:none}
body.library-view .sidebar .count{font-size:9px}
body.library-view .shell{margin-left:0}
body.library-view .topbar{display:none}
body.library-view main{max-width:1840px;padding:32px 40px 48px}
.library-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:start}
.library-statistics.learning-dashboard{display:flex;flex-direction:column;gap:18px;margin:0;min-width:0;position:sticky;top:22px}
.library-statistics .dashboard-main,.library-statistics .study-calendar{padding:22px 18px;border-radius:14px}
.library-statistics .dashboard-heading{display:flex;align-items:center}
.library-statistics .dashboard-heading h2{font-size:17px}
.library-statistics .dashboard-heading .eyebrow{font-size:7px}
.library-statistics .dashboard-heading>a{font-size:9px;margin:0}
.library-statistics .course-counters{margin:22px -6px 20px}
.library-statistics .course-counters b{font-size:34px}
.library-statistics .course-counters span{font-size:11px}
.library-statistics .course-counters small{display:none}
.library-statistics .small-achievements{padding:14px 3px}
.library-statistics .small-achievements b{font-size:21px}
.library-statistics .small-achievements span{font-size:8px}
.library-statistics .achievement-note{gap:7px;margin-top:15px;align-items:flex-start}
.library-statistics .achievement-note>span{font-size:23px}
.library-statistics .achievement-note p{font-size:10px;line-height:1.9}
.library-statistics .achievement-note small{font-size:8px}
.library-statistics .calendar-heading{margin-bottom:18px}
.library-statistics .calendar-heading h3{font-size:16px}
.library-statistics .calendar-day{height:35px;font-size:11px}
.library-statistics .calendar-legend{gap:10px;font-size:8px}
.library-catalog{min-width:0}
.library-mobile-summary{display:none}
.library-catalog>.section-heading{margin:1px 0 13px;gap:15px}
.library-catalog>.section-heading h2{font-size:22px;line-height:1.6}
.library-catalog>.section-heading h2 small{display:block;font-size:11px;margin:3px 0 0;line-height:1.8}
.library-catalog>.section-heading>span{font-size:10px;white-space:nowrap}
.library-resume{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;font-size:10px;color:#ac9273;gap:10px}
.library-resume .secondary{padding:8px 12px;font-size:10px;white-space:nowrap}
.library-catalog>.filters{padding:15px;margin:0;background:#fffdf8;border:1px solid var(--line);border-radius:11px;flex-wrap:wrap;gap:13px}
.library-catalog>.filters .chips{gap:6px;flex:1}
.library-catalog>.filters .chip{padding:7px 10px;font-size:10px}
.library-catalog>.filters .search{width:210px;min-width:170px}
.library-catalog>.advanced-filters{margin:0 0 19px;padding:13px 3px;gap:10px}
.library-catalog .lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.library-catalog .card-image{height:auto;aspect-ratio:16/9}
.library-catalog .card-body{padding:17px 16px;min-height:165px}
.library-catalog .card-body h3{font-size:15px;line-height:1.6}
.library-catalog .card-body>p{font-size:11px;line-height:1.8}
.library-catalog .image-caption{font-size:18px}
.library-catalog .image-caption>span{font-size:7px}
.library-catalog .bottom-note{margin-top:25px}
@media(min-width:1750px){.library-workspace{grid-template-columns:320px minmax(0,1fr);gap:34px}.library-statistics .dashboard-main,.library-statistics .study-calendar{padding:25px}.library-statistics .calendar-day{height:40px}.library-statistics .course-counters b{font-size:40px}.library-catalog .card-body h3{font-size:17px}}
@media(max-width:1200px){body.library-view main{padding:25px}.library-workspace{grid-template-columns:250px minmax(0,1fr);gap:22px}.library-catalog .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-catalog>.filters .search{width:100%}.library-statistics .dashboard-main,.library-statistics .study-calendar{padding:20px 14px}.library-statistics .dashboard-heading h2{font-size:16px}.library-statistics .course-counters b{font-size:30px}.library-catalog>.section-heading h2{font-size:20px}}
@media(max-width:800px){body.library-view .sidebar{height:75px;padding:0 22px;gap:15px}body.library-view .sidebar .brand{font-size:21px}body.library-view .sidebar nav{gap:7px}body.library-view .sidebar nav a{padding:10px 11px;font-size:11px;gap:6px}.library-workspace{grid-template-columns:220px minmax(0,1fr);gap:18px}.library-catalog .lesson-grid{grid-template-columns:1fr}.library-catalog>.section-heading{display:block}.library-catalog>.section-heading>span{display:block;margin-top:6px}.library-catalog>.filters{padding:12px}.library-catalog .advanced-filters{font-size:9px;flex-wrap:wrap}.library-catalog .advanced-filters>div{gap:8px;flex-wrap:wrap}.library-statistics .course-counters b{font-size:28px}.library-statistics .course-counters span{font-size:10px}.library-resume>span{display:none}}
@media(max-width:620px){body.library-view .sidebar{height:70px;padding:0 18px;gap:8px}body.library-view .sidebar .brand{font-size:20px}body.library-view .sidebar .brand-mark{width:34px;height:34px}body.library-view .sidebar nav a{padding:10px;width:37px;height:37px;border:0;background:transparent;font-size:0;gap:0;justify-content:center}body.library-view .sidebar nav a .count{display:none}body.library-view .sidebar nav a svg{width:19px;height:19px}body.library-view main{padding:23px 18px 35px}.library-workspace{display:flex;flex-direction:column;gap:23px}.library-catalog{width:100%;order:0}.library-statistics.learning-dashboard{position:static;order:1;width:100%;gap:15px}.library-catalog>.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px}.library-catalog>.section-heading h2{font-size:21px}.library-catalog>.section-heading h2 small{font-size:9px;max-width:190px}.library-catalog>.section-heading>span{font-size:8px;white-space:normal;max-width:95px;line-height:1.9;text-align:right}.library-resume{margin-bottom:14px;justify-content:flex-end}.library-resume .secondary{padding:7px 11px;font-size:10px}.library-catalog>.filters{padding:12px}.library-catalog>.filters .chip{font-size:10px;padding:7px 9px}.library-catalog>.filters .search{width:100%;padding:9px}.library-catalog>.advanced-filters{padding:12px 0;margin-bottom:5px}.library-catalog .advanced-filters>div{gap:7px}.library-catalog .advanced-filters label{font-size:9px}.library-catalog .advanced-filters select{max-width:105px;font-size:9px}.library-catalog .lesson-grid{gap:16px}.library-catalog .card-image{aspect-ratio:16/9}.library-catalog .card-body{padding:17px;min-height:0}.library-catalog .card-body h3{font-size:16px}.library-catalog .card-body>p{font-size:11px}.library-catalog .image-caption{font-size:22px}.library-catalog .bottom-note{display:none}.library-statistics .dashboard-main,.library-statistics .study-calendar{padding:23px}.library-statistics .course-counters b{font-size:40px}.library-statistics .course-counters span{font-size:12px}.library-statistics .calendar-day{height:40px}.library-statistics .small-achievements span{font-size:10px}.library-statistics .achievement-note p{font-size:11px}}

@media(max-width:620px){.library-mobile-summary{display:flex;align-items:center;gap:12px;background:#fffdf8;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 13px}.library-mobile-summary .course-counters{flex:1;margin:0}.library-mobile-summary .course-counters button{gap:3px;padding:2px 5px}.library-mobile-summary .course-counters b{font-size:23px}.library-mobile-summary .course-counters span{font-size:9px}.library-mobile-summary .course-counters small{display:none}.library-mobile-summary>.text-button{font-size:9px;white-space:nowrap;color:#bd8150}.library-statistics{scroll-margin-top:15px}}

