.textbook-calculation-page{display:grid;gap:1rem}.textbook-calc-page-head{display:grid;gap:.45rem}.textbook-calc-page-head h2{margin:0}.textbook-calc-page-head p{margin:0;max-width:76ch;color:#d0dbea;line-height:1.65}.textbook-calc-tabs{display:flex;gap:.55rem;overflow:auto;padding:.15rem 0 .35rem}.textbook-calc-tabs button{flex:0 0 auto;display:grid;grid-template-columns:28px minmax(130px,auto);align-items:center;gap:.45rem;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#0d1d30;color:inherit;padding:.55rem .65rem;text-align:left;cursor:pointer}.textbook-calc-tabs button small{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.06);font-weight:800}.textbook-calc-tabs button strong{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem}.textbook-calc-tabs button.active{border-color:rgba(95,168,255,.55);background:#132b47}.textbook-calc-active{display:grid;gap:.85rem}.textbook-calc-module-head{display:grid;gap:.45rem;padding:1rem;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:linear-gradient(145deg,#10243c,#0c1a2a)}.textbook-calc-module-head h3{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(1.35rem,3vw,2rem);margin:.1rem 0}.textbook-calc-module-head p{margin:0;color:#d9e4f1;line-height:1.6}.textbook-calc-module-head>small{color:#93a9bf}.textbook-calc-block{display:grid;gap:.75rem;padding:1rem;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:#0b1828}.textbook-calc-block.worked{background:#0d1c2e}.textbook-calc-block.exam{border-color:rgba(103,214,162,.28);background:rgba(25,71,54,.18)}.textbook-calc-block>p{margin:0;line-height:1.65;color:#d8e3ef}.textbook-calc-label{display:flex;gap:.65rem;align-items:center}.textbook-calc-label>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#163454;color:#a9d3ff;font-weight:900}.textbook-calc-label>div{display:grid}.textbook-calc-label small{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#90a7be}.textbook-calc-label strong{font-size:1rem}.textbook-calc-symbols{display:grid;gap:.45rem}.textbook-calc-symbols>div{display:grid;grid-template-columns:84px minmax(0,1fr) 130px;gap:.65rem;align-items:center;padding:.58rem .65rem;border-radius:11px;background:rgba(255,255,255,.035)}.textbook-calc-symbols code,.textbook-calc-rearrangements code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#b9dcff}.textbook-calc-symbols b{color:#7fd8ad;font-size:.82rem}.textbook-calc-unit-note{padding:.65rem .75rem;border-left:3px solid #5fa8ff;background:rgba(95,168,255,.08);border-radius:0 10px 10px 0}.textbook-calc-rearrangements{display:flex;gap:.5rem;flex-wrap:wrap}.textbook-calc-rearrangements code{padding:.5rem .65rem;border-radius:10px;background:#12263f;border:1px solid rgba(95,168,255,.2)}.textbook-calc-block details{border-top:1px solid rgba(255,255,255,.08);padding-top:.6rem}.textbook-calc-block summary{cursor:pointer;font-weight:800;color:#9dccff}.textbook-calc-route{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.4rem}.textbook-calc-route span{padding:.48rem .35rem;border-radius:9px;background:rgba(95,168,255,.08);font-size:.72rem;text-align:center;color:#b9d7f4}.textbook-calc-worked{display:grid;gap:.5rem}.textbook-calc-step{display:none;grid-template-columns:34px minmax(0,1fr);gap:.65rem;align-items:start;padding:.7rem;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06)}.textbook-calc-step.revealed{display:grid}.textbook-calc-step>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#173955;color:#b8ddff;font-weight:900}.textbook-calc-step div{display:grid;gap:.2rem}.textbook-calc-step small{color:#7fd8ad;text-transform:uppercase;letter-spacing:.05em;font-size:.65rem}.textbook-calc-step p{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.55}.textbook-calc-step-actions{display:flex;gap:.5rem;flex-wrap:wrap}.textbook-calc-step-actions button,.textbook-calc-practice button{border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#122943;color:#edf6ff;padding:.55rem .7rem;cursor:pointer}.textbook-calc-practice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.textbook-calc-practice{display:grid;gap:.55rem;padding:.8rem;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.03)}.textbook-calc-practice.independent{border-color:rgba(103,214,162,.2)}.textbook-calc-practice p{margin:0;line-height:1.55}.textbook-calc-practice textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:#081524;color:#f3f8fd;padding:.65rem;font:inherit;line-height:1.5}.textbook-calc-practice textarea:focus{outline:2px solid #5fa8ff;outline-offset:1px}.textbook-calc-guidance{padding:.65rem;border-radius:10px;background:rgba(95,168,255,.07);border:1px solid rgba(95,168,255,.16)}.textbook-calc-guidance ol{margin:.15rem 0 .15rem 1.2rem;padding:0;display:grid;gap:.35rem}.textbook-calc-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.textbook-calc-checklist span{padding:.5rem .6rem;border-radius:9px;background:rgba(103,214,162,.07);font-size:.78rem}.textbook-calc-no-equations::after{content:'This topic has no mapped equation relationship in the course specification, so its existing worked scientific example is retained.';display:block;margin-top:.8rem;padding:.65rem .75rem;border-radius:10px;background:rgba(255,255,255,.035);color:#aebed0;font-size:.8rem}@media(max-width:800px){.textbook-calc-symbols>div{grid-template-columns:64px minmax(0,1fr)}.textbook-calc-symbols b{grid-column:2}.textbook-calc-route{grid-template-columns:repeat(3,minmax(0,1fr))}.textbook-calc-practice-grid{grid-template-columns:1fr}.textbook-calc-checklist{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.textbook-calc-route,.textbook-calc-checklist{grid-template-columns:1fr}.textbook-calc-step-actions{display:grid}.textbook-calc-step-actions button{width:100%}}