/* MD Not Aware 10.13: background artwork for fun and seasonal Self Study themes. */
#mobileNotesBtn .mdnaIcon{width:19px;height:19px}
#mdnaSoundDock,#mdnaMobileSoundBtn{display:none!important}
#mdnaSoundPanel{position:fixed;z-index:1200;width:min(300px,calc(100vw - 22px));background:#17283f;color:#f5f9ff;padding:14px;border:1px solid #9bb1d35c;border-radius:15px;box-shadow:0 18px 55px #0006;font-size:13px}
#mdnaSoundPanel[hidden]{display:none!important}#mdnaSoundPanel label{display:block;font-weight:800;margin-bottom:7px}
#mdnaSoundPanel select{width:100%;min-height:40px;background:#f7fbff;color:#102035;border-radius:9px}
#mdnaSoundPanel .soundActions{display:flex;gap:8px;margin-top:10px}#mdnaSoundPanel button{flex:1;background:#334d67;border:1px solid #6d8aab;color:#fff;padding:7px}
#mdnaSoundPanel .soundHint{font-size:11px;color:#b8c9de;margin:9px 0 0;line-height:1.35}

body[data-theme="galaxy"]{--toolbar:#161d42;--toolbarText:#fff;--page1:#43357d;--page2:#161d42;--accent:#a8eff0;--accent2:#161d42;--panel:#fbfcff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#161d42}
body[data-theme="galaxy"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/galaxy.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="galaxy"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="galaxy"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="christmas"]{--toolbar:#123d38;--toolbarText:#fff;--page1:#286753;--page2:#123d38;--accent:#e5535b;--accent2:#123d38;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#123d38}
body[data-theme="christmas"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/christmas.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="christmas"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="christmas"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="halloween"]{--toolbar:#241c42;--toolbarText:#fff;--page1:#62316b;--page2:#241c42;--accent:#d5baf0;--accent2:#241c42;--panel:#fbfcff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#241c42}
body[data-theme="halloween"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/halloween.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="halloween"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="halloween"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="frozen"]{--toolbar:#184573;--toolbarText:#fff;--page1:#5ca4cd;--page2:#184573;--accent:#8de7ef;--accent2:#184573;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#184573}
body[data-theme="frozen"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/frozen.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="frozen"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="frozen"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="disney"]{--toolbar:#47346f;--toolbarText:#fff;--page1:#ad6ab0;--page2:#47346f;--accent:#c1e8ff;--accent2:#47346f;--panel:#fbfcff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#47346f}
body[data-theme="disney"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/disney.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="disney"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="disney"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="foods"]{--toolbar:#70463a;--toolbarText:#fff;--page1:#cc7859;--page2:#70463a;--accent:#ffd19b;--accent2:#70463a;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#70463a}
body[data-theme="foods"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/foods.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="foods"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="foods"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="worldcup"]{--toolbar:#104d46;--toolbarText:#fff;--page1:#27775d;--page2:#104d46;--accent:#ffeaa3;--accent2:#104d46;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#104d46}
body[data-theme="worldcup"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/worldcup.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="worldcup"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="worldcup"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="dinosaurs"]{--toolbar:#244d3b;--toolbarText:#fff;--page1:#5e8a4e;--page2:#244d3b;--accent:#edc281;--accent2:#244d3b;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#244d3b}
body[data-theme="dinosaurs"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/dinosaurs.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="dinosaurs"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="dinosaurs"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="pokemon"]{--toolbar:#2a3069;--toolbarText:#fff;--page1:#537bc6;--page2:#2a3069;--accent:#96e4e5;--accent2:#2a3069;--panel:#fbfcff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#2a3069}
body[data-theme="pokemon"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/pokemon.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="pokemon"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="pokemon"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="spring"]{--toolbar:#4e9a7e;--toolbarText:#fff;--page1:#97c5a2;--page2:#4e9a7e;--accent:#97c5a2;--accent2:#4e9a7e;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#4e9a7e}
body[data-theme="spring"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/spring.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="spring"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="spring"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="summer"]{--toolbar:#267eab;--toolbarText:#fff;--page1:#70c3d5;--page2:#267eab;--accent:#70c3d5;--accent2:#267eab;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#267eab}
body[data-theme="summer"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/summer.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="summer"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="summer"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="autumn"]{--toolbar:#70453c;--toolbarText:#fff;--page1:#bf8a5c;--page2:#70453c;--accent:#bf8a5c;--accent2:#70453c;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#70453c}
body[data-theme="autumn"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/autumn.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="autumn"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="autumn"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="winter"]{--toolbar:#37709a;--toolbarText:#fff;--page1:#81b9cf;--page2:#37709a;--accent:#81b9cf;--accent2:#37709a;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#37709a}
body[data-theme="winter"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/winter.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="winter"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="winter"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="rainy"]{--toolbar:#405b7e;--toolbarText:#fff;--page1:#7eabc4;--page2:#405b7e;--accent:#7eabc4;--accent2:#405b7e;--panel:#ffffff;--panelText:#223143;--muted:#627284;--line:#d9e3ea;--mdnaHero:#405b7e}
body[data-theme="rainy"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/rainy.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="rainy"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="rainy"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

body[data-theme="newyear"]{--toolbar:#124735;--toolbarText:#fff;--page1:#2e674e;--page2:#103c31;--accent:#da564f;--accent2:#124735;--panel:#fffdf9;--panelText:#223143;--muted:#627284;--line:#dce6db;--mdnaHero:#124735}
body[data-theme="newyear"]{background-image:linear-gradient(100deg,rgba(8,22,38,.18),rgba(255,255,255,.05)),url('/theme-assets/newyear.svg')!important;background-size:cover!important;background-attachment:fixed!important;background-position:center center!important}
body[data-theme="newyear"] #contentShell main{background-image:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.12),rgba(255,255,255,.03))!important;background-color:transparent!important}
body[data-theme="newyear"] #contentShell main .card{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:0 16px 48px rgba(0,0,0,.16)!important}

/* Optional festive illustration is confined to the existing left panel; no new controls or header. */
body[data-theme="galaxy"] #controlRail{background-color:#33246c!important;background-image:linear-gradient(168deg,#111943f2,#33246cf7 58%,#33246c 100%),url('/theme-assets/galaxy.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="christmas"] #controlRail{background-color:#0f513b!important;background-image:linear-gradient(168deg,#8a2534f2,#0f513bf7 58%,#0f513b 100%),url('/theme-assets/christmas.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="halloween"] #controlRail{background-color:#241632!important;background-image:linear-gradient(168deg,#572555f2,#241632f7 58%,#241632 100%),url('/theme-assets/halloween.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="frozen"] #controlRail{background-color:#225075!important;background-image:linear-gradient(168deg,#28628bf2,#225075f7 58%,#225075 100%),url('/theme-assets/frozen.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="disney"] #controlRail{background-color:#763d66!important;background-image:linear-gradient(168deg,#55388bf2,#763d66f7 58%,#763d66 100%),url('/theme-assets/disney.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="foods"] #controlRail{background-color:#67412d!important;background-image:linear-gradient(168deg,#9d482bf2,#67412df7 58%,#67412d 100%),url('/theme-assets/foods.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="worldcup"] #controlRail{background-color:#174778!important;background-image:linear-gradient(168deg,#06645df2,#174778f7 58%,#174778 100%),url('/theme-assets/worldcup.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="dinosaurs"] #controlRail{background-color:#5d4429!important;background-image:linear-gradient(168deg,#285c39f2,#5d4429f7 58%,#5d4429 100%),url('/theme-assets/dinosaurs.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="pokemon"] #controlRail{background-color:#2b4a96!important;background-image:linear-gradient(168deg,#a6323bf2,#2b4a96f7 58%,#2b4a96 100%),url('/theme-assets/pokemon.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="spring"] #controlRail{background-color:#8e4464!important;background-image:linear-gradient(168deg,#316f60f2,#8e4464f7 58%,#8e4464 100%),url('/theme-assets/spring.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="summer"] #controlRail{background-color:#a96232!important;background-image:linear-gradient(168deg,#0e7791f2,#a96232f7 58%,#a96232 100%),url('/theme-assets/summer.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="autumn"] #controlRail{background-color:#53372f!important;background-image:linear-gradient(168deg,#8d4329f2,#53372ff7 58%,#53372f 100%),url('/theme-assets/autumn.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="winter"] #controlRail{background-color:#485d7c!important;background-image:linear-gradient(168deg,#28527df2,#485d7cf7 58%,#485d7c 100%),url('/theme-assets/winter.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="rainy"] #controlRail{background-color:#303953!important;background-image:linear-gradient(168deg,#224d76f2,#303953f7 58%,#303953 100%),url('/theme-assets/rainy.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
body[data-theme="newyear"] #controlRail{background-color:#15503d!important;background-image:linear-gradient(168deg,#90312ef2,#15503df7 58%,#15503d 100%),url('/theme-assets/newyear.svg')!important;background-size:cover!important;background-position:center top!important;color:#fff!important}
