/* Site-wide dark theme (flag THEME_SITE, docs: app/views/layout.php, public/assets/theme.js). html[data-theme] is set by
   theme.js from the trainer's switch (cookie dtfm_theme) or, without it, from the device setting. The trainer pages
   (body.tr-app) already carry their own dark / light tokens in training.css; here the rest of the site gets the same dark
   values, so moving between "Moja nauka" and any other page keeps one look. Light stays exactly as in app.css. */
html[data-theme=dark]{color-scheme:dark;background:#0e1014}
html[data-theme=dark] body:not(.tr-app){
  --bg:#0e1014;--surface:#171a20;--surface-soft:#1f232b;--ink:#f3f5f8;--ink-2:#c2c8d2;--ink-3:#9aa3b2;
  --border:rgba(255,255,255,.09);--border-strong:rgba(255,255,255,.18);--border-ui:#6b7280;
  --accent:#3d5afe;--accent-ink:#9db0ff;--accent-soft:#1f2a55;--accent-deep:#9db0ff;
  --easy:#4ade80;--easy-soft:#10301d;--medium:#38bdf8;--medium-soft:#0c2a3d;--hard:#a78bfa;--hard-soft:#2a1f4d;
  --challenge:#fb923c;--challenge-soft:#3a2010;
  --easy-ink:#4ade80;--medium-ink:#38bdf8;--hard-ink:#a78bfa;--challenge-ink:#fb923c;
  --ok:#4ade80;--ok-soft:#0f2f1c;--ok-ink:#86efac;--bad:#f87171;--bad-soft:#3b1515;--bad-ink:#fca5a5;
  --header-bg:rgba(14,16,20,.82);
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);--shadow-md:0 12px 32px -12px rgba(0,0,0,.7);
  color-scheme:dark
}
/* information pages (/o-nas/, /dla-rodzicow/, /jak-to-dziala/): their blue is text on dark, and a fill under white text */
html[data-theme=dark] body:not(.tr-app) .info-page{--info-blue:#9db0ff}
html[data-theme=dark] body:not(.tr-app) .info-nav>a[aria-current]{background:var(--accent);border-color:var(--accent)}

/* Bez barier (easy.css; since 2026-11-15 it follows the site theme): its blue stays the fill under white text, the
   blue and green used as text get light versions; the --ez-* tokens and literals are in the generated part below */
html[data-theme=dark] body:not(.tr-app) .ez-score,html[data-theme=dark] body:not(.tr-app) .ez-share-out{color:#4ade80}
html[data-theme=dark] body:not(.tr-app) .ez-hero h1 span,html[data-theme=dark] body:not(.tr-app) .ez-stats b,html[data-theme=dark] body:not(.tr-app) .ez-big-stats b,html[data-theme=dark] body:not(.tr-app) .ez-range b,html[data-theme=dark] body:not(.tr-app) .ez-card-meta,html[data-theme=dark] body:not(.tr-app) .ez-why summary,html[data-theme=dark] body:not(.tr-app) .ez-how-grid li .ico,html[data-theme=dark] body:not(.tr-app) .ez-life-ico,html[data-theme=dark] body:not(.tr-app) .ez-chips a,html[data-theme=dark] body:not(.tr-app) .ez-nav a:hover,html[data-theme=dark] body:not(.tr-app) .ez-nav a:focus-visible{color:#9db0ff}
html[data-theme=dark] body:not(.tr-app) .ez-chips a{border-color:#9db0ff}
html[data-theme=dark] body:not(.tr-app) .ez-chips a:hover,html[data-theme=dark] body:not(.tr-app) .ez-chips a:focus-visible{background:#3d5afe;border-color:#3d5afe;color:#fff}
/* Bez barier drawings (EasyFig, easy.js labs; also the promo cards): dark paper, light ink, pale tints become dark tints of
   the same hue so the light text on them stays readable; saturated colours keep their look. CSS beats the SVG attributes. */
html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-bg{fill:#171a20}html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-sky{fill:#1f2633}
html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-t{fill:#e6eaf2}html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-cap{fill:#b4bccb}html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-hot{fill:#ff8a8c}html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-neg{fill:#9db0ff}html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-strike{fill:#9aa3b2}
html[data-theme=dark] body:not(.tr-app) .ez-fig .ez-light{fill:#fff}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#1d2433"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#1d2433"]{fill:#e6eaf2}
html[data-theme=dark] body:not(.tr-app) .ez-fig [stroke="#1d2433"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [stroke="#1d2433"]{stroke:#e6eaf2}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#fff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#fff"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#ffffff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#ffffff"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#f4f7ff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#f4f7ff"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#f4f8ff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#f4f8ff"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#f4f4f4"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#f4f4f4"]{fill:#232833}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#eaf4ff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#eaf4ff"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#cfe9ff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#cfe9ff"]{fill:#1c354a}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#cfe0ff"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#cfe0ff"]{fill:#1f2f55}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#fff3d6"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#fff3d6"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#fff8e0"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#fff8e0"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#fff4b0"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#fff4b0"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#ffe9a8"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#ffe9a8"]{fill:#4a3e1c}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#ffe1c2"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#ffe1c2"]{fill:#4a331c}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#e9f5e1"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#e9f5e1"]{fill:#2e4a1c}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#d6f2e1"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#d6f2e1"],html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#b9e4c9"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#b9e4c9"]{fill:#1c4a2e}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#d9c3a5"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#d9c3a5"]{fill:#48361e}
html[data-theme=dark] body:not(.tr-app) .ez-fig [fill="#c8d1e3"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [fill="#c8d1e3"]{fill:#4a5366}
html[data-theme=dark] body:not(.tr-app) .ez-fig [stroke="#c8d1e3"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [stroke="#c8d1e3"]{stroke:#4a5366}
html[data-theme=dark] body:not(.tr-app) .ez-fig [stroke="#e3e8f2"],html[data-theme=dark] body:not(.tr-app) .ez-lab-svg [stroke="#e3e8f2"]{stroke:#353c4b}

/* ---- generated by bin/theme-dark-gen.php below this line: do not edit by hand ---- */
/* app.css */
:where(html[data-theme=dark] body:not(.tr-app)) .level-dot{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .go{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .form button,:where(html[data-theme=dark] body:not(.tr-app)) .admin .danger-zone button{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .filters a[aria-current=page]{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .badge{color:color-mix(in srgb,var(--c) 70%,#f2f4f8)}
:where(html[data-theme=dark] body:not(.tr-app)) .level-filter a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .consent-btn{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .admin-search button{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-hero::before{background:linear-gradient(180deg,rgba(23,26,32,.55),#181818 92%)}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-level.is-active .lp-level-dot,:where(html[data-theme=dark] body:not(.tr-app)) .lp-levels:not([role]) .lp-level[data-active] .lp-level-dot{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-level.is-active .lp-level-check{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-problem-body.is-clipped::after{background:linear-gradient(rgba(23,26,32,0),var(--surface) 85%)}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-checks .ico{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .btn-invert{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .lp-offer-plus{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .sc-hero::before{background:linear-gradient(180deg,rgba(23,26,32,.55),#181818 92%)}
:where(html[data-theme=dark] body:not(.tr-app)) .sc-steps li::before{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .sc-priv-ico{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .sc-btn-line:hover{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .case-tabs a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .admin .case-filters button{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .sim-btn.sim-primary{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .mm-opt input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .scratch-tool.is-primary{background:var(--accent);border-color:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .adm-new{background:var(--accent);color:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .adm-btn{background:var(--accent);border-color:var(--accent);color:#fff}
@media (max-width:959px){:where(html[data-theme=dark] body:not(.tr-app)) .adm-top-add{background:var(--accent);border-color:var(--accent);color:#fff}
}
:where(html[data-theme=dark] body:not(.tr-app)) .display[data-scroll-a11y],:where(html[data-theme=dark] body:not(.tr-app)) .table-wrap[data-scroll-a11y],:where(html[data-theme=dark] body:not(.tr-app)) .katex-display[data-scroll-a11y]{background:linear-gradient(90deg,var(--surface) 30%,rgba(23,26,32,0)) left center/48px 100% no-repeat local,
    linear-gradient(270deg,var(--surface) 30%,rgba(23,26,32,0)) right center/48px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%,rgba(15,18,23,.28),rgba(15,18,23,0)) left center/16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%,rgba(15,18,23,.28),rgba(15,18,23,0)) right center/16px 100% no-repeat scroll,
    var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-promo-stats li{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-promo-cards a{border:2px solid #25262a;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-promo-cards .ez-fig{border-bottom:2px solid #25262a}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-promo-box{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-promo-line{background:#1b1c1f}
/* ux.css */
:where(html[data-theme=dark] body:not(.tr-app)) .ux-page{--ux-paper:var(--surface);--ux-soft:#1e1f21;--ux-line:#25262a;--ux-text:#e4e9f5;--ux-muted:#b7c0d0;--ux-blue-soft:#1b1c1f;--ux-green-soft:#171d19}
:where(html[data-theme=dark] body:not(.tr-app)) .ux-status.is-waiting{background:#1e1c12;color:#edc19b}
:where(html[data-theme=dark] body:not(.tr-app)) .ux-form-message{color:#ffac9c}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-goal{background:#1b1c1f;border:1px solid #272b37;color:#e0e4ff}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-goal .ux-eyebrow{color:#bcc6e4}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-total span{color:#bcc6e4}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-goal-track{color:#bcc6e4}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-goal-track progress{background:#272b37}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-goal-track progress::-webkit-progress-bar{background:#272b37}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-podium li:first-child{background:#1e1c12;color:#e9cba8}
:where(html[data-theme=dark] body:not(.tr-app)) .rank-podium li:first-child .rank-place{background:#423100;color:#f3d8b9}
@media print{:where(html[data-theme=dark] body:not(.tr-app)) .ux-page,:where(html[data-theme=dark] body:not(.tr-app)) .ux-card{color:#f3f3f3!important;background:var(--surface) !important}
}
/* discovery.css */
:where(html[data-theme=dark] body:not(.tr-app)) .discover-spark{background:#393000;color:#e8e3d7}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-science{border-color:#3d481a}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-subject-cta{background:var(--surface);color:#e8d4ff}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-physics .discover-title span{color:#93c4bd}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-levels a{border:2px solid #293230;background:#171d19;color:#b6d7cf}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-levels a:hover{background:#202924}
:where(html[data-theme=dark] body:not(.tr-app)) .discover~.lp-hero .lp-daily{border-color:#2c2d35;box-shadow:0 9px 0 -3px #1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .discover~.lp-sec .how-n{background:#24232b;color:#d5b3ff}
:where(html[data-theme=dark]) body.discovery-page:where(:not(.tr-app)),:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)){--bg:#211d18;--surface:var(--surface);--surface-soft:#211d18;background-color:#211d18;background-image:radial-gradient(circle at 12% 16%,#3632424f 0,transparent 27%),radial-gradient(circle at 91% 9%,#332c0a4d 0,transparent 24%)}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .site-header,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .site-header{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .subject-bar,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .subject-bar{background:#25262a}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .site-footer,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .site-footer{background:#25262a;border-top-color:#34303a}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .lp-hero,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .lp-hero{background:#25262a;border-top:1px solid #2d2a32;border-bottom:1px solid #322e37}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page #kursy,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) #kursy{background:#25262a;border:1px solid #312f37}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .lp-course,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .lp-course{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .lp-tools li:nth-child(even) .lp-tool,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .lp-tools li:nth-child(even) .lp-tool{background:#211d18}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .lp-offer-school,:where(html[data-theme=dark]) body:has(.discover):where(:not(.tr-app)) .lp-offer-school{background:#21241d}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-spark{box-shadow:0 3px 0 #514416}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-lab{border:2px solid #3f3a49;background:#27242b;box-shadow:0 9px 0 -5px #544d622b}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-heading h2{color:#ebe5fb}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-heading p{color:#d1c7dd}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-heading .lp-kicker{color:#dcc3ff}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-tabs{border:1px solid #463f4e;background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-tabs button{color:#dacee8}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-tabs button:hover:not([aria-pressed=true]){background:#2d2932;color:#ede0fb}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-stage{border:1px solid #302d3d;background:var(--surface);background-image:radial-gradient(#433f4838 1px,transparent 1px)}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-control:disabled{background:#333038;border-color:#47424d;color:#bfb7c8;box-shadow:0 3px 0 #4e4955}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-controls label{color:#dfd4e7}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-readout{color:#ead8ff}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-reset{border:1px solid #544d5c;background:#1b1c1f;color:#dccdec}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-reset:hover{background:#322e39}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-status{color:#d7cae1}
:where(html[data-theme=dark] body:not(.tr-app)) .discover-intro::before{background-image:linear-gradient(#574e6546 1px,transparent 1px),linear-gradient(90deg,#574e6546 1px,transparent 1px)}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball{background:radial-gradient(circle at 28% 24%,#18181870 0,transparent 48%),conic-gradient(from -25deg,#8969e6 0deg 110deg,#49415b 110deg 170deg,#5f3aba 170deg 290deg,#a788ec 290deg 360deg);box-shadow:0 5px 0 #504b5b}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball-gold{background:radial-gradient(circle at 28% 24%,#18181890 0,transparent 48%),conic-gradient(from -25deg,#493602 0deg 110deg,#2d250a 110deg 170deg,#dca026 170deg 290deg,#3e320b 290deg 360deg);box-shadow:0 5px 0 #483f2a}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball:hover{box-shadow:0 9px 0 #504b5b}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball-gold:hover{box-shadow:0 9px 0 #483f2a}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball[aria-pressed=true]{box-shadow:0 0 0 4px #1d2219,0 0 0 6px #668845}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-ball-mark{border:1px solid #181818b0;background:#18181836}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball[aria-pressed=true] .lab-ball-mark{background:var(--surface);color:#b3d4bc}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-hint{color:#cbbfd2}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-physics{color:#cabfd0}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-physics .lab-status{color:#d9cce1}
:where(html[data-theme=dark] body:not(.tr-app)) .lab-controls select{border:1px solid #544d5c;background:var(--surface);color:#eedefb}
@media(max-width:580px){:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball{box-shadow:0 4px 0 #504b5b}
:where(html[data-theme=dark] body:not(.tr-app)) button.lab-ball-gold{box-shadow:0 4px 0 #483f2a}
}
:where(html[data-theme=dark] body:not(.tr-app)) .discovery-page .daily-first{background:radial-gradient(ellipse at 8% 15%,#302d3d 0,transparent 49%),linear-gradient(110deg,#1b1c1f,#211d18);border-bottom:1px solid #38333f}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-eyebrow{color:#dbc4ff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-eyebrow::before{box-shadow:0 0 0 4px #302c36}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-title{color:#f3ecff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-title-accent{color:#dab9ff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-lead{color:#d4cbdd}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-invite{color:#dbcfe4}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-invite .ico{color:#d7bbff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-daily{background:var(--surface);box-shadow:0 12px 0 -6px #3a3440,0 24px 42px -30px #49307c55}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-step-label{color:#dbc1fc;background:#28242c}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-task-header{background:#28242c;color:#dfc6ff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-levels{background:#28242c;border-bottom-color:#322e37}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-level{border:1px solid #403949;background:var(--surface);color:#dbd0e7}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first a.lp-level:hover{box-shadow:0 4px 0 #494153}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first a.lp-problem-body:hover{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-problem-body .display{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-problem-foot{border-top-color:#2c292f}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-problem-note{color:#cbc1d3}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .lp-actions .btn-soft{background:#1b1c1f;border-color:#403947;color:#dbc4ff}
:where(html[data-theme=dark] body:not(.tr-app)) .daily-first .chip{background:#1b1c1f;border-color:#3b3542;color:#d7c9e0}
/* information.css */
:where(html[data-theme=dark] body:not(.tr-app)) .info-page{--info-ink:#d8dff2;--info-muted:#c3c8d4}
:where(html[data-theme=dark] body:not(.tr-app)) .info-nav>a{border:1px solid #35383c}
:where(html[data-theme=dark] body:not(.tr-app)) .info-hero{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .info-art-cell{background:#422f17;color:#f0c2a3}
:where(html[data-theme=dark] body:not(.tr-app)) .info-art-cell:nth-child(2){background:#1c2e37;color:#b8cee6}
:where(html[data-theme=dark] body:not(.tr-app)) .info-art-cell:nth-child(3){background:#20332a;color:#add0c0}
:where(html[data-theme=dark] body:not(.tr-app)) .info-art-cell:nth-child(4){background:#3b3346;color:#e2c7fe}
:where(html[data-theme=dark] body:not(.tr-app)) .info-founder{border:1px solid #35383c;background:#211d18}
:where(html[data-theme=dark] body:not(.tr-app)) .info-initials{background:#392b1a;color:#efc3a1}
:where(html[data-theme=dark] body:not(.tr-app)) .info-founder a,:where(html[data-theme=dark] body:not(.tr-app)) .info-card a,:where(html[data-theme=dark] body:not(.tr-app)) .info-note a,:where(html[data-theme=dark] body:not(.tr-app)) .info-faq a,:where(html[data-theme=dark] body:not(.tr-app)) .info-trust a{color:#c6c5ff}
:where(html[data-theme=dark] body:not(.tr-app)) .info-card{border:1px solid #35383c;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .info-icon{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .info-note{background:#211d18}
:where(html[data-theme=dark] body:not(.tr-app)) .info-contact{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .info-hero-parents{background:#211d18}
:where(html[data-theme=dark] body:not(.tr-app)) .info-hero-how{background:#171d19}
:where(html[data-theme=dark] body:not(.tr-app)) .info-steps>li{border:1px solid #35383c;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .info-steps>li>span{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .info-faq details{border-bottom:1px solid #35383c}
:where(html[data-theme=dark] body:not(.tr-app)) .info-hero-partners{background:#181c24}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-tile,:where(html[data-theme=dark] body:not(.tr-app)) .pt-press a{border:1px solid #35383c;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-tile:hover,:where(html[data-theme=dark] body:not(.tr-app)) .pt-press a:hover{border-color:#8f8cff;box-shadow:none}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-logo{background:#fff}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-role{background:#1b1c1f;color:#c6c5ff}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-role-patroni{background:#3a2616;color:#f3c39b}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-role-technologia{background:#1c2f25;color:#a9dcc2}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-role-program{background:#3a1a2c;color:#f6b4d9}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-empty{border:2px dashed #4a4e55;background:transparent}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-empty:hover{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-plus{background:#1b1c1f;color:#c6c5ff}
:where(html[data-theme=dark] body:not(.tr-app)) .pt-press-more{color:#c6c5ff}
/* learning-journey.css */
:where(html[data-theme=dark] body:not(.tr-app)) .lj-form select,:where(html[data-theme=dark] body:not(.tr-app)) .lj-form input{color:var(--ink,#e4e9f5);background:var(--surface,#181818)}
:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .lj-page{color:#e4e9f5}
:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .lj-card,:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .lj-page select,:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .lj-page input,:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .lj-page select option{background:var(--surface);color:#e4e9f5}
@media print{:where(html[data-theme=dark] body:not(.tr-app)) .lj-page,:where(html[data-theme=dark] body:not(.tr-app)) .lj-card{color:#f3f3f3!important;background:var(--surface) !important}
}
:where(html[data-theme=dark] body:not(.tr-app)) .ln-qr{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ux-strength{border:1px solid var(--border,#2d2d2d)}
:where(html[data-theme=dark] body:not(.tr-app)) .ux-strength small{color:var(--muted,#c7c7c7)}
/* learning-packs.css */
:where(html[data-theme=dark] body:not(.tr-app)) .lpacks-card{border:1px solid var(--line,#4c4a46)}
:where(html[data-theme=dark] body:not(.tr-app)) .lpacks-sheet{border:1px solid #4c4a46}
@media print{:where(html[data-theme=dark]) body:where(:not(.tr-app)){background:var(--surface) !important}
}
/* motivation.css */
:where(html[data-theme=dark] body:not(.tr-app)) .mv-tier-6{background:linear-gradient(135deg,#5a3f00,#ff6b1a)}
:where(html[data-theme=dark] body:not(.tr-app)) .mc-milestone-badge{background:radial-gradient(circle at 35% 30%,#3b2e00,#ff8a1f 70%)}
/* micro.css */
:where(html[data-theme=dark] body:not(.tr-app)) .tr-light.mc-body,:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .mc-map{--mc-amber-soft:#2e2700}
:where(html[data-theme=dark] body:not(.tr-app)) .mc-check.is-in-progress .trc-dot{color:#ffecde}
/* micro-learning.css */
:where(html[data-theme=dark] body:not(.tr-app)) .mc-lab-coin{background:#3f3615;color:#f2e5d2}
/* lesson-fx.css */
:where(html[data-theme=dark] body:not(.tr-app)) .tr-light .fx-streak{background:#1e1c12}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-lesson .mc-seg.is-done{background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#1d4153))}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-lesson .mc-seg.is-now::after{background:linear-gradient(100deg,transparent 20%,rgba(23,26,32,.45) 50%,transparent 80%)}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-toast{background:#453502;color:#f9ead8}
/* path-fx.css */
:where(html[data-theme=dark] body:not(.tr-app)) .fx-on .trc-node:not(.mc-check) .trc-dot::before{background:linear-gradient(rgba(23,26,32,.26),rgba(23,26,32,0))}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-on .trc-node.is-mastered .trc-dot,:where(html[data-theme=dark] body:not(.tr-app)) .fx-on .mc-node.is-in-progress:not(.mc-check) .trc-dot{background-image:radial-gradient(120% 90% at 30% 20%,rgba(23,26,32,.22),transparent 60%)}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-guide.is-junior img{background:var(--surface);box-shadow:0 0 0 3px #181818}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-tag{background:#044b27;color:#d8eede}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-burst i:nth-child(3n){background:#453502}
:where(html[data-theme=dark] body:not(.tr-app)) .fx-burst i:nth-child(3n+1){background:#044b27}
/* physics-fun.css */
:where(html[data-theme=dark] body:not(.tr-app)) .pf-chips a{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-card{border:2px solid #25262a;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-card .pf-anim{border-bottom:2px solid #25262a}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-card-text{color:#c3c8d4}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-note{color:#c3c8d4}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-stage{border:2px solid #25262a;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-facts li{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-box{border:2px solid #25262a}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-adult{background:#1e1c12;color:#edb98e}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-opt{border:2px solid #35383c;background:var(--surface);color:#e4e9f5}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-opt.is-wrong{background:var(--surface);color:#ffa89b}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-why p{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-why.is-right p{background:#171d19}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-why.is-wrong p{background:#211d1d}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-nav a{border:2px solid #25262a;color:#e4e9f5}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-lab-out{color:#e4e9f5}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-sort li{background:#1b1c1f}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-sort-out{color:#c3c8d4}
:where(html[data-theme=dark] body:not(.tr-app)) .pf-track{background:#1b1c1f}
/* physics-calc.css */
:where(html[data-theme=dark] body:not(.tr-app)) .pcalc-result{background:var(--surface-2, #1b1c1f)}
/* tabliczka.css */
@media print{:where(html[data-theme=dark]) body:where(:not(.tr-app)){background:var(--surface) !important;color:#f3f3f3!important}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-table{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-table caption{color:#f3f3f3}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-table th,:where(html[data-theme=dark] body:not(.tr-app)) .tm-table td{color:#f3f3f3}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-table th{background:#1e1f21!important}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-table td.tm-sq{background:#1e1f21!important}
:where(html[data-theme=dark] body:not(.tr-app)) .tm-print-src{color:#c7c7c7}
}
/* en.css */
:where(html[data-theme=dark] body:not(.tr-app)) .en-check input{background:var(--surface)}
/* easy.css */
:where(html[data-theme=dark] body:not(.tr-app)) .ez-page{--ez-ink:#e4e9f5;--ez-line:#25262a;--ez-soft:#1b1c1f;--ez-muted:#c1c7d5}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-chips a{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-card{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-patron{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-tool{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-stage{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-life-ico{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-step-fig{background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-remember{background:#1b201d}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-trap{background:#1f1c16}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-opt{border:2px solid #33363d;background:var(--surface)}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-opt.is-wrong{background:var(--surface);color:#edb98e}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-hint{background:#1f1c16}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-why.is-right p{background:#1b201d}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-adult{border:2px dashed #33363d}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-lab-out{background:#221e14}
:where(html[data-theme=dark] body:not(.tr-app)) .ez-page.ez-read .ez-step,:where(html[data-theme=dark] body:not(.tr-app)) .ez-page.ez-read .ez-life li{background:#1c1a14}
