/* --- Alternar tema --- */
.theme-toggle { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border:1px solid var(--line);
  border-radius:99px; background:transparent; color:var(--fg); font:inherit; font-size:.85rem; cursor:pointer; }
.theme-toggle:hover { background:var(--bg); }
.theme-toggle:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.theme-toggle svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.theme-toggle .icon-sun { display:none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display:block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display:none; }
.theme-floating { position:fixed; top:12px; right:12px; z-index:10; background:var(--card); }
