@font-face{font-family:Manrope;src:url('../../shared/fonts/manrope-variable.ttf') format('truetype');font-display:swap;font-weight:200 800}
*{box-sizing:border-box}body{margin:0}.tg{color:#0E3068;max-width:1000px;margin:auto;width:100%;font:600 17px/1.4 Manrope,sans-serif}.tg button{font:700 17px Manrope,sans-serif;min-height:48px;min-width:48px;padding:8px 12px;border:2px solid #0E3068;border-radius:10px;background:#F8FCFF;color:#0E3068;cursor:pointer}.tg button:hover:not(:disabled){background:#D9EEF8}.tg button[aria-pressed=true]{background:#7FC4F2;border-width:3px}.tg button:disabled{opacity:.5;cursor:default}.tg :focus-visible{outline:4px solid #2A7DE1;outline-offset:3px}.tg ::selection{background:#7FC4F2;color:#0E3068}.tg-instruction{display:flex;align-items:center;gap:14px;background:#F8FCFF;border-radius:12px;padding:10px 16px;margin:0 0 10px}.tg-instruction p{margin:0;flex:1;font-size:19px}.tg-instruction button{flex:none}.tg-content{display:grid;grid-template-columns:minmax(280px,520px) minmax(200px,320px);justify-content:center;gap:20px;align-items:center}.tg-map{background:#F8FCFF;border-radius:14px;padding:8px;width:100%;aspect-ratio:1;max-height:450px;position:relative}.tg-map.tg-tall{aspect-ratio:12/20;max-height:440px;width:auto;justify-self:center;height:440px}.tg-grid{width:100%;height:100%;display:block;touch-action:none;outline-offset:2px}.tg-grid text{fill:#0E3068;font:600 17px Manrope,sans-serif;pointer-events:none}.tg-grid .tg-axis{stroke:#0E3068;stroke-width:2}.tg-grid .tg-line{stroke:#D1DFEC;stroke-width:1}.tg-grid .tg-reference{stroke:#0E3068;stroke-width:3;fill:#7FC4F2}.tg-grid .tg-selected{fill:#E8B44A;stroke:#0E3068;stroke-width:3}.tg-grid .tg-marker{fill:#C8202E;stroke:#F8FCFF;stroke-width:3}.tg-grid .tg-segment{fill:none;stroke:#0E3068;stroke-width:3}.tg-grid .tg-route{fill:none;stroke:#2A7DE1;stroke-width:4;stroke-dasharray:7 4}.tg-tools{display:flex;flex-direction:column;gap:12px;align-self:center}.tg-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tg-arrows{display:grid;grid-template-columns:repeat(3,48px);gap:6px;justify-content:center}.tg-arrows button:first-child{grid-column:2}.tg-arrows button:nth-child(2){grid-column:1}.tg-number-bank{display:flex;gap:6px;flex-wrap:wrap;max-width:320px}.tg-number-bank button{width:48px;padding:4px;font-size:21px}.tg-slots{display:flex;align-items:center;gap:8px;background:#F8FCFF;padding:12px;border-radius:12px;font-size:25px}.tg-slots button{font-size:27px;min-width:62px;min-height:62px}.tg-table{background:#F8FCFF;border-collapse:collapse;font-size:21px;align-self:flex-start}.tg-table td,.tg-table th{padding:7px 14px;text-align:center;border:1px solid #86A4C8}.tg-table th{background:#D9EEF8}.tg-note{margin:0;background:#F8FCFF;padding:10px 12px;border-radius:10px}.tg-feedback{margin:10px 0 0;background:#F8FCFF;padding:10px 14px;border-radius:10px}.tg-feedback:empty{display:none}.tg-prerequisite{background:#F8FCFF;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.tg-prerequisite p{margin:0}.tg-prerequisite button{font-size:16px}.tg-comic{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:700px;margin:0 auto 12px}.tg-comic figure{margin:0;background:#F8FCFF;border:2px solid #0E3068;border-radius:10px;overflow:hidden;height:90px}.tg-comic svg{height:100%;width:100%}.tg-comic image{object-fit:contain}.tg-comic text{font:700 14px Manrope,sans-serif;fill:#0E3068}.tg-comic .tg-comic-line{stroke:#0E3068;stroke-width:2;fill:none}.tg-comic .tg-comic-point{stroke:#0E3068;stroke-width:2;fill:#7FC4F2}.tg-small{font-size:15px}.tg-answer-row{display:flex;gap:10px;flex-wrap:wrap}.tg-keep{margin-top:12px}.tg-hand{position:fixed;z-index:90;width:74px;pointer-events:none;transform:translate(-20%,-5%)}.tg-demo-caption{margin:0 0 10px;width:fit-content;max-width:100%;background:#F8FCFF;color:#0E3068;border:2px solid #0E3068;border-radius:12px;padding:10px 18px;font:700 18px Manrope,sans-serif;pointer-events:none}.tg-success{background:#E8B44A;border-radius:12px;padding:12px}.tg-final-content{max-width:600px;margin:18px auto;padding:18px;background:#F8FCFF;border-radius:12px;color:#0E3068}.tg-final-content h2{font-size:24px}.tg-final-content a{color:#0E3068;text-underline-offset:4px}.tg-final-content button{min-height:48px;font:700 18px Manrope,sans-serif}.tg-layout-grid .tg-map{min-height:300px}.tg-model-label{font-size:15px;margin:0}.tg-route-note{background:#F8FCFF;padding:8px;border-radius:10px;margin:0;font-size:16px}
@media(min-width:850px) and (max-height:850px){.tg-map{max-height:365px}.tg-map.tg-tall{height:365px;max-height:365px}.tg-content{grid-template-columns:minmax(280px,365px) minmax(200px,330px);gap:18px}.tg-instruction p{font-size:17px}.tg-comic{margin-bottom:8px}.tg-comic figure{height:62px}.tg .mc-companion{margin-bottom:4px}.tg-number-bank{gap:4px}.tg-number-bank button{min-width:48px;min-height:48px}.tg-tools{gap:8px}.tg .mc-companion[data-single-actor=true] .mc-companion-actors,.tg .mc-companion[data-single-actor=true] [data-companion]{height:145px}.tg .mc-companion[data-single-actor=true]{grid-template-columns:90px minmax(0,1fr) 48px}.tg .mc-companion[data-single-actor=true] .mc-companion-actors{width:90px}.tg .mc-companion[data-single-actor=true] [data-companion]{width:90px}}
@media(max-width:700px){.tg-content{grid-template-columns:minmax(0,1fr);gap:14px}.tg-map{width:min(100%,460px);justify-self:center;max-height:none}.tg-tools{align-self:stretch;max-width:480px;width:100%;justify-self:center}.tg-number-bank{max-width:none}.tg-number-bank button{flex:0 0 48px}.tg-instruction p{font-size:17px}.tg-comic{gap:4px}.tg-comic figure{height:75px}.tg-map.tg-tall{height:470px;max-height:470px}.tg-slots{justify-content:center}.tg-arrows{justify-content:start}.tg-demo-caption{font-size:16px}.tg-final-content{margin:12px}}
@media(prefers-reduced-motion:reduce){.tg *{scroll-behavior:auto!important;transition:none!important}}

html,body{height:100%;min-height:100%}#activity{min-height:100dvh;height:100%}.tg-map.tg-wide{aspect-ratio:355/235;max-height:none}.tg-discovery{background:#E8B44A;border:2px solid #0E3068;border-radius:12px;padding:12px 18px}.tg-discovery h2{margin:0}.tg-discovery p{margin:8px 0}.tg-final-content button{background:#F8FCFF;border:2px solid #0E3068;border-radius:10px;padding:8px 18px;color:#0E3068;cursor:pointer}

@media(min-width:850px) and (max-height:850px){.tg-slots{padding:6px}.tg-slots button{min-height:48px;min-width:56px;font-size:25px}.tg-prerequisite{padding:8px;gap:6px}.tg-tools{gap:6px}}
