/* Isolated approved library prototype */
#fl33-study,#fl33-study *{box-sizing:border-box}#fl33-study{width:100%;max-width:none;min-width:0;isolation:isolate} [data-fl33-original][hidden]{display:none!important}
#fl33-study{margin:0;background:#faf5ea;font-family:Poppins,Inter,Arial,sans-serif;color:#0d3459}
#fl33-study a{color:inherit}
#fl33-study button{font:inherit}
#fl33-study .lib-wrap{width:min(100% - 64px,1280px);margin:auto}
#fl33-study .lib-hero{position:relative;isolation:isolate;background:#e5eff8;overflow:hidden;padding:23px 0 47px}
#fl33-study .lib-hero .shape{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
#fl33-study .crumb{display:flex;align-items:center;gap:9px;font-size:13px;color:#385974;margin:0 0 19px}
#fl33-study .crumb a{text-decoration:none}
#fl33-study .crumb a:hover{text-decoration:underline}
#fl33-study .hero-layout{display:grid;grid-template-columns:1fr 330px;gap:44px;align-items:center;min-height:175px}
#fl33-study .hero-layout h1{font-weight:700;font-size:clamp(37px,4.6vw,62px);letter-spacing:-1.6px;line-height:1.05;margin:0 0 13px}
#fl33-study .hero-layout h1 span{color:#176a9b}
#fl33-study .hero-layout p{font-size:16px;line-height:1.65;max-width:650px;margin:0}
#fl33-study .hero-layout img{width:100%;height:180px;object-fit:contain}
#fl33-study .wave{position:absolute;bottom:-1px;left:0;width:100%;height:32px;display:block}
#fl33-study .library{padding:29px 0 42px}
#fl33-study .library-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:27px}
#fl33-study .library-intro h2{font-size:29px;line-height:1.2;letter-spacing:-.45px;margin:0 0 6px}
#fl33-study .library-intro p{font-size:14px;line-height:1.55;margin:0;max-width:670px;color:#385974}
#fl33-study .jump{display:flex;gap:7px;flex-wrap:wrap;flex-shrink:0}
#fl33-study .jump a{border:1px solid #d8dfe1;background:#fffaf3;padding:9px 13px;border-radius:30px;text-decoration:none;font-weight:600;font-size:13px}
#fl33-study .jump a:hover{background:#ffdf89;border-color:#ffdf89}
#fl33-study .grade{margin:0 0 25px;scroll-margin-top:24px}
#fl33-study .grade-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
#fl33-study .grade-no{width:37px;height:37px;border-radius:12px 12px 15px 8px;display:grid;place-items:center;background:var(--pastel);color:var(--accent);font-weight:700;font-size:20px}
#fl33-study .grade-title{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}
#fl33-study .grade-title h3{margin:0;font-size:23px;letter-spacing:-.3px}
#fl33-study .grade-title span{font-size:13px;color:#537087}
#fl33-study .grade-line{height:1px;background:#d9dfe1;flex:1;margin-left:10px}
#fl33-study .resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#fl33-study .book-card{position:relative;display:flex;align-items:center;gap:16px;padding:15px 16px;min-height:102px;background:#fffdf8;border-radius:16px;text-decoration:none;box-shadow:0 3px 0 #173b6509,0 5px 15px #173b6509;transition:transform .18s,background-color .18s,box-shadow .18s;min-width:0}
#fl33-study .book-card:hover{transform:translateY(-3px);background:white;box-shadow:0 8px 24px #12395f19}
#fl33-study .book-card:focus-visible{outline:3px solid #176a9b;outline-offset:3px}
#fl33-study .book-art{display:grid;place-items:center;background:var(--pastel);border-radius:40% 34% 43% 27% / 32% 44% 30% 45%;width:71px;height:71px;flex:none;color:var(--accent)}
#fl33-study .book-art svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#fl33-study .book-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
#fl33-study .book-info strong{font-size:17px;line-height:1.25;font-weight:650}
#fl33-study .book-info small{font-size:13px;color:#537087}
#fl33-study .arrow{width:28px;height:28px;display:grid;place-items:center;background:var(--pastel);color:var(--accent);border-radius:50%;flex:none;font-size:20px;transition:transform .18s}
#fl33-study .book-card:hover .arrow{transform:translateX(3px)}
#fl33-study .related{background:#dcecf5;padding:24px 0 30px;position:relative}
#fl33-study .related>.lib-wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}
#fl33-study .related-text{display:flex;gap:15px;align-items:center}
#fl33-study .related img{width:76px;height:76px;object-fit:contain}
#fl33-study .related h2{margin:0 0 5px;font-size:24px}
#fl33-study .related p{margin:0;max-width:690px;font-size:14px;line-height:1.5}
#fl33-study .cta{display:inline-flex;gap:12px;align-items:center;background:#ffbf32;border-radius:30px;padding:13px 19px;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
#fl33-study .cta:hover{background:#ffcf65}
#fl33-study .teacher .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#fl33-study .teacher .grade-head{margin-bottom:17px}
#fl33-study .teacher .book-card{min-height:122px}
#fl33-study .teacher .book-art{width:86px;height:86px}
#fl33-study .teacher .book-art img{width:80px;height:80px;object-fit:contain}
#fl33-study .teacher .book-info strong{font-size:18px}
#fl33-study .teacher .library{padding-bottom:60px}
@media(max-width:1000px){#fl33-study .resource-grid,#fl33-study .teacher .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#fl33-study .hero-layout{grid-template-columns:1fr 240px;gap:20px}
#fl33-study .library-intro{align-items:start;flex-direction:column;gap:12px}}
@media(max-width:650px){#fl33-study .lib-wrap{width:calc(100% - 36px)}
#fl33-study .hero-layout{grid-template-columns:1fr 110px;gap:10px;min-height:0}
#fl33-study .hero-layout h1{font-size:33px;letter-spacing:-.7px}
#fl33-study .hero-layout p{font-size:14px}
#fl33-study .hero-layout img{height:110px}
#fl33-study .lib-hero{padding-top:14px;padding-bottom:35px}
#fl33-study .crumb{margin-bottom:16px}
#fl33-study .resource-grid,#fl33-study .teacher .resource-grid{grid-template-columns:1fr;gap:10px}
#fl33-study .book-card{min-height:90px;padding:12px}
#fl33-study .book-art{width:62px;height:62px}
#fl33-study .grade-head{gap:9px}
#fl33-study .grade-title{gap:4px;display:block}
#fl33-study .grade-title h3{font-size:20px}
#fl33-study .grade-title span{font-size:12px}
#fl33-study .library-intro h2{font-size:25px}
#fl33-study .related>.lib-wrap{align-items:stretch;flex-direction:column;gap:16px}
#fl33-study .related-text{align-items:start}
#fl33-study .related img{width:54px;height:54px}
#fl33-study .related h2{font-size:21px}
#fl33-study .cta{align-self:flex-start}
#fl33-study .grade{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){#fl33-study *{scroll-behavior:auto!important;transition:none!important}}
#fl33-study :is(h1,h2,h3){color:#0d3459;font-family:inherit}#fl33-study a{color:inherit;text-decoration:none}#fl33-study .lib-hero .shape,#fl33-study .wave{max-width:none}#fl33-study .book-card:hover,#fl33-study .cta:hover{color:#0d3459}#fl33-study .book-info strong{color:#0d3459}#fl33-study .crumb a:hover{color:#176a9b;text-decoration:none}#fl33-study .jump a:focus-visible,#fl33-study .cta:focus-visible{outline:2px solid #176a9b;outline-offset:3px}#fl33-study .lib-wrap{max-width:1280px}

#fl33-study .lib-hero .hero-layout img{height:200px}
#fl33-study .study-area{padding:34px 0 42px}
#fl33-study .study-area .library-intro{margin-bottom:20px}
#fl33-study .level-panel{background:#fffdf8;border-radius:22px;padding:22px 24px;box-shadow:0 3px 14px #0d34590d}
#fl33-study .level-panel .grade-head{margin-bottom:18px}
#fl33-study .study-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}
#fl33-study .study-tabs button{border:0;background:#edf3f6;color:#0d3459;padding:10px 20px;border-radius:30px;font:600 14px Poppins,Arial,sans-serif;cursor:pointer;transition:background .18s,transform .18s}
#fl33-study .study-tabs button:hover{background:#d8e7f2;transform:translateY(-1px)}
#fl33-study .study-tabs button[aria-selected=true]{background:#176a9b;color:white}
#fl33-study .study-tabs button:focus-visible,#fl33-study .note-card:focus-visible,#fl33-study .activity-card:focus-visible,#fl33-study .related-card:focus-visible{outline:3px solid #176a9b;outline-offset:3px}
#fl33-study .notes-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#fl33-study .note-card{color:#0d3459;text-decoration:none;display:block;border-radius:13px;background:#faf5ea;overflow:hidden;box-shadow:0 2px 7px #0d34590c;transition:transform .18s,box-shadow .18s;min-width:0}
#fl33-study .note-card:hover{transform:translateY(-3px);box-shadow:0 7px 18px #0d34591a}
#fl33-study .note-visual{aspect-ratio:4/3;background:#e5eff8;position:relative;overflow:hidden;display:grid;place-items:center}
#fl33-study .note-visual .note-fallback{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:7px;font-size:11px;color:#49677c}
#fl33-study .note-visual .note-fallback img{width:78px;height:78px;object-fit:contain}
#fl33-study .note-visual .note-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
#fl33-study .note-label{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 13px;font-size:14px;font-weight:600}
#fl33-study .note-label .arrow{background:#ffebad;color:#9b6307}
#fl33-study .activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#fl33-study .activity-card{position:relative;display:flex;align-items:flex-start;gap:14px;min-width:0;border-radius:22px 35px 20px 29px;padding:22px 19px;background:var(--pastel);color:#0d3459;text-decoration:none;transition:transform .2s,box-shadow .2s;min-height:168px;overflow:hidden}
#fl33-study .activity-card:nth-child(2){border-radius:35px 20px 28px 21px}
#fl33-study .activity-card:nth-child(3){border-radius:25px 34px 34px 19px}
#fl33-study .activity-card:hover{transform:translateY(-3px);box-shadow:0 7px 18px #0d345919}
#fl33-study .activity-card .book-art{background:#ffffff70;flex-shrink:0;width:56px;height:56px}
#fl33-study .activity-card .book-art svg{width:32px;height:32px}
#fl33-study .activity-card small{font-size:12px;font-weight:600;color:#365b72}
#fl33-study .activity-card h3{font-size:19px;margin:5px 0 6px;line-height:1.25}
#fl33-study .activity-card p{font-size:13px;line-height:1.5;margin:0 0 8px}
#fl33-study .activity-card .arrow{background:#ffffffb0;width:25px;height:25px;font-size:16px;margin-top:7px}
#fl33-study .related-pair{background:#dcecf5;padding:26px 0 32px}
#fl33-study .related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#fl33-study .related-card{display:flex;gap:16px;align-items:center;background:#fffdf8;border-radius:16px;padding:17px;color:#0d3459;text-decoration:none;transition:transform .18s}
#fl33-study .related-card:hover{transform:translateY(-3px)}
#fl33-study .related-card img{width:66px;height:66px;object-fit:contain;flex:none}
#fl33-study .related-card h3{margin:0 0 5px;font-size:18px}
#fl33-study .related-card p{font-size:13px;line-height:1.5;margin:0}
#fl33-study .related-card .arrow{margin-left:auto;background:#ffebad;color:#9b6307}
#fl33-study .study-tabs [hidden],#fl33-study .study-panel[hidden]{display:none!important}
#fl33-study .prototype-notice{font-size:12px;color:#49677c;margin:0 0 14px;line-height:1.45}
#fl33-study .collapsed-hint{font-size:14px;color:#49677c;margin:12px 0 3px}
@media(max-width:1000px){#fl33-study .notes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#fl33-study .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#fl33-study .related-card img{width:52px;height:52px}}
@media(max-width:650px){#fl33-study .lib-hero .hero-layout img{height:110px}
#fl33-study .level-panel{padding:16px 13px;border-radius:17px}
#fl33-study .notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#fl33-study .study-tabs{gap:6px}
#fl33-study .study-tabs button{font-size:12px;padding:9px 12px}
#fl33-study .note-label{font-size:12px;padding:9px 8px}
#fl33-study .note-visual .note-fallback img{width:54px;height:54px}
#fl33-study .note-visual .note-fallback{font-size:10px}
#fl33-study .activity-grid,#fl33-study .related-grid{grid-template-columns:1fr;gap:12px}
#fl33-study .activity-card{min-height:128px;padding:17px}
#fl33-study .study-area{padding:24px 0 30px}
#fl33-study .related-pair{padding:22px 0}
#fl33-study .related-card{padding:13px;gap:10px}
#fl33-study .related-card p{font-size:12px}
#fl33-study .related-card h3{font-size:16px}
#fl33-study .related-card img{width:45px;height:45px}}
#fl33-study .note-image[hidden]{display:none!important} #fl33-study [role=tabpanel][hidden]{display:none!important}
/* 0.4.15 — dynamic study navigation; all selectors scoped to study pages. */
#fl33-study .fl415-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
#fl33-study .fl415-book{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;background:#fff;border:1px solid #dce5eb;border-radius:20px;color:#0d3459;padding:15px 16px;cursor:pointer;box-shadow:none;line-height:1.3;transition:background .18s,box-shadow .18s}
#fl33-study .fl415-book[aria-pressed=true]{background:var(--level-color);border-color:#0d3459;box-shadow:inset 0 0 0 1px #0d3459}
#fl33-study .fl415-book:hover{background:var(--level-color)}
#fl33-study .fl415-book-number{grid-row:span 2;display:grid;place-items:center;border-radius:13px;background:var(--level-color);font-size:22px;font-weight:700;width:38px;height:42px}
#fl33-study .fl415-book[aria-pressed=true] .fl415-book-number{background:#ffffff99}
#fl33-study .fl415-book strong{font-size:17px;min-width:0}#fl33-study .fl415-book small{font-size:12px;color:#385974;overflow-wrap:anywhere}
#fl33-study .fl415-units{margin-bottom:17px;gap:7px}#fl33-study .fl415-unit{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid transparent;border-radius:12px;background:#edf3f6;color:#0d3459;box-shadow:none}
#fl33-study .fl415-unit[aria-pressed=true]{background:#0d3459;color:#fff}#fl33-study .fl415-unit[aria-pressed=true]:hover{background:#176a9b;color:#fff}#fl33-study .fl415-empty-unit:not([aria-pressed=true]){background:#f8f7f4;color:#567084;border-color:#dce5eb}
#fl33-study .fl415-count{font-size:11px;font-weight:600;background:#ffffff9c;color:#0d3459;border-radius:8px;padding:1px 5px;min-width:18px;text-align:center}#fl33-study .fl415-unit[aria-pressed=true] .fl415-count,#fl33-study .fl415-unit[aria-current=true] .fl415-count{background:#fff;color:#0d3459}
#fl33-study .fl415-unit-heading{border-top:1px solid #dce5eb;padding-top:15px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}#fl33-study .fl415-unit-heading h3{font-size:21px;margin:0}#fl33-study .fl415-unit-heading>span{font-size:13px;color:#49637a;white-space:nowrap}
#fl33-study .fl415-activities{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#fl33-study .fl415-activities .activity-card{min-height:138px}#fl33-study .fl415-content>.notes-grid:not(:first-child){margin-top:16px}
#fl33-study .fl415-empty{background:#faf5ea;border-radius:16px;text-align:center;padding:28px 16px;color:#385974}#fl33-study .fl415-empty strong{color:#0d3459;font-size:18px}#fl33-study .fl415-empty p{margin:7px 0 0;font-size:14px}
#fl33-study .fl415-book:focus-visible,#fl33-study .fl415-unit:focus-visible,#fl33-study .fl415-lightbox :is(button,a):focus-visible{outline:3px solid #176a9b;outline-offset:3px}
#fl33-study .fl415-lightbox{width:min(94vw,980px);max-height:94vh;padding:14px;background:#fffdf8;color:#0d3459;border:0;border-radius:18px;margin:auto;overflow:auto}#fl33-study .fl415-lightbox::backdrop{background:#102b43cc}#fl33-study .fl415-lightbox img{display:block;width:100%;height:min(68vh,680px);object-fit:contain;background:white;margin:8px auto}#fl33-study .fl415-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}#fl33-study .fl415-photo-toolbar button,#fl33-study .fl415-open-photo{background:#e5eff8;color:#0d3459;border:0;box-shadow:none;border-radius:9px;padding:8px 12px;cursor:pointer;font-size:13px}#fl33-study .fl415-photo-toolbar button:hover,#fl33-study .fl415-open-photo:hover{background:#ffebad}
@media(max-width:650px){#fl33-study .fl415-books{gap:6px;margin-bottom:16px}#fl33-study .fl415-book{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;text-align:center;padding:10px 4px;gap:4px;border-radius:14px}#fl33-study .fl415-book-number{grid-row:auto;width:30px;height:30px;font-size:16px}#fl33-study .fl415-book strong{font-size:12px}#fl33-study .fl415-book small{font-size:10px}#fl33-study .fl415-activities{grid-template-columns:1fr}#fl33-study .fl415-activities .activity-card{min-height:0}#fl33-study .fl415-unit-heading h3{font-size:17px}#fl33-study .fl415-unit{padding:7px 9px;gap:4px}}

.book-art img.fl419-study-art{width:100%;height:100%;object-fit:contain;display:block}

.fl432-project-heading{margin:24px 0 12px;color:#0d3459;font-size:1.2rem}

/* v0.4.50 mobile unit navigation */
@media(max-width:650px){#fl33-study .fl415-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#fl33-study .fl415-unit{min-width:0;justify-content:center;gap:5px;white-space:nowrap;font-size:12px;padding:9px 4px;min-height:42px}#fl33-study .fl415-unit .fl415-count{flex:none}#fl33-study .fl415-empty-unit:not([aria-pressed=true]){background:#f3f2ee;color:#657785;border:1px dashed #c4d1d8}}

/* Native resource library, same approved styles, accessible anchors. */
#fl33-study [hidden]{display:none!important}#fl33-study .fl415-book,#fl33-study .fl415-unit{text-decoration:none!important}#fl33-study .fl415-book[aria-current=true]{background:var(--level-color);border-color:#9ab9ce}#fl33-study .fl415-book[aria-current=true] .fl415-book-number{background:#ffffff99}#fl33-study .fl415-unit[aria-current=true]{background:#0d3459!important;color:white!important;border-color:#0d3459!important}#fl33-study .fl415-unit-heading h2{font-size:clamp(17px,2vw,21px);margin:0}#fl33-study .fl415-book:focus-visible,#fl33-study .fl415-unit:focus-visible{outline:3px solid #176a9b;outline-offset:3px}
