.ncetm-vector text{font-family:Arial,'Trebuchet MS',sans-serif!important;font-weight:400}
.ncetm-model{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:0}
.ncetm-vector{display:block;max-width:100%;overflow:visible}
.ncetm-vector line,.ncetm-vector rect,.ncetm-vector polygon,.ncetm-vector polyline{stroke-linecap:round;stroke-linejoin:round}
.launch-settings{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin:20px 0 10px;color:#3c5671;font-size:12px}
.launch-settings label{display:flex;align-items:center;gap:8px;min-height:40px;cursor:pointer}
.launch-settings input{accent-color:#315f80;width:18px;height:18px}
.ncetm-home-note{max-width:650px;color:#597083;font-size:12px;line-height:1.7}
.answer-pad{margin-top:5px;padding:0 15px 0 0;--answer-cell:23px;max-width:100%;min-width:0}
.answer-pad-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#50667b;font:11px/1.4 'Trebuchet MS',sans-serif;margin-bottom:4px}
.answer-pad-top>div{display:flex;gap:3px}
.answer-pad-top button{min-width:35px;min-height:30px;padding:3px 8px;border:1px solid #c9d6e1;border-radius:7px;background:#fffefb;color:#315774;font:12px 'Trebuchet MS',sans-serif}
.answer-pad-top button[aria-pressed=true]{background:#dcecf5;border-color:#acc5d7}
.answer-pad-paper{height:138px;position:relative;border:1px solid #d3dfe6;border-radius:5px;background:#fffefb;background-image:linear-gradient(to right,#e2e9ef 1px,transparent 1px),linear-gradient(to bottom,#e2e9ef 1px,transparent 1px);background-size:var(--answer-cell) var(--answer-cell);overflow:hidden}
.grid-response{display:block;width:100%;height:100%;resize:none;padding:0 0 0 4px;border:0;background:transparent;color:#21486b;font-family:monospace;font-size:18px;line-height:var(--answer-cell);letter-spacing:calc(var(--answer-cell) - 1ch);white-space:pre;overflow:auto;outline-offset:-2px}
.grid-response::placeholder{font:13px/23px 'Trebuchet MS',sans-serif;letter-spacing:normal;color:#7b8d9e}
.ink-response{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;background:transparent}
.answer-pad [hidden]{display:none!important}
.answer-saved{min-height:13px;font:9px/1.4 'Trebuchet MS',sans-serif;color:#687f8f;margin-top:3px}
.response-feedback{display:grid;gap:5px;padding:10px 12px;margin:5px 16px 8px 0;border-left:3px solid #9ab3c8;background:#edf4f8;border-radius:7px;font:12px/1.55 'Trebuchet MS',sans-serif}
.response-feedback[data-result=correct]{border-color:#548a70;background:#edf5ee;color:#315f4c}
.response-feedback[data-result=retry]{border-color:#c59659;background:#fff6e8;color:#7b572e}
.response-feedback small{font-size:11px}
.response-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:#294966}
.independent-check{margin:5px 15px 0 0;color:#655180;font-size:11px;line-height:1.6}
.book-sketch .ncetm-vector{max-height:100%;margin:auto}
#large-model .ncetm-model{min-height:300px}
#large-model .ncetm-vector{width:100%;height:auto;max-height:none}
.sheet-problem-body:has(.answer-pad){gap:5px}
.lesson-link .source-id{color:#647c8e;font-size:10px;font-family:'Trebuchet MS',sans-serif;margin-left:7px}
.source-link{font-family:'Trebuchet MS',sans-serif;font-size:12px}
@media screen and (max-width:700px){.answer-pad-paper{height:92px}.answer-pad{padding-right:9px}.launch-settings{gap:4px 14px;margin-top:10px}.answer-pad-top{font-size:10px}.answer-pad-top button{min-height:28px;padding:3px 6px}.independent-check{font-size:10px}}
@media screen and (max-height:650px){.answer-pad-paper{height:69px}.answer-saved{display:none}.worksheet-reader{grid-template-rows:50px minmax(0,1fr) 62px}.worksheet-stage{padding-top:10px}}
@media print{.ncetm-vector text{font-family:Arial,sans-serif!important}.answer-pad,.response-feedback{display:none!important}.ncetm-model{max-height:200px}.print-model .ncetm-vector{height:160px;width:auto;max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.response-ink{display:block;width:min(300px,100%);height:70px;background:#fffefb;border:1px solid #d3dfe6}

.ncetm-fit{display:flex;align-items:center;justify-content:center;max-width:100%;min-width:0;flex-shrink:0}
.ncetm-fit>.ncetm-model{position:static;transform:none}
