/* Exam-only Desmos window. It floats above the question without replacing the test layout. */
.desmos-panel{position:fixed;z-index:54;width:min(720px,52vw);height:min(620px,calc(100vh - 180px));min-width:440px;min-height:360px;background:#fff;border:1px solid #737b86;border-radius:8px;box-shadow:0 10px 28px rgba(17,24,39,.22);display:flex;flex-direction:column;overflow:hidden;resize:both}
.desmos-panel-head{height:42px;flex:0 0 42px;background:#f1f2f4;border-bottom:1px solid #c8cdd5;display:flex;align-items:center;padding:0 9px 0 14px;cursor:move;user-select:none;touch-action:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#1f2933}
.desmos-panel-title{font-size:14px;font-weight:700;letter-spacing:.01em}
.desmos-panel-brand{margin-left:9px;padding-left:9px;border-left:1px solid #b9bec7;color:#66707d;font-size:11px;font-weight:600}
.desmos-panel-close{margin-left:auto;width:31px;height:31px;border:0;border-radius:4px;background:transparent;color:#1f2933;font-size:25px;font-weight:300;line-height:1;display:grid;place-items:center;padding:0;box-shadow:none}
.desmos-panel-close:hover,.desmos-panel-close:focus-visible{background:#dfe2e7;outline:none}
.desmos-stage{position:relative;flex:1;min-height:0;background:#fff}
.desmos-mount{position:absolute;inset:0}
.desmos-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:32px;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;text-align:center;color:#364152}
.desmos-status-card{max-width:390px}
.desmos-status-title{font-size:18px;font-weight:750;color:#1f2933;margin-bottom:9px}
.desmos-status-copy{font-size:13px;line-height:1.55;color:#5d6673}
.desmos-status a{color:#2f5bd6;font-weight:700;text-underline-offset:2px}
.desmos-loader{width:28px;height:28px;margin:0 auto 15px;border:3px solid #d8dde5;border-top-color:#2f5bd6;border-radius:50%;animation:desmosSpin .8s linear infinite}
.toolbtn.calc-open .tlabel{text-decoration:underline;text-underline-offset:3px}
.toolbtn.calc-open svg{stroke:#2f5bd6}
@keyframes desmosSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){
  .desmos-panel{inset:0!important;width:100%!important;height:100%!important;min-width:0;min-height:0;border:0;border-radius:0;resize:none}
  .desmos-panel-head{height:46px;flex-basis:46px}
}
@media(prefers-reduced-motion:reduce){.desmos-loader{animation-duration:1.8s}}
