/* Light / dark / auto switch in the page header. The dark colors live in theme-dark.css. */
.theme-toggle {
  position: absolute; right: max(24px, calc((100% - 1616px) / 2)); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px;
  border: 1px solid #cbd2dc; border-radius: 999px; background: #fff; color: #344054;
  font-size: 12px; font-weight: 500; line-height: 1.4; cursor: pointer;
}
.theme-toggle:hover { background: #eef3f8; border-color: #9bacbf; color: #1d2939; }
.theme-toggle svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic { display: none; }
.theme-toggle[data-mode="auto"] .ic-auto, .theme-toggle[data-mode="light"] .ic-light, .theme-toggle[data-mode="dark"] .ic-dark { display: block; }
@media (max-width: 760px) {
  .theme-toggle { position: static; transform: none; margin-top: 10px; }
}
