.theme-toggle{display:inline-flex;align-items:center;padding:3px;border-radius:999px;background:var(--surface-primary);border:1px solid var(--border-subtle)}.theme-toggle-btn{display:grid;place-items:center;border:none;border-radius:999px;background:transparent;color:var(--text-muted);cursor:pointer;transition:color .18s ease,background .18s ease}.theme-toggle-md .theme-toggle-btn{width:30px;height:26px}.theme-toggle-sm .theme-toggle-btn{width:26px;height:22px}.theme-toggle-btn svg{width:14px;height:14px}.theme-toggle-sm .theme-toggle-btn svg{width:12px;height:12px}.theme-toggle-btn:hover{color:var(--text-secondary)}.theme-toggle-btn.is-active{background:var(--brand-tint);color:var(--brand-primary)}.theme-toggle.has-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;padding:4px;border-radius:14px;box-sizing:border-box}.theme-toggle-lg .theme-toggle-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;height:38px;padding:0 12px;border-radius:10px;font:inherit;font-size:13.5px;font-weight:700}.theme-toggle-lg .theme-toggle-btn svg{width:17px;height:17px;flex-shrink:0}.theme-toggle-lg .theme-toggle-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-toggle-lg .theme-toggle-btn.is-active{background:var(--brand-primary);color:var(--brand-on-primary);box-shadow:0 4px 14px -6px color-mix(in srgb,var(--brand-primary) 70%,transparent)}.theme-toggle-btn:focus-visible{outline:2px solid var(--brand-primary);outline-offset:1px}