/* The light/dark switch (Beta V 0.41, ui-ux/review-8-dark-mode). Same look on every page: a 58x30 track, sun left,
   moon right, the knob slides over the one that's on. Tap area 64x44. */
.thm{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:64px;height:44px;cursor:pointer;flex:none;border-radius:8px}
.thm:focus-visible{outline:2px solid #d9590b;outline-offset:-2px}
.thm .tr{position:relative;width:58px;height:30px;border-radius:15px;background:#e3e7ec;border:1px solid #c9d1d9;display:flex;align-items:center;justify-content:space-between;padding:0 7px;box-sizing:border-box}
.thm svg{width:14px;height:14px;position:relative;z-index:1;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.thm .s{color:#b25a00}
.thm .m{color:#5a6774}
.thm .k{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .15s}
.thm[aria-checked="true"] .tr{background:#26303b;border-color:#3d4a57}
.thm[aria-checked="true"] .k{left:30px;background:#e8ecf0}
.thm[aria-checked="true"] .s{color:#7a8794}
.thm[aria-checked="true"] .m{color:#ffd27a}
.thm.ondark .tr{background:#2a2e34;border-color:#454b53}
.thm.ondark .m{color:#9aa0a7}
.thm.ondark[aria-checked="true"] .tr{background:#26303b;border-color:#3d4a57}
.thm.ondark[aria-checked="true"] .m{color:#ffd27a}
@media (prefers-reduced-motion:reduce){.thm .k{transition:none}}
