/* Three-position slider adapted from the approved user sample. */
html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch{--slider-track:#e5eaf4;--slider-border:#5f70962b;--slider-icon:#72819c;--slider-a:#40b9f5;--slider-b:#5366e8;--slider-glow:#4283e840;display:grid!important;grid-template-columns:repeat(3,1fr)!important;position:relative!important;isolation:isolate!important;width:142px!important;height:42px!important;min-width:142px!important;min-height:42px!important;padding:4px!important;margin:0!important;gap:0!important;border:1px solid var(--slider-border)!important;border-radius:999px!important;background:var(--slider-track)!important;box-shadow:inset 0 2px 5px #0000000f,0 3px 10px #00000009!important;flex:0 0 auto!important;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;cursor:grab;line-height:1!important;overflow:visible!important}
html[data-theme=dark] .era-theme-switch{--slider-track:#24262e!important;--slider-border:#ffffff1b!important;--slider-icon:#929bb2!important}
html .era-theme-switch[data-preference=dark]{--slider-a:#8678f5!important;--slider-b:#594ad9!important;--slider-glow:#7561ee40!important}
html .era-theme-switch[data-preference=light]{--slider-a:#ffc774!important;--slider-b:#ef8c43!important;--slider-glow:#f29a423d!important}
html .era-theme-switch.is-dragging{cursor:grabbing!important}
html .era-theme-switch .era-theme-thumb{position:absolute!important;z-index:0!important;top:4px!important;bottom:4px!important;left:4px!important;width:calc((100% - 8px)/3)!important;border:0!important;border-radius:999px!important;background:linear-gradient(145deg,var(--slider-a),var(--slider-b))!important;box-shadow:0 3px 9px var(--slider-glow),inset 0 1px 1px #ffffff59!important;transform:translate3d(var(--position,0px),0,0);transition:transform .18s cubic-bezier(.22,.8,.25,1),background .18s ease;pointer-events:none!important}
html .era-theme-switch.is-dragging .era-theme-thumb{transition:none!important}
html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch .era-theme-choice{position:relative!important;z-index:1!important;display:grid!important;place-items:center!important;min-width:0!important;width:auto!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:0!important;border-radius:999px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--slider-icon)!important;opacity:1!important;cursor:inherit!important;transform:none!important;transition:color .14s ease!important;outline-offset:3px!important}
html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch .era-theme-choice[aria-checked=true]{color:#fff!important}
html .era-theme-switch .era-theme-choice:focus-visible{outline:2px solid #8ba9ff!important;outline-offset:3px!important}
html .era-theme-switch .era-theme-choice svg{display:block!important;width:19px!important;height:19px!important;min-width:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;margin:0!important;opacity:1!important;pointer-events:none!important}
html .era-theme-fallback{display:flex;justify-content:flex-end;gap:12px;padding:12px 20px;position:relative;z-index:5}
@media(max-width:768px){html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch{width:114px!important;min-width:114px!important;height:38px!important;min-height:38px!important}html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch .era-theme-choice{height:28px!important;min-height:28px!important}html .era-theme-switch .era-theme-choice svg{width:17px!important;height:17px!important;min-width:17px!important}html .auth-top,html .eal-top,html .auth-header,html .public-header,html .ec-header{flex-wrap:wrap}html .top-actions{gap:6px!important}html .ec-header nav{flex-wrap:wrap;gap:12px}html .era-theme-fallback{padding:10px 16px}}
html:not(#era-logo-a):not(#era-logo-b):not(#era-logo-c):not(#era-logo-d):not(#era-logo-e) img[data-era-theme-logo]{background:transparent!important;background-image:none!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain!important;height:auto!important}
@media(prefers-reduced-motion:reduce){html .era-theme-switch .era-theme-thumb,html .era-theme-switch .era-theme-choice{transition:none!important}}

/* Match the slider geometry across pages with and without a global reset. */
html:not(#theme-controls-a):not(#theme-controls-b):not(#theme-controls-c):not(#theme-controls-d):not(#theme-controls-e) .era-theme-switch,
html .era-theme-switch *{box-sizing:border-box!important}
html:not(#era-logo-a):not(#era-logo-b):not(#era-logo-c):not(#era-logo-d):not(#era-logo-e) img[data-era-theme-logo]{background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
html .ec-header{gap:24px;align-items:center}
html .ec-header nav{display:flex;align-items:center;gap:20px}
@media(max-width:600px){html .ec-header{gap:12px;flex-wrap:wrap}html .ec-header nav{gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}html .ec-header nav>a:first-child{display:none}}
