.ttww{--blue:#114bb4;--dark:#082d7b;--gold:#ffba21;--cream:#fff9e7;font-family:Arial,system-ui,sans-serif;max-width:1100px;margin:0 auto;color:#102c61;line-height:1.45}.ttww *{box-sizing:border-box}.ttww button,.ttww select{font:inherit}.ttww button{cursor:pointer}.ttww button:disabled{opacity:.55;cursor:not-allowed}.ttww a:focus-visible,.ttww button:focus-visible,.ttww select:focus-visible{outline:3px solid #e38a00;outline-offset:3px}.ttww .ttww-hero{display:block;width:100%;height:auto;border-radius:20px 20px 0 0}.ttww .ttww-shell{background:linear-gradient(155deg,#fff9e7,#eaf4ff);border:3px solid #f7bd29;border-radius:0 0 22px 22px;box-shadow:0 14px 38px #07225d26;padding:22px}.ttww .ttww-heading{font-weight:850;font-size:clamp(20px,3vw,30px);text-align:center;color:var(--dark);margin:0 0 4px}.ttww .ttww-sub{text-align:center;margin:0 0 18px;color:#435d88}.ttww .ttww-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center}.ttww .ttww-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ttww .ttww-section{background:#fff;border:2px solid #efbd38;border-radius:18px;padding:17px;margin:13px 0;box-shadow:0 3px 0 #d5a5351c}.ttww .ttww-section h3{background:linear-gradient(#127eea,#08459c);color:white;border-radius:25px;text-align:center;margin:-3px auto 14px;padding:8px 14px;font-size:17px;max-width:570px}.ttww .ttww-btn{border:2px solid #73aae0;background:linear-gradient(#f9fdff,#d4eafa);border-radius:12px;padding:11px 12px;font-weight:750;color:#0a3a82;min-height:46px;box-shadow:0 3px 0 #0000000c}.ttww .ttww-btn:hover{filter:brightness(.97)}.ttww .ttww-btn[aria-pressed=true],.ttww .ttww-btn.ttww-active{background:linear-gradient(#188dee,#07489c);color:#fff;border-color:#e9a900;box-shadow:inset 0 0 0 1px #fff5b8}.ttww .ttww-primary{background:linear-gradient(#28c844,#159323);color:white;border:3px solid #f8bf29;padding:13px 30px;font-size:19px;border-radius:28px;font-weight:850;box-shadow:0 4px 0 #10611f}.ttww .ttww-primary:hover{filter:brightness(1.04)}.ttww .ttww-small{font-size:13px;padding:8px 12px;min-height:36px}.ttww .ttww-topline{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:10px}.ttww .ttww-pill{display:inline-block;background:#dcecff;color:#0c438d;padding:6px 11px;border-radius:25px;font-size:13px;font-weight:700}.ttww .ttww-prompt{text-align:center;font-size:18px;font-weight:760;margin:14px 0}.ttww .ttww-word{font-size:clamp(30px,5vw,51px);color:#073b94;font-weight:900;text-align:center;overflow-wrap:anywhere;margin:13px 0}.ttww .ttww-sentence{font-size:clamp(17px,2.2vw,23px);text-align:center;color:#24385a;margin:15px auto;max-width:760px}.ttww .ttww-answers{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:16px auto}.ttww .ttww-part{font-size:20px;min-width:72px}.ttww .ttww-answerline{padding:14px;text-align:center;background:#f0f7ff;border:2px dashed #81a7df;border-radius:14px;margin:15px auto;min-height:60px;max-width:760px;font-size:23px;font-weight:800;letter-spacing:.3px}.ttww .ttww-result{padding:12px;border-radius:12px;font-weight:750;text-align:center;margin:15px auto;max-width:790px}.ttww .ttww-good{background:#e3f8e6;color:#145e24;border:1px solid #70bb79}.ttww .ttww-try{background:#fff2da;color:#7c480b;border:1px solid #f3c86b}.ttww .ttww-audio{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:14px auto}.ttww .ttww-progress{height:13px;background:#d5e4f8;border-radius:99px;overflow:hidden;border:1px solid #b5c9e8}.ttww .ttww-progress span{display:block;background:linear-gradient(90deg,#22a84a,#a6d82d);height:100%;transition:width .2s}.ttww .ttww-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0 5px}.ttww .ttww-muted{color:#567;font-size:13px;text-align:center}.ttww .ttww-cert{border:4px double #dca50d;border-radius:17px;background:#fffbee;padding:26px;text-align:center;margin:15px auto}.ttww .ttww-cert h2{font-size:32px;color:#1049a0}.ttww .ttww-cert-name{font-size:24px;border-bottom:2px solid #e5c960;display:inline-block;padding:8px 50px}.ttww .ttww-name{padding:10px;max-width:350px;width:90%;border:2px solid #aac5e3;border-radius:8px}.ttww .ttww-hidden{display:none!important}.ttww .ttww-note{margin:12px auto 0;max-width:760px;text-align:center;color:#50678b;font-size:13px}.ttww .ttww-feedbackbox{background:#fff9e7;border-radius:10px;padding:12px;margin:12px 0;text-align:center}.ttww .ttww-label{font-size:14px;font-weight:bold;display:inline-block;margin-right:6px}@media(max-width:650px){.ttww .ttww-shell{padding:10px}.ttww .ttww-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttww .ttww-btn{padding:9px 7px;font-size:14px}.ttww .ttww-section{padding:12px}.ttww .ttww-section h3{font-size:15px}}
/* Classroom artwork is the approved visual launchpad. Real accessible controls
   are layered over the image rather than recreating the illustration in HTML. */
.ttww .ttww-art{position:relative;width:100%;overflow:hidden;border:3px solid #e8af20;border-radius:20px 20px 0 0;background:#d9ebff}
.ttww .ttww-art .ttww-hero{border-radius:0;width:100%;display:block;aspect-ratio:3/2;object-fit:fill}
.ttww .ttww-hitlayer{position:absolute;inset:0}
.ttww .ttww-hot{position:absolute;background:transparent;border:2px solid transparent;border-radius:14px;min-width:0;min-height:0;padding:0;box-shadow:none;transition:box-shadow .14s,border-color .14s}
.ttww .ttww-hot:hover{box-shadow:0 0 0 3px #fff8,0 0 0 6px #ffca27dd}
.ttww .ttww-hot-selected{box-shadow:inset 0 0 0 3px #fff,0 0 0 3px #fff,0 0 0 6px #1d8fff;border-color:#0754ad}
.ttww .ttww-hot.ttww-start-hit:hover{box-shadow:0 0 0 5px #ffdf51,0 0 20px #63fa76}
.ttww .ttww-selection{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.ttww .ttww-mobile-options{display:none}
.ttww .ttww-mobile-options h3{color:#0a3f90;text-align:center;margin:12px 0}
.ttww .ttww-count{margin-top:12px}
.ttww .ttww-strip{display:block;width:100%;height:240px;object-fit:cover;object-position:center top;border:3px solid #f5c14c;border-radius:18px 18px 0 0;background:#dae7fe}
.ttww .ttww-context{font-weight:800;line-height:1.6}
.ttww .ttww-fluency{border-radius:13px;padding:22px 18px;background:#f0f7ff;border:1px solid #a4c8e9;line-height:1.65}
.ttww .ttww-choice{min-width:132px}
@media(min-width:900px){.ttww .ttww-strip{height:300px}}
@media(max-width:650px){.ttww .ttww-art .ttww-hero{max-height:270px;object-fit:cover;object-position:center top;aspect-ratio:auto}.ttww .ttww-hitlayer{display:none}.ttww .ttww-mobile-options{display:block}.ttww .ttww-strip{height:170px}.ttww .ttww-selection{margin-top:15px}.ttww .ttww-choice{min-width:105px}.ttww .ttww-prompt{font-size:17px}}
@media(prefers-reduced-motion:reduce){.ttww *{transition:none!important}}

/* v1.1: precise native controls (no transparent overlay alignment drift). */
.ttww .ttww-launch-banner{height:clamp(130px,23vw,245px);overflow:hidden;border:3px solid #f0be3b;border-radius:20px 20px 0 0;background:#d4ebff;position:relative}
.ttww .ttww-launch-banner .ttww-hero{display:block;width:100%;height:auto;border-radius:0;max-width:none}
.ttww .ttww-launch-controls{border-radius:0 0 22px 22px}
.ttww .ttww-grade-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;align-items:stretch}
.ttww .ttww-grade-grid .ttww-grade-option{padding:12px 3px;min-width:0;width:100%;text-align:center}
.ttww .ttww-section .ttww-space-top{margin-top:22px}
.ttww.ttww-practicing{max-width:1000px;margin:0 auto;background:#fff}
.ttww .ttww-clean-workspace{background:#fff;border:2px solid #e5edf7;border-radius:20px;box-shadow:0 6px 22px #132c5520;padding:28px}
.ttww .ttww-clean-workspace .ttww-section{background:#fff;border-color:#d7e3f1;box-shadow:none}
@media(max-width:780px){.ttww .ttww-grade-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ttww .ttww-launch-banner{height:clamp(125px,24vw,205px)}}
@media(max-width:500px){.ttww .ttww-grade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttww .ttww-launch-banner{height:clamp(100px,24vw,145px)}.ttww .ttww-clean-workspace{padding:12px}.ttww .ttww-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v1.3 — one seamless classroom image beneath the banner; feathered glass controls. */
.ttww {max-width:1160px;}
.ttww .ttww-launch-frame{border:3px solid #eab52d;border-radius:24px;overflow:hidden;box-shadow:0 16px 37px rgba(8,44,109,.19);background:#dceeff;}
.ttww .ttww-launch-banner{height:auto!important;aspect-ratio:1536/365;overflow:hidden;border:0!important;border-radius:0!important;box-shadow:none!important;}
.ttww .ttww-launch-banner .ttww-hero{display:block;width:100%;height:100%!important;object-fit:cover;object-position:top center;}
.ttww .ttww-classroom-scene{position:relative;isolation:isolate;min-height:620px;padding:12px clamp(14px,10vw,150px) 26px;background-image:url('word-wizard-classroom-background.webp');background-position:center center;background-size:100% 100%;background-repeat:no-repeat;background-color:#e7f4ff;}
.ttww .ttww-classroom-scene:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.10) 17%,rgba(255,255,255,.0) 50%,rgba(255,255,255,.10) 83%,rgba(255,255,255,0) 100%);}
.ttww .ttww-classroom-scene .ttww-launch-controls{position:relative;z-index:1;max-width:790px;margin:0 auto;align-self:start;padding:20px clamp(16px,3vw,36px) 26px;border:0;border-radius:40px;box-shadow:0 12px 36px rgba(14,60,112,.10),inset 0 0 33px 24px rgba(255,255,255,.34);background:linear-gradient(135deg,rgba(255,254,245,.92),rgba(237,247,255,.94));-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);-webkit-mask-image:radial-gradient(ellipse 79% 82% at center,#000 75%,rgba(0,0,0,.95) 85%,rgba(0,0,0,.76) 94%,transparent 100%);mask-image:radial-gradient(ellipse 79% 82% at center,#000 75%,rgba(0,0,0,.95) 85%,rgba(0,0,0,.76) 94%,transparent 100%);}
.ttww .ttww-classroom-scene .ttww-heading{font-size:clamp(21px,2.5vw,30px);margin-top:4px;}
.ttww .ttww-classroom-scene .ttww-sub{font-size:14px;margin-bottom:8px;}
.ttww .ttww-classroom-scene .ttww-section{background:rgba(255,255,255,.83);border:1.5px solid #eab938;box-shadow:0 4px 15px rgba(15,72,154,.08);padding:14px 13px;margin:10px 0;border-radius:19px;}
.ttww .ttww-classroom-scene .ttww-section h3{padding:7px 12px;margin:0 auto 12px;}
.ttww .ttww-classroom-scene .ttww-grade-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;}
.ttww .ttww-classroom-scene .ttww-grade-option{font-size:16px;min-height:46px;padding:8px 0;width:100%;text-align:center;}
.ttww .ttww-classroom-scene .ttww-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.ttww .ttww-classroom-scene .ttww-grid .ttww-btn{min-height:51px;padding:7px 9px;font-size:14px;line-height:1.25;}
.ttww .ttww-classroom-scene .ttww-section .ttww-space-top{margin-top:17px;}
.ttww .ttww-classroom-scene .ttww-selection{margin:8px auto;}
.ttww .ttww-classroom-scene .ttww-primary{font-size:18px;}
.ttww.ttww-practicing{max-width:1000px;background:#fff;}
@media (max-width:800px){
 .ttww .ttww-classroom-scene{padding:12px 9% 24px;min-height:620px;}
 .ttww .ttww-classroom-scene .ttww-launch-controls{padding:15px 15px 23px;}
}
@media(max-width:600px){
 .ttww .ttww-classroom-scene{padding:12px 8px 20px;background-position:center;background-size:cover;min-height:0;}
 .ttww .ttww-classroom-scene .ttww-launch-controls{padding:14px 9px 18px;border-radius:22px;background:rgba(250,252,255,.96);-webkit-mask-image:none;mask-image:none;}
 .ttww .ttww-classroom-scene .ttww-grade-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;}
 .ttww .ttww-classroom-scene .ttww-grade-option{font-size:13px;min-height:40px;padding:8px 0;}
 .ttww .ttww-classroom-scene .ttww-section{padding:10px 7px;}
 .ttww .ttww-classroom-scene .ttww-grid .ttww-btn{font-size:12px;}
 .ttww .ttww-classroom-scene .ttww-heading{font-size:20px;}
}

/* v1.3.1: readable feedback, touch targets and certificate output. */
.ttww .ttww-audio-status,.ttww .ttww-certificate-status{text-align:center;color:#143e72;min-height:1.5em;overflow-wrap:anywhere}
.ttww .ttww-certificate-preview{display:block;width:100%;height:auto;max-width:724px;margin:18px auto 0}
.ttww .ttww-name-label{display:block;font-weight:bold;margin-top:16px}.ttww .ttww-name{display:block;margin:8px auto;font:inherit}
.ttww input:focus-visible{outline:3px solid #9b5b00;outline-offset:3px}
.ttww .ttww-small{min-height:44px}.ttww .ttww-choice{overflow-wrap:anywhere;max-width:100%;white-space:normal}
.ttww .ttww-cert{padding:18px}.ttww .ttww-result:focus{outline:3px solid #174e91;outline-offset:3px}
@media(max-width:600px){.ttww .ttww-classroom-scene .ttww-grade-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ttww .ttww-classroom-scene .ttww-grade-option{min-height:44px}.ttww .ttww-classroom-scene .ttww-grid .ttww-btn{font-size:14px}.ttww .ttww-cert{padding:10px}.ttww .ttww-name{width:100%}}

/* Word Challenge and transparent session results. */
.ttww .ttww-help-status{font-size:14px;color:#384a60}.ttww .ttww-challenge-label{font-weight:800;color:#174788}.ttww .ttww-answer-reveal{background:#fff3cd;border:2px solid #c68e14;border-radius:12px;padding:12px;color:#173764}.ttww .ttww-score-breakdown{list-style:none;padding:0;margin:15px auto;max-width:480px;text-align:left}.ttww .ttww-score-breakdown li{display:flex;justify-content:space-between;gap:12px;padding:9px;border-bottom:1px solid #c9d8e6}.ttww .ttww-part{min-width:44px;min-height:44px}


/* 1.5.1: compact setup, preserving the original artwork and exercise layout. */
.ttww:not(.ttww-practicing){max-width:900px}
.ttww .ttww-compact-home .ttww-classroom-scene{min-height:0;padding:10px clamp(16px,7vw,85px) 14px;background-size:100% 100%}
.ttww .ttww-compact-home .ttww-launch-controls{max-width:730px;padding:14px 22px 12px;border-radius:24px;-webkit-mask-image:none;mask-image:none;background:linear-gradient(135deg,rgba(255,254,245,.96),rgba(237,247,255,.96))}
.ttww .ttww-compact-home .ttww-heading{font-size:clamp(20px,2.3vw,26px);line-height:1.25;margin:0 0 3px}
.ttww .ttww-compact-home .ttww-sub{font-size:14px;margin:0 0 12px}
.ttww .ttww-setup-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 14px}
.ttww .ttww-setup-field{grid-column:span 2;min-width:0;display:block;font-size:14px;font-weight:800;color:#123d79}
.ttww .ttww-setup-skill{grid-column:span 4}
.ttww .ttww-setup-field select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;margin-top:4px;padding:7px 9px;border:2px solid #6b9ed3;border-radius:10px;background:#fff;color:#10366b;font-size:16px;line-height:1.3;box-shadow:0 2px 0 #12396a10}
.ttww .ttww-setup-field select:disabled{opacity:1;background:#eaf0f7;color:#50637a;border-color:#b1c2d5;cursor:default}
.ttww .ttww-bank-summary{margin:10px 0 6px;text-align:center;color:#405b7d;font-size:14px;line-height:1.4}
.ttww .ttww-compact-home .ttww-actions{margin:6px 0 8px}
.ttww .ttww-compact-home .ttww-primary{font-size:18px;min-height:48px;padding:9px 28px}
.ttww .ttww-setup-help{font-size:14px;color:#405b7d;line-height:1.5;margin:0}
.ttww .ttww-setup-help summary{width:fit-content;max-width:100%;margin:auto;min-height:30px;padding:4px 8px;cursor:pointer;font-weight:700;color:#123d79}
.ttww .ttww-setup-help summary:focus-visible{outline:3px solid #9b5b00;outline-offset:3px}
.ttww .ttww-setup-help p{margin:8px 0}
@media(max-width:700px){.ttww .ttww-compact-home .ttww-classroom-scene{padding:10px 18px 14px}.ttww .ttww-compact-home .ttww-launch-controls{padding:14px 16px 12px}.ttww .ttww-setup-grid{gap:10px}}
@media(max-width:560px){.ttww .ttww-compact-home .ttww-classroom-scene{padding:10px 8px 14px;background-size:cover}.ttww .ttww-compact-home .ttww-launch-controls{padding:14px 12px}.ttww .ttww-setup-grid{grid-template-columns:1fr 1fr}.ttww .ttww-setup-field{grid-column:span 1}.ttww .ttww-setup-skill,.ttww .ttww-setup-grade,.ttww .ttww-setup-mode{grid-column:1 / -1}.ttww .ttww-compact-home .ttww-heading{font-size:20px}.ttww .ttww-setup-help summary{min-height:44px;padding:10px 8px}}

/* 1.6.0: teacher-selected sets inside the existing collapsed disclosure. */
.ttww .ttww-teacher-body{text-align:left;border-top:1px solid #bdd1e6;margin-top:8px;padding-top:8px}
.ttww .ttww-teacher-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.ttww .ttww-teacher-actions .ttww-btn{font-size:14px;padding:8px 12px}
.ttww .ttww-word-search{display:block;font-weight:700}
.ttww .ttww-word-search input{display:block;box-sizing:border-box;width:100%;min-height:44px;margin:6px 0;padding:8px;border:2px solid #6b9ed3;border-radius:10px;color:#123d79;font:inherit;font-size:16px;background:white}
.ttww .ttww-word-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:260px;overflow-y:auto;padding:6px;border:1px solid #bdd1e6;border-radius:10px;background:#fff}
.ttww .ttww-teacher-word{display:flex;gap:8px;align-items:center;min-height:44px;padding:5px 8px;border-radius:6px;cursor:pointer;overflow-wrap:anywhere;min-width:0;background:#f2f7fc}
.ttww .ttww-teacher-word[hidden]{display:none}
.ttww .ttww-teacher-word input{width:19px;height:19px;flex:0 0 19px;margin:0;accent-color:#174e91}
.ttww .ttww-teacher-word span{min-width:0}
.ttww .ttww-selection-status{font-weight:700}
.ttww .ttww-compact-home [data-start]:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:560px){.ttww .ttww-word-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ttww .ttww-word-list.ttww-prompt-list{grid-template-columns:1fr}
