/* Shared catalogue theme; activity pages retain their own functional layouts. */
body.lks-portal{background:#f8fafc;color:#182b40;font-family:Inter,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
body.lks-portal .site-shell,body.lks-portal .site-footer-inner{width:min(1160px,calc(100% - 64px));max-width:1160px}
body.lks-portal #lks-navigation .lks-nav-inner{width:min(1160px,calc(100% - 64px))}
body.lks-portal #lks-navigation .lks-nav-mark{border-radius:6px}
body.lks-portal #lks-navigation a{font-size:13px;font-weight:600;border-radius:5px}
body.lks-portal #lks-navigation .lks-nav-brand{font-size:19px}
body.lks-portal #lks-navigation a[href="/chemex/"]{background:#fff;color:#123453}
body.lks-portal #lks-navigation a[href="/toolkits/toolkits-login.php"]{background:transparent;margin-left:0;padding-inline:12px}
body.lks-portal .modern-kicker{display:block;color:#526779;font-size:11px;font-weight:700;letter-spacing:.13em;line-height:1.5}
body.lks-student-home .lks-home-main{padding-bottom:64px}
body.lks-student-home .science-hero{display:grid;grid-template-columns:1fr 270px;gap:64px;align-items:center;width:min(1160px,calc(100% - 64px));min-height:300px;padding:56px 0 48px;margin:auto;background:none;border:0;border-bottom:1px solid #dce3eb;isolation:auto}
body.lks-student-home .science-hero:before{display:none}
body.lks-student-home .science-hero h1{text-align:left;font-size:clamp(44px,5.5vw,72px);font-weight:650;letter-spacing:-.055em;color:#142e46;margin:16px 0 18px;line-height:1.05}
body.lks-student-home .science-hero p{font-size:18px;line-height:1.65;color:#536579;margin:0}
body.lks-student-home .hero-index{border-left:1px solid #dce3eb;padding-left:32px}
body.lks-student-home .hero-index>span{display:block;font-size:10px;letter-spacing:.13em;color:#68798b;font-weight:700;margin-bottom:22px}
body.lks-student-home .hero-index p{font-size:15px;color:#182b40;margin:16px 0;font-weight:600}
body.lks-student-home .hero-index small{display:block;font-size:12px;color:#68798b;font-weight:400;margin-top:4px}
body.lks-student-home .lks-home-section{width:min(1160px,calc(100% - 64px));margin:36px auto 0}
body.lks-portal .lks-heading{gap:16px;align-items:baseline}
body.lks-portal .lks-heading h2{font-size:23px;font-weight:650;color:#182b40;letter-spacing:-.025em}
body.lks-portal .lks-heading p{font-size:14px;color:#607286}
body.lks-student-home #explore-subjects .lks-subject-choices{gap:20px}
body.lks-student-home #explore-subjects .lks-subject-choice,body.lks-student-home #explore-subjects .lks-subject-choice:nth-child(2n){display:flex;align-items:center;min-height:212px;padding:28px 30px;border:1px solid #dce3eb;border-radius:8px;background:#fff;color:#182b40;box-shadow:none;transform:none;gap:20px}
body.lks-student-home #explore-subjects .lks-subject-choice:hover{border-color:#829db8;background:#fdfefe;box-shadow:0 4px 16px #18334b09;transform:none}
body.lks-student-home #explore-subjects .lks-subject-choice>div{padding:0}
body.lks-student-home .subject-button-title{display:block;margin:14px 0 10px;font-size:26px;font-weight:650;letter-spacing:-.035em;line-height:1.25}
body.lks-student-home .subject-description{max-width:420px!important;margin:0 0 18px;font-size:14px;line-height:1.65;color:#607286}
body.lks-student-home .subject-forms{font-size:12px;font-weight:600;color:#254f75}
body.lks-student-home .subject-card-arrow{width:auto;height:auto;border:0;border-radius:0;background:none!important;color:#365f84;font-size:25px;align-self:flex-start;margin-top:36px;transform:none!important}
body.lks-portal .practice-panel{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 32px;border:1px solid #d9e3ed;border-radius:8px;background:#edf3f9;margin-bottom:48px}
body.lks-portal .practice-panel h2{font-size:24px;letter-spacing:-.025em;font-weight:650;margin:8px 0 10px;color:#182b40}
body.lks-portal .practice-panel p{max-width:600px;font-size:14px;line-height:1.65;color:#536579;margin:0}
body.lks-portal .practice-panel small{display:block;color:#607286;font-size:12px;margin-top:8px}
body.lks-portal a.chemistry-practice-entry{display:inline-flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;max-width:100%;padding:17px 22px;background:#1763ca;color:#fff;border:1px solid #1763ca;border-radius:6px;text-decoration:none;font:600 14px/1.5 Inter,"Segoe UI",system-ui,sans-serif;box-shadow:none;align-self:auto}
body.lks-portal a.chemistry-practice-entry:hover{background:#104f9f;border-color:#104f9f;color:#fff}
body.lks-portal .lks-subject-intro{display:block;min-height:0;padding:36px 0;margin:0 0 28px;background:none!important;border:0;border-radius:0;border-bottom:1px solid #dce3eb}
body.lks-portal .lks-subject-art,body.lks-portal .lks-level-card>img{display:none}
body.lks-portal .lks-subject-intro h1{font-size:clamp(36px,4.5vw,54px);font-weight:650;letter-spacing:-.045em;line-height:1.12;color:#182b40;margin:12px 0 18px}
body.lks-portal .lks-subject-intro p{font-size:16px;line-height:1.7;color:#607286;max-width:740px;margin:0}
body.lks-portal .lks-eyebrow{color:#526779;font-size:11px;letter-spacing:.1em;font-weight:650}
body.lks-portal .lks-breadcrumbs{margin:24px 0 0;font-size:12px;color:#607286}
body.lks-portal .lks-level-choices{gap:20px;margin-bottom:36px}
body.lks-portal .lks-level-card,body.lks-portal .lks-level-card:nth-child(2){display:block;min-height:220px;background:#fff;border:1px solid #dce3eb;border-radius:8px;color:#182b40;box-shadow:none;transform:none}
body.lks-portal .lks-level-card>div{padding:30px}
body.lks-portal .lks-level-card h2{font-size:30px;font-weight:650;margin:14px 0;color:#182b40}
body.lks-portal .lks-level-card p{color:#607286;font-size:14px;max-width:520px}
body.lks-portal .lks-level-card .lks-enter{color:#235c95;font-size:13px}
body.lks-portal .lks-level-card:hover{border-color:#829db8;transform:none;box-shadow:0 4px 16px #18334b09}
body.lks-portal .lks-level-switch{border-color:#dce3eb;margin-bottom:24px}
body.lks-portal .lks-level-links a{border-radius:5px;background:#fff;border-color:#cbd7e2;color:#28435e;font-size:13px}
body.lks-portal .lks-level-links a:hover,body.lks-portal .lks-level-links a[aria-current="page"]{background:#173a58;border-color:#173a58;color:#fff}
body.lks-portal .modern-topic-index{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:18px 0;border-bottom:1px solid #dce3eb}
body.lks-portal .modern-topic-index strong{font-size:12px;color:#526779;margin-right:12px}
body.lks-portal .modern-topic-index a{font-size:12px;color:#295c88;background:#edf3f8;border-radius:4px;padding:8px 10px;text-decoration:none;line-height:1.5}
body.lks-portal .modern-topic-index a:hover{background:#dde9f4}
body.lks-portal .lks-topic-section{margin-bottom:40px;scroll-margin-top:100px}
body.lks-portal .modern-topic-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid #dce3eb;padding-bottom:14px;margin-bottom:20px}
body.lks-portal .modern-topic-heading h2{font-size:22px;font-weight:650;letter-spacing:-.02em;margin:0;color:#182b40}
body.lks-portal .modern-topic-heading>span{font-size:12px;color:#607286;white-space:nowrap}
body.lks-portal .lks-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.lks-portal .lks-resource-card{border:1px solid #dce3eb;border-radius:7px;background:#fff;color:#182b40;box-shadow:none;transform:none}
body.lks-portal .lks-resource-card:hover{border-color:#829db8;transform:none;box-shadow:0 4px 16px #18334b09}
body.lks-portal .lks-resource-card .lks-resource-image{height:160px;width:100%;object-fit:cover;border-radius:0;border-bottom:1px solid #e5ebf1}
body.lks-portal .lks-resource-card h3{font-size:17px;line-height:1.4;font-weight:650;color:#182b40}
body.lks-portal .lks-resource-card p{font-size:13px;line-height:1.65;color:#607286}
body.lks-portal .lks-resource-tag{background:#edf3f8;color:#345675;border-radius:4px;font-size:10px}
body.lks-portal .lks-resource-card .lks-card-bottom{color:#295c88;border-color:#e5ebf1;font-size:12px}
body.lks-portal .site-footer{background:#f8fafc;border-top:1px solid #dce3eb;color:#607286}
body.lks-portal .site-footer-inner{padding:24px 0;font-size:12px;color:#607286}
body.lks-portal :is(a,button):focus-visible{outline:3px solid #1763ca;outline-offset:4px}
@media(max-width:960px){body.lks-portal .practice-panel{align-items:flex-start;flex-direction:column;gap:22px}body.lks-portal .lks-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.lks-student-home .science-hero{grid-template-columns:1fr 220px;gap:32px}}
@media(max-width:760px){body.lks-portal .site-shell,body.lks-portal .site-footer-inner,body.lks-portal #lks-navigation .lks-nav-inner,body.lks-student-home .science-hero,body.lks-student-home .lks-home-section{width:calc(100% - 40px)}body.lks-student-home .science-hero{grid-template-columns:1fr;min-height:0;padding:40px 0;gap:0}body.lks-student-home .hero-index{display:none}body.lks-student-home .science-hero h1{font-size:48px}body.lks-student-home .science-hero p{font-size:16px}body.lks-student-home #explore-subjects .lks-subject-choices{grid-template-columns:1fr;gap:16px}body.lks-student-home #explore-subjects .lks-subject-choice{min-height:180px;padding:24px}body.lks-portal .lks-level-card>div{padding:24px}body.lks-portal .practice-panel{padding:24px}body.lks-portal .modern-topic-heading h2{font-size:20px}body.lks-portal .lks-subject-intro{padding:30px 0}body.lks-portal .lks-resource-grid{gap:16px}}
@media(max-width:520px){body.lks-portal .lks-resource-grid{grid-template-columns:1fr}body.lks-portal a.chemistry-practice-entry{width:100%;font-size:13px;padding:15px 14px}body.lks-portal .modern-topic-heading{align-items:flex-start}body.lks-student-home .subject-button-title{font-size:25px}body.lks-portal .site-footer-inner{flex-direction:column;align-items:flex-start;gap:8px}}
