/* IB Topic 8 HL Homework, scoped to its isolated root. */
#ib-topic8-acids-bases-hl-homework {--t8-ink:#132c4a;--t8-deep:#173c5f;--t8-teal:#0026FF;--t8-blue:#185eaa;--t8-red:#c73640;--t8-line:#c8d5e0;--t8-green:#0d7b46;--t8-card:#ffffff;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;color:var(--t8-ink);width:100%;max-width:100%;font-size:16px;line-height:1.55;}
#ib-topic8-acids-bases-hl-homework *{box-sizing:border-box;}
#ib-topic8-acids-bases-hl-homework [hidden]{display:none!important;}
#ib-topic8-acids-bases-hl-homework button,#ib-topic8-acids-bases-hl-homework input,#ib-topic8-acids-bases-hl-homework textarea,#ib-topic8-acids-bases-hl-homework select{font:inherit;}
#ib-topic8-acids-bases-hl-homework button{cursor:pointer;}
#ib-topic8-acids-bases-hl-homework button:focus-visible,#ib-topic8-acids-bases-hl-homework textarea:focus-visible,#ib-topic8-acids-bases-hl-homework select:focus-visible,#ib-topic8-acids-bases-hl-homework input:focus-visible{outline:3px solid #1d86dd;outline-offset:2px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open{border:2px solid #0026FF;border-radius:18px;overflow:hidden;background:white;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:4px solid #0026FF;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header h2{font-size:22px;color:#153650;margin:0;font-weight:800;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header>span{font-size:13px;color:#466078;white-space:nowrap;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-toolbar{background:#edf1f5;padding:12px 17px;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;border-bottom:1px solid #cfd8e0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-exit{padding:11px 17px;font-size:13px;white-space:nowrap;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-disclaimer{font-size:12px;max-width:440px;color:#526273;flex:1 1 220px;line-height:1.35;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-score{white-space:nowrap;background:white;border-radius:9px;border:1px solid #ccd7de;padding:7px 10px;font-weight:800;font-size:13px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-saved-label{font-size:11px;color:#4b6974;min-width:125px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-viewer{background:#e8ecf0;overflow:auto;max-height:74vh;padding:16px 12px 24px;scroll-behavior:auto;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-paper{width:100%;max-width:none;margin:0 auto;background:white;border:1px solid #d4dde4;min-height:700px;padding:20px clamp(10px,2vw,28px) 45px;box-shadow:0 2px 9px #33475f13;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-page-num{text-align:right;font-size:12px;color:#788797;border-top:1px solid #dde7ed;padding-top:9px;margin-top:23px;margin-bottom:10px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-page-num:first-child{border-top:0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-section{color:#153858;font-size:22px;margin:20px 0 17px;font-weight:800;border-bottom:2px solid #0026FF;padding-bottom:8px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question{padding:18px 0 24px;border-bottom:1px solid #e0e7ed;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-heading{margin-bottom:6px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-qref{display:inline-block;color:#164e80;font-weight:800;font-size:15px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt{font-size:15px;line-height:1.55;color:#23364a;margin-bottom:12px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt p{margin:0 0 9px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-source{font-size:12px;color:#53748a;margin-bottom:12px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-source summary{cursor:pointer;display:inline-block;color:#206097;text-decoration:underline;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-source img{display:block;width:auto;max-width:100%;height:auto;margin:8px 0;padding:7px;border:1px solid #dce6ec;background:#fafcfe;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-answer-area{margin-top:12px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final-label{display:block;color:#2c4d6b;font-size:13px;font-weight:800;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final{display:block;width:100%;padding:8px 10px;min-height:35px;border:1.5px solid #b7cbd8;border-radius:6px;background:white;font-weight:400;color:#193d59;font-size:15px;outline:none;}
#ib-topic8-acids-bases-hl-homework textarea.ib-t8hl-final{height:35px;resize:vertical;overflow:hidden;line-height:1.5;margin-top:5px;max-width:100%;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final.ib-t8hl-right{border-color:#16a05a!important;background:#dff6e9!important;color:#0c6335!important;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final.ib-t8hl-wrong{border-color:#d44250!important;background:#ffe4e6!important;color:#923341!important;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools button{min-width:29px;background:#f0f7fc;border:1px solid #bed2e0;border-radius:4px;color:#1c5074;padding:2px 6px;font-size:14px;font-weight:700;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools button:hover{background:#d7f8fa;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions{margin-top:12px;display:flex;gap:8px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions button{background:#216ca9;color:white;border:0;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:800;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions button:hover{background:#164f8e;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-model{margin-top:12px;padding:13px 17px;border-left:4px solid #1589bd;background:#f0f7fb;color:#17344b;font-size:14px;line-height:1.65;overflow-wrap:anywhere;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-model p{margin:4px 0 10px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-model p:last-child{margin-bottom:0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-self-note{font-size:13px;color:#60717d;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap{overflow-x:auto;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap table{border-collapse:collapse;width:100%;min-width:410px;font-size:14px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap th,#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap td{border:1px solid #d4e1ed;padding:9px;vertical-align:middle;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap thead th{background:#dcebf8;color:#204965;font-size:13px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-wrap tbody th{text-align:left;font-weight:500;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-table-input{width:100%;min-width:84px;max-width:220px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-dual{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-dual>label{display:block;color:#365a70;font-weight:700;font-size:13px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-dual .ib-t8hl-final{margin-top:5px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-workspace-host{width:100%;margin:16px 0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-work-title{font-weight:800;color:#294f6a;margin:0 0 7px;font-size:13px;display:flex;justify-content:space-between;gap:8px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-work-title span{font-size:11px;color:#6d7986;font-weight:500;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;background:#e8edf2;border:1px solid #c8d4de;border-bottom:0;padding:7px 8px;border-radius:7px 7px 0 0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-tools button{border:1px solid #b6c5d2;background:white;border-radius:5px;padding:4px 7px;font-size:11px;color:#244a6b;font-weight:700;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-tools button.chosen:not([data-color]){background:#145e9a;color:white;border-color:#145e9a;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-tools label{font-size:11px;font-weight:700;color:#375771;display:flex;align-items:center;gap:4px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-tools input[type="range"]{width:95px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-colours{display:flex;align-items:center;gap:5px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-colours button{width:21px;height:21px;border:2px solid #fff;border-radius:50%;padding:0;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-colours button.chosen{outline:2px solid #3b7db4;outline-offset:1px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-surface{position:relative;height:190px;width:100%;border:1px solid #b7c6d4;background:white;overflow:hidden;touch-action:none;cursor:crosshair;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-surface canvas{position:absolute;left:0;top:0;display:block;pointer-events:none;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-text-layer{position:absolute;inset:0;pointer-events:none;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-placed-text{position:absolute;white-space:pre-wrap;font-family:Arial,sans-serif;line-height:1.15;pointer-events:none;min-width:4px;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-inline-editor{position:absolute;z-index:4;min-width:1ch;max-width:100%;min-height:1.25em;resize:none;overflow:visible;border:none;box-shadow:none;background:transparent!important;outline:none!important;white-space:pre-wrap;line-height:1.15;padding:0;margin:0;font-family:Arial,sans-serif;}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-resize{position:absolute;top:2px;right:3px;border:2px solid #92b7cd;border-top:0;border-left:0;height:14px;width:14px;cursor:ns-resize;z-index:5;background:linear-gradient(135deg,transparent 0 60%,#497b99 61% 70%,transparent 71%);}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-complete{padding:9px 14px;border:0;border-radius:7px;background:#176c50;color:white;font-size:12px;font-weight:800;}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-qref small{font-weight:500;color:#62798e;font-size:12px;}

/* SOP 008 locked visual master: Topic 8 SL v1.0.8 (HL identity only). */

.ib-t8hl-hw-closed{position:relative;box-sizing:border-box;aspect-ratio:1.618/1;min-height:500px;padding:46px 52px;background:#f3f5ff;border:2px solid #0026FF;border-radius:18px;text-align:left;overflow:hidden;color:#073b7a}
.ib-t8hl-hw-closed h2{margin:54px 0 38px;font-size:46px;line-height:1.05;font-weight:400;color:#073b7a}
.ib-t8hl-cover-pill{display:inline-flex;align-items:center;justify-content:center;min-width:330px;padding:15px 28px;border-radius:30px;background:#0026FF;color:#fff;font-size:20px;font-weight:700}
.ib-t8hl-cover-features{display:grid;grid-template-columns:240px 280px;gap:22px 28px;max-width:570px}
.ib-t8hl-feature{display:flex;align-items:center;gap:16px;font-size:16px;font-weight:700;line-height:1.25;color:#073b7a}
.ib-t8hl-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:10px;background:#0026FF;color:#fff;font-size:38px;font-weight:700;box-shadow:0 5px 12px #d8a00035}
.ib-t8hl-booklet{position:absolute;right:8%;top:28%;width:190px;height:225px;background:#fff;border:1px solid #eadfbf;border-radius:12px;box-shadow:8px 12px 0 #eee7d8,0 12px 24px #705a2028;transform:rotate(6deg)}
.ib-t8hl-rings{position:absolute;left:-10px;top:24px;color:#073b7a;font-size:19px;line-height:35px;letter-spacing:-3px}.ib-t8hl-hw-label{position:absolute;left:42px;top:37px;width:105px;height:60px;border:2px solid #0026FF;border-radius:8px;display:grid;place-items:center;font-size:34px;font-weight:700}.ib-t8hl-lines{position:absolute;left:42px;top:120px;width:105px;height:48px;background:linear-gradient(#cfd4d9 0 0) 0 0/100% 6px no-repeat,linear-gradient(#cfd4d9 0 0) 0 21px/100% 6px no-repeat,linear-gradient(#cfd4d9 0 0) 0 42px/72% 6px no-repeat}.ib-t8hl-pencil{position:absolute;right:-24px;bottom:12px;color:#0026FF;font-size:92px;line-height:1;transform:rotate(-20deg);text-shadow:1px 1px 0 #073b7a}
.ib-t8hl-hw-start{position:absolute;left:52px;bottom:48px;width:225px;height:62px;padding:0 26px!important;border-radius:10px!important;background:#d92131!important;color:#fff!important;font-size:20px!important;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;box-shadow:0 6px 14px #8d18252b}.ib-t8hl-hw-start span{font-size:30px;font-weight:400}
.ib-t8hl-cover-counters{position:absolute;left:315px;bottom:47px;display:flex;align-items:center;gap:0;border:1px solid #ead8a3;border-radius:12px;background:#fffaf0cc;overflow:hidden}.ib-t8hl-counter{min-width:185px;padding:11px 18px;display:flex;align-items:center;gap:12px}.ib-t8hl-counter+.ib-t8hl-counter{border-left:1px solid #e3c86f}.ib-t8hl-counter-icon{font-size:37px;line-height:1}.ib-t8hl-counter small,.ib-t8hl-counter strong{display:block}.ib-t8hl-counter small{font-size:13px;font-weight:400}.ib-t8hl-counter strong{font-size:17px;margin-top:2px}.ib-t8hl-hw-status{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:800px){.ib-t8hl-hw-closed{aspect-ratio:auto;min-height:650px;padding:28px}.ib-t8hl-hw-closed h2{font-size:38px;margin:34px 0}.ib-t8hl-cover-pill{min-width:0;font-size:17px}.ib-t8hl-cover-features{grid-template-columns:1fr;max-width:340px}.ib-t8hl-booklet{right:5%;top:31%;width:150px;height:180px}.ib-t8hl-cover-counters{left:28px;right:28px;bottom:115px}.ib-t8hl-counter{min-width:0;flex:1}.ib-t8hl-hw-start{left:28px;bottom:35px;width:220px;height:58px}}
@media(max-width:560px){.ib-t8hl-booklet{display:none}.ib-t8hl-cover-features{max-width:none}.ib-t8hl-cover-counters{flex-direction:column;align-items:stretch}.ib-t8hl-counter+.ib-t8hl-counter{border-left:0;border-top:1px solid #e3c86f}.ib-t8hl-hw-closed{min-height:760px}}



.ib-t8hl-homework-photo{position:absolute;right:0;top:0;width:43%;height:100%;background-image:linear-gradient(90deg,#0026FF17 0%,rgba(231,123,40,.08) 9%,rgba(231,123,40,0) 27%),url("t8-hl-homework-desk-v102.webp");background-size:cover;background-position:center;border-radius:0 16px 16px 0;pointer-events:none}
.ib-t8hl-homework-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,249,233,.28),transparent 30%);border-radius:inherit}
@media(max-width:800px){.ib-t8hl-homework-photo{width:42%;opacity:.7}.ib-t8hl-cover-features{position:relative;z-index:2}.ib-t8hl-hw-closed h2,.ib-t8hl-cover-pill,.ib-t8hl-hw-start,.ib-t8hl-cover-counters{z-index:3}}
@media(max-width:560px){.ib-t8hl-homework-photo{display:none}}

/* v1.0.10: hard photo clipping boundary — photo must never enter controls */
.ib-t8hl-homework-photo{left:62%;right:0;width:auto;overflow:hidden;z-index:0;clip-path:inset(0 0 0 0 round 0 16px 16px 0)}
.ib-t8hl-cover-pill,.ib-t8hl-hw-closed h2,.ib-t8hl-cover-features,.ib-t8hl-hw-start,.ib-t8hl-cover-counters{position:relative;z-index:2}
.ib-t8hl-hw-start,.ib-t8hl-cover-counters{position:absolute}
@media(max-width:800px){.ib-t8hl-homework-photo{left:64%;right:0;width:auto}.ib-t8hl-cover-features{position:relative}}

/* v1.0.11: remove visible counter-edge seam and fully isolate photo */
.ib-t8hl-cover-counters{background:#f3f5ff;border:0!important;border-radius:0!important;overflow:visible!important}
.ib-t8hl-counter{background:#f3f5ff}
.ib-t8hl-counter+.ib-t8hl-counter{border-left:1px solid #e3c86f}
.ib-t8hl-homework-photo{left:70%!important;right:0!important;width:auto!important;background-position:center right}
@media(max-width:800px){.ib-t8hl-homework-photo{left:72%!important}}

/* v1.0.12: source artwork crop fix — removes progress panel accidentally baked into the photo asset. */

/* v1.0.0: definitive cover cache/seam fix. New image filename + plugin asset version bust old cached cover artwork. */
.ib-t8hl-homework-photo{left:64%!important;right:0!important;width:auto!important;z-index:0!important;background-image:linear-gradient(90deg,#0026FF17 0%,rgba(231,123,40,.10) 8%,rgba(231,123,40,.03) 22%,rgba(231,123,40,0) 32%),url("t8-hl-homework-desk-v102.webp")!important;background-size:cover!important;background-position:center right!important;}
.ib-t8hl-cover-counters{left:315px!important;right:auto!important;width:auto!important;max-width:380px!important;background:#f3f5ff!important;z-index:5!important;}
.ib-t8hl-hw-start{z-index:5!important;}



/* SOP 008 full-width and live Elementor protections, without changing the approved card geometry. */
#ib-topic8-acids-bases-hl-homework.ib-t8hl-hw{width:100%;max-width:100%;margin:16px 0;overflow:visible;color:#073b7a}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-closed{display:block;grid-template-columns:none;position:relative;width:100%;aspect-ratio:1.618/1;min-height:500px;padding:46px 52px;border:2px solid #0026FF;border-radius:18px;background:#f3f5ff;text-align:left;overflow:hidden;box-shadow:none;line-height:1.3}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-closed h2{color:#073b7a;font-size:46px;font-weight:400;line-height:1.05;margin:54px 0 38px;letter-spacing:normal}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-features{display:grid;grid-template-columns:240px 280px;gap:22px 28px;max-width:570px;margin:0;font-size:16px;font-weight:700}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-feature{display:flex;align-items:center;gap:16px;font-size:16px;font-weight:700;color:#073b7a}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;font-size:38px;background:#0026FF;color:#fff;border-radius:10px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-pill{display:inline-flex;align-items:center;justify-content:center;min-width:330px;background:#0026FF;color:#fff;font-weight:700;font-size:20px;padding:15px 28px;border-radius:30px;letter-spacing:normal}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-start{position:absolute;left:52px;bottom:48px;z-index:5;display:flex;align-items:center;justify-content:space-between;width:250px;height:62px;background:#d92131;color:#fff;font-size:16px!important;font-weight:700;border-radius:10px;padding:0 14px!important;text-align:left;border:0;box-shadow:0 6px 14px #8d18252b;letter-spacing:normal}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-start span{margin:0;font-size:29px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-counters{position:absolute;left:315px;bottom:47px;z-index:5;display:flex;gap:0;margin:0;max-width:380px;width:auto;border:none;border-radius:0;background:#f3f5ff;font-size:15px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter{min-width:185px;background:#f3f5ff;display:flex;align-items:center;gap:12px;padding:11px 18px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter + .ib-t8hl-counter{border-left:1px solid #e3c86f}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter small,#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter strong{display:block;font-size:13px;font-weight:400}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter strong{font-size:17px;font-weight:700}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter-icon{font-size:37px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-homework-photo{position:absolute;left:64%;right:0;top:0;bottom:0;z-index:0;width:auto;height:100%;background-image:linear-gradient(90deg,#0026FF17 0%,rgba(231,123,40,.1) 8%,rgba(231,123,40,.03) 22%,transparent 32%),url("t8-hl-homework-desk-v102.webp");background-size:cover;background-position:center right;border-radius:0 16px 16px 0;overflow:hidden;pointer-events:none;clip-path:inset(0 round 0 16px 16px 0)}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-status{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open{width:100%;max-width:100%;border:2px solid #0026FF;border-radius:14px;overflow:hidden}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{border-bottom:4px solid #0026FF}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-exit{background:#d01f2c;color:#fff;border:0;border-radius:5px;font-weight:700;box-shadow:none}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-toolbar{background:#f1f1f1;border:0}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-score{order:1;background:#fff;border:1px solid #c5cbd2;color:#102a50}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-disclaimer{order:2;color:#4c5866}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-saved-label{order:3}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-viewer{width:100%;max-height:78vh;background:#dfe2e5;padding:14px 8px 24px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-paper{width:calc(100% - 10px);max-width:none;min-height:0;margin:0 auto 20px;padding:28px clamp(14px,3vw,42px) 42px;border:0;box-shadow:0 2px 10px #7774;background:#fff}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-page-num{float:right;border:0;margin:0 0 8px;padding:0;text-align:right;color:#6b7178;font-size:12px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-section{clear:both;font-size:20px;margin:0 0 18px;padding-bottom:7px;border-bottom:1px solid #0026FF;color:#142e4b}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt{font-size:17px;line-height:1.45}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions .ib-t8hl-check{background:#1767b9;color:#fff;border-radius:5px;box-shadow:none}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-model{background:#f3f5ff;border-left:4px solid #0026FF}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-draw-surface{background:#fff;background-image:none}
@media(max-width:960px){
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-closed{min-height:690px;aspect-ratio:auto;padding:28px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-closed h2{font-size:38px;margin:34px 0}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-pill{min-width:0;font-size:17px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-features{grid-template-columns:1fr;max-width:340px;gap:13px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-start{left:28px;bottom:35px;width:220px;height:58px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-counters{left:28px!important;right:28px!important;bottom:115px!important;max-width:380px!important}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-homework-photo{left:72%;opacity:.7}
}
@media(max-width:560px){
#ib-topic8-acids-bases-hl-homework .ib-t8hl-hw-closed{min-height:760px;padding:25px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-features{max-width:none}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-homework-photo{display:none}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-cover-counters{flex-direction:column;align-items:stretch;left:25px!important;right:25px!important;max-width:calc(100% - 50px)!important}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter{min-width:0;flex:1}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-counter+.ib-t8hl-counter{border-left:0;border-top:1px solid #e3c86f}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{flex-direction:column;align-items:flex-start}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-paper{width:100%;padding:17px 12px}
}


/* v1.0.4 — match the established IB worksheet answer panel and Topic 8 SL top bar. */
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{padding:12px 18px;min-height:56px;background:#fff;border-bottom:4px solid #0026FF}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header h2{font-size:20px;line-height:1.25;color:#142e4b}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header>span{font-size:16px;line-height:1.25;color:#142e4b;font-weight:700}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-toolbar{padding:9px 14px;background:#f1f1f1;gap:10px 12px;align-items:center;border:0;font-size:13px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-exit{padding:9px 13px;border-radius:5px;background:#d01f2c;color:#fff;font-size:12px;font-weight:800}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-score{padding:5px 9px;border-radius:4px;font-size:13px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-disclaimer{font-size:11px;line-height:1.3;color:#303b48;max-width:460px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-saved-label{font-size:11px;color:#344456;min-width:110px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question{padding:14px 0 20px;border-bottom:0}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-heading{margin:0 0 4px;text-align:left}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-qref{font-size:14px;color:#173d63}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt{text-align:left!important;font-size:16px;line-height:1.45;margin:0 0 10px;color:#172b42}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-answer-area{margin-top:10px;padding:11px 12px 13px;background:#f1f1f1;text-align:left}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final-label{display:block;text-align:left;font-size:12px;line-height:1.3;margin:0 0 5px;color:#263d55}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-final{min-height:30px;padding:4px 7px;border:1px solid #9da6af;border-radius:1px;font-size:14px;line-height:1.35}
#ib-topic8-acids-bases-hl-homework textarea.ib-t8hl-final{height:30px;margin-top:0;resize:vertical;overflow:hidden}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-dual>label{text-align:left}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:5px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tool-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:28px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-group{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:3px;white-space:nowrap}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-label{margin-right:1px;font-size:14px;font-weight:400;color:#172b42}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools button{min-width:26px;min-height:27px;padding:2px 5px;border:1px solid #a7a7a7;border-radius:3px;background:#fff;color:#222;font-size:13px;font-weight:500;line-height:1.1}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools button:hover{background:#e7edf3}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions{justify-content:flex-end;margin-top:10px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-actions .ib-t8hl-check{padding:8px 13px;background:#1767b9;color:#fff;border-radius:5px;font-size:12px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-self-note{font-size:13px;text-align:left}
@media(max-width:700px){
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{align-items:flex-start}
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header h2{font-size:18px}
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header>span{font-size:14px}
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-dual{grid-template-columns:1fr}
}
@media(max-width:560px){#ib-topic8-acids-bases-hl-homework .ib-t8hl-open-header{flex-direction:column;gap:5px}}


/* v1.0.5 — match established section, continuation, and save-bar alignment. */
#ib-topic8-acids-bases-hl-homework .ib-t8hl-disclaimer{flex:1 1 0;max-width:none;min-width:0;white-space:nowrap;font-size:9px;line-height:1.25}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-saved-label{flex:0 0 auto;min-width:0;margin-left:auto;white-space:nowrap}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-section{text-align:left!important;font-size:18px!important;line-height:1.25;font-weight:700;margin:0 0 16px;padding:0 0 6px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-continued{font-size:14px;font-weight:400!important;color:#666}
@media(max-width:760px){
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-disclaimer{flex:1 1 100%;white-space:normal;font-size:10px}
 #ib-topic8-acids-bases-hl-homework .ib-t8hl-saved-label{margin-left:0}
}


/* v1.0.8 — standard-weight sequential question labels. */
#ib-topic8-acids-bases-hl-homework .ib-t8hl-qref{font-weight:400!important}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt,#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt b,#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt strong{font-weight:400!important}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-question-prompt .ib-t8hl-question-number{font-weight:700!important}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tools{flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px 8px}
#ib-topic8-acids-bases-hl-homework .ib-t8hl-chem-tool-row{display:contents}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-detail-feedback{text-align:left;font-size:13px;margin:12px 0;line-height:1.5} #ib-topic8-acids-bases-hl-homework .ib-t8hl-detail-feedback .correct{color:#08703d} #ib-topic8-acids-bases-hl-homework .ib-t8hl-detail-feedback .incorrect{color:#bf202b}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-inline-editor{pointer-events:auto!important;user-select:text!important;cursor:text!important;caret-color:currentColor!important}

.ib-t8hl-slwork-hw{--ib-t1:#0026FF;--ink:#20242a;max-width:1120px;margin:22px auto;font-family:Arial,sans-serif;color:var(--ink)}.ib-t8hl-slwork-hw button{font:inherit;font-weight:700;cursor:pointer;border-radius:5px;padding:10px 16px;border:0}.ib-t8hl-slwork-hw-closed{padding:32px;background:#f3f5ff;border:1px solid #ead78b;text-align:center;border-radius:8px}.ib-t8hl-slwork-hw-closed h2{margin:0 0 10px}.ib-t8hl-slwork-hw-start{background:#d01f2c;color:#fff}.ib-t8hl-slwork-hw-head{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;padding:14px 18px;border-bottom:4px solid var(--ib-t1)}.ib-t8hl-slwork-hw-head h2{font-size:20px;margin:0}.ib-t8hl-slwork-hw-savebar{padding:10px 18px;background:#f1f1f1;display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:13px}.ib-t8hl-slwork-hw-save{background:#d01f2c;color:#fff}.ib-t8hl-slwork-hw-viewer{background:#dfe2e5;max-height:78vh;overflow:auto;padding:25px}.ib-t8hl-slwork-hw-paper{box-sizing:border-box;background:#fff;width:min(100%,794px);min-height:1123px;margin:0 auto 28px;padding:42px 48px 54px;box-shadow:0 2px 10px #7775;position:relative}.ib-t8hl-slwork-hw-paper:last-child{margin-bottom:0}.ib-t8hl-slwork-hw-section{color:#111;border-bottom:1px solid #0026FF;margin:0 0 16px;padding-bottom:6px;font-size:18px}.ib-t8hl-slwork-continued{font-weight:400;color:#666;font-size:14px}.ib-t8hl-slwork-hw-q{border-bottom:1px solid #ddd;padding:18px 0}.ib-t8hl-slwork-hw-prompt{font-size:17px;line-height:1.45}.ib-t8hl-slwork-hw-work{margin:14px 0;border:1px solid #aeb4bb;background-image:linear-gradient(#e9eef3 1px,transparent 1px),linear-gradient(90deg,#e9eef3 1px,transparent 1px);background-size:20px 20px}.ib-t8hl-slwork-hw-tools{padding:8px;background:#fff;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ib-t8hl-slwork-hw-tools button{padding:6px 10px;background:#46505b;color:#fff;font-size:12px}.ib-t8hl-slwork-hw-tools button.active{background:#0026FF;color:#111}.ib-t8hl-slwork-hw-canvas{display:block;width:100%;height:190px;touch-action:none}.ib-t8hl-slwork-hw-answer{margin-top:14px;padding:13px;background:#f6f7f8}.ib-t8hl-slwork-hw-answer label{display:block;font-weight:700;margin-bottom:7px}.ib-t8hl-slwork-hw-answer textarea{width:100%;min-height:74px;box-sizing:border-box;padding:9px;border:1px solid #9da6af;font:inherit}.ib-t8hl-slwork-hw-check{float:right;background:#2c6e49;color:#fff;margin-top:8px}.ib-t8hl-slwork-hw-feedback{clear:both;padding-top:14px}.ib-t8hl-slwork-hw-feedback[hidden]{display:none}.ib-t8hl-slwork-hw-feedback.good{color:#17633b}.ib-t8hl-slwork-hw-feedback.bad{color:#a3262a}.ib-t8hl-slwork-hw-model{margin-top:10px;padding:11px;background:#f3f5ff;border-left:4px solid var(--ib-t1);line-height:1.45}.ib-t8hl-slwork-hw-answer textarea.good{border:2px solid #2c8b57;background:#e7f6eb}.ib-t8hl-slwork-hw-answer textarea.bad{border:2px solid #cf4d4d;background:#fff0f0}.ib-t8hl-slwork-hw-page{position:absolute;left:48px;right:48px;bottom:22px;color:#6b7178;text-align:center;font-size:12px}@media(max-width:640px){.ib-t8hl-slwork-hw-head{align-items:flex-start;flex-direction:column}.ib-t8hl-slwork-hw-viewer{padding:8px}.ib-t8hl-slwork-hw-paper{padding:24px 18px}.ib-t8hl-slwork-hw-prompt{font-size:16px}}

/* v1.0.6 reusable IB homework cover */
.ib-t8hl-slwork-hw-closed{position:relative;box-sizing:border-box;aspect-ratio:1.618/1;min-height:500px;padding:46px 52px;background:#f3f5ff;border:2px solid #0026FF;border-radius:18px;text-align:left;overflow:hidden;color:#073b7a}
.ib-t8hl-slwork-hw-closed h2{margin:54px 0 38px;font-size:46px;line-height:1.05;font-weight:400;color:#073b7a}
.ib-t8hl-slwork-cover-pill{display:inline-flex;align-items:center;justify-content:center;min-width:330px;padding:15px 28px;border-radius:30px;background:#0026FF;color:#fff;font-size:20px;font-weight:700}
.ib-t8hl-slwork-cover-features{display:grid;grid-template-columns:240px 280px;gap:22px 28px;max-width:570px}
.ib-t8hl-slwork-feature{display:flex;align-items:center;gap:16px;font-size:16px;font-weight:700;line-height:1.25;color:#073b7a}
.ib-t8hl-slwork-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:10px;background:#0026FF;color:#fff;font-size:38px;font-weight:700;box-shadow:0 5px 12px #d8a00035}
.ib-t8hl-slwork-booklet{position:absolute;right:8%;top:28%;width:190px;height:225px;background:#fff;border:1px solid #eadfbf;border-radius:12px;box-shadow:8px 12px 0 #eee7d8,0 12px 24px #705a2028;transform:rotate(6deg)}
.ib-t8hl-slwork-rings{position:absolute;left:-10px;top:24px;color:#073b7a;font-size:19px;line-height:35px;letter-spacing:-3px}.ib-t8hl-slwork-hw-label{position:absolute;left:42px;top:37px;width:105px;height:60px;border:2px solid #0026FF;border-radius:8px;display:grid;place-items:center;font-size:34px;font-weight:700}.ib-t8hl-slwork-lines{position:absolute;left:42px;top:120px;width:105px;height:48px;background:linear-gradient(#cfd4d9 0 0) 0 0/100% 6px no-repeat,linear-gradient(#cfd4d9 0 0) 0 21px/100% 6px no-repeat,linear-gradient(#cfd4d9 0 0) 0 42px/72% 6px no-repeat}.ib-t8hl-slwork-pencil{position:absolute;right:-24px;bottom:12px;color:#0026FF;font-size:92px;line-height:1;transform:rotate(-20deg);text-shadow:1px 1px 0 #073b7a}
.ib-t8hl-slwork-hw-start{position:absolute;left:52px;bottom:48px;width:225px;height:62px;padding:0 26px!important;border-radius:10px!important;background:#d92131!important;color:#fff!important;font-size:20px!important;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;box-shadow:0 6px 14px #8d18252b}.ib-t8hl-slwork-hw-start span{font-size:30px;font-weight:400}
.ib-t8hl-slwork-cover-counters{position:absolute;left:315px;bottom:47px;display:flex;align-items:center;gap:0;border:1px solid #ead8a3;border-radius:12px;background:#fffaf0cc;overflow:hidden}.ib-t8hl-slwork-counter{min-width:185px;padding:11px 18px;display:flex;align-items:center;gap:12px}.ib-t8hl-slwork-counter+.ib-t8hl-slwork-counter{border-left:1px solid #e3c86f}.ib-t8hl-slwork-counter-icon{font-size:37px;line-height:1}.ib-t8hl-slwork-counter small,.ib-t8hl-slwork-counter strong{display:block}.ib-t8hl-slwork-counter small{font-size:13px;font-weight:400}.ib-t8hl-slwork-counter strong{font-size:17px;margin-top:2px}.ib-t8hl-slwork-hw-status{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:800px){.ib-t8hl-slwork-hw-closed{aspect-ratio:auto;min-height:650px;padding:28px}.ib-t8hl-slwork-hw-closed h2{font-size:38px;margin:34px 0}.ib-t8hl-slwork-cover-pill{min-width:0;font-size:17px}.ib-t8hl-slwork-cover-features{grid-template-columns:1fr;max-width:340px}.ib-t8hl-slwork-booklet{right:5%;top:31%;width:150px;height:180px}.ib-t8hl-slwork-cover-counters{left:28px;right:28px;bottom:115px}.ib-t8hl-slwork-counter{min-width:0;flex:1}.ib-t8hl-slwork-hw-start{left:28px;bottom:35px;width:220px;height:58px}}
@media(max-width:560px){.ib-t8hl-slwork-booklet{display:none}.ib-t8hl-slwork-cover-features{max-width:none}.ib-t8hl-slwork-cover-counters{flex-direction:column;align-items:stretch}.ib-t8hl-slwork-counter+.ib-t8hl-slwork-counter{border-left:0;border-top:1px solid #e3c86f}.ib-t8hl-slwork-hw-closed{min-height:760px}}

@media print{.ib-t8hl-slwork-hw-head,.ib-t8hl-slwork-hw-savebar{display:none!important}.ib-t8hl-slwork-hw-viewer{background:#fff!important;max-height:none!important;overflow:visible!important;padding:0!important}.ib-t8hl-slwork-hw-paper{width:210mm;min-height:297mm;height:297mm;margin:0!important;box-shadow:none!important;page-break-after:always;break-after:page;overflow:hidden}.ib-t8hl-slwork-hw-paper:last-child{page-break-after:auto;break-after:auto}}

/* v1.0.9 standard homework cover photographic panel */
.ib-t8hl-slwork-homework-photo{position:absolute;right:0;top:0;width:43%;height:100%;background-image:linear-gradient(90deg,#0026FF17 0%,rgba(231,123,40,.08) 9%,rgba(231,123,40,0) 27%),url("homework-desk.webp");background-size:cover;background-position:center;border-radius:0 16px 16px 0;pointer-events:none}
.ib-t8hl-slwork-homework-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,249,233,.28),transparent 30%);border-radius:inherit}
@media(max-width:800px){.ib-t8hl-slwork-homework-photo{width:42%;opacity:.7}.ib-t8hl-slwork-cover-features{position:relative;z-index:2}.ib-t8hl-slwork-hw-closed h2,.ib-t8hl-slwork-cover-pill,.ib-t8hl-slwork-hw-start,.ib-t8hl-slwork-cover-counters{z-index:3}}
@media(max-width:560px){.ib-t8hl-slwork-homework-photo{display:none}}

/* v1.0.10: hard photo clipping boundary — photo must never enter controls */
.ib-t8hl-slwork-homework-photo{left:62%;right:0;width:auto;overflow:hidden;z-index:0;clip-path:inset(0 0 0 0 round 0 16px 16px 0)}
.ib-t8hl-slwork-cover-pill,.ib-t8hl-slwork-hw-closed h2,.ib-t8hl-slwork-cover-features,.ib-t8hl-slwork-hw-start,.ib-t8hl-slwork-cover-counters{position:relative;z-index:2}
.ib-t8hl-slwork-hw-start,.ib-t8hl-slwork-cover-counters{position:absolute}
@media(max-width:800px){.ib-t8hl-slwork-homework-photo{left:64%;right:0;width:auto}.ib-t8hl-slwork-cover-features{position:relative}}

/* v1.0.11: remove visible counter-edge seam and fully isolate photo */
.ib-t8hl-slwork-cover-counters{background:#f3f5ff;border:0!important;border-radius:0!important;overflow:visible!important}
.ib-t8hl-slwork-counter{background:#f3f5ff}
.ib-t8hl-slwork-counter+.ib-t8hl-slwork-counter{border-left:1px solid #e3c86f}
.ib-t8hl-slwork-homework-photo{left:70%!important;right:0!important;width:auto!important;background-position:center right}
@media(max-width:800px){.ib-t8hl-slwork-homework-photo{left:72%!important}}

/* v1.0.12: source artwork crop fix — removes progress panel accidentally baked into the photo asset. */

/* v1.0.0: definitive cover cache/seam fix. New image filename + plugin asset version bust old cached cover artwork. */
.ib-t8hl-slwork-homework-photo{left:64%!important;right:0!important;width:auto!important;z-index:0!important;background-image:linear-gradient(90deg,#0026FF17 0%,rgba(231,123,40,.10) 8%,rgba(231,123,40,.03) 22%,rgba(231,123,40,0) 32%),url("homework-desk.webp")!important;background-size:cover!important;background-position:center right!important;}
.ib-t8hl-slwork-cover-counters{left:315px!important;right:auto!important;width:auto!important;max-width:380px!important;background:#f3f5ff!important;z-index:5!important;}
.ib-t8hl-slwork-hw-start{z-index:5!important;}


/* v1.0.17 — Q13 electron configurations table. Visual/input settings transplanted from
   the ATAR v1.0.9 worksheet, with IB-only namespacing to prevent cross-site conflicts. */
.ib-t8hl-slwork-ec-widget{font-family:Arial,Helvetica,sans-serif;width:100%;max-width:100%;margin:14px 0;color:#102a43;box-sizing:border-box}
.ib-t8hl-slwork-ec-widget *{box-sizing:border-box}
.ib-t8hl-slwork-ec-instructions{font-size:14px;line-height:1.45;margin:0 0 12px;color:#40566c;background:#f7f9fb;border:1px solid #dce4ec;border-radius:6px;padding:9px 11px}.ib-t8hl-slwork-ec-instructions strong{color:#0d2c4b}
.ib-t8hl-slwork-ec-table-wrap{overflow-x:auto;width:100%}
.ib-t8hl-slwork-ec-table{width:100%;min-width:1010px;table-layout:fixed;border-collapse:separate;border-spacing:0;color:#102a43}
.ib-t8hl-slwork-ec-table col.species{width:64px}.ib-t8hl-slwork-ec-table col.electrons{width:72px}.ib-t8hl-slwork-ec-table col.full{width:300px}.ib-t8hl-slwork-ec-table col.short{width:205px}.ib-t8hl-slwork-ec-table col.orbitals{width:auto}.ib-t8hl-slwork-ec-table col.check{width:82px}
.ib-t8hl-slwork-ec-th{font-size:14px;font-weight:800;color:#536b82;text-align:center;padding:2px 2px;vertical-align:bottom;line-height:1.15}.ib-t8hl-slwork-ec-th.left{text-align:left}
.ib-t8hl-slwork-ec-repeat-head td{padding-top:14px;padding-bottom:3px;border:0}.ib-t8hl-slwork-ec-repeat-head:first-child td{padding-top:4px}
.ib-t8hl-slwork-ec-row td{padding:0 2px;vertical-align:middle}.ib-t8hl-slwork-ec-row-main td{padding-top:0;padding-bottom:5px}.ib-t8hl-slwork-ec-main-spacer{background:transparent}
.ib-t8hl-slwork-ec-species{font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.1;font-weight:700;white-space:nowrap}
.ib-t8hl-slwork-ec-input{width:100%;height:39px;border:1px solid #b7c7d8;border-radius:5px;padding:6px 8px;font-size:15px;color:#132f4c;background:#fff;outline:none}.ib-t8hl-slwork-ec-input:focus{border-color:#4d8bc7;box-shadow:0 0 0 2px rgba(77,139,199,.12)}.ib-t8hl-slwork-ec-input.correct{border-color:#50a868;background:#eef9f1;box-shadow:inset 0 0 0 1px #50a868}.ib-t8hl-slwork-ec-input.incorrect{border-color:#db7b70;background:#fff2f0;box-shadow:inset 0 0 0 1px #db7b70}.ib-t8hl-slwork-ec-full,.ib-t8hl-slwork-ec-short{font-family:Georgia,'Times New Roman',serif;font-size:15px}.ib-t8hl-slwork-ec-electrons{text-align:center;font-weight:700;font-size:15px}
.ib-t8hl-slwork-ec-orbital-head-row td{padding-top:2px;padding-bottom:2px;vertical-align:bottom}.ib-t8hl-slwork-ec-orbital-head-row td:first-child{width:64px}.ib-t8hl-slwork-ec-orbital-head.repeat{display:flex;align-items:end;gap:8px;width:100%;padding-left:0}.ib-t8hl-slwork-ec-head-group{--box:30px;--gap:2px;flex:0 0 calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--gap)));font-size:14px;font-weight:800;color:#536b82;text-align:center;line-height:1.05;padding-bottom:4px;border-bottom:1px solid #b7c7d8;position:relative}.ib-t8hl-slwork-ec-head-group:not(:last-child){margin-right:1px}.ib-t8hl-slwork-ec-head-group:not(:last-child)::after{content:"";position:absolute;right:-3px;bottom:-1px;width:1px;height:5px;background:#b7c7d8}
.ib-t8hl-slwork-ec-row-orbital td{padding-top:0;padding-bottom:16px;border-bottom:1px solid #e7edf3}.ib-t8hl-slwork-ec-row-orbital td:nth-child(2){padding-left:0;padding-right:8px}
.ib-t8hl-slwork-ec-orbitals{display:flex;align-items:center;gap:8px;width:100%;white-space:nowrap}.ib-t8hl-slwork-ec-group{display:flex;gap:2px;position:relative}.ib-t8hl-slwork-ec-group:not(:last-child){margin-right:1px}.ib-t8hl-slwork-ec-group:not(:last-child)::after{content:"";position:absolute;right:-3px;top:2px;bottom:2px;width:1px;background:#d7e0e8}
.ib-t8hl-slwork-ec-orbital{width:30px;height:38px;flex:0 0 30px;border:1px solid #667b90;background:#fff;border-radius:2px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:19px;line-height:1;color:#172f47;cursor:pointer;font-family:Arial,sans-serif}.ib-t8hl-slwork-ec-orbital:hover{background:#f2f7fb}.ib-t8hl-slwork-ec-orbital.correct{border-color:#50a868;background:#eef9f1;box-shadow:inset 0 0 0 1px #50a868}.ib-t8hl-slwork-ec-orbital.incorrect{border-color:#db7b70;background:#fff2f0;box-shadow:inset 0 0 0 1px #db7b70;color:#a52f24}
.ib-t8hl-slwork-ec-check{width:74px;border:0;background:#1767b9;color:#fff;border-radius:5px;padding:10px 7px;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.ib-t8hl-slwork-ec-check.secondary{background:#e9f1f8;color:#173d63;border:1px solid #b7c7d8}.ib-t8hl-slwork-ec-mini-status{font-size:10px;line-height:1.1;text-align:center;white-space:normal;margin-top:3px}.ib-t8hl-slwork-ec-mini-status.ok{color:#2f7a44}.ib-t8hl-slwork-ec-mini-status.bad{color:#a83930}
.ib-t8hl-slwork-ec-model-row td{padding:4px 4px 8px}.ib-t8hl-slwork-ec-model{font-size:13px;line-height:1.35;background:#f6f8fa;border-left:3px solid #8da2b8;border-radius:4px;padding:7px 9px;color:#40566c}.ib-t8hl-slwork-ec-model b{color:#0d2c4b}.ib-t8hl-slwork-ec-model .chem{font-family:Georgia,'Times New Roman',serif}
@media(max-width:1180px){.ib-t8hl-slwork-ec-table col.full{width:270px}.ib-t8hl-slwork-ec-table col.short{width:185px}.ib-t8hl-slwork-ec-repeat-head .ib-t8hl-slwork-ec-th{font-size:13px}.ib-t8hl-slwork-ec-orbital-head.repeat{gap:6px}.ib-t8hl-slwork-ec-head-group{--box:27px;font-size:13px}.ib-t8hl-slwork-ec-orbitals{gap:6px}.ib-t8hl-slwork-ec-orbital{width:27px;flex-basis:27px;height:36px}.ib-t8hl-slwork-ec-input,.ib-t8hl-slwork-ec-full,.ib-t8hl-slwork-ec-short{font-size:14px}}
\n\n/* v1.0.18 — Q13 ATAR-parity interaction/layout fixes.\n   The general IB homework button rule is more specific than a single EC class,\n   so Q13 explicitly overrides it to preserve the ATAR orbital-box geometry. */\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-orbital{\n  width:30px!important;height:38px!important;min-width:30px!important;max-width:30px!important;\n  flex:0 0 30px!important;border:1px solid #667b90!important;background:#fff!important;\n  border-radius:2px!important;padding:0!important;margin:0!important;display:inline-flex!important;\n  align-items:center!important;justify-content:center!important;font-size:19px!important;line-height:1!important;\n  color:#172f47!important;box-shadow:none!important;position:static!important;transform:none!important;\n}\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-orbital:hover{background:#f2f7fb!important}\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-orbital.correct{border-color:#50a868!important;background:#eef9f1!important;box-shadow:inset 0 0 0 1px #50a868!important}\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-orbital.incorrect{border-color:#db7b70!important;background:#fff2f0!important;box-shadow:inset 0 0 0 1px #db7b70!important;color:#a52f24!important}\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-check{\n  width:74px!important;min-width:74px!important;height:auto!important;border:0!important;background:#1767b9!important;\n  color:#fff!important;border-radius:5px!important;padding:10px 7px!important;margin:0!important;\n  font-size:11px!important;font-weight:900!important;line-height:1.2!important;position:static!important;transform:none!important;\n}\n.ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-check.secondary{background:#e9f1f8!important;color:#173d63!important;border:1px solid #b7c7d8!important}\n/* Q13 needs the same working width as the proven ATAR worksheet rather than the normal A4 text column. */\n.ib-t8hl-slwork-hw-q-ec13{width:1010px;max-width:none;margin-left:50%;transform:translateX(-50%);overflow:visible}\n.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-hw-prompt{width:100%;}\n.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table-wrap{overflow-x:visible}\n.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table{min-width:1010px;width:1010px}\n@media(max-width:1100px){\n  .ib-t8hl-slwork-hw-q-ec13{width:960px}\n  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table{min-width:960px;width:960px}\n  .ib-t8hl-slwork-hw button.ib-t8hl-slwork-ec-orbital{width:27px!important;min-width:27px!important;max-width:27px!important;flex-basis:27px!important;height:36px!important}\n}\n

/* v1.0.19 — IB homework standard: full-width worksheet layout.
   Match the approved ATAR full-width homework behaviour while retaining IB-only tracking. */
.ib-t8hl-slwork-hw{
  width:100%!important;
  max-width:100%!important;
  margin:16px 0!important;
}
.ib-t8hl-slwork-hw-open,.ib-t8hl-slwork-hw-head,.ib-t8hl-slwork-hw-savebar,.ib-t8hl-slwork-hw-viewer{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.ib-t8hl-slwork-hw-viewer{
  padding:14px 8px 24px!important;
}
.ib-t8hl-slwork-hw-paper{
  width:calc(100% - 10px)!important;
  max-width:none!important;
  min-height:0!important;
  margin:0 auto 18px!important;
  padding:32px 18px 34px!important;
}
/* Q13 now lives naturally inside the full-width paper; no artificial breakout/centering transform. */
.ib-t8hl-slwork-hw-q-ec13{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  transform:none!important;
  overflow:visible!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table-wrap{
  width:100%!important;
  overflow-x:hidden!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table{
  width:100%!important;
  min-width:1010px!important;
}
@media(max-width:1180px){
  .ib-t8hl-slwork-hw{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
  .ib-t8hl-slwork-hw-paper{width:calc(100% - 4px)!important;padding-left:10px!important;padding-right:10px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table-wrap{overflow-x:auto!important}
}
@media(max-width:640px){
  .ib-t8hl-slwork-hw-viewer{padding:8px 2px 18px!important}
  .ib-t8hl-slwork-hw-paper{width:100%!important;padding:24px 12px!important}
}

/* v1.0.20 — Q13 readability parity with approved ATAR electron-configuration worksheet. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-repeat-head .ib-t8hl-slwork-ec-th{
  font-size:12px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:visible!important;
  letter-spacing:0!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-repeat-head .ib-t8hl-slwork-ec-th:first-child{
  font-size:11px!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-species{
  font-size:18px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-input{
  height:34px!important;
  border:1px solid #9fb2c6!important;
  border-radius:4px!important;
  padding:5px 7px!important;
  font-size:12px!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-full,
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-short{
  font-size:12px!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{
  font-size:12px!important;
  padding-bottom:3px!important;
  border-bottom:1px solid #90a6bb!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{
  gap:6px!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group{
  gap:2px!important;
}
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital{
  width:25px!important;
  min-width:25px!important;
  max-width:25px!important;
  flex:0 0 25px!important;
  height:31px!important;
  border:1.5px solid #5f7690!important;
  border-radius:2px!important;
  background:#fff!important;
  font-size:15px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital:hover{
  background:#f2f7fb!important;
  border-color:#3f607f!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table col.species{width:68px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table col.electrons{width:58px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table col.full{width:235px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table col.short{width:165px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-table col.check{width:78px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat{gap:6px!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{--box:25px!important;--gap:2px!important}
@media(max-width:1180px){
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-repeat-head .ib-t8hl-slwork-ec-th{font-size:11px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-repeat-head .ib-t8hl-slwork-ec-th:first-child{font-size:10px!important}
  .ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital{width:24px!important;min-width:24px!important;max-width:24px!important;flex-basis:24px!important;height:30px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{--box:24px!important}
}


/* v1.0.21 — restore per-orbital red/green marking after readability overrides. */
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital.correct{
  border-color:#50a868!important;
  background:#eef9f1!important;
  box-shadow:inset 0 0 0 1px #50a868!important;
  color:#172f47!important;
}
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital.incorrect{
  border-color:#db7b70!important;
  background:#fff2f0!important;
  box-shadow:inset 0 0 0 1px #db7b70!important;
  color:#a52f24!important;
}


/* v1.0.24 — add thin yellow outline around the open homework panel */
.ib-t8hl-slwork-hw-open{
  border:1px solid var(--ib-t1)!important;
}


/* v1.0.25 — lower orbital labels so they sit directly over the box groups. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head-row td{
  padding-top:0!important;
  padding-bottom:0!important;
  overflow:visible!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat{
  position:relative!important;
  top:8px!important;
  z-index:2!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{
  background:#fff!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-row-orbital td{
  padding-top:0!important;
}

/* v1.0.26 — clearer progress and automated-marking notice */
.ib-t8hl-slwork-hw-progress{
  display:inline-block!important;
  background:#fff!important;
  border:1px solid #d7d7d7!important;
  border-radius:4px!important;
  padding:7px 11px!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.1!important;
  color:#111!important;
}
.ib-t8hl-slwork-hw-marking-note{
  font-size:13px!important;
  line-height:1.35!important;
  color:#222!important;
}


/* v1.0.27 — reserve a dedicated control row for CHECK/HIDE buttons.
   Buttons must never float into or overlap the next question. */
.ib-t8hl-slwork-hw-check{
  float:none!important;
  display:block!important;
  margin:10px 0 12px auto!important;
  clear:both!important;
}
.ib-t8hl-slwork-hw-answer{
  display:flow-root!important;
}


/* v1.0.28 — inline working-area text editor; never use browser prompt dialogs. */
.ib-t8hl-slwork-hw-inline-text{
  position:absolute!important;
  z-index:20!important;
  width:180px!important;
  min-width:42px!important;
  min-height:28px!important;
  padding:3px 5px!important;
  margin:0!important;
  border:1px solid #64788d!important;
  border-radius:2px!important;
  background:#fff!important;
  color:#222!important;
  line-height:1.2!important;
  resize:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  font-family:Arial,sans-serif!important;
  box-shadow:0 1px 3px #0002!important;
}


/* v1.0.29 — one-character transparent text entry, movable placed text, student colour buttons. */
.ib-t8hl-slwork-hw-inline-text{
  width:1ch!important;
  min-width:1ch!important;
  min-height:1em!important;
  height:1.2em!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#222!important;
  line-height:1.2!important;
  resize:none!important;
  overflow:hidden!important;
  white-space:pre!important;
}
.ib-t8hl-slwork-hw-inline-text:focus{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.ib-t8hl-slwork-hw-colours{display:inline-flex;align-items:center;gap:5px;margin-left:2px}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour{
  width:22px!important;height:22px!important;min-width:22px!important;padding:0!important;border-radius:50%!important;
  border:2px solid #fff!important;box-shadow:0 0 0 1px #7b8794!important;
}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour[data-colour="#222222"]{background:#222222!important}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour[data-colour="#1767b9"]{background:#1767b9!important}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour[data-colour="#2c8b57"]{background:#2c8b57!important}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour[data-colour="#7446a8"]{background:#7446a8!important}
.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour.active{box-shadow:0 0 0 2px #111!important}

.ib-t8hl-slwork-hw-tools button.ib-t8hl-slwork-hw-colour[data-colour="#c62828"]{background:#c62828!important}


/* v1.0.31 — neutral blue CHECK/HIDE buttons for normal homework questions. */
.ib-t8hl-slwork-hw-check{
  background:#1767b9!important;
  color:#fff!important;
}
.ib-t8hl-slwork-hw-check:hover{background:#145a9f!important}

/* v1.0.32 — restore the proven ATAR v1.0.9 orbital header/box geometry exactly.
   This deliberately overrides the later label-lowering/readability experiments. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head-row td{
  padding-top:2px!important;
  padding-bottom:2px!important;
  vertical-align:bottom!important;
  overflow:visible!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat{
  display:flex!important;
  align-items:flex-end!important;
  gap:8px!important;
  width:100%!important;
  padding-left:0!important;
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{
  --box:30px!important;
  --gap:2px!important;
  flex:0 0 calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--gap)))!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#536b82!important;
  text-align:center!important;
  line-height:1.05!important;
  padding-bottom:4px!important;
  border-bottom:1px solid #b7c7d8!important;
  background:transparent!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  white-space:nowrap!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group{
  gap:2px!important;
}
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  flex:0 0 30px!important;
  height:38px!important;
  border:1px solid #667b90!important;
  font-size:19px!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-row-orbital td{
  padding-top:0!important;
  padding-bottom:16px!important;
}
@media(max-width:1180px){
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat{gap:6px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{--box:27px!important;font-size:13px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{gap:6px!important}
  .ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital{
    width:27px!important;min-width:27px!important;max-width:27px!important;
    flex-basis:27px!important;height:36px!important;
  }
}

/* v1.0.34 — make orbital subshell grouping unmistakably clear.
   Header groups and box groups use exactly the same calculated width. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat,
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{
  gap:12px!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group,
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group{
  --box:30px;
  --inside-gap:2px;
  flex:0 0 calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--inside-gap)))!important;
  width:calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--inside-gap)))!important;
  min-width:calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--inside-gap)))!important;
  max-width:calc((var(--n) * var(--box)) + ((var(--n) - 1) * var(--inside-gap)))!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{
  position:relative!important;
  padding:0 0 5px!important;
  border-bottom:2px solid #5f7690!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  color:#2f4e69!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group::before,
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group::after{
  content:""!important;
  position:absolute!important;
  bottom:-2px!important;
  width:2px!important;
  height:7px!important;
  background:#5f7690!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group::before{left:0!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group::after{right:0!important}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group{
  display:flex!important;
  gap:2px!important;
  position:relative!important;
}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group:not(:last-child)::after{
  content:""!important;
  position:absolute!important;
  right:-7px!important;
  top:0!important;
  bottom:0!important;
  width:1px!important;
  background:#c3ced8!important;
}
@media(max-width:1180px){
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat,
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{gap:10px!important}
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group,
  .ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group{--box:27px}
}


/* v1.0.35 — final-answer field is one line high by default but remains vertically expandable. */
.ib-t8hl-slwork-hw-answer textarea{
  min-height:38px!important;
  height:38px;
  line-height:1.35!important;
  resize:vertical!important;
  overflow:auto!important;
}


/* v1.0.36 — Marked final answer starts one line high and automatically grows downward. */
.ib-t8hl-slwork-hw-answer textarea{
  min-height:38px!important;
  height:38px;
  overflow:hidden!important;
  resize:none!important;
}

/* v1.0.37 — working-area inline text must visibly grow while typing. */
.ib-t8hl-slwork-hw-inline-text{
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
}

/* v1.0.38 — manually extendable student working area.
   Starts at the approved height, only extends downward, and persists per question. */
.ib-t8hl-slwork-hw-work{
  position:relative!important;
}
.ib-t8hl-slwork-hw-canvas{
  min-height:190px!important;
  height:190px;
}
.ib-t8hl-slwork-hw-resize-handle{
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:ns-resize;
  touch-action:none;
  background:#f7f9fb;
  border-top:1px solid #c7d1db;
  user-select:none;
}
.ib-t8hl-slwork-hw-resize-handle span{
  display:block;
  width:54px;
  height:4px;
  border-radius:999px;
  background:#8b99a7;
}
.ib-t8hl-slwork-hw-resize-handle:hover span{
  background:#5f6f7f;
}

/* v1.0.39 — move working-area resize control to the top-right corner.
   No full-width resize strip or line against the lower edge. */
.ib-t8hl-slwork-hw-resize-handle{
  position:absolute!important;
  top:44px!important;
  right:6px!important;
  width:24px!important;
  height:24px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid #aeb8c2!important;
  border-radius:4px!important;
  cursor:ns-resize!important;
  z-index:15!important;
  touch-action:none!important;
}
.ib-t8hl-slwork-hw-resize-handle span{
  width:11px!important;
  height:11px!important;
  border:0!important;
  border-right:2px solid #748392!important;
  border-bottom:2px solid #748392!important;
  border-radius:0!important;
  background:transparent!important;
  transform:rotate(45deg)!important;
}
.ib-t8hl-slwork-hw-resize-handle:hover span{
  background:transparent!important;
  border-color:#465563!important;
}


/* v1.0.40 — fixed orbital alignment grid.
   Labels and boxes share one hidden 18-column table so 2s/2p/3s etc cannot drift. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-wrap{width:100%;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-col{width:calc(100% / 18);}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-head,.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-boxcell{background:#fff;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-head.alt,.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-boxcell.alt{background:#f4f6f8;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-head{padding:0 0 5px 0;border-bottom:1px solid #8ca0b3;color:#35536f;font-size:14px;font-weight:800;line-height:1;text-align:center;white-space:nowrap;box-shadow:inset 1px 0 0 #d7e0e8,inset -1px 0 0 #d7e0e8;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid-boxcell{padding:7px 2px 2px 2px;text-align:center;box-shadow:inset 1px 0 0 #edf1f5,inset -1px 0 0 #edf1f5;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-grid .ib-t8hl-slwork-ec-orbital{display:inline-flex!important;margin:0 auto!important;}
/* Neutralise earlier flex-based orbital alignment experiments. */
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head-row{display:none!important;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbital-head.repeat,.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-orbitals{display:block!important;gap:0!important;width:auto!important;}
.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-group,.ib-t8hl-slwork-hw-q-ec13 .ib-t8hl-slwork-ec-head-group{display:block!important;flex:none!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important;}


/* v1.0.41 — page identifier moved from footer to top-right page header. */
.ib-t8hl-slwork-hw-page{display:none!important;}
.ib-t8hl-slwork-hw-pagehead{
  position:absolute!important;
  top:12px!important;
  right:18px!important;
  font-size:11px!important;
  line-height:1.2!important;
  color:#66727e!important;
  text-align:right!important;
  white-space:nowrap!important;
  z-index:2!important;
}
.ib-t8hl-slwork-hw-section{padding-right:330px!important;}
@media(max-width:760px){
  .ib-t8hl-slwork-hw-pagehead{position:static!important;margin:0 0 8px!important;white-space:normal!important;}
  .ib-t8hl-slwork-hw-section{padding-right:0!important;}
}


/* v1.0.42 — paired orbital arrows must remain side-by-side in one box. */
.ib-t8hl-slwork-hw-q-ec13 button.ib-t8hl-slwork-ec-orbital{
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
  word-break:keep-all!important;
  overflow:hidden!important;
  letter-spacing:-1px!important;
  font-family:"Segoe UI Symbol",Arial,sans-serif!important;
}

/* v1.0.48 — Q6 click-to-select isotope response; Q7 no working area. */
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choices{
  display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 14px;
}
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choice{
  min-width:84px;padding:10px 14px;border:1px solid #9aa9b8;border-radius:6px;
  background:#fff;color:#17324d;font-family:Georgia,'Times New Roman',serif;font-size:18px;cursor:pointer;
}
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choice.selected{
  border-color:#1767b9;box-shadow:inset 0 0 0 2px #1767b9;background:#eef5fb;
}
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choice.correct{
  border-color:#50a868!important;box-shadow:inset 0 0 0 2px #50a868!important;background:#eef9f1!important;
}
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choice.incorrect{
  border-color:#db7b70!important;box-shadow:inset 0 0 0 2px #db7b70!important;background:#fff2f0!important;
}
.ib-t8hl-slwork-hw-q-isotope-select .ib-t8hl-slwork-isotope-choice.missed{
  border-color:#d6a21f!important;box-shadow:inset 0 0 0 2px #d6a21f!important;background:#fff8df!important;
}

/* v1.0.49 — Q6 drag/drop into two isotope sets */
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-pool{
  display:flex;flex-wrap:wrap;gap:10px;min-height:58px;padding:10px;margin:12px 0 16px;
  border:1px solid #c6d0da;border-radius:6px;background:#fafbfc;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-sets{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 14px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-set{
  border:1px solid #c6d0da;border-radius:6px;background:#fff;padding:10px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-set-title{
  font-weight:800;color:#334e68;margin-bottom:8px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-slots{
  display:grid;grid-template-columns:repeat(3,minmax(72px,1fr));gap:8px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-slot{
  min-height:48px;border:1px dashed #9aa9b8;border-radius:5px;background:#fbfcfd;
  display:flex;align-items:center;justify-content:center;padding:3px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-choice{
  min-width:74px;min-height:38px;padding:7px 10px;
  border:1px solid #7f8f9f!important;border-radius:5px;background:#fff!important;
  color:#17324d!important;font-family:Georgia,'Times New Roman',serif;font-size:18px;
  cursor:grab;box-shadow:none!important;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-choice:active{cursor:grabbing}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-choice.dragging{opacity:.45}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-choice.picked{
  outline:2px solid #1767b9;outline-offset:2px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-slot.drag-over,
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-pool.drag-over{
  outline:2px solid #1767b9;outline-offset:1px;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-slot.correct{
  border-style:solid;border-color:#50a868;background:#eef9f1;
}
.ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-slot.incorrect{
  border-style:solid;border-color:#db7b70;background:#fff2f0;
}
@media(max-width:700px){
  .ib-t8hl-slwork-hw-q-isotope-drag .ib-t8hl-slwork-isotope-sets{grid-template-columns:1fr}
}
.ib-t8hl-slwork-source-diagram{display:block;max-width:720px;width:100%;height:auto;margin:14px auto;border:1px solid #0026FF;border-radius:4px;background:#fff}
.ib-t8hl-slwork-hw-prompt,.ib-t8hl-slwork-hw-q .ib-t8hl-slwork-hw-prompt{text-align:left!important}

/* v1.1.2 — Topic 1 SL formatting parity.
   The current Topic 1 Atomic Theory SL homework v1.0.54 is the canonical
   presentation baseline. These explicit rules protect the Bonding worksheet
   from theme/Elementor heading, label and feedback styles without changing
   Bonding content or interactions. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-section{
  text-align:left!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:700!important;
  margin:0 0 16px!important;
  padding-top:0!important;
  padding-bottom:6px!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-prompt{
  text-align:left!important;
  font-size:17px!important;
  line-height:1.45!important;
  font-weight:400!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-answer{
  text-align:left!important;
  margin-top:14px!important;
  padding:13px!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-answer>label{
  display:block!important;
  text-align:left!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:700!important;
  margin:0 0 7px!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-answer textarea{
  text-align:left!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.35!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback{
  text-align:left!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:400!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback>b{
  display:block!important;
  text-align:left!important;
  font-size:13px!important;
  line-height:1.35!important;
  margin:0!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model{
  text-align:left!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:400!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-check{
  font-size:12px!important;
  line-height:1.2!important;
  padding:10px 16px!important;
}
@media(max-width:640px){
  .ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-prompt{font-size:16px!important}
}

/* v1.1.3: width-only fix — allow the homework shell to reach the same 1120px width as T1 SL even inside a narrower parent column. */
.ib-t8hl-slwork-hw{width:min(1120px,calc(100vw - 40px));max-width:1120px;position:relative;left:50%;transform:translateX(-50%);}
@media(max-width:640px){.ib-t8hl-slwork-hw{width:100%;left:auto;transform:none;}}


/* v1.1.4 — SOP 008 v1.0.14: plain-white, full-width working area and live text colours. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-work{background:#fff!important;background-image:none!important;box-sizing:border-box!important;width:100%!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-canvas{display:block;width:100%!important;background:transparent!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-inline-text,.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-inline-text:focus{color:inherit;caret-color:currentColor!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-tools .ib-t8hl-slwork-hw-colours{display:inline-flex!important;align-items:center!important;gap:6px!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-tools .ib-t8hl-slwork-hw-colour{display:inline-block!important;flex:0 0 22px!important;cursor:pointer!important;}

/* Topic 5 SL: original source screenshot fidelity, approved clean working surface. */
.ib-t8hl-slwork-hw{--ib-t1:#0026FF;--ink:#102a43;max-width:1120px;width:100%;}
.ib-t8hl-slwork-hw-closed{background:#f3f5ff;border-color:#0026FF;}
.ib-t8hl-slwork-hw-head{border-color:#0026FF;}
.ib-t8hl-slwork-hw-section{border-bottom-color:#df8c47;}
.ib-t8hl-slwork-hw-work{background:#fff!important;background-image:none!important;}
.ib-t8hl-slwork-hw-canvas{background:transparent!important;background-image:none!important;}
.ib-t8hl-slwork-hw-viewer{background:#dfe2e5;}
.ib-t8hl-slwork-hw-paper{width:100%;max-width:none;min-height:0;padding:20px 22px 34px;}
.ib-t8hl-slwork-source-diagram{display:block;max-width:100%;height:auto;margin:12px 0 0;object-fit:contain;image-rendering:auto;}
.ib-t8hl-slwork-source-solution{display:block;max-width:100%;height:auto;margin:8px 0;object-fit:contain;}
.ib-t8hl-slwork-hw-model{overflow-wrap:anywhere;}
.ib-t8hl-slwork-hw-prompt{font-size:14px;line-height:1.48;}
.ib-t8hl-slwork-hw-q{padding:12px 0 16px;}
.ib-t8hl-slwork-hw-answer{background:#f5f6f7;}
.ib-t8hl-slwork-hw-colour{touch-action:manipulation;}
.ib-t8hl-slwork-hw-closed .ib-t8hl-slwork-cover-pill,.ib-t8hl-slwork-hw-closed .ib-t8hl-slwork-icon{background:#0026FF!important;color:#fff!important;}
.ib-t8hl-slwork-hw-inline-text{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;caret-color:currentColor!important;}
@media(max-width:650px){.ib-t8hl-slwork-hw-paper{padding:14px 10px 22px}}

/* v1.0.1: Converted source questions contain no duplicated blue screenshot.
   Keep original chemistry equations, options and four blank gas-law axes readable. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-data {
  background: #f7f9fc; border-left: 3px solid #a8c1d6;
  padding: 9px 12px; margin: 9px 0 7px; font-size: 14px;
  line-height: 1.55; color: #1e344e;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-axes-block {
  display: flex; align-items: center; flex-wrap: wrap; gap: 15px;
  margin: 9px 0 11px; color: #364e65;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-axes-block .ib-t8hl-slwork-axes {
  width: 250px; max-width: 100%; height: auto; background: #fff;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-axes-block small { font-size: 12px; max-width: 190px; }


/* v1.0.5 — model answers use neutral grey shading, never green/red status styling. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model,
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.good .ib-t8hl-slwork-hw-model,
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.bad .ib-t8hl-slwork-hw-model{
  background:#eceff1!important;
  border-left:4px solid #a9b2bc!important;
  color:#1f2937!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model *,
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.good .ib-t8hl-slwork-hw-model *,
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.bad .ib-t8hl-slwork-hw-model *{
  color:#1f2937!important;
}

/* v1.0.6: each model solution shows explicit method steps on neutral grey, not success green. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-step{display:block;margin:0 0 7px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;color:#1f2937;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-step:last-child{margin-bottom:0;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-step>strong{font-weight:700;color:#1f2937;}


/* v1.0.7 — workbook-faithful, equation-style worked solutions. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-model-step {display:block;margin:0 0 9px;line-height:1.75;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-model-step strong {font-weight:700;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-fraction {display:inline-flex;vertical-align:middle;align-items:center;flex-direction:column;text-align:center;line-height:1.35;white-space:nowrap;margin:0 5px 2px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-fraction .ib-t8hl-slwork-fnum {padding:0 6px 3px;border-bottom:1px solid #263442;min-width:38px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-fraction .ib-t8hl-slwork-fden {padding:3px 6px 0;}

/* v1.0.9 — model graphs and independent freehand/description feedback. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-instruction{margin:8px 0;color:#385b75;font-size:13px;line-height:1.5;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-graph-work .ib-t8hl-slwork-hw-canvas{background:#fff!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-model{margin:14px 0 4px;padding:10px 8px;border-top:1px solid #c7cbd1;color:#23364a;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-model img{display:block;max-width:100%;width:510px;height:auto;background:#fff;border:1px solid #cbd5df;border-radius:5px;margin:8px 0;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-model p{font-size:13px;margin:5px 0 0;line-height:1.5;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-equation{display:block;font-style:italic;margin-top:5px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-check{background:#f3f5f7;border-left:3px solid #94a3b8;padding:9px 12px;margin:6px 0;color:#263e53;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-check b.good{color:#17633b!important;}.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-check b.bad{color:#a3262a!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-graph-check p{font-size:11px;margin:5px 0 0;color:#526477;}


/* v1.0.10 — restore source-style compact, linked worked equations throughout T4.
   Formula = substituted fraction = evaluated result; no duplicated teaching labels.
   Neutral model shading and correct/incorrect answer-field colours are unchanged. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-line {
    display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;
    font-family:"Cambria Math","STIX Two Math",Georgia,"Times New Roman",serif;
    font-size:17px;line-height:1.5;margin:9px 0;color:#1f2937;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-part {
    display:inline-flex;align-items:center;white-space:normal;max-width:100%;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-part:has(.ib-t8hl-slwork-sol-frac) {
    white-space:nowrap;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-frac {
    display:inline-flex;vertical-align:middle;align-items:center;flex-direction:column;
    text-align:center;white-space:nowrap;line-height:1.13;margin:0 2px;
    font-size:0.96em;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-num {
    display:block;border-bottom:1.5px solid #253341;padding:0 5px 3px;
    min-width:20px;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-den {
    display:block;padding:3px 5px 0;min-width:20px;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-note,
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-reaction {
    margin:8px 0 9px;line-height:1.5;font-size:14px;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-reaction {
    font-family:"Cambria Math",Georgia,serif;font-size:16px;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-line b {font-weight:700;}
@media (max-width:580px){
 .ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-line {font-size:15px;gap:5px;}
 .ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-note {font-size:13px;}
}

/* Topic 5: diagram images are the necessary source visuals, not duplicated scans. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-figure{margin:12px 0 5px;max-width:680px;width:100%;height:auto;display:block;object-fit:contain;border:1px solid #d6dade}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-structure-figure{margin:12px 0;max-width:680px;width:100%;height:auto;object-fit:contain}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-sol-step{display:block;margin:7px 0;font-size:14px;line-height:1.55}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model{background:#eceff1!important;border-left:4px solid #a9b2bc!important;color:#1f2937!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model *{color:#1f2937!important}


/* v1.0.1 — Q1 and Q2: editable transparent ink directly over the original diagram. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-work{width:100%!important;max-width:694px;margin:10px 0 14px;border:1px solid #aeb4bb;background:#fff!important;box-sizing:border-box;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-work .ib-t8hl-slwork-hw-tools{border-bottom:1px solid #d8dde3;padding:7px 8px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-drawing{position:relative;display:block;width:100%;aspect-ratio:694/370;overflow:hidden;background:#fff;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-drawing img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-drawing .ib-t8hl-slwork-hw-canvas{position:absolute!important;left:0;top:0;display:block;width:100%!important;height:100%;background:transparent!important;touch-action:none;cursor:crosshair;z-index:1;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-enthalpy-work [data-tool="line"].active{background:#0026FF;color:#111;}

/* T5 HL worked-solution standard: retained source data and clear multi-step maths. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source{margin:10px 0 14px;max-width:100%;background:#fff;padding:8px;border:1px solid #dae1e9;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source img{display:block;width:auto;max-width:100%;height:auto;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source figcaption{font-size:11px;color:#536578;margin-top:6px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-model-line{padding:3px 0;line-height:1.8;overflow-wrap:anywhere;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-frac{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;justify-content:center;line-height:1.2;margin:0 3px;white-space:nowrap;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-frac>span:first-child{border-bottom:1px solid currentColor;padding:0 4px 2px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-frac>span:last-child{padding:2px 4px 0;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model{background:#eceff1!important;border-left:4px solid #a9b2bc!important;color:#1f2937!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.good .ib-t8hl-slwork-hw-model *, .ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-feedback.bad .ib-t8hl-slwork-hw-model *{color:#1f2937!important;}

/* v1.0.1: reproduce each complete original question stem and its source data. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-data {background:#f4f7fa;border-left:3px solid #8ca7c0;padding:10px 14px;margin:10px 0;line-height:1.75;color:#15324c}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-equation {font-size:1.06em;margin:9px 0 12px;white-space:normal;overflow-wrap:anywhere;color:#162c43}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-prompt p {margin:9px 0}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source {margin:12px 0 15px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source img {max-width:100%;height:auto;object-fit:contain}

/* Original handwritten workbook diagrams in model answers */
.ib-t8hl-slwork-model-cycle{margin:12px 0 16px;max-width:100%;}
.ib-t8hl-slwork-model-cycle img{display:block;width:100%;max-width:760px;height:auto;object-fit:contain;background:#fff;border:1px solid #e2e2e2;border-radius:4px;}
.ib-t8hl-slwork-model-cycle figcaption{font-size:0.85em;color:#555;margin-top:6px;}

/* v1.0.10: selectable source-data tables (diagrams remain images) */
.ib-t8hl-slwork-data-wrap{width:100%;overflow-x:auto;margin:12px 0 16px}
.ib-t8hl-slwork-data-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;background:#fff;color:#202a36}
.ib-t8hl-slwork-data-table th,.ib-t8hl-slwork-data-table td{border:1px solid #d6dee8;padding:10px 14px;text-align:left;vertical-align:top}
.ib-t8hl-slwork-data-table th{background:#eef3f8;font-weight:700}
.ib-t8hl-slwork-data-table td:last-child,.ib-t8hl-slwork-data-table th:last-child{white-space:nowrap;text-align:right}
.ib-t8hl-slwork-data-table tbody tr:nth-child(even){background:#f8fafc}

/* v1.0.0: selectable source tables instead of scanned text */
.ib-t8hl-slwork-native-data{width:100%;border-collapse:collapse;margin:10px 0 14px;font-size:14px;line-height:1.45;}
.ib-t8hl-slwork-native-data th,.ib-t8hl-slwork-native-data td{border:1px solid #cbd5e1;padding:7px 10px;text-align:left;vertical-align:top;}
.ib-t8hl-slwork-native-data th{background:#e8f0fa;font-weight:700;}
.ib-t8hl-slwork-native-data td:last-child{text-align:right;font-variant-numeric:tabular-nums;}
.ib-t8hl-slwork-table-caption{font-weight:700;margin:12px 0 6px;}
@media(max-width:650px){.ib-t8hl-slwork-native-data{font-size:12px}.ib-t8hl-slwork-native-data td,.ib-t8hl-slwork-native-data th{padding:5px 4px}}

.ib-t8hl-slwork-native-data{border-collapse:collapse;width:100%;margin:12px 0 18px}.ib-t8hl-slwork-native-data th,.ib-t8hl-slwork-native-data td{border:1px solid #c8d4df;padding:7px 10px;text-align:left}.ib-t8hl-slwork-native-data th{background:#edf3f8}
.ib-t8hl-slwork-model-graph{display:block;width:100%;max-width:780px;height:auto;margin:12px auto;border:1px solid #d6dce3;background:white}
.ib-t8hl-slwork-hw-graph-work .ib-t8hl-slwork-hw-canvas{min-height:460px}

/* v1.0.13: explain graph double-click selection without adding a button. */
.ib-t8hl-slwork-hw-graph-help{margin:5px 3px 8px;font-size:12px;color:#526474;}

/* v1.0.16: Q14 begins on its own paper; allow long revealed model answers
   to flow when printing instead of truncating them at the A4 boundary. */
@media print {
  .ib-t8hl-slwork-hw-paper:has(.ib-t8hl-slwork-hw-q-iodine-graph),
  .ib-t8hl-slwork-hw-paper:has([data-q="18"]),
  .ib-t8hl-slwork-hw-paper:has([data-q="20"]) {
    height:auto!important;
    min-height:297mm!important;
    overflow:visible!important;
  }
  .ib-t8hl-slwork-hw-q-iodine-graph .ib-t8hl-slwork-hw-work{break-inside:avoid;}
}

/* Source-faithful model answers and worksheet presentation. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table{border-collapse:collapse;width:100%;max-width:100%;margin:12px 0 18px;font-size:14px;table-layout:auto}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table th,.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table td{padding:9px 11px;border:1px solid #b9c8d8;text-align:center;vertical-align:middle}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table th{background:#e9f1f9;color:#21384c;font-weight:700}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table tbody tr:nth-child(even){background:#f8fafc}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-model-graph{display:block;width:min(100%,850px);height:auto;margin:15px auto;border:1px solid #d4dce3;border-radius:5px;background:white}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-red-note{display:block;width:min(100%,650px);height:auto;margin:12px 0 8px;border:1px solid #e1e1e1;background:white}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model p{line-height:1.5;margin:9px 0}
@media(max-width:650px){.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table{font-size:11px}.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table th,.ib-t8hl-slwork-hw .ib-t8hl-slwork-source-table td{padding:6px 4px}}

/* v1.0.1 — source-fidelity model answers: clear standalone fractions and multi-step worked math. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation{display:block;font-size:15px;line-height:1.8;margin:9px 0 12px;padding:5px 8px 6px;background:#f8f9fa;overflow-x:auto;white-space:normal;color:#1f2937}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation .ib-t8hl-slwork-sol-frac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.35;margin:0 3px;max-width:100%;font-size:0.95em}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation .ib-t8hl-slwork-sol-num{display:block;border-bottom:1px solid currentColor;padding:0 6px 2px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation .ib-t8hl-slwork-sol-den{display:block;padding:2px 6px 0}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model p{line-height:1.65;margin:7px 0}

/* v1.0.4 — model-answer fidelity: source-style stacked numerical fractions.
   All rules scoped to this SL Homework only; no effects on student working tools. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model{font-size:14px!important;line-height:1.65!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model p{font-size:14px!important;line-height:1.65!important;margin:9px 0!important;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation{
  display:block!important; padding:11px 12px!important;margin:12px 0!important;
  font:normal 18px/1.7 "Cambria Math",Cambria,Georgia,"Times New Roman",serif!important;
  background:#f7f9fb!important;color:#1f2937!important;
  border-left:2px solid #c5ced8!important;overflow-x:auto!important;white-space:nowrap!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-frac{
  display:inline-flex!important;flex-direction:column!important;vertical-align:middle!important;
  align-items:stretch!important;justify-content:center!important;white-space:nowrap!important;
  text-align:center!important;line-height:1.25!important;font-size:1em!important;
  margin:0 5px!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-num{
  display:block!important;border-bottom:1.7px solid #253341!important;padding:0 8px 4px!important;
}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-den{
  display:block!important;padding:4px 8px 0!important;
}
@media(max-width:650px){
  .ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation{font-size:16px!important;}
}

/* Topic 7 SL: SOP 004 blue, full available desktop width, plain white unruled working areas. */
.ib-t8hl-slwork-hw{--ib-t1:#0026FF;--ib-t2-light:#0026FF12;max-width:none!important;width:100%!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-closed{border-color:#0026FF!important;background:#f3f5ff!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-cover-pill,.ib-t8hl-slwork-hw .ib-t8hl-slwork-icon{background:#0026FF!important;color:#fff!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-paper{width:100%!important;max-width:none!important;min-height:0!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-work{background:#fff!important;background-image:none!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model{background:#f6f8ff!important;border-left:3px solid #0026FF!important;color:#20242a!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-model-equation{display:block;margin:11px 0;font-size:1.1em;line-height:1.7;font-weight:500;overflow-wrap:anywhere}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-frac{display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.3;margin:0 4px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-num{border-bottom:1.5px solid currentColor;padding:0 5px 4px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model .ib-t8hl-slwork-sol-den{padding:4px 5px 0}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-tools button.active{background:#0026FF!important;color:#fff!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-section{border-bottom-color:#0026FF!important}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-prompt p{margin:7px 0 11px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model p{margin:9px 0;line-height:1.6}
@media print{.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-paper{width:210mm!important;min-height:297mm!important;break-after:page}}


/* v1.0.2 — compact Q2 paired answers, one shared working area per reaction. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-q{padding:14px 0 20px;break-inside:avoid}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-intro{font-size:15px;line-height:1.6;margin:1px 0 16px;color:#1a2636}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-reaction{font-size:16px;line-height:1.6;font-weight:500;margin:0 0 12px;color:#172b43}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-reaction strong{margin-right:7px;color:#152d48}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0 14px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choice{display:flex;align-items:stretch;flex-direction:column;gap:6px;font-size:14px;line-height:1.35;font-weight:600;color:#152b47}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choice select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:42px;padding:8px 32px 8px 11px;border:1px solid #adbcd1;border-radius:4px;background:#fff;color:#173249;font:inherit;font-weight:500;line-height:1.4;cursor:pointer}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choice select.good{border:2px solid #398d57;background:#eef9f1}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choice select.bad{border:2px solid #ce615a;background:#fff2f2}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choice select:focus-visible{outline:2px solid #0026FF;outline-offset:2px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-legacy{font-size:12px;font-weight:400;color:#657286}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-work-label{font-size:12px;font-weight:700;color:#4c5d70;margin:0 0 8px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-q .ib-t8hl-slwork-hw-work{margin:0 0 10px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-q .ib-t8hl-slwork-temp-answer{margin:0;padding-top:10px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-feedback{margin-top:12px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-result{padding:10px 0 12px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-result+.ib-t8hl-slwork-temp-result{border-top:1px solid #cbd4df}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-result-title{font-size:14px;font-weight:700;margin-bottom:8px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-result.good .ib-t8hl-slwork-temp-result-title{color:#277746}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-result.bad .ib-t8hl-slwork-temp-result-title{color:#ab3c31}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-correction{font-size:13px;margin:0 0 8px}
@media(max-width:640px){.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-choices{grid-template-columns:1fr;gap:9px}.ib-t8hl-slwork-hw .ib-t8hl-slwork-temp-reaction{font-size:14px}}


/* v1.0.3 — Q3(a–d) dropdown placed directly above each retained working box. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-shift-q .ib-t8hl-slwork-hw-prompt {margin-bottom:10px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice {display:flex;flex-direction:column;gap:6px;max-width:340px;margin:6px 0 14px;color:#152b47}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice label {font-size:14px;font-weight:650;line-height:1.4}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice select {display:block;width:100%;max-width:100%;min-height:42px;box-sizing:border-box;padding:8px 32px 8px 11px;border:1px solid #adbcd1;border-radius:4px;background:#fff;color:#173249;font:inherit;font-weight:500;cursor:pointer}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice select.good {border:2px solid #398d57;background:#eef9f1}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice select.bad {border:2px solid #ce615a;background:#fff2f2}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice select:focus-visible {outline:2px solid #0026FF;outline-offset:2px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice .ib-t8hl-slwork-temp-legacy {font-weight:400;color:#64748b;font-size:12px}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-shift-q .ib-t8hl-slwork-hw-work {margin-top:0}
@media(max-width:640px){.ib-t8hl-slwork-hw .ib-t8hl-slwork-q3-choice{max-width:100%}}

/* Topic 7 HL RICE model-answer tables (screen and print). */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice {margin:14px 0;border:1px solid #bfcfe8;border-radius:4px;overflow-x:auto;background:#fff;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice-title{font-size:14px;font-weight:800;color:#153f73;background:#e9f0ff;padding:9px 12px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice table,.ib-t8hl-slwork-hw .ib-t8hl-slwork-data{width:100%;border-collapse:collapse;min-width:540px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice th,.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice td,.ib-t8hl-slwork-hw .ib-t8hl-slwork-data th,.ib-t8hl-slwork-hw .ib-t8hl-slwork-data td{border:1px solid #bbcee6;padding:9px 10px;font-size:14px;text-align:center;vertical-align:middle;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice thead th,.ib-t8hl-slwork-hw .ib-t8hl-slwork-data thead th{background:#e6eeff;color:#123e76;font-weight:700;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice tbody th{text-align:left;background:#f4f7fd;font-weight:700;white-space:nowrap;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice-note{font-size:13px;color:#486078;padding:8px 12px;margin:0;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-model-equation{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.55;overflow-x:auto;margin:12px 0;padding:10px 12px;background:#f7faff;border-left:3px solid #0026FF;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-sol-frac{display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.3;font-size:.95em;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-sol-num{border-bottom:1.5px solid currentColor;padding:0 3px 3px;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-sol-den{padding:3px 3px 0;}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-model p{margin:8px 0;}
@media print{.ib-t8hl-slwork-rice table{break-inside:avoid}.ib-t8hl-slwork-hw .ib-t8hl-slwork-rice{break-inside:avoid}}

/* Q52–55: shade the marked dropdown answer using the existing marking state. */
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-answer select[data-acid-choice].good{border:2px solid #2c8b57;background:#e7f6eb;color:#17633b}
.ib-t8hl-slwork-hw .ib-t8hl-slwork-hw-answer select[data-acid-choice].bad{border:2px solid #cf4d4d;background:#fff0f0;color:#a3262a}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-sl-editor{width:100%;max-width:none;margin:14px 0;font-family:Arial,sans-serif} #ib-topic8-acids-bases-hl-homework .ib-t8hl-sl-editor article{padding:0;border:0} #ib-topic8-acids-bases-hl-homework .ib-t8hl-sl-editor .ib-t8hl-slwork-hw-work{background:#fff;background-image:none}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-model{text-align:left!important}

#ib-topic8-acids-bases-hl-homework .ib-t8hl-rice{border-collapse:collapse;width:100%;margin:12px 0} #ib-topic8-acids-bases-hl-homework .ib-t8hl-rice th,#ib-topic8-acids-bases-hl-homework .ib-t8hl-rice td{border:1px solid #aab7c5;padding:8px;text-align:center}


