body.math-testing-demo-theme{--mt-navy:#17324d;--mt-teal:#0f766e;--mt-red:#b42318;--mt-sky:#eaf6fb;--mt-line:#cbd5e1;--mt-muted:#64748b;background:linear-gradient(135deg,#f8fcfe 0%,var(--mt-sky) 100%)!important;color:#334155;font-family:Arial,sans-serif}
body.math-testing-demo-theme .test-runner-scope{background:transparent!important;max-width:1180px;margin:0 auto;padding:22px 24px 28px;gap:16px}
body.math-testing-demo-theme .test-runner-scope>.top-action-bar{background:#fff!important;border:1px solid var(--mt-line);border-radius:18px;box-shadow:0 10px 30px rgba(23,50,77,.08);min-height:58px;height:auto!important;color:var(--mt-navy)!important}
body.math-testing-demo-theme .top-action-bar>.control-box{min-height:56px;padding:8px 18px!important;color:var(--mt-navy)!important;text-shadow:none!important}
body.math-testing-demo-theme .top-action-bar .title-box{font-weight:800;color:var(--mt-navy);font-size:15px!important}
body.math-testing-demo-theme .top-action-bar .progressbar{height:10px!important;border-radius:999px;overflow:hidden;background:#dbe7ee!important}
body.math-testing-demo-theme .top-action-bar .progressbar .ui-progressbar-value,body.math-testing-demo-theme .top-action-bar .progressbar>div{background:var(--mt-teal)!important;border-radius:999px}
body.math-testing-demo-theme .test-runner-sections{gap:18px;background:transparent!important;min-height:0!important}
body.math-testing-demo-theme .test-sidebar-left{background:#fff!important;border:1px solid var(--mt-line)!important;border-radius:18px;box-shadow:0 10px 30px rgba(23,50,77,.06);overflow:hidden}
body.math-testing-demo-theme .qti-navigator-default .qti-navigator-item{border-radius:8px;margin:3px 6px;background:#f7fafc}
body.math-testing-demo-theme .qti-navigator-default .qti-navigator-item.active{background:var(--mt-teal)!important;color:#fff}
body.math-testing-demo-theme .content-wrapper{background:#fff!important;border:1px solid var(--mt-line);border-radius:24px;box-shadow:0 18px 48px rgba(23,50,77,.10);overflow:auto;padding:20px 28px!important}
body.math-testing-demo-theme #qti-content{max-width:850px;margin:0 auto!important;background:#fff!important;color:#334155;font-size:17px!important;line-height:1.55}
body.math-testing-demo-theme #qti-item{background:#fff!important;padding:10px 6px 24px!important}
body.math-testing-demo-theme .qti-item .qti-itemBody{font-size:17px!important;color:#334155}
body.math-testing-demo-theme .qti-item h1,body.math-testing-demo-theme .qti-item h2,body.math-testing-demo-theme .qti-item h3{color:var(--mt-navy)!important;font-weight:800;line-height:1.3}
body.math-testing-demo-theme .qti-choiceInteraction{margin-top:22px}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice{display:block;position:relative;margin:12px 0!important;padding:15px 18px!important;border:2px solid #d9e4ea!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;transition:border-color .15s,background .15s,transform .15s}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice:hover{border-color:#7fb7c9!important;background:#f8fcfd!important;transform:translateY(-1px)}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice.active,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice.selected,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice:has(input:checked){border-color:#d9e4ea!important;background:#effaf8!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice label{font-size:17px!important;line-height:1.45;color:#334155;cursor:pointer}
body.math-testing-demo-theme .qti-choiceInteraction input[type=radio],body.math-testing-demo-theme .qti-choiceInteraction input[type=checkbox]{accent-color:var(--mt-teal);width:20px;height:20px}
body.math-testing-demo-theme .bottom-action-bar{background:transparent!important;border:0!important;height:auto!important;min-height:62px;overflow:visible!important}
body.math-testing-demo-theme .bottom-action-bar>.control-box{padding:10px 0!important;color:var(--mt-navy)!important;text-shadow:none!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action{border:0!important;border-radius:12px!important;background:var(--mt-teal)!important;min-height:44px;margin:0 5px!important;padding:0!important;box-shadow:none!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action.forward,body.math-testing-demo-theme .bottom-action-bar .navi-box-list>[data-control=move-end]{background:var(--mt-red)!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action.skip{background:#e7f0f4!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action.skip a{color:var(--mt-navy)!important;text-shadow:none!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action>a{display:flex!important;align-items:center;min-height:44px;padding:9px 18px!important;color:#fff!important;font-weight:800;text-shadow:none!important;text-decoration:none}
body.math-testing-demo-theme .bottom-action-bar .tools-box-list>.action{border-radius:10px!important}
body.math-testing-demo-theme .connectivity-box{color:var(--mt-teal)!important;text-shadow:none!important}
@media(max-width:800px){body.math-testing-demo-theme .test-runner-scope{padding:10px}body.math-testing-demo-theme .test-runner-sections{display:block!important}body.math-testing-demo-theme .test-sidebar-left{display:none!important}body.math-testing-demo-theme .content-wrapper{padding:14px!important;border-radius:18px}body.math-testing-demo-theme .bottom-action-bar .tools-box{display:none!important}body.math-testing-demo-theme .bottom-action-bar .navi-box{float:none!important;width:100%;text-align:center}}
/* Keep ordinary demo questions within the runner pane and avoid the awkward inner scroll. */
body.math-testing-demo-theme .test-runner-scope{padding:10px 24px 12px!important;gap:8px!important}
body.math-testing-demo-theme .test-runner-scope>.top-action-bar{min-height:50px;height:50px!important}
body.math-testing-demo-theme .top-action-bar>.control-box{min-height:48px!important;padding:5px 18px!important}
body.math-testing-demo-theme .test-runner-sections{gap:10px!important}
body.math-testing-demo-theme .content-wrapper{padding:10px 24px!important}
body.math-testing-demo-theme .content-wrapper{overflow:hidden!important}
body.math-testing-demo-theme #qti-item{padding:2px 6px 8px!important}
body.math-testing-demo-theme .qti-item .qti-itemBody{line-height:1.35!important}
body.math-testing-demo-theme .qti-item img{max-height:245px!important;width:auto!important;object-fit:contain}
body.math-testing-demo-theme .qti-choiceInteraction{margin-top:8px!important}
body.math-testing-demo-theme .qti-choiceInteraction .choice-area{border:0!important;outline:0!important;box-shadow:none!important}
body.math-testing-demo-theme .qti-choiceInteraction.focusin:focus,
body.math-testing-demo-theme .qti-choiceInteraction.focusin:not(:focus) .choice-area,
body.math-testing-demo-theme .qti-choiceInteraction .choice-area:focus,
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice.key-navigation-highlight{outline:0!important;outline-offset:0!important;box-shadow:none!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice{margin:7px 0!important;padding:9px 14px!important;min-height:44px}
body.math-testing-demo-theme .bottom-action-bar{min-height:52px!important;height:52px!important}
body.math-testing-demo-theme .bottom-action-bar>.control-box{padding:4px 0!important}
body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action,body.math-testing-demo-theme .bottom-action-bar .navi-box-list>.action>a{min-height:42px!important}
@media(min-width:801px) and (max-height:850px){body.math-testing-demo-theme .test-sidebar-left{display:none!important}body.math-testing-demo-theme .test-runner-sections{display:block!important}body.math-testing-demo-theme .content-wrapper{height:100%!important;max-width:100%!important}body.math-testing-demo-theme .qti-item img{max-height:220px!important}body.math-testing-demo-theme .qti-choiceInteraction .qti-choice{margin:5px 0!important;padding:7px 12px!important;min-height:39px}}
body.math-testing-demo-theme .runner,body.math-testing-demo-theme .test-runner-scope,body.math-testing-demo-theme .test-runner-sections{border-left:0!important;outline:0!important;overflow-x:hidden!important}
body.math-testing-demo-theme .test-runner-sections{box-shadow:none!important;margin-left:0!important}
body.math-testing-demo-theme .content-wrapper{margin-left:0!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .pseudo-label-box{display:flex!important;align-items:center!important;min-height:24px!important;line-height:1.25!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin:0 10px 0 0!important;line-height:1!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-radio,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-checkbox{margin:0!important;vertical-align:middle!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .label-box{display:flex!important;align-items:center!important;min-height:24px!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .label-content,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .qti-block{display:block!important;min-height:24px!important;line-height:1.25!important;margin:0!important}
body.math-testing-demo-theme .content-wrapper{border:0!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .pseudo-label-box{transform:none!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-radio,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-checkbox{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;padding:0!important;line-height:1!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .label-box{margin-left:16px!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label{width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0 10px 0 0!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label input[type=radio],body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label input[type=checkbox]{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important;transform:none!important;accent-color:var(--mt-teal)}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-radio,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-checkbox{display:none!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .label-box{margin-left:0!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0 10px 0 0!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .real-label input{display:none!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-radio,body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .icon-checkbox{display:block!important;position:static!important;width:18px!important;height:18px!important;min-width:18px!important;transform:none!important;padding:0!important;margin:0!important;line-height:18px!important}
body.math-testing-demo-theme .qti-choiceInteraction .qti-choice .label-box{position:static!important;flex:1 1 auto!important;margin:0!important}
body.math-testing-demo-theme .test-sidebar-left{display:none!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.math-testing-demo-theme .test-runner-sections{display:block!important}
body.math-testing-demo-theme .content-wrapper{height:100%!important;max-height:100%!important;box-sizing:border-box!important}
body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;padding:0!important}
body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal::before,body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal::after{content:none!important;display:none!important}
body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal>.qti-choice{float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:8px!important;box-sizing:border-box!important}
body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal>.qti-choice .label-box,body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal>.qti-choice .label-content,body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal>.qti-choice .qti-block{width:100%!important;min-width:0!important}
body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal>.qti-choice img{display:block!important;width:100%!important;height:140px!important;max-height:140px!important;object-fit:contain!important;margin:0 auto!important}
@media(max-width:800px){body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.math-testing-demo-theme .qti-choiceInteraction.ccr21-bottle-grid>.choice-area.horizontal{grid-template-columns:1fr}}
