.tt-rc{--rc-blue:#1645ab;--rc-cream:#fff1df;--rc-green:#17663d;--rc-red:#9c2929;max-width:940px;margin:24px auto;color:#142b50;background:#fff;border:1px solid #dce3f1;border-radius:20px;overflow:hidden;font-family:inherit;box-shadow:0 8px 26px #163e8012;text-align:left}.tt-rc *{box-sizing:border-box}.tt-rc [hidden]{display:none!important}.tt-rc .rc-head{background:var(--rc-blue);color:white;text-align:center;padding:24px}.tt-rc .rc-head h2{color:var(--rc-cream);font-size:clamp(28px,5vw,42px);margin:0}.tt-rc .rc-head p{margin:6px 0 0;color:white}.tt-rc .rc-settings,.tt-rc .rc-game,.tt-rc .rc-finish{padding:clamp(14px,3vw,30px)}.tt-rc .rc-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px;align-items:end}.tt-rc label{font-weight:700;display:block}.tt-rc select,.tt-rc input:not([type=checkbox]){display:block;width:100%;min-height:46px;border:1px solid #9aa9bf;border-radius:8px;padding:9px;background:white;color:#142b50;font:inherit;margin-top:6px}.tt-rc button{border:0;border-radius:9px;background:var(--rc-blue);color:white;font:inherit;font-weight:700;padding:12px 18px;cursor:pointer;min-height:44px}.tt-rc button:hover{background:#103681}.tt-rc button:focus-visible,.tt-rc input:focus-visible,.tt-rc select:focus-visible{outline:3px solid #e07923;outline-offset:3px}.tt-rc button:disabled{cursor:default;opacity:1}.tt-rc .rc-secondary{background:var(--rc-cream);color:var(--rc-blue)}.tt-rc .rc-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.tt-rc progress{width:100%;height:12px;accent-color:var(--rc-blue)}.tt-rc .rc-prompt{text-align:center;font-size:clamp(21px,4vw,30px);margin:18px 0 8px;color:var(--rc-blue)}.tt-rc .rc-number{display:flex;justify-content:center;align-items:flex-end;padding:8px 0 15px;overflow:hidden}.tt-rc .rc-cell{width:min(9.8%,65px);flex:0 0 min(9.8%,65px);position:relative;padding-top:106px;text-align:center}.tt-rc .rc-cell.rc-dot{width:4%;flex-basis:4%}.tt-rc .rc-label{position:absolute;left:50%;bottom:65px;transform:rotate(-45deg);transform-origin:0 50%;white-space:nowrap;font-size:clamp(10px,2.4vw,15px);font-weight:700;line-height:1}.tt-rc .rc-number:has(.rc-cell:last-child .rc-label){padding-right:clamp(35px,10vw,90px)}.tt-rc .rc-digit{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:56px;padding:0;background:var(--rc-cream);color:var(--rc-blue);border:1px solid #e2d5c6;border-radius:7px;font-size:clamp(22px,5vw,38px);line-height:1;font-variant-numeric:tabular-nums}.tt-rc .rc-dot .rc-digit{background:transparent;border:0}.tt-rc .rc-digit:hover:not(:disabled){background:#e0eaff}.tt-rc .rc-under:after{content:'';position:absolute;bottom:6px;left:20%;right:20%;height:4px;background:var(--rc-blue);border-radius:5px}.tt-rc .rc-circle:before{content:'';position:absolute;inset:5px 2px;border:3px solid #b85a10;border-radius:50%}.tt-rc .rc-steps{display:grid;gap:10px}.tt-rc .rc-step{border:1px solid #dce3f1;border-radius:10px;padding:14px;background:#f5f7fb}.tt-rc .rc-step.active{background:var(--rc-cream);border-color:#cba97b}.tt-rc .rc-step.done{border-color:#8cba9b}.tt-rc .rc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.tt-rc .rc-actions button{flex:1}.tt-rc .rc-feedback{min-height:48px;padding:12px 0;font-weight:700;color:var(--rc-green)}.tt-rc .rc-feedback.bad{color:var(--rc-red)}.tt-rc .rc-no-labels .rc-cell{padding-top:0}.tt-rc .rc-no-labels .rc-label{display:none}.tt-rc .rc-finish h3{color:var(--rc-blue)}@media(max-width:480px){.tt-rc .rc-cell{padding-top:82px}.tt-rc .rc-label{bottom:58px}.tt-rc .rc-digit{height:48px}.tt-rc .rc-number{padding-right:30px!important}.tt-rc .rc-cell{width:11%;flex-basis:11%}}
@media(max-width:380px){.tt-rc .rc-label{font-size:9px}.tt-rc .rc-cell{padding-top:76px}.tt-rc .rc-digit{font-size:22px}.tt-rc .rc-number{padding-right:30px!important}}

/* Illustrated setup only; active problems retain the full-width workspace. */
.tt-rc{container-type:inline-size}
.tt-rc:has(.rc-settings:not([hidden])) .rc-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tt-rc .rc-classroom:has(.rc-settings[hidden]){display:none}
.tt-rc .rc-classroom{position:relative;background:var(--rc-cream)}
.tt-rc .rc-art{display:block;line-height:0}
.tt-rc .rc-art img{width:100%;height:auto;display:block;margin:0;border-radius:0;max-width:none}
.tt-rc .rc-art .rc-art-full{display:none}
.tt-rc .rc-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}
.tt-rc .rc-settings .rc-check,.tt-rc .rc-settings button[type=submit]{grid-column:1/-1}
.tt-rc .rc-settings .rc-check{display:flex;align-items:center;gap:8px;font-size:14px}
.tt-rc .rc-settings .rc-check input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--rc-blue)}
.tt-rc .rc-settings button[type=submit]{background:#18733e;border:2px solid #f3ba44;box-shadow:0 3px 0 #0e4e2b;color:#fff;font-size:18px}
.tt-rc .rc-settings button[type=submit]:hover{background:#125d32}
@container (min-width: 820px){
 .tt-rc .rc-art .rc-art-full{display:block}
 .tt-rc .rc-art .rc-art-heading{display:none}
 .tt-rc .rc-settings{position:absolute;left:27.4%;top:33%;width:45.2%;height:52.3%;padding:8px 10px;gap:7px 12px;align-content:center;align-items:end;grid-template-columns:repeat(2,minmax(0,1fr));font-size:13px;background:transparent}
 .tt-rc .rc-settings label{font-size:13px;line-height:1.15;min-width:0}
 .tt-rc .rc-settings select{height:36px;min-height:36px;margin-top:4px;padding:4px 5px;font-size:13px;line-height:normal}
 .tt-rc .rc-settings .rc-check{font-size:13px;min-height:26px}
 .tt-rc .rc-settings button[type=submit]{min-height:44px;padding:7px 12px;font-size:18px}
}
@container (max-width: 440px){.tt-rc .rc-settings{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}}
