.portal-subpage{background:#f6f8fb;color:#1d2b42;font-size:16px}
.sub-container{width:min(calc(100% - 80px),1160px);margin-inline:auto}
.sub-header{background:#0d1c32;color:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #304766}
.sub-header-inner{width:min(calc(100% - 80px),1160px);min-height:74px;margin:auto;display:flex;align-items:center;gap:38px}
.sub-header .brand-mark{width:32px;height:32px}.sub-header nav{display:flex;align-items:center;gap:27px;margin-left:auto;color:#acc0dc;font-size:13px}.sub-header nav a:hover,.sub-header nav a.current{color:#fff}
.sub-back{font-size:12px;color:#d6e5fd;border:1px solid #527196;padding:8px 15px;border-radius:6px;white-space:nowrap}
.sub-back:hover{background:#1c395b}
.sub-hero{position:relative;background:radial-gradient(circle at 85% 28%,#274368 0%,transparent 44%),linear-gradient(115deg,#12233d,#1a3455);color:#fff;padding:72px 0 57px;overflow:hidden}
.sub-hero .sub-container{position:relative;z-index:2}.sub-kicker{color:#a1c6f7;letter-spacing:.18em;font-size:11px;font-weight:700;display:flex;align-items:center;gap:12px}.kicker-rule{width:24px;height:1px;background:#a1c6f7}
.sub-hero h1{font-size:clamp(36px,4.3vw,62px);line-height:1.31;letter-spacing:-.04em;font-weight:670;margin:22px 0 17px;max-width:810px}.sub-hero h1 em{font-style:normal;color:#a9d2f7}
.sub-hero p{color:#b9cde7;line-height:2;max-width:690px;margin:0;font-size:16px}.sub-hero-stats{display:flex;gap:48px;border-top:1px solid #7793b844;padding-top:24px;margin-top:38px;max-width:660px}
.sub-hero-stats>div{min-width:80px;display:flex;flex-direction:column;gap:4px}.sub-hero-stats strong{font:34px Georgia,serif;color:#f3f9ff}.sub-hero-stats span{font-size:12px;color:#99afcc}
.sub-hero-orb{position:absolute;right:6%;top:34%;border:1px solid #aec8f42b;width:290px;height:290px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#c6e6ff35;font:italic 30px Georgia,serif;transform:rotate(-16deg);box-shadow:0 0 0 55px #9bb8e308,0 0 0 115px #9bb8e306;pointer-events:none}
.sub-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:74px;align-items:start;padding-top:42px;padding-bottom:95px}
.sub-toc{position:sticky;top:111px;padding:22px 13px;border:1px solid #e1e8f0;border-radius:13px;background:#fff;display:flex;flex-direction:column;gap:3px;box-shadow:0 10px 25px #18325009}
.sub-toc>div{font-size:10px;letter-spacing:.15em;color:#9eafc4;font-weight:750;margin:0 9px 11px}.sub-toc a{padding:10px 11px;border-radius:6px;font-size:13px;color:#72839c}.sub-toc a:hover{color:#315e9d;background:#f0f5fc}.sub-toc .sub-toc-cta{background:#17375d;color:#fff;font-weight:700;margin-top:14px;text-align:center}.sub-toc .sub-toc-cta:hover{background:#285084;color:#fff}
.sub-article{min-width:0}.sub-section{padding:43px 0 50px;border-bottom:1px solid #e0e7f0;scroll-margin-top:90px}.sub-section:first-child{padding-top:11px}.sub-section:last-child{border-bottom:0;padding-bottom:0}
.sub-eyebrow{display:block;font-size:11px;color:#6286c4;letter-spacing:.15em;font-weight:750;margin-bottom:15px}.sub-section h2{font-size:clamp(27px,3vw,38px);line-height:1.4;letter-spacing:-.045em;margin:0 0 20px}.sub-section>p{color:#62748e;font-size:15px;line-height:2.08;margin-bottom:22px}.sub-section .sub-lead{font-size:19px;color:#344d70;line-height:1.95}
.insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:30px 0}.insight-grid article{padding:21px 19px;background:#fff;border:1px solid #e5ebf3;border-radius:10px}.insight-grid span{font:21px Georgia,serif;color:#81a1cc}.insight-grid h3{font-size:18px;margin:17px 0 8px}.insight-grid p{color:#7a8a9e;font-size:13px;line-height:1.9;margin:0}
.outcomes-list{display:grid;gap:12px}.outcomes-list>div{display:flex;gap:20px;align-items:start;background:#fff;border:1px solid #e5ebf4;padding:19px 23px;border-radius:9px}.outcomes-list b{font:22px Georgia,serif;color:#7796c3}.outcomes-list p{margin:0;color:#61758e;font-size:15px;line-height:1.9}.outcomes-list strong{color:#294a7b;margin-right:8px}
.module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:28px 0}.module-list>a{background:#fff;border:1px solid #e2e9f4;padding:20px 22px;border-radius:9px;display:flex;flex-direction:column;min-height:147px;transition:transform .2s,border-color .2s}.module-list>a:hover{border-color:#8bb2e2;transform:translateY(-2px)}.module-list small{color:#6289c2;font-size:11px;font-weight:700}.module-list strong{color:#264772;font-size:18px;margin:10px 0 6px}.module-list span{color:#8595aa;font-size:12px;line-height:1.8}
.sub-note{background:#eaf2ff;border-left:3px solid #6895d4;color:#58759c;font-size:13px;line-height:1.95;padding:19px 23px;border-radius:0 9px 9px 0}
.book-list{display:grid;gap:12px;margin-top:25px}.book-list article{background:#fff;border:1px solid #e2eaf3;padding:25px 28px;border-radius:10px}.book-list .book-feature{background:#192f50;color:#fff;border-color:#192f50;box-shadow:0 14px 35px #192f501a}.book-label{font-size:10px;letter-spacing:.13em;color:#6587ba;font-weight:800}.book-feature .book-label{color:#91b7e4}.book-list h3{font-size:21px;line-height:1.5;margin:10px 0 5px}.book-list p{color:#6380a6;font-size:13px;margin:0 0 14px}.book-feature p{color:#acc2e4}.book-list article>span{color:#75869b;font-size:14px;line-height:1.95}.book-feature>span{color:#c7d7ed!important}.book-list article>span a{display:inline-block;color:#436db5;text-decoration:underline;text-underline-offset:3px;margin-left:5px}
.study-steps{display:grid;gap:12px;margin:20px 0 26px}.study-steps>div{display:grid;grid-template-columns:80px 1fr;column-gap:16px;align-items:start;padding:20px 22px;background:#fff;border:1px solid #e4ebf3;border-radius:9px}.study-steps b{grid-row:span 2;color:#557bb6;font-size:13px}.study-steps h3{font-size:17px;margin:0 0 7px}.study-steps p{font-size:14px;color:#7b8ca1;line-height:1.9;margin:0}.sub-primary-link{display:inline-flex;color:#fff;background:#254d80;padding:12px 20px;border-radius:7px;font-size:13px;font-weight:700}.sub-primary-link:hover{background:#326ba8}
.sub-bullets{padding-left:22px;color:#647690;font-size:15px;line-height:2.1}.sub-bullets li{padding:4px 0}
.sub-footer{background:#111f35;color:#97abc7;padding:28px 0;font-size:12px}.sub-footer .sub-container{display:flex;justify-content:space-between;gap:25px}.sub-footer .sub-container>div{display:flex;gap:25px}.sub-footer a:hover{color:#fff}
/* Searchable exercise library */
.problems-hero{padding-bottom:48px}.problems-hero .sub-hero-orb{right:7%;top:27%}.problems-layout{padding:38px 0 100px}.problem-intro-note{display:flex;gap:23px;align-items:baseline;background:#eaf3fc;border-radius:9px;border:1px solid #d5e5f8;padding:17px 22px;margin-bottom:27px}.problem-intro-note strong{color:#2e5789;white-space:nowrap;font-size:14px}.problem-intro-note p{margin:0;color:#5b799a;font-size:13px;line-height:1.9}
.problem-filter-panel{background:#fff;border:1px solid #dce5f0;padding:24px 29px 29px;border-radius:12px;box-shadow:0 12px 28px #1b34530c}.problem-filter-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.problem-filter-head h2{font-size:20px;margin:0}.problem-filter-head button{font-size:12px;color:#4d73aa;border:1px solid #d4e0ee;background:#f5f8fd;border-radius:6px;padding:8px 12px}.problem-filter-head button:hover{background:#eaf2ff}
.problem-controls{display:grid;grid-template-columns:1.35fr 1fr .8fr 1.2fr;gap:14px}.problem-controls label{display:flex;flex-direction:column;color:#72849b;font-size:12px;font-weight:700;gap:8px}.problem-controls select,.problem-controls input{appearance:none;border:1px solid #dae3f0;background-color:#f8fafd;color:#314e72;min-height:43px;border-radius:7px;padding:0 13px;font:13px var(--sans);min-width:0;width:100%}.problem-controls select{background-image:linear-gradient(45deg,transparent 50%,#7e95b1 50%),linear-gradient(135deg,#7e95b1 50%,transparent 50%);background-position:calc(100% - 16px) 19px,calc(100% - 11px) 19px;background-size:5px 5px;background-repeat:no-repeat;padding-right:29px}.problem-controls select:focus-visible,.problem-controls input:focus-visible{outline:2px solid #6997d8;outline-offset:2px}
.problem-results-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:46px 0 20px}.problem-results-title span{font-size:11px;color:#7194c3;letter-spacing:.15em;font-weight:750}.problem-results-title h2{font-size:26px;letter-spacing:-.04em;line-height:1.4;margin:9px 0 0}.problem-results-title>strong{font:16px Georgia,serif;color:#557aad;white-space:nowrap}
.problem-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.problem-card{background:#fff;border:1px solid #e1e9f2;box-shadow:0 8px 28px #19325107;border-radius:12px;padding:25px 27px}.problem-card-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.problem-id{font:11px Georgia,serif;letter-spacing:.13em;color:#88a1c1}.problem-difficulty{font-size:11px;color:#26785e;background:#e7f6ee;padding:4px 10px;border-radius:20px}.problem-difficulty.advanced{color:#925d27;background:#fff2df}.problem-card h3{font-size:19px;margin:18px 0 11px;line-height:1.5;letter-spacing:-.03em}.problem-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#778ca7;font-size:11px}.problem-meta>a{color:#3f70af;border:1px solid #cbdcf1;border-radius:4px;padding:2px 7px}.problem-meta>a:hover{background:#ecf4ff}.problem-meta span::before{content:'·';margin-right:9px;color:#adbacc}.problem-question{font-size:15px;line-height:1.95;color:#3f536f;background:#f6f9fd;padding:17px 18px;border-radius:8px;margin:19px 0 16px;min-height:90px;white-space:pre-line}
.problem-reveal{border-top:1px solid #e7edf5;padding:12px 0 0;margin-top:10px;font-size:13px;line-height:1.95;color:#526a86}.problem-reveal summary{list-style:none;cursor:pointer;color:#507dbb;font-size:13px;font-weight:750;display:flex;justify-content:space-between;align-items:center}.problem-reveal summary::after{content:'＋';font-size:17px;color:#9bb0c9}.problem-reveal[open] summary::after{content:'−'}.problem-reveal summary::-webkit-details-marker{display:none}.problem-reveal p{margin:12px 0 5px;color:#5d708b;white-space:pre-line}.answer-reveal summary{color:#357b69}.answer-reveal[open]{background:#f0f8f5;border-radius:7px;padding:12px 13px 9px;border-top:0;margin-top:12px}.problem-empty{padding:35px;text-align:center;color:#8090a5;background:#fff;border-radius:10px}.problem-tail{background:#eaf1fa;border-radius:12px;margin-top:44px;padding:28px 34px}.problem-tail h3{font-size:19px;margin:0 0 12px}.problem-tail ul{color:#607994;font-size:14px;line-height:2.1;padding-left:22px}.problem-tail a{display:inline-block;font-size:13px;color:#3569ac;font-weight:750;margin-top:8px}
@media(max-width:1100px){.sub-header-inner,.sub-container{width:min(calc(100% - 48px),1160px)}.sub-layout{gap:40px;grid-template-columns:175px minmax(0,1fr)}.sub-hero-orb{right:-100px;opacity:.6}.problem-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.sub-header-inner,.sub-container{width:calc(100% - 34px)}.sub-header-inner{min-height:68px;gap:14px}.sub-header nav{gap:14px}.sub-header nav a{font-size:12px}.sub-back{display:none}.sub-hero{padding:52px 0 43px}.sub-hero h1{font-size:clamp(33px,8vw,47px)}.sub-hero p{font-size:14px}.sub-hero-orb{display:none}.sub-hero-stats{gap:20px;justify-content:space-between}.sub-hero-stats strong{font-size:26px}.sub-hero-stats>div{min-width:0}.sub-layout{display:block;padding-top:20px}.sub-toc{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:7px;padding:12px;margin-bottom:25px}.sub-toc>div{width:100%;margin:2px 5px}.sub-toc a{padding:6px 9px;font-size:12px;background:#f5f8fd}.sub-toc .sub-toc-cta{margin-top:0}.sub-section{padding:36px 0}.sub-section:first-child{padding-top:11px}.sub-section .sub-lead{font-size:17px}.insight-grid{grid-template-columns:1fr}.insight-grid article{padding:19px}.module-list{grid-template-columns:1fr}.module-list>a{min-height:0}.problem-intro-note{display:block}.problem-intro-note p{margin-top:7px}.problem-grid{grid-template-columns:1fr}.problem-results-title{margin-top:35px}.sub-footer .sub-container{display:block}.sub-footer .sub-container>div{margin-top:11px}.problems-layout{padding-bottom:65px}}
@media(max-width:460px){.sub-header nav{gap:10px;margin-left:auto}.sub-header nav a{font-size:11px}.sub-header nav a:first-child{display:none}.sub-header .brand-name{font-size:16px}.sub-hero-stats span{font-size:11px}.problem-controls{grid-template-columns:1fr}.problem-filter-panel{padding:20px}.problem-card{padding:21px}.problem-question{font-size:14px}.study-steps>div{grid-template-columns:1fr}.study-steps b{grid-row:auto;margin-bottom:10px}}
@media print{.sub-header,.sub-toc,.problem-filter-panel,.sub-footer{display:none!important}.sub-hero{color:#111;background:#e9f0f9;padding:25px 0}.sub-hero h1 em{color:#315078}.sub-hero p{color:#53647a}.sub-layout{display:block}.problem-grid{display:block}.problem-card{break-inside:avoid;margin-bottom:16px}}
