#thinkingMain{max-width:1200px;margin:24px auto;padding:0 20px;font-family:Verdana,Arial,sans-serif}#thinkingMain *{box-sizing:border-box}#thinkingMain button,#thinkingMain select{font:inherit;border:1.5px solid #212121!important;border-radius:0!important;padding:10px 14px;min-height:44px;font-weight:400!important;text-transform:none!important;background:white!important;text-decoration:none!important;box-shadow:none!important}#thinkingMain button{cursor:pointer}#thinkingMain button:disabled{opacity:.5;cursor:default}#thinkingMain .title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}#thinkingMain h1{font-size:28px;font-weight:500}#thinkingMain p{line-height:1.5}#thinkingMain .title p{color:#526367}#thinkingMain button:focus-visible,#thinkingMain select:focus-visible{outline:3px solid #587ba0;outline-offset:3px}#thinkingMain [hidden],[hidden]{display:none!important}#thinkingMain .green{background:#d1e8ca!important}#thinkingMain .reflection{border:0!important;padding:0!important;background:none!important;box-shadow:none!important}#thinkingMain .thinking-info{margin:20px 0;padding:15px;border:1px solid #777;background:white;line-height:1.6}.thinking-info summary{cursor:pointer}#startupStatus{padding:12px;background:#edf4f6}
.tabs{display:flex;gap:8px;border-bottom:1px solid;padding-bottom:12px}.tabs button[aria-pressed=true]{background:#bde7fb}.setup{display:flex;align-items:center;gap:12px;margin:16px 0}.setup label{margin:0}.setup select{min-width:260px}.setup #present{margin-left:auto}#stage{border:1.3px solid;background:white;padding:24px;text-align:center;min-height:430px;display:flex;flex-direction:column;gap:12px}#stage h2{font-size:28px;font-weight:500;margin:0}.stage-top{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#526367;align-items:center}#prompt{font-size:19px;max-width:850px;margin:0 auto 10px}#visual{flex:1;display:flex;align-items:center;justify-content:center;min-height:150px}.worked{font-size:clamp(28px,4vw,48px);line-height:1.5}.worked p{margin:0}.reasoning{font-size:.48em;color:#536268;margin-top:8px!important}.equation{padding:15px 24px;border:1px solid;background:#edf5f9}.fraction{display:inline-flex;flex-direction:column;vertical-align:middle;line-height:1;gap:4px;font-size:32px}.fraction span:first-child{border-bottom:1.5px solid;padding:0 6px 4px}.fraction span:last-child{padding-top:2px}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:min(850px,100%)}.choice{background:#f8faf9;border:1.2px solid;padding:22px 12px;font-size:42px;font-weight:400;display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:center;min-height:140px}.choice small{font-size:13px}.choice.selected{background:#fff0c9;box-shadow:inset 0 0 0 2px #8b691b}.choice svg{max-width:110px;height:85px}.actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:14px}.stage-note{font-size:13px;color:#5b6669;margin:2px 0}#reveal{background:#edf5ee;border:1px solid #6f8a70;padding:16px;text-align:left;font-size:17px;line-height:1.45;max-width:950px;margin:auto;width:100%}#reveal h3{font-size:18px;margin:0 0 8px;font-weight:600}#reveal p{margin:4px 0}#reveal ul{margin:0;padding-left:22px}#reveal li+li{margin-top:7px}.teacher-note{font-size:14px;padding:16px 0;line-height:1.5}.teacher-note strong{font-weight:600}.diagram{display:flex;gap:22px;align-items:center}.diagram svg{max-width:250px;width:40vw}#stage:fullscreen{padding:32px 5vw;justify-content:center;overflow:auto;min-height:100vh}#stage:fullscreen #visual{flex:initial}#stage:fullscreen h2{font-size:40px}#stage:fullscreen #prompt{font-size:25px}#stage:fullscreen .worked{font-size:60px}#stage:fullscreen .stage-top{width:100%}#stage:fullscreen .choice{font-size:54px;min-height:180px}#stage:fullscreen #reveal{font-size:22px}.error-flag{display:inline-flex;gap:10px;align-items:center;background:#fff0c9;padding:8px 12px;font-size:15px;border:1px solid #ab8e4d;margin-top:12px}.error-flag svg{width:23px;height:23px}@media(max-width:700px){main{padding:18px 12px}.title p{display:block}.title h1{font-size:25px}.tabs button{flex:1;font-size:14px;padding:8px}.setup{flex-wrap:wrap;gap:8px}.setup label{width:100%}.setup select{min-width:0;flex:1;font-size:13px}.setup #present{margin:0}#stage{padding:16px 12px;min-height:0;gap:10px}#stage h2{font-size:24px}#prompt{font-size:16px}.choices{grid-template-columns:1fr 1fr;gap:10px}.choice{font-size:32px;padding:16px 8px;min-height:110px}.choice svg{height:70px}.diagram{flex-direction:column;gap:8px}.diagram svg{width:220px}.worked{font-size:29px}.actions button{flex:1;font-size:14px;padding:9px}#reveal{font-size:15px;padding:12px}#stage:fullscreen{padding:18px}#stage:fullscreen h2{font-size:28px}#stage:fullscreen #prompt{font-size:19px}#stage:fullscreen .choice{font-size:32px;min-height:110px}#stage:fullscreen .worked{font-size:36px}#stage:fullscreen #reveal{font-size:16px}}
.reflection{margin:18px 0}.reflection textarea{font:inherit;width:100%;border:1px solid #394749;border-radius:0;padding:12px;resize:vertical}.reflection small{display:block}.reflection textarea:focus-visible{outline:3px solid #587ba0;outline-offset:2px}@media print{header,.title,.tabs,.setup,.actions,.teacher-note,footer,dialog,.reflection small,#exit,.stage-top{display:none!important}body{background:white}main{padding:0;max-width:none}#stage{border:1px solid;min-height:0;padding:18px;break-inside:avoid}#stage h2{font-size:24px}#prompt{font-size:17px}.worked{font-size:32px}.choices{grid-template-columns:repeat(4,1fr);gap:10px}.choice{font-size:28px;min-height:100px}.reflection textarea{min-height:120px}#reveal{break-inside:avoid;font-size:14px} }
@media print{#integrationStatus{display:none!important}.reflection textarea::placeholder{color:transparent} }

#thinkingMain #stage{border:1.5px solid #212121!important;border-radius:0!important;box-shadow:none!important;background:#fffcf0!important}#thinkingMain .tabs button[aria-pressed=true]{background:#bde7fb!important}#thinkingMain .choice.selected{background:#fff0c9!important;box-shadow:inset 0 0 0 2px #8b691b!important}#thinkingMain select{appearance:auto!important;-webkit-appearance:menulist!important}#thinkingMain .reflection label{display:block;margin-bottom:8px}.activity-note{font-size:14px;color:#526367}
@media(max-width:700px){#thinkingMain{padding:0 12px}#thinkingMain .title{display:block}#thinkingMain .setup select{flex-basis:100%;width:100%}#thinkingMain #stage{padding:16px 12px!important}#thinkingMain .choice{font-size:32px!important}#thinkingMain .error-flag{font-size:13px}#thinkingMain .reasoning{font-size:16px}#thinkingMain .reflection{margin:18px 0}}
@media print{#student_navbar,body>footer,#thinkingMain>p,#thinkingMain>details,.dmr-issue-reporter{display:none!important}#thinkingMain{padding:0}#thinkingMain .reflection{border:0!important}#thinkingMain #stage{padding:18px!important;background:white!important}#thinkingMain .choice{font-size:28px!important;background:white!important}}
.thinking-dialog{border:1.4px solid var(--ink);border-radius:0;background:var(--paper);width:min(550px,calc(100% - 28px));max-height:85dvh;overflow:auto;padding:22px}.thinking-dialog::backdrop{background:#0005}.thinking-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.thinking-dialog h2{margin:0}.close{display:grid;place-items:center;width:44px;height:44px;padding:0;flex:none;background:var(--blue)}.close svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6}.thinking-dialog input{width:100%;min-height:44px;margin:10px 0;font:inherit}.thinking-dialog a{display:inline-block;margin:8px 6px 0 0}.thinking-dialog [data-account] canvas,.thinking-dialog [data-account] img{max-width:100%}#thinkingMain .reflection textarea{border:1.5px solid #212121!important;background:white!important;font-weight:400!important}#thinkingMain .tabs button[aria-pressed="false"]{background:white!important}#thinkingMain .tabs button[aria-pressed="true"]{background:#bde7fb!important}#thinkingMain .error-flag{justify-content:center}#thinkingMain .error-flag svg{flex:none}
#thinkingMain .error-flag svg{width:23px!important;max-width:23px!important;min-width:23px!important;height:23px!important}#thinkingMain .worked .error-flag{display:flex;width:fit-content;max-width:100%;margin:12px auto 0;align-items:center;text-align:left}#thinkingMain select{min-height:44px!important;line-height:1.4!important}
body #thinkingMain #spot[aria-pressed="true"],body #thinkingMain #belong[aria-pressed="true"]{background-color:#bde7fb!important;background-image:none!important}body #thinkingMain #spot[aria-pressed="false"],body #thinkingMain #belong[aria-pressed="false"]{background-color:white!important;background-image:none!important}#thinkingMain #visual .choice{font-size:42px!important}#thinkingMain #stage:fullscreen #visual .choice{font-size:54px!important}@media(max-width:700px){#thinkingMain #visual .choice,#thinkingMain #stage:fullscreen #visual .choice{font-size:32px!important}}
@media print{#thinkingMain #visual .choice,#thinkingMain #stage:fullscreen #visual .choice{font-size:28px!important}}
