/* WeType 1.5.26.104 — practice palettes, coordinated with the existing quick settings.
 * A visual layer only. Never touch typing glyph/error/assessment semantics or keyboard layouts.
 * Every available practice skin has separate day and night values.
 */
body.exercise-open{
 --wt104-bg:#f5f8fd;--wt104-panel:#ffffff;--wt104-panel-line:#d3dfec;
 --wt104-text:#233953;--wt104-muted:#61748b;--wt104-progress:#3374cb;
 --wt104-track:#d9e5f1;--wt104-glow:rgba(51,116,203,.08);
}
html[data-wt-public-theme="dark"] body.exercise-open{
 --wt104-bg:#141e2d;--wt104-panel:#1e2d41;--wt104-panel-line:#354c65;
 --wt104-text:#e5efff;--wt104-muted:#b4c6d9;--wt104-progress:#79b9ff;
 --wt104-track:#3d526c;--wt104-glow:rgba(121,185,255,.08);
}
html[data-wt-public-theme="light"] body.exercise-open[data-wt99-practice="slate"]{
 --wt104-bg:#e7f0fa;--wt104-panel:#f8fbff;--wt104-panel-line:#bacfe5;
 --wt104-text:#213c56;--wt104-muted:#536d8a;--wt104-progress:#477eb9;--wt104-track:#c9dcf0;--wt104-glow:rgba(49,112,179,.09);
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-practice="slate"]{
 --wt104-bg:#111e30;--wt104-panel:#1b314b;--wt104-panel-line:#365577;
 --wt104-text:#e3f1ff;--wt104-muted:#b2c9df;--wt104-progress:#82c8fb;--wt104-track:#36516d;--wt104-glow:rgba(85,177,246,.1);
}
html[data-wt-public-theme="light"] body.exercise-open[data-wt99-practice="sand"]{
 --wt104-bg:#fff3e5;--wt104-panel:#fffaf2;--wt104-panel-line:#e7d0af;
 --wt104-text:#493523;--wt104-muted:#755c44;--wt104-progress:#ae7534;--wt104-track:#efdbc3;--wt104-glow:rgba(174,117,52,.09);
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-practice="sand"]{
 --wt104-bg:#241b19;--wt104-panel:#332820;--wt104-panel-line:#68533f;
 --wt104-text:#f9e4c7;--wt104-muted:#d1bba0;--wt104-progress:#edbb74;--wt104-track:#594633;--wt104-glow:rgba(237,187,116,.08);
}
/* Developer is a FREE effect demonstrator, not a saleable premium card. */
html[data-wt-public-theme="light"] body.exercise-open[data-wt99-practice="developer"]{
 --wt104-bg:#e7eef5;--wt104-panel:#f5f9fd;--wt104-panel-line:#adc6d4;
 --wt104-text:#1a3444;--wt104-muted:#4d6d77;--wt104-progress:#198b77;--wt104-track:#c4dee0;--wt104-glow:rgba(25,139,119,.10);
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-practice="developer"]{
 --wt104-bg:#0c1728;--wt104-panel:#16263b;--wt104-panel-line:#2d4963;
 --wt104-text:#dfedfc;--wt104-muted:#a8c7d8;--wt104-progress:#5ce0b4;--wt104-track:#30516a;--wt104-glow:rgba(92,224,180,.11);
}
/* Inherit the active practice skin only for data-wt28-bg=theme.
 * 'base' is now explicitly the independent standard surface, not an alias for
 * the selected practice skin. Prior stored base selections are preserved. */
html[data-wt-public-theme="light"] body.exercise-open[data-wt28-bg="base"]{
 --wt104-bg:#ffffff;--wt104-panel:#ffffff;--wt104-panel-line:#d9e1e9;--wt104-track:#e4eaf0;
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt28-bg="base"]{
 --wt104-bg:#161b26;--wt104-panel:#202734;--wt104-panel-line:#3d4b60;--wt104-track:#38475e;
}
/* Quick colour swatches override SURFACES, not theme-specific progress/accent or error colours. */
html[data-wt-public-theme="light"] body.exercise-open[data-wt28-bg="pink"]{--wt104-bg:#fff0f4;--wt104-panel:#fffafd;--wt104-panel-line:#e9d1dc;--wt104-track:#ead7e0}
html[data-wt-public-theme="light"] body.exercise-open[data-wt28-bg="blue"]{--wt104-bg:#edf5ff;--wt104-panel:#fafcff;--wt104-panel-line:#cddff3;--wt104-track:#d3e2f5}
html[data-wt-public-theme="light"] body.exercise-open[data-wt28-bg="yellow"]{--wt104-bg:#fff9e6;--wt104-panel:#fffdf5;--wt104-panel-line:#eaddb2;--wt104-track:#ede2c5}
html[data-wt-public-theme="light"] body.exercise-open[data-wt28-bg="gray"]{--wt104-bg:#f2f4f7;--wt104-panel:#fcfdff;--wt104-panel-line:#d5dce5;--wt104-track:#dae1e8}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt28-bg="pink"]{--wt104-bg:#2b202a;--wt104-panel:#372c38;--wt104-panel-line:#59485a;--wt104-track:#544255}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt28-bg="blue"]{--wt104-bg:#1b2939;--wt104-panel:#263b50;--wt104-panel-line:#405970;--wt104-track:#3d566e}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt28-bg="yellow"]{--wt104-bg:#302b1d;--wt104-panel:#3d3728;--wt104-panel-line:#645942;--wt104-track:#5a5039}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt28-bg="gray"]{--wt104-bg:#252b34;--wt104-panel:#323c48;--wt104-panel-line:#506173;--wt104-track:#495665}
/* Legacy .exercise-backdrop CSS, v28 quick colours and old v99 card backgrounds are
 * deliberately overridden only WHILE the modal is open. */
html[data-wt-public-theme] body.exercise-open[data-wt99-practice][data-wt28-bg] .exercise-backdrop,
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-backdrop,
html[data-wt-public-theme] body.exercise-open .exercise-backdrop{
 background:var(--wt104-bg)!important;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container{
 box-sizing:border-box;max-width:min(96%,1020px);
 background:var(--wt104-panel)!important;color:var(--wt104-text)!important;
 border:1px solid var(--wt104-panel-line);border-radius:20px!important;
 padding:clamp(12px,2.2vw,24px);box-shadow:0 16px 52px var(--wt104-glow);
 margin-inline:auto;position:relative;z-index:1;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container .exercise-statusbar{
 color:var(--wt104-muted)!important;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container .wt-exercise-progress__track{
 background:var(--wt104-track)!important;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container:not(.wt-progress-paused) .wt-exercise-progress__fill{
 background:var(--wt104-progress)!important;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container .wt-exercise-progress__value{
 color:var(--wt104-text)!important;
}
html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container .progress-title{
 color:var(--wt104-muted)!important;
}
/* Theme effects are decorative, pointer-inert, excluded from accessibility and
 * never animate user text, the input cursor, keyboard or progress itself. */
body.exercise-open .wt104-practice-fx{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;user-select:none}
body.exercise-open .wt104-practice-fx span{position:absolute;font:500 clamp(12px,1.8vw,20px)/1.2 Consolas,monospace;color:var(--wt104-progress);opacity:.22;white-space:nowrap;animation:wt104-hover 9s ease-in-out infinite alternate}
body.exercise-open .wt104-practice-fx span:nth-child(1){top:17%;left:4%;animation-delay:-1s}
body.exercise-open .wt104-practice-fx span:nth-child(2){top:31%;right:5%;animation-delay:-4s}
body.exercise-open .wt104-practice-fx span:nth-child(3){top:58%;left:7%;animation-delay:-2s}
body.exercise-open .wt104-practice-fx span:nth-child(4){top:69%;right:6%;animation-delay:-3s}
body.exercise-open .wt104-practice-fx span:nth-child(5){top:85%;left:12%;animation-delay:-5s}
body.exercise-open .wt104-practice-fx span:nth-child(6){top:10%;right:16%;animation-delay:-6s}
@keyframes wt104-hover{from{transform:translateY(-5px);opacity:.13}to{transform:translateY(8px);opacity:.28}}
@media(max-width:750px){html[data-wt-public-theme] body.exercise-open[data-wt99-practice] .exercise-modal .exercise-container{max-width:calc(100% - 20px);padding:12px;border-radius:14px!important}.wt104-practice-fx span:nth-child(n+3){display:none}}
@media(prefers-reduced-motion:reduce){body.exercise-open .wt104-practice-fx{display:none!important}body.exercise-open .wt104-practice-fx span{animation:none!important}}
/* Dark-aware reference variants for existing site and keyboard families, without
 * overriding education highlight/error/specific keyboard-style states. */
html[data-wt-public-theme="dark"] body[data-wt99-site="slate"] .wt-shell-header-holder{--wt-blue:#9fc7ff;--wt-border:#425e80}
html[data-wt-public-theme="dark"] body[data-wt99-site="sand"] .wt-shell-header-holder{--wt-blue:#f2c084;--wt-border:#786247}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="slate"] .exercise-keyboard .key-container:not(.key-warning):not(.key-highlight),
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="slate"] .wetype-kb-key:not(.is-highlighted):not(.is-pressed):not(.is-error):not(.wrong){background:#293f5c!important;border-color:#5c83a9!important;color:#e9f3ff!important}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="sand"] .exercise-keyboard .key-container:not(.key-warning):not(.key-highlight),
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="sand"] .wetype-kb-key:not(.is-highlighted):not(.is-pressed):not(.is-error):not(.wrong){background:#443629!important;border-color:#967955!important;color:#fff0db!important}

/* V123 keyboard appearance only: layout geometry and all feedback states stay with the runtime. */
body.exercise-open[data-wt99-keyboard="slate"]{--wt123-key-bg:#d1deed;--wt123-key-text:#203b58;--wt123-key-edge:#7691ae;--wt123-key-board:#e7f0fa}
body.exercise-open[data-wt99-keyboard="sand"]{--wt123-key-bg:#f3dfc2;--wt123-key-text:#4a3220;--wt123-key-edge:#b28e65;--wt123-key-board:#fff3e5}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="slate"]{--wt123-key-bg:#243e59;--wt123-key-text:#e3f1ff;--wt123-key-edge:#7495b6;--wt123-key-board:#111e30}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard="sand"]{--wt123-key-bg:#48362a;--wt123-key-text:#f9e4c7;--wt123-key-edge:#bc956a;--wt123-key-board:#241b19}
html[data-wt-public-theme] body.exercise-open:is([data-wt99-keyboard="slate"],[data-wt99-keyboard="sand"],[data-wt99-keyboard^="premium-"]) .keyboard.exercise-keyboard{background-color:var(--wt123-key-board);}
html[data-wt-public-theme] body.exercise-open:is([data-wt99-keyboard="slate"],[data-wt99-keyboard="sand"],[data-wt99-keyboard^="premium-"]) .keyboard.exercise-keyboard .key-container:not(.key-warning,.wetype-pressed,.wetype-kb23-error,.wetype-kb23-caps-active,.is-highlighted,.is-pressed,.is-error,.wrong):not(:has(.key-highlight)):not(:is(.wetype-pressed,.wetype-kb23-error,.wetype-kb23-caps-active,.key-warning,.is-highlighted,.is-pressed,.is-error,.wrong) *){background:var(--wt123-key-bg)!important;color:var(--wt123-key-text)!important;border-color:var(--wt123-key-edge)!important;}
html[data-wt-public-theme] body.exercise-open:is([data-wt99-keyboard="slate"],[data-wt99-keyboard="sand"],[data-wt99-keyboard^="premium-"]) .keyboard.exercise-keyboard .key-container:not(.key-warning,.wetype-pressed,.wetype-kb23-error,.wetype-kb23-caps-active,.is-highlighted,.is-pressed,.is-error,.wrong):not(:has(.key-highlight)):not(:is(.wetype-pressed,.wetype-kb23-error,.wetype-kb23-caps-active,.key-warning,.is-highlighted,.is-pressed,.is-error,.wrong) *) :is(strong,b,span,small,p,.key-label,.wetype-live-label){color:var(--wt123-key-text)!important;}

/* V123: trusted localized palette is applied independently of generated inline CSS.
 * Only selected, authorized, validated colours reach the active exercise. */
body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]{
 --wt123-active-bg:var(--wt123-practice-background-light);--wt123-active-panel:var(--wt123-practice-panel-light);--wt123-active-text:var(--wt123-practice-text-light);--wt123-active-accent:var(--wt123-practice-accent-light);
 --wt104-text:var(--wt123-active-text);--wt104-progress:var(--wt123-active-accent);
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]{
 --wt123-active-bg:var(--wt123-practice-background-dark);--wt123-active-panel:var(--wt123-practice-panel-dark);--wt123-active-text:var(--wt123-practice-text-dark);--wt123-active-accent:var(--wt123-practice-accent-dark);
}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])){--wt104-bg:var(--wt123-active-bg);--wt104-panel:var(--wt123-active-panel);--wt104-muted:var(--wt123-active-text);--wt104-panel-line:var(--wt123-active-accent);--wt104-track:var(--wt123-active-bg);}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])) .exercise-backdrop{background:var(--wt123-active-bg)!important;}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])) .exercise-modal .exercise-container{background:var(--wt123-active-panel)!important;color:var(--wt123-active-text)!important;}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])) .wt-shell-exercise-rail{background:var(--wt123-active-panel)!important;color:var(--wt123-active-text)!important;border-color:var(--wt123-active-accent)!important;}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])) .wt-shell-exercise-rail__title :is(strong,span){color:var(--wt123-active-text)!important;}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"]:is([data-wt28-bg="theme"],:not([data-wt28-bg])):is([data-wt28-tone="normal"],:not([data-wt28-tone])) .exercise-modal .exercise-container>h2{color:var(--wt123-active-text)!important;}
html body.exercise-open[data-wt99-practice^="premium-"][data-wt123-practice="ready"] .exercise-modal .exercise-container:not(.wt-progress-paused) .wt-exercise-progress__fill{background:var(--wt123-active-accent)!important;}
body.exercise-open[data-wt99-keyboard^="premium-"][data-wt123-keyboard="ready"]{
 --wt123-key-bg:var(--wt123-keyboard-panel-light);--wt123-key-text:var(--wt123-keyboard-text-light);--wt123-key-edge:var(--wt123-keyboard-accent-light);--wt123-key-board:var(--wt123-keyboard-background-light);
}
html[data-wt-public-theme="dark"] body.exercise-open[data-wt99-keyboard^="premium-"][data-wt123-keyboard="ready"]{
 --wt123-key-bg:var(--wt123-keyboard-panel-dark);--wt123-key-text:var(--wt123-keyboard-text-dark);--wt123-key-edge:var(--wt123-keyboard-accent-dark);--wt123-key-board:var(--wt123-keyboard-background-dark);
}
