:root{--rgb-cyan:#16e0ff;--rgb-blue:#2878ff;--rgb-purple:#8b5cf6;--rgb-pink:#ff2fb3;--rgb-gold:#ffd84d;--rgb-green:#32e6a1;--rgb-red:#ff5d78;--rgb-bg:#07101f;--rgb-panel:#0e1a2d;--rgb-panel-2:#111f36;--rgb-line:#29405f;--rgb-text:#f5f8ff;--rgb-muted:#a8b8d2}
.theme-toggle{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid #466080;border-radius:10px;background:#172742;color:#dce9ff;font:800 .75rem Inter,sans-serif;cursor:pointer;white-space:nowrap}.theme-toggle::before{content:"";width:9px;height:9px;border-radius:50%;background:linear-gradient(135deg,var(--rgb-cyan),var(--rgb-purple),var(--rgb-pink));box-shadow:0 0 9px var(--rgb-cyan)}
body.theme-rgb{--navy:#071327;--blue:#2878ff;--cyan:#16d8ff;--ink:var(--rgb-text);--muted:var(--rgb-muted);--line:var(--rgb-line);--paper:var(--rgb-panel);--bg:var(--rgb-bg);--key:#17243a;--danger:#ff6b82;--shadow:0 18px 55px rgba(0,0,0,.42);background:radial-gradient(circle at 15% 6%,rgba(22,224,255,.12),transparent 27%),radial-gradient(circle at 86% 11%,rgba(255,47,179,.12),transparent 24%),linear-gradient(145deg,#07101f,#0a1224 52%,#090d1b);color:var(--rgb-text);color-scheme:dark}
body.theme-rgb::before,body.theme-rgb::after{opacity:.045;filter:saturate(1.5) drop-shadow(0 0 20px rgba(22,224,255,.25))}
body.theme-rgb .topbar{height:82px;background:linear-gradient(180deg,#0a1529,#071225);border-bottom:1px solid rgba(22,224,255,.35);box-shadow:0 5px 24px rgba(0,0,0,.55),0 1px 18px rgba(22,224,255,.12)}
body.theme-rgb .brand-logo{border-color:#7cecff;box-shadow:0 0 15px rgba(22,224,255,.45)}body.theme-rgb .brand small{color:#8fa8ca}
body.theme-rgb .topnav,body.theme-rgb .language-switch{background:#111f36!important;border-color:#354b6a!important;box-shadow:inset 0 0 18px rgba(0,0,0,.25)}body.theme-rgb .topnav button,body.theme-rgb .language-switch button{color:#aebdd2!important;background:transparent!important}body.theme-rgb .topnav button:hover,body.theme-rgb .language-switch button:hover{color:#fff!important;background:#182a45!important}body.theme-rgb .topnav .active,body.theme-rgb .language-switch .active{color:#fff!important;background:linear-gradient(135deg,#143c66,#39276b)!important;border-color:#6ee9ff!important;box-shadow:0 0 0 1px rgba(22,224,255,.55),0 0 14px rgba(22,224,255,.28),0 0 18px rgba(255,47,179,.12)!important}
body.theme-rgb .theme-toggle{border-color:#5b6f91;background:#101d32}body.theme-rgb .theme-toggle:hover{color:#fff;border-color:var(--rgb-cyan);box-shadow:0 0 14px rgba(22,224,255,.22)}
body.theme-rgb .workspace-heading h1{color:#fff;text-shadow:0 0 22px rgba(22,224,255,.12)}body.theme-rgb .eyebrow{color:#65e9ff;text-shadow:0 0 12px rgba(22,224,255,.35)}body.theme-rgb .hint,body.theme-rgb .privacy{color:var(--rgb-muted)}
body.theme-rgb .editor-card,body.theme-rgb .keyboard-card,body.theme-rgb .practice-card,body.theme-rgb .game-card,body.theme-rgb .game-stage,body.theme-rgb .race-stage,body.theme-rgb .quiz-card,body.theme-rgb .quiz-builder-card,body.theme-rgb .calculator-shell,body.theme-rgb .seating-shell{background:linear-gradient(145deg,rgba(17,31,54,.98),rgba(11,22,40,.98));border:1px solid #2c4566;box-shadow:0 22px 65px rgba(0,0,0,.42),0 0 0 1px rgba(22,224,255,.05),0 0 28px rgba(40,120,255,.07)}
body.theme-rgb textarea,body.theme-rgb input,body.theme-rgb select{color:#f8fbff!important;background:#091426!important;border-color:#385273!important}body.theme-rgb textarea::placeholder,body.theme-rgb input::placeholder{color:#71839e!important}body.theme-rgb textarea:focus,body.theme-rgb input:focus,body.theme-rgb select:focus{border-color:var(--rgb-cyan)!important;box-shadow:0 0 0 3px rgba(22,224,255,.13)!important}
body.theme-rgb .editor-footer,body.theme-rgb .keyboard-top{background:#0d192c;border-color:#273d5c}body.theme-rgb .mode-switch{background:#071326}body.theme-rgb .mode-switch button{color:#91a6c4}body.theme-rgb .mode-switch .active{color:#fff;background:#1a2b47;box-shadow:0 0 0 1px #4bdfff,0 0 13px rgba(22,224,255,.22)}body.theme-rgb .guide{color:#c7e8ff;background:#0b2840;border:1px solid #1a5670}
body.theme-rgb .keyboard{padding:18px 14px 22px;border:1px solid #243b5a;border-radius:18px;background:radial-gradient(circle at 15% 30%,rgba(22,224,255,.16),transparent 25%),radial-gradient(circle at 84% 55%,rgba(255,47,179,.15),transparent 28%),linear-gradient(145deg,#07111f,#101a2c);box-shadow:inset 0 0 26px rgba(0,0,0,.6),0 0 24px rgba(40,120,255,.1)}body.theme-rgb .key{height:64px;color:#f7fbff;background:linear-gradient(155deg,#26364c,#121d2d 72%);border:1px solid #50637c;border-bottom:5px solid #080e18;border-radius:11px;box-shadow:0 0 0 1px rgba(22,224,255,.13),-2px 3px 9px rgba(22,224,255,.17),2px 4px 10px rgba(255,47,179,.12),inset 0 1px rgba(255,255,255,.12);text-shadow:0 0 8px rgba(255,255,255,.16)}body.theme-rgb .key small{color:#9cc8dd}body.theme-rgb .key:hover{color:#fff;background:linear-gradient(155deg,#31455f,#17253a);border-color:#73eaff;box-shadow:0 0 14px rgba(22,224,255,.45),0 0 18px rgba(139,92,246,.18)}body.theme-rgb .key:active,body.theme-rgb .key.pressed{transform:translateY(3px);border-bottom-width:2px;background:#1a3850;box-shadow:0 0 18px rgba(22,224,255,.62)}body.theme-rgb .key.next,body.theme-rgb .key.highlight,body.theme-rgb .key.active{border-color:var(--rgb-gold)!important;box-shadow:0 0 0 2px rgba(255,216,77,.7),0 0 22px rgba(255,216,77,.65),inset 0 0 16px rgba(255,216,77,.12)!important}
.real-keyboard{gap:7px!important;overflow:hidden!important}.real-keyboard .key-row{width:100%;min-width:0;gap:6px;justify-content:center}.real-keyboard .key{flex:0 1 68px;min-width:45px;max-width:76px}.real-keyboard .modifier{flex:none;max-width:none;padding:0 11px;font:800 .72rem Inter,sans-serif;color:#dce9f8}.real-keyboard .modifier small{display:none}.real-keyboard .backspace-key{width:116px}.real-keyboard .tab-key{width:88px}.real-keyboard .caps-key{width:105px}.real-keyboard .enter-key{width:112px}.real-keyboard .shift-key{width:138px}.real-keyboard .keyboard-row-bottom{padding:0 6%}.real-keyboard .keyboard-row-bottom .system-key{width:86px}.real-keyboard .keyboard-row-bottom .space{width:auto;max-width:520px;flex:1}.real-keyboard .keyboard-row-1{padding-left:1.5%}.real-keyboard .keyboard-row-2{padding-left:2.6%}.real-keyboard .keyboard-row-3{padding-left:4%}.real-keyboard .system-key{font-size:.68rem;color:#9fb0c8;cursor:default}.real-keyboard .system-key:active{transform:none;border-bottom-width:5px}
body.theme-rgb .button{border:1px solid #344d6e;background:#17263d;color:#e9f3ff;box-shadow:0 7px 16px rgba(0,0,0,.25)}body.theme-rgb .button:hover{border-color:#59dff8;background:#1c304d;box-shadow:0 0 14px rgba(22,224,255,.23)}body.theme-rgb .button.primary{border-color:#43d8ff;background:linear-gradient(135deg,#176ed4,#7a37c7 68%,#e62b9c);box-shadow:0 7px 20px rgba(40,120,255,.28),0 0 18px rgba(139,92,246,.2)}body.theme-rgb .button.danger{color:#ff9aab;background:#39172a;border-color:#713045}
body.theme-rgb .game-card strong,body.theme-rgb .practice-card strong,body.theme-rgb .race-option strong,body.theme-rgb h2,body.theme-rgb h3{color:#f7fbff}body.theme-rgb .game-card small,body.theme-rgb .practice-card small,body.theme-rgb .race-option p{color:#9eafc8}body.theme-rgb .game-card:hover,body.theme-rgb .practice-card:hover{border-color:#55e3ff;transform:translateY(-2px);box-shadow:0 18px 45px rgba(0,0,0,.4),0 0 22px rgba(22,224,255,.18)}
body.theme-rgb .race-option,body.theme-rgb .race-builder-tools,body.theme-rgb .quiz-option,body.theme-rgb .quiz-lobby,body.theme-rgb .calculator-card,body.theme-rgb .seating-panel,body.theme-rgb .layout-tools{color:#eaf2ff!important;background:#0c182a!important;border-color:#2b4362!important}body.theme-rgb .race-builder-tools h3{color:#fff}body.theme-rgb .lobby-player-chip,body.theme-rgb .quiz-student-chips span{color:#eaf6ff;background:#152944!important;border-color:#315579!important}
body.theme-rgb .race-status,body.theme-rgb .quiz-status,body.theme-rgb .game-header{background:linear-gradient(90deg,#09254a,#281952 58%,#401438)!important;border-color:#335574!important}body.theme-rgb .race-track{background-color:#111d30!important}body.theme-rgb .team-scoreboard{background:#071224}body.theme-rgb .team-scoreboard span{color:#eaf4ff;background:#172a45}
body.theme-rgb .quiz-question-card,body.theme-rgb .quiz-answer,body.theme-rgb .podium-block,body.theme-rgb .other-racers{color:#eef5ff!important;background:#111f36!important;border-color:#324b6b!important}body.theme-rgb .quiz-answer:hover{border-color:#4ee3ff!important;box-shadow:0 0 14px rgba(22,224,255,.18)}
body.theme-rgb .calculator-tabs,body.theme-rgb .tools-tabs{background:#0b1729!important;border-color:#2b405f!important}body.theme-rgb .calculator-tabs .active,body.theme-rgb .tools-tabs .active{color:#fff!important;background:#1b3150!important;box-shadow:0 0 0 1px #56e2ff,0 0 15px rgba(22,224,255,.22)!important}
body.theme-rgb .seating-room,body.theme-rgb .room-canvas{background-color:#0a1425!important;background-image:linear-gradient(rgba(65,104,150,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(65,104,150,.15) 1px,transparent 1px)!important}body.theme-rgb .desk{color:#f4f8ff!important;background:linear-gradient(145deg,#243a58,#14253d)!important;border-color:#5a7394!important;box-shadow:0 5px 12px rgba(0,0,0,.32)}body.theme-rgb .desk.selected{border-color:#64e8ff!important;box-shadow:0 0 0 2px rgba(22,224,255,.55),0 0 18px rgba(22,224,255,.3)!important}
body.theme-rgb .toast{background:#111f36;border:1px solid #4cdff9;box-shadow:0 12px 35px rgba(0,0,0,.5),0 0 18px rgba(22,224,255,.24)}
body.theme-rgb .stats-grid>div,body.theme-rgb .lesson-card,body.theme-rgb .game-stage-top,body.theme-rgb .game-stats,body.theme-rgb .playfield,body.theme-rgb .game-message{color:#eef5ff;background:#0d1a2d!important;border-color:#2a4262!important}body.theme-rgb .stats-grid strong,body.theme-rgb .game-stats strong,body.theme-rgb .word-challenge>strong{color:#f6f9ff}body.theme-rgb .stats-grid span,body.theme-rgb .lesson-meta,body.theme-rgb .game-stats span,body.theme-rgb .game-message span,body.theme-rgb .game-tip{color:#9fb0c9}body.theme-rgb .progress-track,body.theme-rgb .quiz-progress-track{background:#1b2c45}body.theme-rgb .target-text .pending{color:#8192aa}body.theme-rgb .target-text .current{color:#fff;background:#174467;border-color:#42ddff}body.theme-rgb .next-key-label strong{color:#fff;background:#173c64;box-shadow:0 0 12px rgba(22,224,255,.25)}
body.theme-rgb .target-text{color:#d9e7fb!important;opacity:1;text-shadow:0 0 10px rgba(22,224,255,.12)}body.theme-rgb .target-text .pending{color:#c6d5eb!important;opacity:1}body.theme-rgb .target-text .done{color:#50e6ad!important}body.theme-rgb .target-text .current{color:#fff!important;background:#175174!important;border-color:#67eaff!important;box-shadow:0 0 12px rgba(22,224,255,.3)}
body.theme-rgb .calculator-mode-switch{background:#0b1729;border:1px solid #2c4566}body.theme-rgb .calculator-mode-switch button{color:#9fb1ca}body.theme-rgb .calculator-mode-switch button.active{color:#fff;background:linear-gradient(135deg,#153c64,#40235f);box-shadow:0 0 0 1px #5ce5ff,0 0 15px rgba(22,224,255,.24)}body.theme-rgb .calculator-frame-card,body.theme-rgb .wheel-card{background:#0d1a2d;border-color:#2b4566}body.theme-rgb .calculator-frame-card iframe{background:#0a1526}body.theme-rgb .wheel-toolbar,body.theme-rgb .wheel-history,body.theme-rgb .wheel-options{border-color:#2d4667}body.theme-rgb .wheel-toolbar h2,body.theme-rgb .wheel-entry-label,body.theme-rgb .wheel-check,body.theme-rgb .wheel-time{color:#edf5ff}body.theme-rgb .wheel-options,body.theme-rgb .wheel-history>div{background:#101f35}body.theme-rgb .wheel-history ol{color:#dbe8f8}body.theme-rgb .wheel-spin{border-color:#71e9ff;background:linear-gradient(145deg,#12375d,#6f2a89);box-shadow:0 0 20px rgba(22,224,255,.35)}body.theme-rgb .wheel-card:fullscreen{background:#07101f}body.theme-rgb .wheel-winner-card{color:#eef5ff;background:#101f35;border:1px solid #446080}body.theme-rgb .wheel-winner-card>strong{color:#fff}
body.theme-rgb .seating-card,body.theme-rgb .seating-toolbar,body.theme-rgb .seating-class-panel,body.theme-rgb .seating-inspector,body.theme-rgb .panel-heading{background:#0d1a2d!important;border-color:#2c4565!important}body.theme-rgb .seating-layout,body.theme-rgb .seating-board-wrap{background-color:#081426!important;background-image:radial-gradient(circle at 1px 1px,rgba(86,226,255,.17) 1px,transparent 0)!important}body.theme-rgb .seating-storage,body.theme-rgb .seating-rules,body.theme-rgb .seating-groups,body.theme-rgb .layout-editor,body.theme-rgb .room-settings,body.theme-rgb .inspector-context{color:#dce8f7;background:#101f35!important;border-color:#304b6c!important}body.theme-rgb .seating-storage>div,body.theme-rgb .seating-rules summary,body.theme-rgb .seating-groups summary,body.theme-rgb .layout-editor summary{color:#eef6ff;background:#172a45!important;border-color:#304b6c!important}body.theme-rgb .seating-storage>div button,body.theme-rgb .seating-class-list button,body.theme-rgb .panel-heading strong,body.theme-rgb .inspector-context strong,body.theme-rgb .class-manager>label,body.theme-rgb .seating-setup>label,body.theme-rgb .room-settings label{color:#c7d6e9}body.theme-rgb .seating-storage>div button.active,body.theme-rgb .seating-class-list button.active{color:#fff;background:#203958!important;border-color:#58ddf5!important;box-shadow:0 0 12px rgba(22,224,255,.18)}body.theme-rgb .seating-canvas-toolbar>span,body.theme-rgb .seating-zoom,body.theme-rgb .seating-mobile-panel{color:#dfeaff;background:#13243b!important;border-color:#385675!important}body.theme-rgb .seating-zoom button,body.theme-rgb .seating-zoom span{color:#dfeaff}body.theme-rgb .seating-grid,body.theme-rgb .room-stage{background-color:#0c192b!important}body.theme-rgb .student-seat,body.theme-rgb .custom-desk{color:#f4f8ff!important;background:linear-gradient(145deg,#263d5d,#14253d)!important;border-color:#5a769a!important}body.theme-rgb .student-seat.empty{color:#8192a9!important;background:#101d31!important}body.theme-rgb .shortcut-dialog form,body.theme-rgb .shortcut-dialog #deskShortcutList>div{color:#e7f0fb;background:#101f35!important}body.theme-rgb .shortcut-dialog h2{color:#fff}
body.theme-rgb .quiz-builder,body.theme-rgb .quiz-player,body.theme-rgb .quiz-results,body.theme-rgb .quiz-classroom,body.theme-rgb .quiz-join-card,body.theme-rgb .quiz-preview,body.theme-rgb .quiz-question-card,body.theme-rgb .quiz-room-code,body.theme-rgb .quiz-score-head,body.theme-rgb .quiz-score-row{color:#edf5ff;background:#0d1a2d!important;border-color:#2c4566!important}body.theme-rgb .quiz-preview-head strong,body.theme-rgb .quiz-question-card h2,body.theme-rgb .quiz-player-top>span,body.theme-rgb .quiz-class-results h2,body.theme-rgb .quiz-lobby-info h2,body.theme-rgb .quiz-score-row strong{color:#f6f9ff}body.theme-rgb .quiz-choice,body.theme-rgb .quiz-typed-answer{color:#f1f6ff;background:#13243b;border-color:#3d5878}body.theme-rgb .quiz-choice:hover,body.theme-rgb .quiz-choice.selected{background:#173a59;border-color:#58e2fb}body.theme-rgb .quiz-score-head{color:#9fb0c8;background:#13243b!important}
@media(max-width:980px){.theme-toggle{position:fixed;right:12px;bottom:12px;z-index:90;box-shadow:0 8px 24px rgba(0,0,0,.35)}body.theme-rgb .topbar{height:auto;min-height:78px}.theme-toggle span{display:none}}
@media(max-width:720px){body.theme-rgb .keyboard{padding:12px 8px 16px}body.theme-rgb .key{height:58px}.theme-toggle{width:42px;padding:0;justify-content:center}.theme-toggle::after{content:"RGB";font-size:.62rem}.theme-toggle::before{display:none}}
@media print{body.theme-rgb{color-scheme:light;background:#fff!important;color:#111!important}}

/* Race typing contrast: untyped, completed, current and error states. */
body.theme-rgb .race-passage{color:#d9e7fb!important;opacity:1;text-shadow:0 0 10px rgba(22,224,255,.12)}
body.theme-rgb .race-passage .done{color:#50e6ad!important;background:rgba(33,197,139,.16)!important}
body.theme-rgb .race-passage .current{color:#07101f!important;background:#ffd84d!important;box-shadow:0 0 16px rgba(255,216,77,.45)}
body.theme-rgb .race-passage .wrong,body.theme-rgb .race-passage .incorrect{color:#fff!important;background:#ff4968!important}

/* Keep recognizable medal colors on the RGB results podium. */
body.theme-rgb .podium-place.place-1 .podium-block{color:#fff!important;background:linear-gradient(145deg,#f5bd25,#a96500)!important;border-color:#ffd968!important;box-shadow:0 0 28px rgba(255,190,37,.26)!important}
body.theme-rgb .podium-place.place-2 .podium-block{color:#fff!important;background:linear-gradient(145deg,#91a7bd,#455a73)!important;border-color:#c8d8e7!important;box-shadow:0 0 24px rgba(165,190,216,.18)!important}
body.theme-rgb .podium-place.place-3 .podium-block{color:#fff!important;background:linear-gradient(145deg,#c97845,#713518)!important;border-color:#e6a174!important;box-shadow:0 0 24px rgba(202,112,58,.18)!important}
body.theme-rgb .podium-block strong,body.theme-rgb .podium-block small,body.theme-rgb .podium-block span{color:#fff!important}


/* RGB race prompt panel polish */
body.theme-rgb .race-live:not(.teacher-view) > .race-passage{
  background:linear-gradient(180deg, rgba(14,31,52,.96), rgba(12,26,44,.96))!important;
  border:1px solid #2f557b!important;
  box-shadow:0 20px 42px rgba(0,0,0,.34), 0 0 0 1px rgba(62,142,255,.08), 0 0 20px rgba(62,142,255,.1)!important;
  color:#eef4ff!important;
}
body.theme-rgb .race-live:not(.teacher-view) > .race-passage::before{color:#9ab4cf!important}
body.theme-rgb .race-live:not(.teacher-view) > .race-passage .done{color:#63ebb7!important;background:rgba(38,204,147,.14)!important}
body.theme-rgb .race-live:not(.teacher-view) > .race-passage .current{color:#07101f!important;background:#ffd84d!important;box-shadow:0 0 18px rgba(255,216,77,.38)!important}
body.theme-rgb .race-live:not(.teacher-view) > .race-key-instruction{background:#122845!important;border:1px solid #30577d!important;color:#eef4ff!important;box-shadow:0 12px 24px rgba(0,0,0,.22)!important}
body.theme-rgb .race-live:not(.teacher-view) > .race-key-instruction.needs-shift{background:#243f67!important;color:#fff!important}
body.theme-rgb .race-live:not(.teacher-view) > .race-prompt{color:#cad9ee!important}

/* Classroom Number Generator - RGB theme */
body.theme-rgb .number-generator-card{background:#0d1a2d;border-color:#2b4566;box-shadow:0 22px 65px rgba(0,0,0,.38)}
body.theme-rgb .number-generator-toolbar{border-color:#2d4667}body.theme-rgb .number-generator-toolbar h2{color:#eef5ff}
body.theme-rgb .number-range-fields label{color:#b8c9dc}body.theme-rgb .number-range-fields>span{color:#8399b2}
body.theme-rgb .number-range-fields input{border-color:#355777;background:#10243c;color:#f3f8ff}body.theme-rgb .number-range-fields input:focus{border-color:#5ce5ff;box-shadow:0 0 0 4px rgba(92,229,255,.12)}
body.theme-rgb .number-result-card{border-color:#315271;background:radial-gradient(circle at 50% 15%,#18304e 0,#11253e 48%,#0b1b2f 100%)}body.theme-rgb .number-result-card>span{color:#9eb3ca}body.theme-rgb .number-result-card>strong{color:#fff;text-shadow:0 0 26px rgba(92,229,255,.2)}body.theme-rgb .number-result-card>small{color:#b7c8dc}
body.theme-rgb .number-generate-button{background:linear-gradient(135deg,#153c64,#40235f);box-shadow:0 0 0 1px #5ce5ff,0 0 20px rgba(22,224,255,.18)}
body.theme-rgb .number-no-repeat,body.theme-rgb .number-presets,body.theme-rgb .number-history{background:#101f35;border-color:#2d4968}body.theme-rgb .number-no-repeat span,body.theme-rgb .number-presets>strong,body.theme-rgb .number-history>div strong,body.theme-rgb .number-history ol{color:#eef5ff}body.theme-rgb .number-no-repeat small{color:#9fb3ca}
body.theme-rgb .number-presets button{border-color:#355777;background:#10243c;color:#eef5ff}body.theme-rgb .number-presets button:hover{border-color:#5ce5ff;background:#17314f}body.theme-rgb .number-history>div{background:#122640}body.theme-rgb .number-history>div button{color:#71e9ff}

/* Scheduled Classroom Timer - RGB theme */
body.theme-rgb .schedule-timer-card{background:#0d1a2d;border-color:#2b4566;box-shadow:0 22px 65px rgba(0,0,0,.38)}
body.theme-rgb .schedule-timer-toolbar{border-color:#2d4667}body.theme-rgb .schedule-timer-toolbar h2{color:#eef5ff}
body.theme-rgb .schedule-live-clock,body.theme-rgb .schedule-editor,body.theme-rgb .schedule-list-panel{background:#101f35;border-color:#304b6c}body.theme-rgb .schedule-live-clock span,body.theme-rgb .schedule-editor form>label,body.theme-rgb .schedule-time-row label,body.theme-rgb .schedule-days legend,body.theme-rgb .schedule-list-heading small{color:#a9bdd4}body.theme-rgb .schedule-live-clock strong,body.theme-rgb .schedule-editor-heading strong,body.theme-rgb .schedule-list-heading strong{color:#f1f7ff}
body.theme-rgb .schedule-active-card{background:radial-gradient(circle at 50% 16%,#15304d 0,#10243c 48%,#0d1d31 100%);border-color:#315271}body.theme-rgb .schedule-active-state{background:#13382f;color:#72e7bd}body.theme-rgb .schedule-active-card h3,body.theme-rgb .schedule-countdown,body.theme-rgb .schedule-next strong{color:#f4f8ff}body.theme-rgb .schedule-active-card>p,body.theme-rgb .schedule-next{color:#a9bdd4}body.theme-rgb .schedule-progress{background:#1a314c}body.theme-rgb .schedule-progress span{background:linear-gradient(90deg,#22d3ee,#8b5cf6)}
body.theme-rgb .schedule-editor input[type="text"],body.theme-rgb .schedule-editor input[type="time"],body.theme-rgb .schedule-editor input[type="number"],body.theme-rgb .schedule-days span,body.theme-rgb .schedule-enabled,body.theme-rgb .schedule-row,body.theme-rgb .schedule-row-actions>button{background:#0f2239;border-color:#355777;color:#eef5ff}body.theme-rgb .schedule-days input:checked+span{background:#173858;border-color:#5ce5ff;color:#fff;box-shadow:inset 0 0 0 1px #5ce5ff}body.theme-rgb .schedule-enabled strong,body.theme-rgb .schedule-row-main>div strong,body.theme-rgb .schedule-row-time{color:#eef5ff}body.theme-rgb .schedule-enabled small,body.theme-rgb .schedule-row-main small,body.theme-rgb .schedule-row-toggle{color:#a9bdd4}body.theme-rgb .schedule-list-heading{background:#13243b}body.theme-rgb .schedule-row{border-color:#29435f}body.theme-rgb .schedule-row-actions>button.danger{color:#ff9b9b;border-color:#6a3c46}

/* One-day custom schedule - RGB theme */
body.theme-rgb .schedule-type-switch{background:#0b1a2d;border-color:#304d6e}
body.theme-rgb .schedule-type-switch button{color:#9fb5cd}
body.theme-rgb .schedule-type-switch button.active{background:#17304e;color:#f3f8ff;box-shadow:0 4px 14px rgba(0,0,0,.25)}
body.theme-rgb .schedule-type-help,body.theme-rgb .schedule-one-day{color:#a9bdd4}
body.theme-rgb .schedule-editor input[type="date"]{background:#0f2239;border-color:#355777;color:#eef5ff;color-scheme:dark}
body.theme-rgb .schedule-special-day{background:#3b3216;border-color:#8d7430;color:#ffe28b}
body.theme-rgb .schedule-row.is-one-day{background:linear-gradient(90deg,#231f19,#0f2239 28%)}
body.theme-rgb .schedule-type-badge{background:#3b3216;border-color:#8d7430;color:#ffe28b}


/* Split saved schedules - RGB */
body.theme-rgb .schedule-saved-heading strong{color:#f1f7ff}
body.theme-rgb .schedule-saved-heading small{color:#a9bdd4}
body.theme-rgb .schedule-saved-heading button{color:#71e9ff}
body.theme-rgb .schedule-weekly-panel .schedule-list-heading{border-bottom-color:#315b7c}
body.theme-rgb .schedule-one-day-panel .schedule-list-heading{border-bottom-color:#8d7430}

/* Special Schedule groups - RGB theme */
body.theme-rgb #scheduleWeeklyEditor>label,body.theme-rgb .schedule-special-editor>label,body.theme-rgb .special-slot-editor-row label{color:#a9bdd4}
body.theme-rgb .special-slots-heading strong{color:#f1f7ff}body.theme-rgb .special-slots-heading small{color:#9fb3ca}
body.theme-rgb .special-slots-heading button,body.theme-rgb .special-slot-editor-row,body.theme-rgb .special-schedule-card,body.theme-rgb .special-schedule-slot>button{background:#0f2239;border-color:#355777;color:#eef5ff}
body.theme-rgb .special-slot-editor-row label>span{color:#9fb3ca}
body.theme-rgb .special-slot-editor-row input{background:#0b1c30;border-color:#355777;color:#eef5ff;color-scheme:dark}
body.theme-rgb .special-slot-remove{background:#351d25;border-color:#6a3c46;color:#ff9b9b}
body.theme-rgb .schedule-special-panel .schedule-list-heading{border-bottom-color:#8d7430}
body.theme-rgb .special-schedule-card{border-color:#29435f;background:#0f2239}
body.theme-rgb .special-schedule-card.is-expired{background:#111d2e}
body.theme-rgb .special-schedule-card-title>strong,body.theme-rgb .special-schedule-slot>strong,body.theme-rgb .special-schedule-slot b{color:#eef5ff}
body.theme-rgb .special-schedule-card-head small,body.theme-rgb .special-schedule-slot small{color:#a9bdd4}
body.theme-rgb .special-schedule-slots{background:#0c1b2e;border-color:#29435f}
body.theme-rgb .special-schedule-slot{border-color:#29435f}

/* Schedule Timer fullscreen classroom display - RGB */
body.theme-rgb .schedule-active-card.is-schedule-fullscreen{background:radial-gradient(circle at 50% 16%,#173653 0,#10263f 48%,#0a1829 100%)!important}
body.theme-rgb .schedule-active-card.is-schedule-fullscreen .schedule-next{background:rgba(13,31,52,.92);border-color:#315778;box-shadow:0 18px 42px rgba(0,0,0,.32)}
body.theme-rgb .schedule-day-drawer{background:rgba(13,31,52,.97);border-color:#315778;box-shadow:0 22px 60px rgba(0,0,0,.4)}
body.theme-rgb .schedule-day-drawer-heading{background:rgba(16,38,63,.98);border-color:#2d4d6c}body.theme-rgb .schedule-day-drawer-heading span{color:#9db4ce}body.theme-rgb .schedule-day-drawer-heading strong{color:#f2f7ff}body.theme-rgb .schedule-day-drawer-heading button{background:#10263f;border-color:#355a7c;color:#dce9f7}
body.theme-rgb .schedule-day-item{border-color:#294660}body.theme-rgb .schedule-day-item>strong,body.theme-rgb .schedule-day-item b{color:#eef5ff}body.theme-rgb .schedule-day-item small,body.theme-rgb .schedule-day-empty{color:#a9bdd4}

/* Classroom Tools shared account */
body.theme-rgb .classroom-account-bar{border-color:#294966;background:linear-gradient(135deg,#10243b,#132a45);box-shadow:none}
body.theme-rgb .classroom-account-copy>strong{color:#f3f8ff}body.theme-rgb .classroom-account-copy>small{color:#9fb4ca}
body.theme-rgb .classroom-storage-switch{background:#0b1b2e}body.theme-rgb .classroom-storage-switch button{color:#a6b8cb}body.theme-rgb .classroom-storage-switch button.active{background:#1c3a5d;color:#fff;box-shadow:none}
body.theme-rgb .classroom-account-controls>small{color:#9fb4ca}body.theme-rgb .classroom-account-controls>small.synced{color:#63e6b5}


/* Classroom Dashboard - RGB */
body.theme-rgb .dashboard-hero,body.theme-rgb .dashboard-card{background:linear-gradient(145deg,rgba(17,31,54,.98),rgba(11,22,40,.98));border-color:#2c4566;box-shadow:0 18px 44px rgba(0,0,0,.28)}
body.theme-rgb .dashboard-hero h2,body.theme-rgb .dashboard-card-heading h3,body.theme-rgb .dashboard-date strong,body.theme-rgb .dashboard-student-result strong,body.theme-rgb .dashboard-schedule-now strong,body.theme-rgb .dashboard-schedule-now b,body.theme-rgb .dashboard-sync-text,body.theme-rgb .dashboard-tools-grid button>strong{color:#f2f7ff}
body.theme-rgb .dashboard-hero p:not(.eyebrow),body.theme-rgb .dashboard-date span,body.theme-rgb .dashboard-date small,body.theme-rgb .dashboard-class-note,body.theme-rgb .dashboard-student-result span,body.theme-rgb .dashboard-account-card>p,body.theme-rgb .dashboard-tools-grid button>small,body.theme-rgb .dashboard-next-row strong,body.theme-rgb .dashboard-agenda-row span{color:#a9bdd4}
body.theme-rgb .dashboard-date,body.theme-rgb .dashboard-student-result,body.theme-rgb .dashboard-schedule-now,body.theme-rgb .dashboard-next-row,body.theme-rgb .dashboard-agenda-row,body.theme-rgb .dashboard-tools-grid button{background:#10243c;border-color:#315271}
body.theme-rgb .dashboard-class-picker{color:#b4c7dc}body.theme-rgb .dashboard-class-picker select{background:#0d2037;border-color:#355777;color:#f1f7ff}
body.theme-rgb .dashboard-mini-button{background:#10243c;border-color:#355777;color:#dceaff}
body.theme-rgb .dashboard-card-heading>strong{background:#163654;color:#9bd9ff}
body.theme-rgb .dashboard-tools-grid button>span{background:#163654;color:#8cdbff}
body.theme-rgb .dashboard-sync-dot{background:#758aa3}body.theme-rgb .dashboard-sync-dot.is-google{background:#4ad69c}

/* Quiz keyboard language switch in Gaming RGB mode. */
body.theme-rgb .quiz-keyboard-toolbar{background:#0d1a2d!important;border-color:#2c4566!important}
body.theme-rgb .quiz-keyboard-toolbar>span{color:#9fb0c8}
body.theme-rgb .quiz-keyboard-switch{background:#101f35;border-color:#385675}
body.theme-rgb .quiz-keyboard-switch button{color:#b8c8dc}
body.theme-rgb .quiz-keyboard-switch button:hover{color:#fff;background:#173a59}
body.theme-rgb .quiz-keyboard-switch button.active{color:#fff;background:linear-gradient(135deg,#1c74c9,#9c2cb0);box-shadow:0 0 0 1px #5ce5ff,0 0 14px rgba(22,224,255,.2)}

/* Lesson Plan Importer - RGB */
body.theme-rgb .schedule-import-dialog{background:#0f2239;color:#eef5ff}
body.theme-rgb .schedule-import-heading{background:#10263f;border-color:#294966}
body.theme-rgb .schedule-import-heading h3,body.theme-rgb .schedule-import-preview-heading strong{color:#f2f7ff}
body.theme-rgb .schedule-import-heading small,body.theme-rgb .schedule-import-file,body.theme-rgb .schedule-import-paste,body.theme-rgb .schedule-import-settings label,body.theme-rgb .schedule-import-preview-heading small{color:#a9bdd4}
body.theme-rgb .schedule-import-heading>button,body.theme-rgb .schedule-import-preview-heading button,body.theme-rgb .schedule-import-table input,body.theme-rgb .schedule-import-file input[type="file"],body.theme-rgb .schedule-import-paste textarea,body.theme-rgb .schedule-import-settings input{background:#0b1c30;border-color:#355777;color:#eef5ff;color-scheme:dark}
body.theme-rgb .schedule-import-source{border-color:#294966}
body.theme-rgb .schedule-import-or{color:#7f96ae}body.theme-rgb .schedule-import-or::before,body.theme-rgb .schedule-import-or::after{background:#294966}
body.theme-rgb .schedule-import-status{background:#10263f;color:#a9bdd4}.theme-rgb .schedule-import-status.is-ok{background:#143729;color:#7aefb4}.theme-rgb .schedule-import-status.is-error{background:#3b2026;color:#ffaaaa}
body.theme-rgb .schedule-import-fit{background:#10263f;border-color:#355777;color:#c8d8e8}.theme-rgb .schedule-import-fit.is-exact{background:#143729;border-color:#2b7756;color:#7aefb4}.theme-rgb .schedule-import-fit.is-under{background:#3b3216;border-color:#8d7430;color:#ffe28b}.theme-rgb .schedule-import-fit.is-over{background:#3b2026;border-color:#7a3c47;color:#ffaaaa}
body.theme-rgb .schedule-import-table-wrap,body.theme-rgb .schedule-import-table{background:#0b1c30;border-color:#294966}body.theme-rgb .schedule-import-table th{background:#10263f;color:#9fb4ca}body.theme-rgb .schedule-import-table td{border-color:#294966}body.theme-rgb .schedule-import-table td:first-child{color:#dceaff}
body.theme-rgb .schedule-import-remove{background:#351d25;border-color:#6a3c46;color:#ff9b9b}

/* Desktop/Chromebook Shift-required learning hint. */
body.theme-rgb .keyboard .key.desktop-shift-hint{border-color:var(--rgb-gold)!important;background:linear-gradient(155deg,#5a4712,#2f260c)!important;color:#fff4bd!important;box-shadow:0 0 0 2px rgba(255,216,77,.8),0 0 24px rgba(255,216,77,.72),inset 0 0 16px rgba(255,216,77,.13)!important}

/* Quiz paste-text preview: readable question text in Gaming RGB mode. */
body.theme-rgb .quiz-preview{background:#0c1a2e!important;border-color:#315271!important}
body.theme-rgb .quiz-preview-head{border-color:#315271!important}
body.theme-rgb .quiz-preview-head strong{color:#f4f8ff!important}
body.theme-rgb .quiz-preview ol{color:#eaf2ff!important}
body.theme-rgb .quiz-preview li{color:#dce9f7!important}
body.theme-rgb .quiz-import-question{border-bottom-color:#294966!important}
body.theme-rgb .quiz-import-question::marker{color:#65e9ff!important;font-weight:900}
body.theme-rgb .quiz-import-question>strong{color:#f8fbff!important;text-shadow:0 0 12px rgba(22,224,255,.08)}
body.theme-rgb .quiz-import-answer-title{color:#a9bdd4!important}
body.theme-rgb .quiz-import-question.needs-answer{background:linear-gradient(90deg,rgba(125,91,20,.22),rgba(12,26,46,0))!important}
body.theme-rgb .quiz-import-question.needs-answer .quiz-import-answer-title{color:#ffe28b!important}
body.theme-rgb .quiz-preview-ready{color:#63e6b5!important}
body.theme-rgb .quiz-preview-needs-answer{color:#ffe28b!important}

body.theme-rgb .quiz-import-question-head>strong,body.theme-rgb .quiz-import-question-head>span{color:#f8fbff!important;text-shadow:0 0 12px rgba(22,224,255,.08)}
body.theme-rgb .quiz-question-points{color:#b8cbe2!important}
body.theme-rgb .quiz-question-points input{background:#13243b!important;color:#f6f9ff!important;border-color:#3d5878!important}
body.theme-rgb .quiz-question-points input:focus{border-color:#58e2fb!important;box-shadow:0 0 0 3px rgba(88,226,251,.16)!important}
body.theme-rgb .quiz-bulk-points{background:#0f1e31!important;border-color:#2d4766!important}
body.theme-rgb .quiz-bulk-points label{color:#b8cbe2!important}
body.theme-rgb .quiz-bulk-points input{background:#13243b!important;color:#f6f9ff!important;border-color:#3d5878!important}
body.theme-rgb .quiz-bulk-points input:focus{border-color:#58e2fb!important;box-shadow:0 0 0 3px rgba(88,226,251,.16)!important}

