html{
 --dx-page:#f5f8f6;
 --dx-panel:#fff;
 --dx-ink:#173a2d;
 --dx-soft:#536d60;
 --dx-line:#dce7df;
 scroll-padding-top:100px;
}
html[data-theme="emerald"]{
 --dx-page:#043e2e;
 --dx-panel:#0b503d;
 --dx-ink:#f1fff7;
 --dx-soft:#c0dfd0;
 --dx-line:#ffffff26;
 color-scheme:dark;
}
html[data-theme="midnight"]{
 --dx-page:#081320;
 --dx-panel:#122235;
 --dx-ink:#eff6ff;
 --dx-soft:#b1c5d6;
 --dx-line:#ffffff26;
 color-scheme:dark;
}
body{
 background:var(--dx-page);
}
html[data-theme="emerald"] body,
html[data-theme="midnight"] body{
 color:var(--dx-ink);
}
html[data-theme="emerald"] section.bg-white,
html[data-theme="midnight"] section.bg-white{
 background:var(--dx-page)!important;
 color:var(--dx-ink);
}
html[data-theme="emerald"] section.bg-slate-50,
html[data-theme="midnight"] section.bg-slate-50{
 background:var(--dx-page)!important;
 color:var(--dx-ink);
}
html[data-theme="emerald"] section .bg-white,
html[data-theme="midnight"] section .bg-white{
 background:var(--dx-panel)!important;
}
html[data-theme="emerald"] section .text-slate-900,
html[data-theme="midnight"] section .text-slate-900,
html[data-theme="emerald"] section .text-slate-800,
html[data-theme="midnight"] section .text-slate-800{
 color:var(--dx-ink)!important;
}
html[data-theme="emerald"] section .text-slate-600,
html[data-theme="midnight"] section .text-slate-600,
html[data-theme="emerald"] section .text-slate-500,
html[data-theme="midnight"] section .text-slate-500{
 color:var(--dx-soft)!important;
}
.dx-showcase{
 width:min(1280px,94%);
 margin:18px auto 30px;
 border:1px solid var(--dx-line);
 background:var(--dx-panel);
 color:var(--dx-ink);
 border-radius:20px;
 overflow:hidden;
}
.dx-showcase summary{
 cursor:pointer;
 padding:20px 24px;
 font-weight:700;
}
.dx-showcase-hint{
 display:block;
 font-size:12px;
 font-weight:400;
 color:var(--dx-soft);
 margin-top:4px;
}
.dx-settings-toggle{
 position:fixed;
 bottom:24px;
 right:20px;
 z-index:9000;
 border:1px solid #ffffff40;
 border-radius:30px;
 background:#08764f;
 color:#fff;
 padding:12px 19px;
 font:600 13px system-ui,sans-serif;
 box-shadow:0 8px 30px #0003;
 cursor:pointer;
}
.dx-settings-panel{
 position:fixed;
 bottom:82px;
 right:20px;
 z-index:9001;
 width:min(320px,calc(100vw - 40px));
 padding:22px;
 background:var(--dx-panel);
 color:var(--dx-ink);
 border:1px solid var(--dx-line);
 border-radius:20px;
 box-shadow:0 16px 50px #0003;
 font:14px system-ui,sans-serif;
}
.dx-settings-panel[hidden]{
 display:none!important;
}
.dx-settings-panel label{
 display:grid;
 gap:6px;
 margin:15px 0;
 color:var(--dx-soft);
}
.dx-settings-panel select{
 width:100%;
 border:1px solid var(--dx-line);
 border-radius:10px;
 padding:12px;
 background:var(--dx-page);
 color:var(--dx-ink);
}
#dx-settings-close{
 width:100%;
 border:0;
 background:#08764f;
 color:#fff;
 padding:12px;
 border-radius:10px;
 cursor:pointer;
}
html[data-motion="lite"]{
 scroll-behavior:auto!important;
}
html[data-motion="lite"] *,
html[data-motion="lite"] *::before,
html[data-motion="lite"] *::after{
 animation:none!important;
 transition:none!important;
 scroll-behavior:auto!important;
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
 }
}
@media(max-width:480px){
 .dx-settings-toggle{
  bottom:16px;
  right:12px;
 }
 .dx-public-settings{
  width:100%;
 }
 .dx-public-settings label{
  flex:1;
  min-width:0;
 }
 .dx-public-settings select{
  width:100%;
 }
 .dx-public-content h2{
  overflow-wrap:anywhere;
 }
}
