/* SkillUP Learning Library — selector polish */
:root{--lib-ink:#19344f;--lib-muted:#64798c;--lib-line:#dce8f0;--lib-paper:#f6fafc;--lib-navy:#173d59;--lib-blue:#2878aa;--lib-teal:#0b9aa5;--lib-purple:#6657aa;--lib-gold:#f1ad16}
body{background:var(--lib-paper)!important;color:var(--lib-ink)}
#year-selector.selector-page{min-height:calc(100vh - 76px);padding:68px 0 90px!important;background:linear-gradient(180deg,#f7fbfe 0%,#eef6fa 100%)!important;position:relative;overflow:hidden}
#year-selector.selector-page:before{content:"";position:absolute;width:720px;height:720px;border-radius:50%;right:-260px;top:-320px;background:radial-gradient(circle,rgba(11,154,165,.09),rgba(11,154,165,0) 68%);pointer-events:none}
#year-selector .selector-intro{max-width:1180px!important;text-align:left!important;position:relative;z-index:1}
#year-selector .selector-intro .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border-radius:999px;background:#e3f3f5;color:var(--lib-teal);font-size:.72rem;letter-spacing:.12em;font-weight:900}
#year-selector .selector-intro .eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--lib-teal);box-shadow:0 0 0 4px rgba(11,154,165,.14)}
#year-selector .selector-intro h1{font-family:Sora,Nunito,sans-serif!important;font-size:clamp(3rem,5.5vw,5.4rem)!important;line-height:1.02!important;letter-spacing:-.065em!important;color:var(--lib-ink)!important;margin:20px 0 14px!important;max-width:840px}
#year-selector .selector-intro h1 .text-accent{color:var(--lib-purple)!important}
#year-selector .selector-intro p{font-size:1.2rem!important;line-height:1.55!important;color:var(--lib-muted)!important;font-weight:700!important;max-width:650px}
#year-selector .year-selector-grid{max-width:1180px!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:13px!important;margin-top:38px!important;position:relative;z-index:1}
#year-selector .year-selector-grid a{min-height:205px!important;padding:22px 16px 19px!important;justify-content:flex-start!important;align-items:flex-start!important;border:1px solid rgba(27,65,91,.11)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 10px 22px rgba(24,60,86,.06)!important;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
#year-selector .year-selector-grid a:after{content:"";position:absolute;right:-28px;top:-34px;width:110px;height:110px;border-radius:50%;background:var(--card-soft);opacity:.9}
#year-selector .year-selector-grid a:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--card)!important}
#year-selector .year-selector-grid a:hover{transform:translateY(-6px)!important;border-color:color-mix(in srgb,var(--card) 40%,#dce8f0)!important;box-shadow:0 18px 32px rgba(24,60,86,.13)!important}
#year-selector .year-selector-grid a span{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--card-soft)!important;color:var(--card)!important;font-family:Sora,Nunito,sans-serif!important;font-size:1.7rem!important;font-weight:800!important;position:relative;z-index:1}
#year-selector .year-selector-grid a b{display:block;font-family:Sora,Nunito,sans-serif!important;font-size:1.12rem!important;line-height:1.2!important;color:var(--lib-ink)!important;margin-top:18px!important;position:relative;z-index:1}
#year-selector .year-selector-grid a small{display:block;font-size:.83rem!important;line-height:1.4!important;color:var(--lib-muted)!important;font-weight:700!important;margin-top:7px!important;position:relative;z-index:1}
#year-selector .year-selector-grid .k{--card:#159d72;--card-soft:#e4f7ef}
#year-selector .year-selector-grid .y1{--card:#d97732;--card-soft:#fff0e5}
#year-selector .year-selector-grid .y2{--card:#2a83b7;--card-soft:#e7f4fb}
#year-selector .year-selector-grid .y3{--card:#b98816;--card-soft:#fff5d7}
#year-selector .year-selector-grid .y4{--card:#615ad0;--card-soft:#eeedff}
#year-selector .year-selector-grid .y5{--card:#c64d7d;--card-soft:#ffeaf2}
#year-selector .year-selector-grid .y6{--card:#168d7a;--card-soft:#e3f6f1}
#year-selector .year-selector-grid .y5,#year-selector .year-selector-grid .y6{border-color:color-mix(in srgb,var(--card) 24%,#dce8f0)!important}
#year-selector .year-selector-grid .y5:after,#year-selector .year-selector-grid .y6:after{width:145px;height:145px;right:-53px;top:-57px;opacity:.65}
#year-selector .year-selector-grid .y5 span,#year-selector .year-selector-grid .y6 span{box-shadow:0 0 0 5px color-mix(in srgb,var(--card) 10%,transparent)}
@media(max-width:1000px){#year-selector .year-selector-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:820px!important;margin-inline:auto!important}#year-selector .selector-intro{text-align:center!important}#year-selector .selector-intro p{margin-inline:auto}}
@media(max-width:620px){#year-selector.selector-page{padding:44px 0 58px!important}#year-selector .selector-intro h1{font-size:3rem!important;letter-spacing:-.06em!important}#year-selector .selector-intro p{font-size:1rem!important}#year-selector .year-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:28px!important}#year-selector .year-selector-grid a{min-height:170px!important;padding:18px 14px 15px!important}#year-selector .year-selector-grid a span{width:48px;height:48px;font-size:1.4rem!important;border-radius:14px!important}#year-selector .year-selector-grid a b{font-size:1rem!important;margin-top:13px!important}#year-selector .year-selector-grid a small{font-size:.76rem!important}}
@media(prefers-reduced-motion:reduce){#year-selector .year-selector-grid a{transition:none!important}}


/* Expanded Learning Library content */
.library-overview{max-width:1180px!important;padding:72px 0 88px;position:relative}
.library-overview:before{content:"";position:absolute;left:50%;top:0;width:100vw;height:1px;background:#dce8f0;transform:translateX(-50%)}
.library-overview-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.library-overview-head h2{font-family:Sora,Nunito,sans-serif;font-size:clamp(2rem,3.6vw,3.5rem);letter-spacing:-.055em;line-height:1.05;color:#19344f;margin:9px 0 9px}
.library-overview-head p{font-size:1.06rem;color:#64798c;font-weight:700;line-height:1.55;margin:0;max-width:650px}
.library-outline-link{font-weight:900;color:#173d59;text-decoration:none;white-space:nowrap;padding:11px 0}
.learning-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:30px 0 62px}
.learning-flow article{min-height:154px;padding:22px 20px;background:#fff;border:1px solid #dce8f0;border-radius:18px;display:flex;gap:14px;align-items:flex-start;box-shadow:0 9px 20px rgba(24,60,86,.05);transition:transform .2s ease,box-shadow .2s ease}
.learning-flow article:hover{transform:translateY(-4px);box-shadow:0 16px 28px rgba(24,60,86,.10)}
.flow-icon{width:46px;height:46px;display:grid;place-items:center;flex:none;border-radius:14px;font-size:1.2rem;font-weight:900;color:#fff}
.flow-icon.learn{background:#2878aa}.flow-icon.practise{background:#0b9aa5}.flow-icon.test{background:#6657aa}.flow-icon.improve{background:#e1a91e}
.learning-flow b{display:block;font-family:Sora,Nunito,sans-serif;font-size:1.18rem;margin:2px 0 7px}
.learning-flow p{margin:0;color:#64798c;font-size:.9rem;line-height:1.45;font-weight:700}
.library-subject-section{padding-top:2px}
.library-overview-head.compact{margin-bottom:21px}
.library-overview-head.compact h2{font-size:clamp(1.9rem,3vw,2.8rem)}
.library-overview-head.compact p{font-size:1rem}
.library-subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.library-subject{display:flex;align-items:center;gap:13px;min-height:108px;background:#fff;border:1px solid #dce8f0;border-left:5px solid var(--accent);border-radius:16px;padding:17px;text-decoration:none;box-shadow:0 8px 18px rgba(24,60,86,.04);transition:transform .2s ease,box-shadow .2s ease}
.library-subject:hover{transform:translateY(-4px);box-shadow:0 15px 27px rgba(24,60,86,.10)}
.library-subject .mini-icon{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:13px;background:var(--soft);color:var(--accent);font-family:Sora,Nunito,sans-serif;font-weight:900}
.library-subject b{display:block;font-family:Sora,Nunito,sans-serif;font-size:1.08rem;margin-bottom:4px}
.library-subject small{display:block;color:#64798c;font-size:.83rem;line-height:1.35;font-weight:700}
.library-subject .open-label{margin-left:auto;color:var(--accent);font-size:.78rem;font-weight:900}
.library-subject.maths{--accent:#2878aa;--soft:#e7f4fb}.library-subject.english{--accent:#d97542;--soft:#fff0e7}.library-subject.vocabulary{--accent:#20a578;--soft:#e7f8ef}.library-subject.reading{--accent:#c64d7d;--soft:#ffeaf2}.library-subject.science{--accent:#6657aa;--soft:#efedfb}.library-subject.selective{--accent:#b47a00;--soft:#fff4d4}
.library-support{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding:22px 24px;background:#edf8f8;border:1px solid #cde8e8;border-radius:18px}
.library-support>div{display:flex;align-items:center;gap:13px}.support-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#0b9aa5;color:#fff;font-weight:900}
.library-support b{font-family:Sora,Nunito,sans-serif}.library-support p{margin:4px 0 0;color:#64798c;font-weight:700;font-size:.9rem}
.library-support>a{color:#173d59;font-weight:900;text-decoration:none;white-space:nowrap}
@media(max-width:900px){.learning-flow{grid-template-columns:repeat(2,1fr)}.library-subject-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.library-overview{padding:54px 0 64px}.library-overview-head{display:block}.library-outline-link{display:inline-block;margin-top:8px}.learning-flow{grid-template-columns:1fr;gap:10px;margin-bottom:48px}.learning-flow article{min-height:116px}.library-subject-grid{grid-template-columns:1fr}.library-support{display:block}.library-support>a{display:inline-block;margin-top:13px}}
