/* Soroban Academy R36 — trainer wheel + student profile manager */
.r36WheelHomeCard{position:relative;overflow:hidden}.r36TrainerOnly{position:absolute;left:10px;bottom:9px;background:rgba(255,255,255,.9);border:1px solid #ead9a8;color:#785d27;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.r36DrawerWheel{background:url('./ui194/r36_wheel.svg') center/cover no-repeat!important;color:transparent!important}
.r36WheelScreen{background:radial-gradient(circle at 8% 5%,#eef7f2 0,transparent 28%),linear-gradient(180deg,#fbfcfa,#f7f5ee);min-height:calc(100vh - 72px);padding-bottom:42px}.r36WheelHero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:#fff;border:1px solid #dce8e2;border-radius:28px;padding:24px;box-shadow:0 16px 44px rgba(24,66,54,.07);margin-bottom:16px}.r36WheelHero small{color:#739086;font-weight:900}.r36WheelHero h2{margin:5px 0;color:#153f39;font-size:clamp(27px,5vw,40px)}.r36WheelHero p{margin:0;color:#71817c;line-height:1.7}.r36WheelLayout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:16px}.r36WheelControl,.r36WheelSide{border:1px solid #dce7e2!important;border-radius:28px!important;background:#fff!important;padding:18px!important;box-shadow:0 14px 36px rgba(28,70,58,.055)!important}.r36WheelFilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r36WheelFilters select,.r36BulkGrid input,.r36BulkGrid select,.r36EditorGrid input,.r36EditorGrid select{width:100%;min-height:44px;border:1px solid #d8e5df;border-radius:13px;background:#fbfdfc;padding:9px 11px;color:#244b43}.r36WheelSummary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.r36WheelSummary span{padding:7px 10px;border-radius:999px;background:#f2f7f4;border:1px solid #e0e9e5;color:#61776f;font-size:11px;font-weight:850}.r36WheelSummary b{color:#176f5b;font-size:14px}.r36WheelStage{position:relative;display:grid;place-items:center;min-height:370px;padding:7px}.r36WheelStage canvas{display:block;max-width:100%;border-radius:50%;filter:drop-shadow(0 20px 30px rgba(30,75,61,.12));will-change:transform}.r36Pointer{position:absolute;z-index:5;top:0;left:50%;transform:translateX(-50%);width:0;height:0;border-left:18px solid transparent;border-right:18px solid transparent;border-top:0;border-bottom:35px solid #153f39;filter:drop-shadow(0 5px 5px rgba(0,0,0,.15))}.r36SpinBtn{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:90px;height:90px;border-radius:50%;border:6px solid #fff;background:#fbfaf4;color:#153f39;font-size:18px;font-weight:950;box-shadow:0 8px 24px rgba(23,63,57,.2);cursor:pointer}.r36SpinBtn:disabled{opacity:.78}.r36Winner{max-width:650px;margin:12px auto 0;border-radius:20px;padding:14px;text-align:center;background:linear-gradient(135deg,#eef8f3,#fff9eb);border:1px solid #d7e8df}.r36Winner small,.r36Winner span{display:block;color:#73877f}.r36Winner b{display:block;color:#153f39;font-size:25px;margin:3px 0}.r36Winner span{font-size:11px;line-height:1.7}.r36WheelActions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.r36Check{display:flex;align-items:center;gap:7px;color:#5f756d;font-size:12px;font-weight:800}.r36Check input{width:18px;height:18px;accent-color:#176f5b}.r36WheelRoster{display:grid;gap:7px;max-height:430px;overflow:auto;padding-left:3px}.r36RosterItem{display:flex;align-items:center;gap:9px;border:1px solid #e1e9e5;border-radius:14px;padding:9px;background:#fbfdfc}.r36RosterItem>span{width:31px;height:31px;border-radius:10px;background:#eaf6f0;color:#176f5b;display:grid;place-items:center;font-weight:950}.r36RosterItem b,.r36RosterItem small{display:block}.r36RosterItem b{color:#284c44}.r36RosterItem small{color:#85958f;margin-top:2px;font-size:9px}.r36RosterItem.used{opacity:.52;background:#f5f6f5}.r36History{margin-top:15px;border-top:1px solid #e3ebe7;padding-top:13px}.r36History h3{font-size:15px;margin:0 0 8px;color:#244a42}.r36HistoryItem{display:grid;grid-template-columns:25px 1fr auto;gap:7px;align-items:center;padding:7px;border-radius:10px}.r36HistoryItem:nth-child(odd){background:#f7faf8}.r36HistoryItem span{color:#8b9a95;font-size:10px}.r36HistoryItem b{color:#31554d;font-size:12px}.r36HistoryItem small,.r36Muted{color:#8a9994;font-size:10px}.r36Muted{padding:8px}
.r36EditorCard{max-width:760px!important}.r36EditorGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.r36EditorHint{background:#f4f8f6;border:1px solid #e0e9e5;color:#6a7f78;border-radius:14px;padding:11px;margin:6px 0 13px;font-size:11px;line-height:1.7}.r36BulkProfileTools{margin-top:14px!important;border-color:#dbe8e1!important}.r36BulkLead{color:#6e827b;font-size:12px;line-height:1.7}.r36BulkGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r36StudentCode{display:block;color:#96a39f;font-size:9px;margin-top:2px;direction:ltr;text-align:right}.r36ClassPill,.r36LevelPill{display:inline-flex;min-height:27px;align-items:center;padding:4px 8px;border-radius:999px;font-weight:850;font-size:11px}.r36ClassPill{background:#edf5f1;color:#496b61}.r36LevelPill{background:#fff6e3;color:#775c24;min-width:30px;justify-content:center}.r36EditBtn{padding:7px 10px!important;font-size:11px!important}.r36BulkProfileTools .trainingHead{margin-bottom:6px}
@media(max-width:980px){.r36WheelLayout{grid-template-columns:1fr}.r36WheelFilters,.r36BulkGrid{grid-template-columns:1fr 1fr}.r36WheelSide{order:2}}
@media(max-width:620px){.r36WheelHero{border-radius:20px;padding:16px}.r36WheelHero p{font-size:11px}.r36WheelLayout{gap:10px}.r36WheelControl,.r36WheelSide{border-radius:20px!important;padding:12px!important}.r36WheelFilters,.r36BulkGrid,.r36EditorGrid{grid-template-columns:1fr 1fr;gap:7px}.r36WheelStage{min-height:300px;padding:2px}.r36SpinBtn{width:72px;height:72px;font-size:15px;border-width:5px}.r36Pointer{border-left-width:14px;border-right-width:14px;border-bottom-width:28px}.r36Winner b{font-size:21px}.r36WheelActions{align-items:stretch;flex-direction:column}.r36WheelActions>*{width:100%}.r36Check{justify-content:center}.r36BulkProfileTools{overflow:hidden}.r36BulkGrid{grid-template-columns:1fr}.r36EditorGrid{grid-template-columns:1fr}.r36StudentEditor .v25ModalCard{max-height:92vh;overflow:auto}}


/* R47 trainer roster reliability/polish */
#trStudents .tablewrap{overflow:auto;-webkit-overflow-scrolling:touch}#trStudents .table{min-width:860px}#trStudents .table th{white-space:nowrap;background:#f5f9f7;color:#315a50}#trStudents .table td{vertical-align:middle}.r36BulkProfileTools .toolbar{align-items:center}.r36WheelScreen .emptyState{padding:18px;text-align:center;background:#f7faf8;border:1px dashed #d6e4de;border-radius:16px;color:#61766f}.r36WheelScreen .emptyState b{display:block;color:#244d44;margin-bottom:5px}.r36WheelScreen .emptyState small{line-height:1.6}.r36WheelFilters label{font-weight:900;color:#31574e}.r36WheelStage{isolation:isolate}.r36WheelStage canvas{transform-origin:center center}.r36SpinBtn{touch-action:manipulation}.r36RosterItem{min-height:56px}.r36RosterItem b{font-size:13px}.r36RosterItem small{font-size:10px;line-height:1.5}
@media(max-width:620px){.r36WheelScreen{padding:8px 7px 28px!important}.r36WheelHero{align-items:center}.r36WheelHero h2{font-size:24px}.r36WheelHero .secondary{padding:9px 11px}.r36WheelFilters{grid-template-columns:1fr 1fr!important}.r36WheelFilters .field{margin:0}.r36WheelFilters select{min-height:46px;font-size:13px}.r36WheelSummary{justify-content:center}.r36WheelStage{min-height:0!important;aspect-ratio:1/1}.r36WheelStage canvas{width:min(88vw,460px)!important;height:min(88vw,460px)!important}.r36WheelSide{padding:10px!important}.r36WheelRoster{max-height:320px}#trStudents .table{min-width:800px}}
