:root{--lib-ink:#19313d;--lib-muted:#607681;--lib-teal:#087d6a;--lib-border:#e0e8e9}
.library-page #main-content:focus{outline:none}
html{scroll-behavior:smooth;scroll-padding-top:90px}
.library-page{margin:0;background:#f5f8f8;color:var(--lib-ink);font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;background-image:radial-gradient(ellipse at 95% 35%,#e5f0ed80,transparent 42%)}
.library-page a{text-decoration:none}.library-page .container{max-width:1280px}.ui-icon{width:20px;height:20px;fill:currentColor;flex-shrink:0;display:inline-block;vertical-align:middle}
.library-page a:focus-visible,.library-page button:focus-visible,.library-page input:focus-visible,.library-page summary:focus-visible{outline:3px solid #16a68b;outline-offset:4px;box-shadow:none}
.skip-link{position:fixed;top:-100px;left:20px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:10px}
.library-header{background:#ffffffed;border-bottom:1px solid var(--lib-border);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.library-header nav{min-height:84px}.brand{font-size:18px;font-weight:750;letter-spacing:-.6px;color:var(--lib-ink)}.brand img{object-fit:contain;border-radius:10px}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:1.7px;color:#6a7c85;margin-top:3px}
.header-link{display:flex;align-items:center;gap:8px;color:#607681;font-size:13px;font-weight:600}.header-link.active{color:var(--lib-teal)}.header-link:hover{color:#054f43}.community-button{display:flex;gap:8px;align-items:center;border:1px solid #d5e4df;border-radius:9px;color:#187460;background:#edf5f1;padding:10px 14px;font-size:12px;font-weight:650}.community-button:hover{background:#dceee5;color:#125c4c}
.library-shell{padding-bottom:32px}.page-location{display:flex;align-items:center;gap:10px;color:#6c7e87;font-size:11px;padding:22px 0}.page-location a{color:#6c7e87}.page-location .ui-icon{width:10px;height:10px}
.library-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;background:#102b37;min-height:386px;color:#fff;box-shadow:0 16px 30px -24px #102b3770}
.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 53%;z-index:-2}
.library-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102731fa 0%,#102731ed 32%,#10273144 62%,transparent 85%)}
.hero-content{position:relative;padding:40px 48px;max-width:650px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#a8d4c9;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#64d7b3;box-shadow:0 0 0 4px #64d7b315}
.library-hero h1{font-size:clamp(32px,3.5vw,48px);font-weight:730;line-height:1.16;letter-spacing:-1.8px;margin:18px 0 14px;color:white}.library-hero h1 em{font-style:normal;color:#8cd6be}.hero-content>p{font-size:14px;line-height:1.8;color:#c4d3d7;margin-bottom:22px}
.hero-cta{background:#e3f7eb;color:#164e42;font-size:12px;font-weight:700;border-radius:8px;padding:12px 17px;display:inline-flex;gap:20px;align-items:center}.hero-cta:hover{background:#fff;color:#164e42;transform:translateY(-2px)}.hero-cta .ui-icon{width:16px;height:16px}.hero-meta{display:flex;gap:18px;margin-top:23px;font-size:10px;color:#b6ccd1}.hero-meta span{display:flex;align-items:center;gap:6px}.hero-meta .ui-icon{width:14px;height:14px;color:#8cd6be}
.hero-sticker{position:absolute;right:38px;bottom:27px;display:flex;align-items:center;gap:12px;background:#ffffffeb;border:1px solid #fff;border-radius:12px;padding:12px 18px;color:#2a4950;box-shadow:0 8px 35px #0002;font-size:11px;transform:rotate(-3deg);animation:sticker-arrive .8s ease-out both}.hero-sticker>.ui-icon{width:27px;height:27px;color:#137b65}.hero-sticker strong{font-size:12px}
.search-panel{max-width:850px;margin:24px auto 0}.search-panel form{background:white;border:1px solid #d7e3e2;border-radius:12px;box-shadow:0 5px 16px #1d443306;padding:7px 8px 7px 20px}.search-symbol{color:#7c9196}.search-panel .form-control{border:0;box-shadow:none;font-size:13px;padding:10px;min-width:0;color:#233c47;background:transparent}.search-panel .form-control::placeholder{color:#7a8b92}.search-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:8px;background:#087d6a;color:#fff;font-size:12px;font-weight:600;padding:12px 19px;white-space:nowrap}.search-button:hover{background:#056452;color:#fff}.search-button .ui-icon{width:15px;height:15px}.search-panel>p{font-size:10px;color:#75868e;text-align:center;margin:9px 0 0}.search-panel>p strong{font-weight:550;color:#47646e}
.branch-picker{border-bottom:1px solid var(--lib-border);padding:22px 0;margin-bottom:8px}.branch-label{font-size:9px;letter-spacing:1.5px;color:#6d818a;font-weight:700;margin-right:12px}.branch-pill{font-size:11px;font-weight:600;color:#5c737c;padding:9px 17px;border:1px solid #e0e8e8;border-radius:7px;background:white;transition:background .2s,color .2s}.branch-pill:hover{color:#087d6a;background:#e6f3ed}.branch-pill.selected{color:white;background:#163d41;border-color:#163d41}
.library-main{padding-top:24px;scroll-margin-top:95px}.study-steps{gap:0;margin:0 0 22px;max-width:530px}.study-steps li{display:flex;align-items:center;gap:8px;color:#71858f;font-size:11px;flex:1;position:relative}.study-steps li:not(:last-child):after{content:"";height:1px;flex:1;background:#dce5e6;margin:0 14px}.study-steps li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid #d9e4e4;font-size:10px;font-weight:700;background:white}.study-steps .current{color:#096b5b;font-weight:700}.study-steps .current>span{background:#087d6a;color:#fff;border-color:#087d6a;box-shadow:0 0 0 4px #087d6a0c}.study-steps .complete>span{color:#087d6a;background:#e2f2e9;border-color:#c4e7d7}
.folder-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:10px;margin-bottom:18px}.folder-breadcrumbs a{color:#627b83}.folder-breadcrumbs a:hover{color:#087d6a;text-decoration:underline}.folder-breadcrumbs .ui-icon{width:9px;height:9px;color:#95a6ac}.section-kicker{font-size:8px;letter-spacing:1.8px;font-weight:700;color:#7c9299}.collection-heading{margin-bottom:22px}.collection-heading h2{font-size:25px;font-weight:700;letter-spacing:-.7px;margin:6px 0 7px}.collection-heading p{font-size:12px;color:#6e818a;margin:0;line-height:1.7}.resource-count{font-size:10px;white-space:nowrap;padding:5px 9px;border:1px solid #dfe8e7;border-radius:6px;color:#6d8189;background:#fff;margin-top:24px}
.study-folder{--folder-color:#147e6a;--folder-bg:#eaf6ef;color:#213b46;border:1px solid #dfe8e7;border-radius:13px;overflow:hidden;padding:20px;position:relative;background:#fff;box-shadow:0 3px 8px #1b4c3403;transition:transform .22s,box-shadow .22s,border-color .22s}
.study-folder:before{content:"";position:absolute;right:-35px;top:-40px;width:130px;height:130px;background:radial-gradient(circle,var(--folder-bg),transparent 70%);pointer-events:none}.tone-blue{--folder-color:#4074b5;--folder-bg:#ecf2fc}.tone-amber{--folder-color:#aa7620;--folder-bg:#fff6df}.tone-purple{--folder-color:#8560ac;--folder-bg:#f3eef9}.study-folder:hover{transform:translateY(-5px);box-shadow:0 12px 24px #183f3810;border-color:#a7cdc3;color:#213b46}.folder-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;position:relative}.folder-icon{width:49px;height:49px;border-radius:12px;display:grid;place-items:center;background:var(--folder-bg);color:var(--folder-color)}.folder-icon>.ui-icon{width:27px;height:27px;transition:transform .25s}.study-folder:hover .folder-icon>.ui-icon{transform:rotate(-7deg)}.folder-arrow{color:#8da2a8}.folder-arrow .ui-icon{width:15px;height:15px}.study-folder h3{font-size:17px;font-weight:700;letter-spacing:-.3px;margin:0 0 7px;overflow-wrap:anywhere}.study-folder p{color:#6e818b;font-size:11px;line-height:1.7;margin:0 0 20px}.folder-bottom{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #eef2f2;padding-top:12px;margin-top:auto;font-size:9px;color:#789098}.open-label{color:var(--folder-color);font-weight:650}
.library-sidebar .notes-community{margin:0}.library-sidebar .notes-community summary{font-size:12px;padding:18px 15px;gap:9px}.library-sidebar .notes-community summary small{font-size:10px}.library-sidebar .community-heading-icon{width:34px;height:34px;border-radius:9px}.library-sidebar .community-body{padding:0 15px 15px}.library-sidebar .community-body>p{font-size:11px}.library-sidebar .community-links strong{font-size:11px}.library-sidebar .community-links small{font-size:10px}.library-sidebar .community-chevron .ui-icon{width:13px}.library-sidebar .community-footnote{font-size:9px}
.practice-card{position:relative;display:block;margin-top:18px;border-radius:16px;padding:25px;color:#dae9e7;background:#173e43;overflow:hidden}.practice-card:after{content:"</>";position:absolute;bottom:7px;right:-12px;font-size:110px;line-height:1;color:#ffffff06;font-weight:700;transform:rotate(-15deg);pointer-events:none}.practice-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#ffffff10;color:#a5ddc9;margin-bottom:22px}.practice-card .section-kicker{color:#97bfb7;font-size:7px;display:block}.practice-card h3{font-size:25px;letter-spacing:-.6px;margin:9px 0 12px;line-height:1.22;color:#eff9f5}.practice-card p{font-size:11px;line-height:1.8;color:#afcbc8;max-width:190px}.practice-link{display:flex;gap:20px;align-items:center;font-size:11px;font-weight:600;color:#c5e9d7;margin-top:24px}.practice-link .ui-icon{width:14px;height:14px}.practice-card:hover{background:#1b4a4d}
.study-tip{margin-top:24px;border:1px solid #e5e5d5;background:#faf9ef;border-radius:10px;padding:16px;color:#7c7547}.study-tip>.ui-icon{margin-top:3px;width:18px;height:18px}.study-tip strong{font-size:11px;color:#746c3e}.study-tip p{font-size:11px;margin:5px 0 0;line-height:1.7;color:#827f68}
.note-card{border:1px solid var(--lib-border);border-radius:14px;overflow:hidden;color:var(--lib-ink);transition:transform .2s,box-shadow .2s}.note-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #163a3210}.note-thumb{width:100%;height:150px;object-fit:contain;background:#e9f1f0}.note-thumb-placeholder{height:140px;background:linear-gradient(140deg,#dcedea,#e9f2e8);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#357868}.note-thumb-placeholder>.ui-icon{width:40px;height:40px}.note-thumb-placeholder>span{font-size:10px;letter-spacing:1px}.note-card .card-body{display:flex;flex-direction:column;padding:18px}.material-badge{font-size:9px;font-weight:650;color:#087d6a;margin-bottom:10px}.note-card h3{font-size:17px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.note-code,.note-description,.note-activity{font-size:11px;color:#6d838c;line-height:1.8}.note-activity{font-size:9px;margin-top:auto}.note-activity>.ui-icon{width:12px;height:12px}.note-card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e9eeee;padding-top:14px;margin-top:13px;font-size:11px;color:#087d6a}.note-card-footer strong{font-size:17px}.note-card-footer .ui-icon{width:13px;height:13px}
.empty-state{padding:48px 24px;text-align:center;background:white;border:1px dashed #cbdcda;border-radius:14px}.empty-state>.ui-icon{width:42px;height:42px;color:#679688;margin-bottom:20px}.empty-state h3{font-size:19px}.empty-state p{font-size:13px;color:#6e818a}.empty-state a{color:#087d6a}.empty-state .search-button{color:white}.library-pagination{display:flex;justify-content:center;gap:18px;align-items:center;flex-wrap:wrap;margin:26px 0;font-size:12px}.library-pagination a{padding:9px 12px;border-radius:7px;background:white;border:1px solid var(--lib-border);color:#087d6a}
.library-explainer{margin-top:45px;padding:25px 0 0;border-top:1px solid var(--lib-border);max-width:900px}.library-explainer h2{font-size:15px;font-weight:650}.library-explainer p{font-size:11px;line-height:1.9;color:#6f828a;margin:8px 0}.library-explainer a{color:#087d6a;text-decoration:underline}.library-footer{padding:24px 0;background:#fff;border-top:1px solid var(--lib-border);color:#7b8e95;font-size:10px}.library-footer a{color:#58757b}
.reveal{animation:card-arrive .55s ease-out both}.folder-grid>div:nth-child(2) .reveal{animation-delay:.05s}.folder-grid>div:nth-child(3) .reveal{animation-delay:.1s}.folder-grid>div:nth-child(4) .reveal{animation-delay:.15s}.folder-grid>div:nth-child(5) .reveal{animation-delay:.2s}.folder-grid>div:nth-child(6) .reveal{animation-delay:.25s}
@keyframes card-arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes sticker-arrive{from{opacity:0;transform:translateY(15px) rotate(-3deg)}to{opacity:1;transform:translateY(0) rotate(-3deg)}}
@media(min-width:1400px){.library-page .container{max-width:1280px}}
@media(max-width:1199px){.hero-content{padding:38px}.hero-sticker{right:24px}.study-folder{padding:17px}.folder-bottom{font-size:8px}.library-sidebar .notes-community summary{font-size:13px}}
@media(max-width:991px){.library-hero{min-height:365px}.hero-content{padding:35px;max-width:530px}.hero-content>p{font-size:13px}.hero-sticker{display:none}.library-hero:after{background:linear-gradient(90deg,#102731fa,#102731c9 48%,#10273125)}.library-sidebar{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.practice-card{margin:0}.library-sidebar .community-links{grid-template-columns:1fr 1fr}.library-sidebar .community-links small{font-size:9px}.library-sidebar .community-footnote{margin-top:10px}.folder-bottom{font-size:10px}}
@media(max-width:767px){.library-header nav{min-height:70px}.library-page .container{padding-left:20px;padding-right:20px}.brand{font-size:15px}.brand img{width:35px;height:35px}.brand small{font-size:7px;letter-spacing:1px}.header-link.active{display:none}.community-button{padding:9px}.community-button span{display:none}.header-link{font-size:11px}.header-link .ui-icon{width:17px}.page-location{padding:17px 0}.hero-content{padding:30px;max-width:470px}.library-hero h1{font-size:38px}.hero-meta{gap:12px;font-size:8px}.branch-label{flex-basis:100%;margin-bottom:3px}.branch-picker{padding:20px 0}.library-main{padding-top:15px}.collection-heading h2{font-size:23px}.collection-heading p{font-size:11px}.library-sidebar .community-links{grid-template-columns:1fr}.library-sidebar{grid-template-columns:1fr 1fr}.study-steps li:not(:last-child):after{margin:0 10px}.library-explainer{margin-top:30px}}
@media(max-width:575px){.library-page .container{padding-left:16px;padding-right:16px}.compiler-link span{display:none}.brand{font-size:14px}.library-hero{border-radius:18px;min-height:395px}.hero-content{padding:28px 24px}.hero-art{object-position:65% center;opacity:.58}.library-hero:after{background:linear-gradient(90deg,#102731ee,#10273199 65%,#10273155)}.library-hero h1{font-size:37px;letter-spacing:-1.3px;margin-top:21px}.eyebrow{font-size:7px;letter-spacing:1.3px}.hero-content>p{font-size:12px;line-height:1.9}.hero-meta{flex-direction:column;gap:8px;font-size:9px;margin-top:24px}.hero-cta{font-size:11px;padding:12px 15px}.search-panel{margin-top:18px}.search-panel form{padding-left:12px}.search-panel .form-control{font-size:12px;padding:10px 5px}.search-symbol .ui-icon{width:17px}.search-button{padding:12px;font-size:11px}.search-button .ui-icon{display:none}.search-panel>p{font-size:9px}.branch-pill{font-size:10px;padding:8px 13px}.branch-label{font-size:8px}.study-steps{margin-bottom:18px}.study-steps li{font-size:10px;gap:5px}.study-steps li>span{width:22px;height:22px}.study-steps li:not(:last-child):after{margin:0 6px}.resource-count{font-size:8px;padding:5px 7px}.section-kicker{font-size:7px;letter-spacing:1.4px}.collection-heading h2{font-size:21px}.study-folder{padding:16px;border-radius:12px}.folder-top{margin-bottom:20px}.folder-icon{width:43px;height:43px}.folder-icon>.ui-icon{width:25px;height:25px}.study-folder h3{font-size:16px}.study-folder p{font-size:10px;margin-bottom:14px}.folder-bottom{font-size:8px;flex-wrap:wrap;gap:5px}.open-label{margin-left:auto}.library-sidebar{grid-template-columns:1fr}.library-sidebar .notes-community summary{font-size:14px}.library-sidebar .community-links{grid-template-columns:1fr 1fr}.library-sidebar .community-links a{padding:10px 7px;gap:7px}.library-sidebar .social-symbol{width:25px;height:25px}.library-sidebar .social-arrow{display:none}.library-sidebar .community-links strong{font-size:10px}.library-sidebar .community-links small{font-size:9px}.practice-card{padding:24px}.practice-card h3 br{display:none}.practice-card h3{font-size:23px}.practice-card p{max-width:100%}.practice-icon{margin-bottom:15px}.practice-link{margin-top:15px}.library-footer{font-size:9px}.study-tip{padding:13px}.study-tip p{font-size:10px}.library-explainer p{font-size:10px}}
.hero-compact{min-height:260px}.hero-compact .hero-content{padding-top:28px;padding-bottom:28px}.hero-compact h1{font-size:34px}.hero-compact .hero-meta,.hero-compact .hero-cta{display:none}
@media(max-width:575px){.search-panel .form-control{font-size:16px}.search-panel .form-control::placeholder{font-size:12px}.hero-compact{min-height:250px}.hero-compact h1{font-size:29px}.hero-compact .hero-content>p{margin-bottom:0}.folder-bottom{font-size:10px}.branch-pill{font-size:12px;min-height:40px}.study-folder p{font-size:12px}.collection-heading p{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.library-page *,.library-page *:before,.library-page *:after{animation:none!important;transition:none!important;translate:none!important}}
