@scope (#original-content) {
#hm-a-level-textbook{--ink:#163747;--muted:#496571;--teal:#087883;--line:#c8dde2;font:17px/1.7 Arial,Helvetica,sans-serif;color:var(--ink);max-width:1100px;margin:auto;padding:16px;overflow-wrap:anywhere}#hm-a-level-textbook *{box-sizing:border-box}#hm-a-level-textbook h2{font-size:clamp(27px,3.7vw,38px);line-height:1.2;margin:0 0 20px;color:var(--ink)}#hm-a-level-textbook h3{font-size:23px;line-height:1.35;color:var(--ink)}#hm-a-level-textbook h4{font-size:19px;line-height:1.4;margin:0}#hm-a-level-textbook p{margin:14px 0}#hm-a-level-textbook li{margin:12px 0}#hm-a-level-textbook a{color:#066f86;text-decoration:underline;text-underline-offset:3px}#hm-a-level-textbook button,#hm-a-level-textbook input{font:inherit}#hm-a-level-textbook .hm-hero{background:#edf7f7;border:1px solid var(--line);border-radius:22px;padding:30px}#hm-a-level-textbook .hm-eyebrow{font-size:13px;font-weight:bold;letter-spacing:.09em;color:var(--teal)}#hm-a-level-textbook .hm-lead{font-size:20px;line-height:1.65}#hm-a-level-textbook .hm-jump{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}#hm-a-level-textbook .hm-jump a,#hm-a-level-textbook .hm-chip{padding:11px 15px;background:white;border:1px solid var(--line);border-radius:12px;font-size:15px;font-weight:bold;line-height:1.5}#hm-a-level-textbook .hm-cover{margin:28px 0}#hm-a-level-textbook img{display:block;width:100%;height:auto;border-radius:15px}#hm-a-level-textbook figcaption{color:var(--muted);font-size:15px;margin-top:10px}#hm-a-level-textbook .hm-lesson,#hm-a-level-textbook #hm-sources{padding:30px 0;border-top:1px solid var(--line);margin-top:24px;scroll-margin-top:80px}#hm-a-level-textbook .hm-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#hm-a-level-textbook .hm-method-grid article,#hm-a-level-textbook .hm-example{background:#f6fafa;border:1px solid var(--line);padding:24px;border-radius:17px;margin-bottom:20px}#hm-a-level-textbook .hm-method-grid h3{margin-top:0}#hm-a-level-textbook .hm-formula{font-size:21px;font-weight:bold;background:#e5f3f4;padding:14px;border-radius:10px;line-height:1.6}#hm-a-level-textbook .hm-note{border-left:5px solid #e0a536;background:#fff8e9;padding:20px;margin:22px 0}#hm-a-level-textbook .hm-diagram{max-width:560px;margin:28px auto}#hm-a-level-textbook details{border:1px solid var(--line);border-radius:12px;padding:17px 20px;margin:14px 0;background:white}#hm-a-level-textbook summary{font-weight:bold;cursor:pointer;line-height:1.6;min-height:28px}#hm-a-level-textbook details[open]{background:#f0f8f8}#hm-a-level-textbook a:focus-visible,#hm-a-level-textbook button:focus-visible,#hm-a-level-textbook summary:focus-visible,#hm-a-level-textbook input:focus-visible{outline:3px solid #d89b26;outline-offset:4px}#hm-a-level-textbook .hm-controls{border:1px solid var(--line);background:#edf7f7;border-radius:16px;padding:22px;margin:25px 0}#hm-a-level-textbook .hm-controls label{font-weight:bold;display:block}#hm-a-level-textbook input{border:1px solid #82a6af;background:white;border-radius:8px;width:100%;padding:13px;margin:9px 0 14px;color:var(--ink)}#hm-a-level-textbook .hm-chip-group{display:flex;flex-wrap:wrap;gap:9px}#hm-a-level-textbook .hm-chip{cursor:pointer;color:var(--ink)}#hm-a-level-textbook .hm-chip[aria-pressed=true]{background:var(--teal);color:white;border-color:var(--teal)}#hm-a-level-textbook .hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--teal);border-radius:9px;background:white;color:var(--teal);font-weight:bold;cursor:pointer;text-decoration:none;font-size:15px}#hm-a-level-textbook .hm-btn-primary{background:var(--teal);color:white}#hm-a-level-textbook .hm-resource-actions{display:flex;gap:10px;flex-wrap:wrap}#hm-a-level-textbook .hm-section{border-top:3px solid var(--line);padding-top:25px;margin:30px 0;scroll-margin-top:80px}#hm-a-level-textbook .hm-section h3{font-size:21px}#hm-a-level-textbook .hm-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#hm-a-level-textbook .hm-resource{border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px;background:#f7fbfb}#hm-a-level-textbook .hm-resource-note{font-size:14px;color:var(--muted);margin:0}#hm-a-level-textbook .hm-resource-meta{font-size:13px;color:var(--muted)}#hm-a-level-textbook [hidden]{display:none!important}#hm-a-level-textbook .hm-empty{padding:20px;background:#fff4dd;border:1px solid #e7c27a}#hm-a-level-textbook .hm-count{font-weight:bold}#hmAlevelModal{position:fixed;inset:0;background:rgba(8,25,36,.82);z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}#hmAlevelModal .hm-modal-panel{width:min(1100px,100%);height:85vh;background:white;border-radius:18px;display:flex;flex-direction:column;overflow:hidden}#hmAlevelModal .hm-modal-top{padding:15px;display:flex;gap:16px;align-items:center;justify-content:space-between;background:#f0f7f7}#hmAlevelModal h3{font-size:18px;margin:0;line-height:1.4}#hmAlevelModal .hm-modal-actions{display:flex;gap:10px;flex-shrink:0}#hmAlevelModal iframe{border:0;flex:1;width:100%;min-height:0;background:white}#hmAlevelModal .hm-viewer-help{font-size:13px;padding:0 15px;margin:8px 0}@media(max-width:700px){#hm-a-level-textbook{font-size:16px;padding:10px}#hm-a-level-textbook .hm-hero,#hm-a-level-textbook .hm-example,#hm-a-level-textbook .hm-method-grid article{padding:20px 16px}#hm-a-level-textbook .hm-method-grid,#hm-a-level-textbook .hm-card-grid{grid-template-columns:1fr}#hm-a-level-textbook .hm-lead{font-size:18px}#hm-a-level-textbook .hm-controls{padding:16px}#hm-a-level-textbook .hm-formula{font-size:18px}#hm-a-level-textbook ol{padding-left:24px}#hm-a-level-textbook details{padding:15px}#hmAlevelModal{padding:8px}#hmAlevelModal .hm-modal-top{flex-direction:column;align-items:flex-start}#hmAlevelModal .hm-modal-actions{flex-wrap:wrap}#hmAlevelModal .hm-modal-panel{height:90vh}}
#hm-a-level-textbook .hm-chip,#hm-a-level-textbook .hm-btn,#hm-a-level-textbook .hm-jump a{margin:0!important}#hm-a-level-textbook .hm-chip-group{align-items:flex-start}#hm-a-level-textbook .hm-resource-actions{margin-top:auto}

}
