/* AA SL shares the book and GCSE palette. All graphs and maths are local. */
.ib-footer{flex-wrap:wrap;align-items:center}.ib-footer .ib-checker-link{color:#f3d18a;text-decoration:underline;text-underline-offset:4px;font-size:11px;line-height:1.7;padding-block:8px;min-height:36px;display:inline-flex;align-items:center}.ib-footer .ib-checker-link:hover{color:#ffe6b3}
.ib-page{--ib-gold:#f3d18a;--ib-text:#f9f4ff;--ib-muted:#cdbddc;--ib-border:#c3a17940;color:var(--ib-text);background:radial-gradient(ellipse at 85% 0,#6a43863b,transparent 50%),#211432;min-height:100vh;isolation:isolate;position:relative}
.ib-page::before{content:'';position:absolute;inset:100px 0 auto;height:740px;z-index:-1;background:linear-gradient(#21143244,#211432 98%),url('/assets/maths-world-background-balanced.webp') center/cover no-repeat;opacity:.25;pointer-events:none}
.ib-page .site-header{position:relative;max-width:none;width:100%;padding-inline:4.5vw;background:#21143288;border-bottom:1px solid #fff1;color:#fbd729}
.ib-page .site-header .header-buy{background:#fbd729}.ib-page .site-header .header-buy:hover{background:#ffe68c}
.ib-page .site-header a{color:#fbd729}.ib-page :focus-visible{outline:3px solid var(--ib-gold);outline-offset:4px}
.ib-skip{position:absolute;top:-80px;left:20px;padding:10px 18px;background:#fbd729;color:#211432;z-index:60}.ib-skip:focus{top:10px}
.ib-wrap{width:min(1210px,calc(100% - 80px));margin-inline:auto}.ib-study-wrap{width:min(1480px,calc(100% - 72px));margin-inline:auto}
.ib-eyebrow{font-size:11px;line-height:1.5;letter-spacing:.12em;font-weight:800;color:var(--ib-gold)}
.ib-masthead{display:flex;align-items:center;justify-content:space-between;padding:48px 0 34px;gap:30px}.ib-masthead h1{font-size:clamp(56px,6.5vw,88px);font-weight:900;letter-spacing:-.04em;line-height:1.18;color:#fbd729;text-shadow:3px 4px 0 #10081d,4px 5px 0 #9b6cbc;max-width:none;margin:8px 0 12px}.ib-masthead h1 span{color:#fff7d8}.ib-intro{color:var(--ib-gold);font-size:19px;font-weight:600}
.course-seal{width:130px;height:130px;flex:0 0 130px;border:1px solid #e8c48580;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#332241bb;box-shadow:0 0 0 8px #d6b97b0a;line-height:1.1;transform:rotate(6deg);color:var(--ib-gold)}.course-seal>span{font-size:23px;letter-spacing:.08em}.course-seal strong{font-size:43px;letter-spacing:-.03em}.course-seal small{font-size:9px;margin-top:9px;letter-spacing:.09em}
.chapter-controls{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;padding:22px 24px;border:1px solid var(--ib-border);border-radius:15px;background:#33213fd9;margin:8px 0 28px}.chapter-controls label{display:block;font-size:12px;font-weight:700;color:#f5dfb7}.chapter-controls input,.chapter-controls select{width:100%;height:48px;margin-top:8px;border:1px solid #b799cb66;border-radius:8px;background:#21152e;color:#fff;padding:11px 14px;font:16px/1.2 var(--body)}.chapter-controls input::placeholder{color:#b9a6ca;font-size:14px}
.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.chapter-heading h2{font-size:24px;letter-spacing:-.02em}.chapter-heading p{color:var(--ib-muted);font-size:12px}
.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.chapter-card{--accent:#cfb1e9;border:1px solid #b799cb3b;border-radius:16px;background:linear-gradient(140deg,#503263cc,#2d1e3ce8);min-width:0;transition:transform .16s,border-color .16s,background .16s;overflow:hidden}.chapter-card.number{--accent:#f0ce86}.chapter-card.functions{--accent:#d6b6f8}.chapter-card.calculus{--accent:#dfb1e3}.chapter-card.statistics{--accent:#a9d9db}.chapter-card.geometry{--accent:#aebdec}.chapter-card.exploration{--accent:#dfd88a}.chapter-card a{padding:23px;display:flex;flex-direction:column;min-height:275px;height:100%;color:inherit}.chapter-card:hover,.chapter-card:focus-within{transform:translateY(-4px);border-color:#e8c485aa;background:linear-gradient(140deg,#68427c,#352345)}.chapter-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;min-height:44px}.chapter-top>span:first-child{font-size:10px;letter-spacing:.12em;color:var(--ib-gold);font-weight:800}.chapter-symbol{height:44px;min-width:52px;padding:5px;font:italic 29px/1.2 'Cambria Math',Cambria,serif;color:var(--accent);text-align:center;border:1px solid #ffffff12;border-radius:10px;background:#130b202e}.chapter-card h2{font-size:23px;line-height:1.22;letter-spacing:-.025em;margin:0 0 11px}.chapter-card p{font-size:13px;line-height:1.65;color:var(--ib-muted);margin:0 0 20px}.chapter-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;font-size:11px;color:var(--accent)}.chapter-enter{font-size:22px}.chapter-progress,.ib-meter{height:4px;border-radius:6px;background:#ffffff16;overflow:hidden}.chapter-progress{margin:14px 0 8px}.chapter-progress>span,.ib-meter>span{height:100%;display:block;background:var(--ib-gold);width:0}.progress-label{font-size:10px;color:#d3c0df}
.empty-search{padding:40px 20px;text-align:center;color:var(--ib-gold)}.resume-card{display:flex;align-items:center;gap:20px;border:1px solid #e8c48588;border-radius:12px;background:#4f345f;margin-bottom:22px;padding:17px 20px}.resume-card span:first-child{font-size:11px;color:#f4d58e}.resume-card strong{font-size:16px}.resume-card>span:last-child{margin-left:auto;font-size:23px;color:var(--ib-gold)}
.course-info{border-top:1px solid var(--ib-border);margin-top:38px;padding:22px 0}.course-info>summary{font-size:14px;font-weight:600;color:var(--ib-gold);cursor:pointer;min-height:44px;display:flex;align-items:center;gap:12px}.course-info>summary::before{content:'+';font-size:20px}.course-info[open]>summary::before{content:'−'}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin:22px 0}.info-grid h3{font-size:16px;color:#f6e5bb;margin-bottom:13px}.info-grid p{font-size:12px;line-height:1.8;color:var(--ib-muted);margin:10px 0}.info-grid a{display:block;font-size:12px;color:#f6d99c;text-decoration:underline;text-underline-offset:4px;margin:12px 0}
.ib-footer{margin-top:30px;padding:25px 0 32px;border-top:1px solid #fff2;display:flex;justify-content:space-between;gap:18px;color:#bcaacb;font-size:10px;line-height:1.7}
.chapter-breadcrumb{display:flex;justify-content:space-between;gap:20px;margin:30px 0 27px;font-size:12px;color:var(--ib-muted)}.chapter-breadcrumb a{color:var(--ib-gold);min-height:32px}.chapter-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:25px}.chapter-title h1{font-size:clamp(30px,3.8vw,46px);line-height:1.16;letter-spacing:-.035em;color:#fff7e8;margin-top:9px}.ib-save-note{font-size:10px;white-space:nowrap;color:#cbb8d7;margin-bottom:5px}
.ib-desk{display:grid;grid-template-columns:195px minmax(0,1fr);border:1px solid var(--ib-border);border-radius:17px;background:linear-gradient(135deg,#362248,#281a39);box-shadow:0 18px 48px #0b041c33;align-items:start;min-height:540px;overflow:clip}.ib-sidebar{background:#1f142e8c;border-right:1px solid var(--ib-border);padding:22px 14px;min-width:0;align-self:stretch}.ib-sidebar nav{display:flex;flex-direction:column;gap:5px}.ib-sidebar nav a{display:flex;align-items:center;min-height:44px;font-size:12px;font-weight:600;padding:10px 13px;border-radius:7px;color:#dfcfe9}.ib-sidebar nav a:hover{background:#ffffff09}.ib-sidebar nav a[aria-current]{color:#f3d18a;background:#edcb8014;box-shadow:inset 2px 0 #f3d18a}.ib-progress-summary{border-top:1px solid #fff1;margin:26px 10px 0;padding-top:19px}.ib-progress-summary strong{display:block;font-size:20px;color:var(--ib-gold);font-weight:700}.ib-progress-summary>span{display:block;font-size:10px;color:var(--ib-muted);margin:3px 0 12px}.chapter-map{margin:22px 10px 0;border-top:1px solid #fff1;padding-top:16px}.chapter-map summary{font-size:11px;color:#d8c6e2;cursor:pointer;min-height:32px}.chapter-map a{display:block;font-size:10px;line-height:1.7;color:#c4b1d0;padding:8px 0}.chapter-map a:hover{color:var(--ib-gold)}.ib-reset{border:0;background:transparent;font-size:10px;color:#b7a4c5;text-align:left;margin:26px 6px 0;padding:8px;min-height:36px;text-decoration:underline}
.ib-panel{padding:32px 34px 38px;min-width:0;color:var(--ib-text)}.panel-title{font-size:27px;line-height:1.25;letter-spacing:-.025em;margin:6px 0 16px}.panel-title:focus{outline:none}.panel-lead{font-size:14px;color:var(--ib-muted);line-height:1.85;max-width:760px;margin:0 0 20px}.list-heading{font-size:16px;margin:30px 0 15px;letter-spacing:-.015em}
.ib-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 8px}.ib-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;background:linear-gradient(125deg,#ffdda0,#ebc578);border:1px solid #ffe3a988;border-radius:9px;color:#2b193d;font-size:12px;font-weight:800;line-height:1.35;cursor:pointer;text-decoration:none}.ib-button:hover{background:#ffe1a1}.ib-button.secondary{background:#3e2a51;color:#f4dfb4;border-color:#c6a57566}.ib-button.secondary:hover{background:#523862}.ib-button:disabled{opacity:.65;cursor:default}.ib-text-button{border:0;background:transparent;color:var(--ib-gold);font-size:12px;padding:10px 5px;min-height:44px;display:inline-flex;align-items:center;cursor:pointer}
.lesson-list{display:grid;gap:8px}.lesson-list>a{display:flex;align-items:center;gap:16px;border:1px solid #c5a57630;border-radius:10px;padding:13px 16px;min-height:64px;background:#ffffff03}.lesson-list>a:hover{background:#fff1;border-color:#c5a57677}.lesson-number{font-size:12px;color:#eaca86;min-width:28px}.lesson-list strong{font-size:13px;line-height:1.5;display:block;font-weight:600}.lesson-list small{display:block;color:#bca8c9;font-size:10px;margin-top:3px}.lesson-list>a>span:last-child{margin-left:auto;color:var(--ib-gold)}.ib-note{font-size:11px;color:#bfaecd;line-height:1.8;margin-top:22px}.source-note{margin-top:30px}
.lesson-jumps{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.lesson-jumps a{min-height:40px;min-width:44px;border:1px solid #c6a57555;border-radius:7px;padding:8px 12px;text-align:center;font-size:12px;color:#d6c2e1}.lesson-jumps a[aria-current]{background:#f1d08c;color:#2a183b;border-color:#f1d08c}.ib-lesson>h3{font-size:24px;line-height:1.3;margin:7px 0 20px}.ib-lesson>p{font-size:14px;line-height:1.9;color:#dfd1e8;margin:15px 0}.ib-formula{font:18px/1.9 'Cambria Math',Cambria,serif;color:#ffe1a5;background:#21152f99;border:1px solid #e6c68235;border-left:3px solid #e6c68288;border-radius:8px;padding:16px 19px;margin:24px 0;overflow-wrap:anywhere}.ib-formula sup{font-size:.75em}.watch-out{border-left:2px solid #cb9dca66;padding:0 0 0 16px;margin:24px 0}.watch-out>b{font-size:11px;letter-spacing:.03em;color:#e1b8df}.watch-out p{font-size:13px;line-height:1.8;color:var(--ib-muted);margin-top:7px}.gdc-tip{border:1px solid #bba4cf33;border-radius:9px;padding:12px 16px;margin:20px 0}.gdc-tip summary{font-size:12px;color:var(--ib-gold);cursor:pointer}.gdc-tip p{font-size:12px;color:var(--ib-muted);line-height:1.8;margin-top:14px}.worked-example{border:1px solid #c7a67544;border-radius:12px;padding:21px 23px;margin:28px 0;background:#fff1}.worked-example h4{font-size:16px;font-weight:600;line-height:1.8;margin:14px 0}.solution-steps{padding-left:24px;font-size:14px;line-height:1.9;color:#e5d9ee;margin:16px 0}.solution-steps li{padding-left:5px;margin:9px 0}.solution-steps li::marker{color:#e9c883}.read-check{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ib-muted);margin:20px 0;min-height:44px}.read-check input{width:18px;height:18px;accent-color:#e9c883}
.ib-plot{border:1px solid #c5a57533;border-radius:10px;background:#1d142b9c;margin:24px 0;padding:10px}.ib-plot svg{width:100%;height:auto;display:block}.plot-grid{stroke:#ffffff12;stroke-width:1;fill:none}.plot-axis{stroke:#b7a0c7;stroke-width:1;fill:none}.plot-label{fill:#bba9c9;font:11px Arial,sans-serif}.plot-curve{stroke:#efce89;stroke-width:2.5;fill:none}.curve-1{stroke:#beadea}.ib-plot figcaption{font-size:11px;color:#d5c1e2;line-height:1.6;text-align:center;padding:5px}
.practice-groups{display:grid;gap:25px}.practice-groups h3{font-size:14px;line-height:1.5;margin-bottom:10px;color:#ead9f3}.practice-groups section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.practice-link{border:1px solid #c6a57544;border-radius:10px;padding:14px 17px;display:grid;grid-template-columns:1fr auto;gap:5px;font-size:12px;background:#fff0;min-height:70px}.practice-link:hover{background:#fff1}.practice-link small{color:var(--ib-muted);font-size:10px;grid-column:1}.practice-link>span:last-child{grid-row:1/3;grid-column:2;color:var(--ib-gold);align-self:center}
.question-meta{display:flex;justify-content:space-between;gap:20px;font-size:10px;line-height:1.5;color:var(--ib-muted);margin:5px 0 18px}.question-meta>span:first-child{background:#f0cf8512;border:1px solid #f0cf8533;border-radius:5px;padding:3px 8px;color:#eac985}.question-meta>a{color:var(--ib-gold)}.ib-question{font-size:20px;line-height:1.75;font-weight:600;margin:27px 0 25px;overflow-wrap:anywhere;color:#fff6e7}.ib-question sup{font-size:.72em}.answer-label{display:block;font-size:12px;margin:18px 0 8px;color:#dac9e5}.ib-page input[type=text],.ib-page textarea{font-family:var(--body)}#ib-answer{width:min(100%,520px);border:1px solid #b99aca88;border-radius:9px;background:#21142e;color:#fff;padding:13px 16px;min-height:50px;font-size:17px;caret-color:#f4d087}#ib-answer:is(textarea){width:100%;font-size:14px;line-height:1.8;resize:vertical}.input-help{font-size:10px;line-height:1.7;color:#bba7ca;margin:8px 0 0}.answer-choices{border:0;margin:0;padding:0}.answer-choices legend{font-size:12px;color:#d6c3e2;margin:0 0 12px}.answer-choices label{display:flex;align-items:center;gap:12px;padding:13px 15px;margin:8px 0;border:1px solid #c6a57540;border-radius:9px;font-size:13px;line-height:1.7;background:#ffffff03;cursor:pointer;min-height:48px}.answer-choices label:has(input:checked){border-color:#eaca85;background:#eaca8512}.answer-choices input{width:17px;height:17px;flex:0 0 17px;accent-color:#efd08c}.ib-feedback{border-left:3px solid #c9afe9;border-radius:6px;background:#241c38;padding:15px 17px;font-size:13px;line-height:1.8;margin:22px 0;color:#ecdef8}.ib-feedback.correct{background:#17312b;color:#c7eddb;border-color:#a5dabf}.ib-feedback.revisit{background:#3e2b35;color:#f4d3ac;border-color:#dca66f}.ib-feedback h3{font-size:16px;margin:3px 0 12px}.ib-feedback .solution-steps{font-size:13px}.review-checklist{list-style:none;padding:0}.review-checklist label{display:flex;gap:10px;padding:8px 0;align-items:start}.review-checklist input{accent-color:#eaca85;margin-top:5px}.ib-help-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.ib-help-actions button{border:1px solid #c6a57566;background:#24172f;color:#e9d4ac;padding:10px 14px;min-height:44px;font-size:11px;border-radius:7px}.ib-help-actions button:hover{background:#51345d}.ib-help-box{border:1px solid #c6a57544;background:#20152f;border-radius:10px;padding:19px;margin-top:14px}.ib-help-box h3{font-size:13px;color:var(--ib-gold);margin-bottom:12px}.ib-help-box>p{font-size:13px;line-height:1.8;color:#d8c5e5}
.ib-result-summary{border:1px solid #c6a57544;background:#21142f99;padding:20px;border-radius:10px;margin:20px 0;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.ib-result-summary strong{font-size:24px;color:#f1d18b}.ib-result-summary span{font-size:12px;color:var(--ib-muted)}.recommendations{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.recommendations a{border:1px solid #d6b37955;color:#f0d394;border-radius:7px;font-size:11px;padding:9px 12px;min-height:40px}.ib-result{border-top:1px solid #fff2;padding:10px 0}.ib-result summary{display:flex;justify-content:space-between;gap:12px;padding:12px 0;cursor:pointer;font-size:12px;line-height:1.6}.ib-result strong{white-space:nowrap;font-size:10px}.good{color:#b4dec8}.warm{color:#efcc88}.ib-result>p{font-size:13px;line-height:1.8;margin:16px 0}.ib-result .your-answer{font-size:12px;color:var(--ib-muted);white-space:pre-wrap;overflow-wrap:anywhere}.ib-result>ul{font-size:12px;line-height:1.8;color:#d3bfe1}
.worksheet-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:28px}.worksheet-options a{display:flex;flex-direction:column;gap:12px;border:1px solid #c6a57555;border-radius:12px;background:#ffffff05;padding:24px}.worksheet-options strong{font-size:18px;color:#f5e1b1}.worksheet-options span{font-size:12px;line-height:1.6;color:var(--ib-muted)}.worksheet-options b{font-size:11px;color:#efce89;margin-top:9px}.worksheet-options a:hover{background:#ffffff0c}
#ia-planner{display:grid;gap:23px;margin-top:28px}#ia-planner label{font-size:13px;color:#f0d7a3;font-weight:600}#ia-planner textarea{display:block;width:100%;font-size:14px;line-height:1.8;margin-top:10px;border:1px solid #ba98cb66;border-radius:9px;background:#21152f;color:#f9f0ff;padding:14px;resize:vertical;font-weight:400}#ia-planner textarea::placeholder{color:#ac96bb;font-size:13px}.next-chapter{display:flex;justify-content:space-between;gap:25px;margin-top:24px;font-size:11px;line-height:1.7;color:var(--ib-gold)}.next-chapter a{padding:8px 0;max-width:46%}
.ib-prob-tools{border-top:1px solid #c6a57544;margin-top:30px;padding-top:14px}.ib-prob-tools summary{font-size:12px;color:var(--ib-gold);min-height:44px;display:flex;align-items:center;cursor:pointer}.ib-prob-tools label{font-size:11px;color:var(--ib-muted);display:block;margin:10px 0}.ib-prob-tools input,.ib-prob-tools select{width:100%;display:block;background:#21152f;color:#fff;border:1px solid #b99aca77;border-radius:6px;padding:9px;margin-top:6px;font-size:14px}.prob-binomial,.prob-normal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ib-prob-tools output{display:block;line-height:1.7;font-size:13px;color:var(--ib-gold);margin:15px 0}
/* Stable desktop workspace: calculator keeps its column even when collapsed. */
@media(min-width:1180px){.ib-desk{grid-template-columns:180px minmax(0,1fr) 308px}.ib-desk>.ib-sidebar{grid-column:1;grid-row:1}.ib-desk>.ib-panel{grid-column:2;grid-row:1;padding:30px}.ib-desk>.scientific-dock{grid-column:3;grid-row:1;padding:26px 17px 26px 0}.ib-desk:not(:has(.scientific-dock))>.ib-panel{grid-column:2/4}.ib-desk .scientific-drawer{top:16px}.ib-desk .scientific-drawer>summary{font-size:11px;gap:5px;padding:11px}.ib-desk .calc-drawer-state{font-size:8px}.ib-desk .mmr-calculator{padding:13px 10px}.ib-desk .calc-digits button{min-height:39px}.ib-desk .calc-functions button{min-height:36px}}
.ib-page .mmr-calculator .calc-input{width:100%;background:transparent!important;color:#172521!important;border:0!important;padding:5px 0!important;box-shadow:none!important;font:17px/1.4 'Cambria Math',Cambria,serif;min-height:30px}.ib-page .calc-menu input,.ib-page .calc-menu select,.ib-page .calc-menu textarea{width:100%;display:block;background:#f6f0fa;color:#22152f;border:1px solid #b59bc7;border-radius:5px;padding:8px;margin-top:5px;font-size:13px;min-height:38px}
@media(max-width:1179px){.ib-desk .scientific-dock{grid-column:2;padding:0 28px 26px;width:min(100%,380px);justify-self:end}.ib-desk .scientific-drawer{position:static}.ib-desk .scientific-drawer>summary{font-size:11px}.ib-study-wrap{width:calc(100% - 48px)}.ib-panel{padding:28px}}
@media(max-width:960px){.ib-page .site-header{flex-wrap:wrap;gap:8px 20px}.ib-page .site-header nav{order:3;width:100%;justify-content:center;gap:23px;padding-top:4px}.ib-page .site-header .cover-nav-label{height:13px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ib-wrap{width:calc(100% - 48px)}.ib-masthead{padding-block:35px 28px}.course-seal{width:110px;height:110px;flex-basis:110px}.course-seal strong{font-size:35px}.ib-desk{grid-template-columns:165px minmax(0,1fr)}.ib-panel{padding:25px}.ib-sidebar{padding-inline:10px}.info-grid{grid-template-columns:1fr;gap:20px}.chapter-title{align-items:start;flex-direction:column;gap:12px}.chapter-title h1{font-size:36px}}
@media(max-width:700px){.ib-page::before{top:140px;opacity:.15;height:500px}.ib-page .site-header{padding:10px 18px 4px}.ib-page .site-header .brand-logo{width:148px}.ib-page .site-header .header-buy{padding-inline:13px;min-height:42px}.ib-page .site-header .cover-buy-label{height:12px}.ib-page .site-header nav{gap:18px}.ib-page .site-header .cover-nav-label{height:11px}.ib-wrap,.ib-study-wrap{width:calc(100% - 32px)}.ib-masthead{padding-top:30px;gap:12px}.ib-eyebrow{font-size:9px;letter-spacing:.08em}.ib-masthead h1{font-size:52px;text-shadow:2px 3px 0 #10081d,3px 4px 0 #9b6cbc;letter-spacing:-.04em}.ib-intro{font-size:14px}.course-seal{width:82px;height:82px;flex-basis:82px;box-shadow:0 0 0 5px #d6b97b0a}.course-seal>span{font-size:15px}.course-seal strong{font-size:27px}.course-seal small{font-size:6px;margin-top:6px}.chapter-controls{padding:16px;grid-template-columns:1fr;gap:14px;margin-top:3px;margin-bottom:23px}.chapter-controls label{font-size:11px}.chapter-controls input,.chapter-controls select{margin-top:6px;height:46px;font-size:16px}.chapter-controls input::placeholder{font-size:12px}.chapter-heading{align-items:baseline;gap:12px}.chapter-heading h2{font-size:21px}.chapter-heading p{font-size:10px;text-align:right}.chapter-grid{gap:11px}.chapter-card a{padding:16px 14px;min-height:257px}.chapter-top{margin-bottom:13px;gap:8px}.chapter-top>span:first-child{font-size:8px;letter-spacing:.05em}.chapter-symbol{height:34px;min-width:35px;font-size:22px;border-radius:7px}.chapter-card h2{font-size:18px;line-height:1.3;margin-bottom:10px}.chapter-card p{font-size:11px;line-height:1.7;margin-bottom:12px}.chapter-bottom{font-size:10px}.progress-label{font-size:9px}.chapter-enter{font-size:18px}.chapter-progress{margin-top:10px}.resume-card{flex-wrap:wrap;gap:5px 12px;padding:14px 16px}.resume-card span:first-child{font-size:9px;flex-basis:100%}.resume-card strong{font-size:13px}.course-info{margin-top:28px}.course-info summary{font-size:12px}.ib-footer{flex-direction:column;font-size:9px;gap:9px;margin-top:20px;padding-block:20px}.chapter-breadcrumb{margin:22px 0 18px;font-size:10px;gap:10px}.chapter-title{gap:9px;margin-bottom:18px}.chapter-title h1{font-size:29px}.ib-save-note{font-size:9px}.ib-desk{display:flex;flex-direction:column;min-height:450px;border-radius:13px}.ib-sidebar{width:100%;border-right:0;border-bottom:1px solid var(--ib-border);padding:12px}.ib-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ib-sidebar nav a{font-size:10px;justify-content:center;padding:8px 5px;text-align:center;min-height:42px;background:#ffffff03;border:1px solid #ffffff09}.ib-sidebar nav a[aria-current]{box-shadow:inset 0 -2px #f3d18a}.ib-progress-summary{display:flex;align-items:center;gap:8px;padding:10px 2px 0;margin:10px 0 0}.ib-progress-summary strong{font-size:12px;white-space:nowrap}.ib-progress-summary>span{font-size:9px;margin:0}.ib-progress-summary .ib-meter{margin-left:auto;width:65px;flex:0 0 65px}.chapter-map{display:none}.ib-reset{font-size:8px;padding:7px 2px;min-height:26px;margin:7px 0 0}.ib-panel{width:100%;padding:22px 19px 28px}.panel-title{font-size:23px;margin-bottom:15px}.panel-lead{font-size:13px;line-height:1.85}.ib-actions{gap:8px;margin-top:19px}.ib-button{font-size:11px;min-height:46px;padding:12px 15px}.ib-text-button{font-size:10px}.list-heading{font-size:14px;margin-top:25px}.lesson-list>a{padding:12px;gap:11px;min-height:64px}.lesson-list strong{font-size:12px}.lesson-list small{font-size:9px}.lesson-number{font-size:10px;min-width:24px}.ib-note{font-size:10px}.ib-lesson>h3{font-size:21px;margin-bottom:16px}.ib-lesson>p{font-size:13px;line-height:1.95}.ib-formula{font-size:16px;padding:14px}.worked-example{padding:18px 16px}.worked-example h4{font-size:14px;line-height:1.9}.solution-steps{font-size:13px;padding-left:20px}.ib-question{font-size:17px;line-height:1.9;margin-top:22px}.answer-choices label{font-size:12px}.question-meta{font-size:9px;gap:12px}#ib-answer{font-size:17px}.input-help{font-size:9px}.ib-help-actions{gap:6px}.ib-help-actions button{font-size:10px;padding-inline:11px}.ib-desk .scientific-dock{align-self:stretch;width:100%;padding:0 18px 22px}.ib-desk .scientific-drawer{width:min(100%,330px);margin-inline:auto}.ib-desk .mmr-calculator{width:100%;margin:0}.ib-result-summary strong{font-size:21px}.ib-result-summary{gap:8px 16px;padding:16px}.ib-result summary{font-size:11px;gap:10px}.ib-result summary>span{max-width:70%}.ib-result strong{font-size:9px}.worksheet-options{grid-template-columns:1fr}.worksheet-options a{padding:20px}.worksheet-options strong{font-size:17px}.practice-groups section>div{grid-template-columns:1fr}.practice-link{min-height:58px;grid-template-columns:1fr auto auto;align-items:center}.practice-link small{grid-column:2}.practice-link>span:last-child{grid-column:3;grid-row:auto}.prob-binomial,.prob-normal{gap:7px}.next-chapter{font-size:10px;margin-top:17px}.ib-prob-tools input{min-width:0}}
@media(max-width:370px){.ib-page .site-header nav{gap:13px}.ib-masthead h1{font-size:45px}.course-seal{width:70px;height:70px;flex-basis:70px}.chapter-card a{padding:14px 11px}.chapter-card h2{font-size:16px}.chapter-top{gap:4px}.chapter-symbol{min-width:28px;font-size:19px}.chapter-top>span:first-child{font-size:7px}.ib-panel{padding-inline:16px}.ib-sidebar nav a{font-size:9px}}
@media(prefers-reduced-motion:reduce){.ib-page *{scroll-behavior:auto;transition:none!important}.chapter-card:hover{transform:none}}
/* The worksheet is a lightweight print document, including offline answer controls. */
.ib-print{background:#f4f1f7;color:#292033;font-family:Arial,sans-serif;font-size:14px}.print-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:18px;position:sticky;top:0;z-index:5;background:#2b193b;color:#f5d495;font-size:12px}.print-controls button{border:1px solid #d7bb7c88;background:#f3d18a;color:#2b193b;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:700;min-height:44px}.print-content{width:min(800px,calc(100% - 40px));margin:28px auto;padding:40px;background:#fff;box-shadow:0 5px 30px #20142e15}.print-heading{border-bottom:2px solid #614079;padding-bottom:23px;margin-bottom:30px}.print-heading img{background:#8083bb;border-radius:8px;padding:6px;margin-bottom:20px}.print-heading>p:first-of-type{font-size:10px;letter-spacing:.07em;color:#755887;margin-bottom:9px}.print-heading h1{font-size:30px;letter-spacing:-.02em;line-height:1.3;margin-bottom:15px}.print-heading p{font-size:12px;line-height:1.8;color:#6c5979}.print-question{padding:0 0 28px;margin-bottom:22px;border-bottom:1px solid #ddd2e4;break-inside:avoid}.print-topic{font-size:10px;color:#79558e;font-weight:700;margin-bottom:10px}.print-question h2{font-size:15px;font-family:Arial,sans-serif;line-height:1.8;letter-spacing:0;font-weight:500}.working-space{height:125px;background:repeating-linear-gradient(to bottom,transparent 0 29px,#e8e1ec 30px 31px);margin:20px 0 5px}.print-solution{display:none;font-size:12px;line-height:1.9;padding:15px;background:#f6f2fa;margin-top:17px}.print-solution ol{padding-left:23px}.with-answers .print-solution{display:block}.with-answers .working-space{display:none}.print-planner-field{margin-bottom:30px;break-inside:avoid}.print-planner-field h2{font-size:17px;letter-spacing:0;margin:15px 0 10px}.print-planner-field p{color:#756180;font-size:11px;line-height:1.7}.print-planner-field>div{min-height:160px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;border:1px solid #e3dae8;padding:14px;margin-top:10px}
@media(max-width:600px){.print-controls{flex-wrap:wrap;gap:10px;padding:12px;font-size:10px}.print-controls button{font-size:10px;padding:10px}.print-content{width:calc(100% - 24px);padding:22px}.print-heading h1{font-size:24px}}
@media print{@page{size:A4;margin:16mm}.ib-print{background:#fff;color:#111}.print-controls{display:none!important}.print-content{width:100%;margin:0;padding:0;box-shadow:none}.print-heading img{width:150px}.print-heading h1{font-size:25px}.print-question{margin-bottom:20px}.print-question h2{font-size:12px}.print-solution{background:#f7f4fa}.print-planner-field{break-inside:auto}.print-planner-field>div{min-height:125px}.print-planner-field:has(div:not(:empty)){break-inside:auto}.print-planner-field:has(div:not(:empty))>div{min-height:0}.ib-page .site-header,.ib-sidebar,.scientific-dock,.ib-footer,.next-chapter{display:none}.ib-study-wrap{width:100%}.ib-page{background:#fff;color:#111}.ib-desk{display:block;background:#fff;border:0}.ib-panel{color:#111}}

.ib-page summary::after{color:var(--ib-gold)}.ib-page .course-info>summary::after{content:none}.offline-notes>summary{color:var(--ib-gold);font-size:13px}.offline-notes h2{font-size:22px;margin:20px 0}.offline-notes h3{font-size:16px;margin:18px 0}.offline-notes .ib-lesson{margin:25px 0 40px}.offline-notes p{line-height:1.9;font-size:14px;color:#dfd1e8}

.ib-table-scroll{max-width:100%;overflow-x:auto;margin:24px 0}.ib-reference-table{border-collapse:collapse;width:100%;font:14px/1.8 'Cambria Math',Cambria,serif;color:#f3e5ff}.ib-reference-table caption{text-align:left;font:600 11px/1.7 var(--body);color:var(--ib-gold);margin-bottom:12px}.ib-reference-table td,.ib-reference-table th{border:1px solid #c6a57544;padding:10px 13px;white-space:nowrap;text-align:center}.ib-reference-table th{background:#67447844;font-weight:600;color:#f2d799}.ib-reference-table tbody th{text-align:left}@media(max-width:700px){.ib-reference-table{font-size:12px}.ib-reference-table td,.ib-reference-table th{padding:8px 10px}}
/* Compact chapter overview. */
.ib-hub .ib-masthead{padding:20px 0 16px}.ib-hub .ib-masthead h1{font-size:54px;margin:4px 0}.ib-hub .ib-intro{font-size:15px}.ib-hub .course-seal{width:80px;height:80px;flex-basis:80px}.ib-hub .course-seal>span{font-size:15px}.ib-hub .course-seal strong{font-size:27px}.ib-hub .course-seal small{font-size:6px;margin-top:5px}.ib-hub .chapter-controls{padding:12px 16px;margin:0 0 14px;gap:16px}.ib-hub .chapter-controls input,.ib-hub .chapter-controls select{height:40px;margin-top:4px;padding:8px 12px}.ib-hub .chapter-heading{margin-bottom:10px}.ib-hub .chapter-heading h2{font-size:20px}.ib-hub .chapter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.ib-hub .chapter-card{border-radius:10px}.ib-hub .chapter-card a{padding:12px 14px;min-height:116px}.ib-hub .chapter-top{min-height:20px;margin-bottom:6px}.ib-hub .chapter-symbol{font-size:19px;height:25px;min-width:30px;padding:0;border:0;background:none}.ib-hub .chapter-card h2{font-size:16px;margin-bottom:6px;line-height:1.25}.ib-hub .chapter-card p{display:none}.ib-hub .chapter-bottom{font-size:10px}.ib-hub .chapter-enter{font-size:16px}.ib-hub .chapter-progress{margin:6px 0 4px;height:3px}.ib-hub .progress-label{font-size:9px}.ib-hub .course-info{margin-top:16px;padding:8px 0}.ib-hub .ib-footer{margin-top:8px;padding:12px 0}.ib-hub .resume-card{padding:10px 16px;margin-bottom:12px}
@media(max-width:1100px){.ib-hub .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ib-hub .chapter-card a{min-height:105px}}
@media(max-width:700px){.ib-hub .ib-masthead{padding:18px 0}.ib-hub .ib-masthead h1{font-size:43px}.ib-hub .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ib-hub .chapter-card a{min-height:110px;padding:11px}.ib-hub .chapter-card h2{font-size:15px}.ib-hub .chapter-controls{gap:9px;padding:12px}.ib-hub .chapter-controls input,.ib-hub .chapter-controls select{font-size:16px}.ib-hub .chapter-top>span:first-child{font-size:8px}}
/* Paper prevalence: compact unreduced fractions, independent of progress. */
.ib-frequency{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--ib-gold);font:600 10px/1.25 var(--body);vertical-align:middle;letter-spacing:0}.ib-count-fraction{display:inline-flex;flex-direction:column;align-items:stretch;text-align:center;font:600 11px/1.05 var(--body);min-width:1.1em;vertical-align:middle}.ib-count-fraction>span{display:block;padding:1px 3px}.ib-count-fraction>span:first-child{border-bottom:1px solid currentColor}.ib-frequency.coursework{color:#d5c5dd;font-size:9px}.ib-frequency-key{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;font-size:10px;line-height:1.6;color:var(--ib-muted);margin:0 0 10px}.ib-frequency-key a,.ib-frequency-context a{color:var(--ib-gold);text-decoration:underline;text-underline-offset:3px}.ib-frequency-context{display:flex;align-items:center;gap:14px;font-size:11px;line-height:1.6;margin:-8px 0 18px}.ib-topic-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ib-topic-meta p{margin:0}.lesson-list .ib-frequency{margin-left:auto;flex-shrink:0}.lesson-list>a>span:last-child{margin-left:0}.lesson-list>a>span:nth-child(2){min-width:0}.practice-groups h3 .ib-frequency{margin-left:10px}.ib-analysis{padding-bottom:50px}.ib-analysis>h1{font-size:clamp(28px,4vw,46px);margin:12px 0 20px}.ib-analysis-method{padding:22px;border:1px solid var(--ib-border);border-radius:12px;background:#ffffff05;margin:24px 0}.ib-analysis-method h2{font-size:20px;margin:0 0 14px}.ib-analysis-method p{font-size:13px;line-height:1.85;color:#decee8;margin:12px 0}.ib-analysis-jumps{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;margin:22px 0}.ib-analysis-jumps a{border:1px solid var(--ib-border);padding:9px 12px;border-radius:8px}.ib-analysis-chapter{scroll-margin-top:24px;margin:38px 0}.ib-analysis-chapter>h2{font-size:23px;line-height:1.5}.ib-analysis-chapter>h2 .ib-frequency{margin-left:10px}.ib-analysis-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.6}.ib-analysis-table caption{text-align:left;font-size:11px;color:var(--ib-muted);margin-bottom:12px}.ib-analysis-table th,.ib-analysis-table td{padding:12px;border:1px solid var(--ib-border);text-align:left;vertical-align:top}.ib-analysis-table thead th{color:var(--ib-gold);background:#ffffff06}.ib-analysis-table tbody th{min-width:195px;font-weight:500}.ib-analysis-table a{color:#efdbb1;text-decoration:underline;text-underline-offset:3px}.ib-analysis-table .ib-evidence{min-width:215px;font-size:10px;line-height:1.8}.ib-analysis-source{border:1px solid var(--ib-border);border-radius:10px;padding:15px;margin:12px 0;scroll-margin-top:25px}.ib-analysis-source summary{font-size:12px;line-height:1.6;cursor:pointer;color:var(--ib-gold)}.ib-analysis-source h3{font-size:14px;margin:22px 0 10px}.ib-analysis-source ul{padding-left:20px;font-size:12px;line-height:1.9;color:#dfd1e8}.ib-analysis-source li{margin-bottom:7px}
@media(max-width:700px){.ib-frequency-key{font-size:9px;gap:3px}.ib-frequency{font-size:9px;gap:4px}.ib-count-fraction{font-size:10px}.lesson-list>a{gap:9px}.lesson-list .ib-frequency{font-size:8px}.ib-frequency-context{font-size:10px}.ib-analysis-method{padding:16px}.ib-analysis-method p{font-size:12px}.ib-analysis-chapter>h2{font-size:20px}.ib-analysis-table{font-size:11px}.ib-analysis-table th,.ib-analysis-table td{padding:10px}.ib-analysis-jumps{font-size:10px}}
@media(min-width:1101px){.ib-hub .ib-masthead{padding:14px 0 12px}.ib-hub .exam-generator-entry{padding:9px 16px;margin-bottom:10px}.ib-hub .resume-card{padding:7px 16px;margin-bottom:9px;min-height:0}.ib-hub .chapter-controls{padding:9px 14px;margin-bottom:10px}.ib-hub .chapter-card a{padding:10px 12px}.ib-hub .chapter-top{min-height:20px;height:20px;margin-bottom:4px}.ib-hub .chapter-symbol{height:20px;font-size:17px}.ib-hub .chapter-card h2{margin-bottom:4px}.ib-hub .chapter-progress{margin:4px 0 3px}.ib-hub .ib-count-fraction{font-size:10px;line-height:1}.ib-hub .ib-count-fraction>span{padding:0 3px}.ib-hub .chapter-bottom{min-height:21px}.ib-hub .ib-frequency-key{margin-bottom:8px}}
/* Course selection and course-scoped study. */
.ib-course-tabs{display:flex;gap:6px;margin:16px 0 6px;padding:5px;border:1px solid var(--ib-border);border-radius:10px;background:#fff1;width:fit-content}.ib-course-tabs a{font-size:12px;font-weight:700;min-width:84px;text-align:center;padding:10px 17px;border-radius:6px;color:#d6c2e1}.ib-course-tabs a[aria-current]{color:#2b1739;background:var(--ib-gold)}.ib-course-tabs a:hover{background:#ffffff15}.ib-course-tabs a[aria-current]:hover{background:#ffe4a1}.ib-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:14px 0 48px}.ib-course-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-height:250px;padding:28px;border:1px solid #d2b78066;border-radius:16px;background:linear-gradient(140deg,#56326d,#2b1b3d);transition:transform .15s,border-color .15s}.ib-course-card:hover{transform:translateY(-4px);border-color:var(--ib-gold)}.ib-course-card h2{font-size:clamp(30px,4vw,46px);color:var(--ib-gold);margin:3px 0}.ib-course-card p{font-size:17px;color:#f5e6ff;margin:0}.ib-course-card strong{font-size:12px;color:#d6c3e0;font-weight:500;line-height:1.7}.ib-course-card>span:last-child{margin-top:auto;font-size:12px;font-weight:700;color:var(--ib-gold)}.ib-course-notice{padding:26px;max-width:740px;border:1px solid var(--ib-border);border-radius:14px;background:#fff1;margin:18px 0 45px}.ib-course-notice h2{font-size:24px;margin-bottom:18px}.ib-course-notice p{font-size:14px;line-height:1.8;margin-bottom:15px;color:#dfcee9}.ib-course-notice .ib-button{margin-right:16px}:is(.hl-hub,.ai-hub) .chapter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}:is(.hl-hub,.ai-hub) .chapter-card a{min-height:125px}:is(.hl-hub,.ai-hub) .ib-frequency-key{margin-top:12px}.exam-skill-links{font-size:11px;line-height:1.8;margin:18px 0;color:var(--ib-muted)}.exam-skill-links summary{cursor:pointer;color:var(--ib-gold)}.exam-skill-links a{color:#f3d48e;text-decoration:underline}.ib-evidence details summary{cursor:pointer}
@media(max-width:1100px){:is(.hl-hub,.ai-hub) .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ib-course-card{padding:22px 18px;gap:12px}.ib-course-card .ib-eyebrow{font-size:8px}}
@media(max-width:700px){.ib-course-grid{grid-template-columns:1fr;gap:12px}.ib-course-card{min-height:185px;padding:22px}.ib-course-card h2{font-size:35px}.ib-course-card p{font-size:15px}.ib-course-tabs{margin-top:12px;display:flex;width:100%}.ib-course-tabs a{flex:1;min-width:0;padding:11px 8px;font-size:11px}:is(.hl-hub,.ai-hub) .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.hl-hub,.ai-hub) .ib-intro{font-size:12px;line-height:1.7}:is(.hl-hub,.ai-hub) .chapter-card a{min-height:130px}:is(.hl-hub,.ai-hub) .chapter-bottom{font-size:9px;gap:5px}.ib-course-notice{padding:20px}.ib-course-notice p{font-size:13px}}

@media(max-width:700px){.ib-page .site-header nav{gap:8px;min-width:0}}

.ib-course-card .course-button-stamp{align-self:center;margin:6px auto 22px;width:142px;height:142px;flex:0 0 142px}.ib-course-card .course-button-stamp>span{font-size:25px}.ib-course-card .course-button-stamp strong{font-size:46px}.ib-course-card .course-button-stamp small{font-size:8px}.ib-course-card:hover .course-button-stamp{transform:rotate(0deg);transition:transform .2s}@media(max-width:700px){.ib-course-card .course-button-stamp{width:110px;height:110px;flex-basis:110px;margin-bottom:16px}.ib-course-card .course-button-stamp>span{font-size:20px}.ib-course-card .course-button-stamp strong{font-size:36px}.ib-course-card .course-button-stamp small{font-size:6px}}

@media(min-width:1101px){.ai-hub .chapter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

@media(min-width:701px){.ai-hub .ib-masthead{padding-block:12px}.ai-hub .ib-masthead h1{font-size:50px}.ai-hub .course-seal{width:85px;height:85px;flex-basis:85px}.ai-hub .course-seal strong{font-size:29px}.ai-hub .course-seal>span{font-size:16px}.ai-hub .course-seal small{font-size:6px}.ai-hub .chapter-controls{padding:8px 12px;margin:10px 0}.ai-hub .chapter-controls input,.ai-hub .chapter-controls select{height:38px}.ai-hub .chapter-card a{min-height:108px;padding:11px 12px}.ai-hub .chapter-card h2{font-size:14px}.ai-hub .chapter-top{margin-bottom:7px}}

/* Readable secondary text and generous controls on phones and small tablets. */
@media screen and (max-width:900px){
 .ib-eyebrow,.chapter-controls label,.chapter-heading p,.chapter-top>span:first-child,
 .chapter-bottom,.ib-hub .chapter-bottom,:is(.hl-hub,.ai-hub) .chapter-bottom,
 .progress-label,.ib-hub .progress-label,.resume-card span:first-child,
 .ib-save-note,.ib-progress-summary>span,.lesson-list small,.lesson-number,
 .ib-note,.question-meta,.answer-label,.answer-choices legend,.input-help,
 .practice-link small,.ib-result strong,.ib-result .your-answer,.ib-result>ul,
 .ib-help-actions button,.ib-help-box>p,.watch-out>b,.gdc-tip p,.read-check,
 .ib-reference-table caption,.ib-frequency-key,.ib-frequency-context,
 .ib-analysis-table caption,.ib-analysis-table .ib-evidence,
 .exam-skill-links,.ib-footer,.ib-footer .ib-checker-link,.next-chapter,
 .ib-prob-tools label,.ib-desk .calc-drawer-state,.calc-key-help{font-size:13px;line-height:1.65}
 .ib-sidebar nav a,.ib-button,.ib-text-button,.chapter-map a,.ib-reset,
 .lesson-jumps a,.gdc-tip summary,.recommendations a,.ib-result summary,
 .ib-analysis-jumps a,.ib-course-tabs a,.ib-analysis-source summary{font-size:13px;min-height:44px}
 .ib-sidebar nav a{padding:11px 8px}
 .ib-button,.ib-text-button{white-space:normal;text-align:center}
 .chapter-breadcrumb{font-size:13px;flex-wrap:wrap;gap:8px 18px}
 .chapter-breadcrumb a,.next-chapter a,.ib-footer a,.question-meta>a,
 .exam-skill-links summary,.exam-skill-links>a,.ib-frequency-key a,
 .ib-frequency-context a{display:inline-flex;align-items:center;min-height:44px}
 .ib-footer{gap:10px;padding-block:22px}
 .ib-footer a{padding-block:10px}
 .chapter-title{flex-wrap:wrap;align-items:start;gap:12px}
 .ib-save-note{white-space:normal;margin:0}
 .ib-progress-summary{flex-wrap:wrap;gap:9px 14px;align-items:center}
 .ib-progress-summary strong{font-size:16px;white-space:normal}
 .ib-progress-summary>span{margin:0}
 .ib-progress-summary .ib-meter{min-width:70px}
 .ib-reset{padding:11px 6px;margin-top:10px}
 .lesson-list strong,.practice-link,.answer-choices label{font-size:14px;line-height:1.65}
 .lesson-list>a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px 12px;padding:15px 13px}
 .lesson-list>a>span:nth-child(2){grid-column:2;grid-row:1;min-width:0}
 .lesson-list .ib-frequency{grid-column:2;grid-row:2;margin-left:0;justify-self:start}
 .lesson-list>a>span:last-child{grid-column:3;grid-row:1/3;align-self:center}
 .ib-frequency,.lesson-list .ib-frequency,.ib-frequency.coursework{font-size:12px;line-height:1.4;gap:6px}
 .ib-count-fraction,.ib-hub .ib-count-fraction{font-size:13px;line-height:1.2}
 .question-meta{flex-wrap:wrap;align-items:center;gap:8px 16px}
 .question-meta>span:first-child{padding:6px 10px}
 .input-help{max-width:65ch;margin-top:11px}
 .ib-help-actions{gap:10px}
 .ib-help-actions button{padding:12px 15px;min-height:44px}
 .review-checklist label{min-height:44px;align-items:start;padding:11px 0;line-height:1.7}
 .ib-result summary{flex-wrap:wrap;gap:7px 14px;padding-block:14px}
 .ib-result summary>span{max-width:100%}
 .ib-result strong{white-space:normal}
 .ib-hub .chapter-card a,:is(.hl-hub,.ai-hub) .chapter-card a{min-height:160px;padding:15px 13px}
 .ib-hub .chapter-card h2{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
 .chapter-top{flex-wrap:wrap;gap:8px;height:auto!important;min-height:28px!important;margin-bottom:10px!important}
 .chapter-bottom{flex-wrap:wrap;align-items:center;gap:8px;line-height:1.65}
 .ib-frequency-key{gap:7px 16px}
 .ib-frequency-context{flex-wrap:wrap;gap:8px 16px}
 .ib-course-tabs a{display:flex;align-items:center;justify-content:center;padding:12px 10px}
 .ib-prob-tools input,.ib-prob-tools select{font-size:16px;min-height:44px}
 .ib-page .site-header nav{flex-wrap:wrap;gap:4px 14px;padding-block:5px}
 .ib-page .site-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 2px}
 .ib-page .site-header .cover-nav-label{height:14px}
 .ib-page .site-header .header-buy{min-height:44px}
 .ib-page .site-header .cover-buy-label{height:14px}
}
@media screen and (max-width:700px){
 .ib-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ib-panel{padding:24px 18px 30px}
 .practice-link{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;min-height:78px;padding:15px}
 .practice-link small{grid-column:1;grid-row:2}
 .practice-link>span:last-child{grid-column:2;grid-row:1/3}
 .ib-hub .chapter-grid,:is(.hl-hub,.ai-hub) .chapter-grid{gap:12px}
 .chapter-controls input,.chapter-controls select,.ib-hub .chapter-controls input,.ib-hub .chapter-controls select{min-height:48px}
 .print-controls{font-size:13px;line-height:1.6;gap:12px}
 .print-controls button{font-size:13px;min-height:44px;padding:12px 16px}
 .print-controls a{display:inline-flex;align-items:center;min-height:44px}
}

.ib-practice-levels{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0}
.ib-practice-levels :is(button,a,select),.ib-level-choice{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid #c6a57566;border-radius:8px;background:#3e2a51;color:#f4dfb4;font:600 13px/1.5 var(--body);cursor:pointer;text-align:center;white-space:normal}
.ib-practice-levels :is([aria-pressed=true],[aria-current]),.ib-level-choice[aria-pressed=true]{background:var(--ib-gold);color:#2b193d;border-color:var(--ib-gold)}
.ib-practice-next{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.ib-practice-next a,.ib-practice-next button{min-height:44px;white-space:normal}
.ib-mastery-summary{display:flex;flex-wrap:wrap;gap:9px 14px;margin-top:15px;line-height:1.7}
.ib-mastery-status{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:100%;font-size:13px;line-height:1.65;color:#d5c4e1}
.ib-mastery-status.needs-review{color:#f1cf9a}.ib-mastery-status.secure{color:#bee6cd}
.ib-fresh-status{font-size:13px;line-height:1.75;color:#cfbfde;margin:14px 0}
@media screen and (max-width:900px){
 .ib-practice-levels{gap:10px;margin-block:20px}
 .ib-practice-levels :is(button,a,select),.ib-level-choice{flex:1 1 90px;font-size:14px;padding:12px 15px}
 .ib-practice-next{align-items:stretch;gap:12px}
 .ib-practice-next .ib-button{flex:1 1 180px}
 .ib-mastery-summary{flex-basis:100%;gap:10px 16px}
 .ib-fresh-status,.ib-mastery-status{font-size:13px}
}
